Releases: LaravelLux/html
v7.1.4
What's Changed
- Return HtmlString from helper functions by @swvjeff in #11
- PHP 8.4 by @mralston in #21
- Allow Form::select's value to stay integer by @tolnaiz in #19
New Contributors
- @swvjeff made their first contribution in #11
- @mralston made their first contribution in #21
- @tolnaiz made their first contribution in #19
Full Changelog: v7.1.3...v7.1.4
v7.1.3
We're thrilled to bring you the latest version of our fork of laravelcollective/html. This update sees a host of new features, improvements, and fixes, all aimed at enhancing your development experience.
📄 Changelog
➕ Added
- Support for laravel 11
v7.1.2
We're thrilled to bring you the latest version of our fork of laravelcollective/html. This update sees a host of new features, improvements, and fixes, all aimed at enhancing your development experience.
📄 Changelog
➕ Added
- Fix for tests where there is no route set
- Allow value for select/option to be blank
v7.1.1
We're thrilled to bring you the latest version of our fork of laravelcollective/html. This update sees a host of new features, improvements, and fixes, all aimed at enhancing your development experience.
📄 Changelog
➕ Added
- Fix for Critical error to do with CSRF tokens
v7.1
We're thrilled to bring you the latest version of our fork of laravelcollective/html
. This update sees a host of new features, improvements, and fixes, all aimed at enhancing your development experience.
📄 Changelog
➕ Added
-
Customisation of
_method
Hidden Input: Now, you can not only use['method' => 'post']
as before but also use['method' => ['value' => 'post', 'id' => 'something']]
to add attributes! -
Support for Carbon and DateTimeInterface: We now provide support for Carbon and any DateTimeInterface objects when using date or similar fields (date, datetime, datetimelocal, time, week & selectX fields).
-
Support for Non-existing Model in Form::model: Previously, passing a non-existing model to Form::model caused a fatal error. We've added support for this case to prevent such issues.
-
getFormAttribute for Date Fields: Prior to this release, getFormAttribute didn't listen to casts for date fields. We've addressed this issue, and it now works as expected.
❌ Removed
-
Deprecated strftime Usage: We've removed the deprecated strftime usage, aligning with PHP 8.0 standards.
-
Old Middleware Checker: The obsolete middleware checker which didn't actually check if it was active on the current request has been removed.
-
CSRF Tokens Unremovable: We've added an option to remove the automatic generation of CSRF tokens. You can now chain
->withoutCSRF()
toForm::open
orForm::model
to stop this from happening.
🔁 Miscellaneous Changes
-
Mockery Updated to 1.6.2: We've updated mockery to version 1.6.2, ensuring you're using the latest and most secure version.
-
Re-added Support for Unnamed Parameters on link_to_route and toRoute: Thanks to mgralikowski, we've restored support for unnamed parameters on
link_to_route
andtoRoute
. -
Restored HtmlString Usage: We found out that HtmlString usage was accidentally removed in version 7.0. We've fixed this issue (thanks again to mgralikowski!)
We hope you enjoy these improvements! As always, we greatly appreciate your feedback and contributions. Let's continue building something incredible together!
v7.0
We're excited to announce that our fork of laravelcollective/html
is finally here! We've put in some serious work to provide you with a more enhanced and developer-friendly package.
📄 Changelog
➕ Added
-
Full PHP 8 Support: We've added type hinting across the board, bringing our fork in line with the latest PHP 8 standards. This will improve code readability, predictability, and will let your IDE help you out even more!
-
More Detailed Documentation: We've written more comprehensive and detailed documentation to fully showcase all the existing features of
laravelcollective/html
. This should make it much easier to understand and utilize the full power of the package. -
New Config File: We've added a new config file,
config/html-forms.php
. This allows you to configure which form attributes are ignored by the package, giving you even more control.
❌ Removed
- Dropped Support for PHP 7.2, 7.3, and 7.4: We've decided to deprecate support for PHP 7.2, 7.3, and 7.4 in our fork. This allows us to focus on providing the best possible support for newer PHP versions. Please update your PHP version if you're still using these.
We hope you like the improvements! As always, we welcome feedback and contributions from the community. Let's build something amazing together!
v6.4.1
This release is the original laravelcollective/html repository untouched by me, just incase it ever gets deleted and people need it for legacy projects