Releases: dereuromark/cakephp-shim
2.4.1
Fixes
Full Changelog: 2.4.0...2.4.1
2.4.0
Improvements
- Added
set*OrFail()
functionality for entities to make it easier to have an early error system for invalid null setting.
This compliments the already existingget*OrFail()
functionality.
2.3.0
Improvements
- CakePHP 4.3 checked/approved and CakePHP 4.2+ / PHP 7.3+ now.
2.2.0
Improvements
- Added
ConfigureHelper::consumeOrFail()
method as view template proxy to Configure class. - Added IdeHelper autocomplete for Configure helper methods, like
read()
orconsume()
.
2.1.1
Fixes
Fixed propagation of options into widgets like Year, especially in dropdown use case.
0.7.5
Improvements
- Allow performing a HEAD request using the current request data
Fixes
- Fixed up deprecated keys for FormShimHelper
- Fixed up div handling for FormShimHelper
2.1.0
Fixes
- Fixed signature of
Table::beforeFind()
- Fixed options handling of
Table::save()
- Restored the month rendering for DateTimeWidget to the 3.x behavior as the shim intends to if in standalone usage
0.7.4
Improvements
- PHP 7.4 compatibility
- Added Form input shimming
- Added assertHeaderContains() for IntegrationTestCase
2.0.1
Improvements
Shim.Nullable
behavior can now also run on beforeSave()
callback instead of beforeMarshal()
.
This helps with validation that needs to have the empty string posted still available for isset()
checks and alike.
Also, that callback can be used specifically on "dirty" fields.
You can also refactor those to array_key_exists()
, if you want to keep the default event and expect nullish input.
1.10.2
Improvements
Shim.Nullable
behavior can now also run on beforeSave()
callback instead of beforeMarshal()
.
This helps with validation that needs to have the empty string posted still available for isset()
checks and alike.
Also, that callback can be used specifically on "dirty" fields.
You can also refactor those to array_key_exists()
, if you want to keep the default event and expect nullish input.