Skip to content

Releases: dereuromark/cakephp-shim

2.4.1

05 Aug 01:06
Compare
Choose a tag to compare

Fixes

  • Fixed Overriding class attribute in DateTimeWidget. by @otukutun in #99

Full Changelog: 2.4.0...2.4.1

2.4.0

31 Jan 22:09
Compare
Choose a tag to compare

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 existing get*OrFail() functionality.

2.3.0

01 Nov 21:14
80834d1
Compare
Choose a tag to compare

Improvements

  • CakePHP 4.3 checked/approved and CakePHP 4.2+ / PHP 7.3+ now.

2.2.0

30 Jun 12:48
Compare
Choose a tag to compare

Improvements

  • Added ConfigureHelper::consumeOrFail() method as view template proxy to Configure class.
  • Added IdeHelper autocomplete for Configure helper methods, like read() or consume().

2.1.1

02 Jun 11:34
Compare
Choose a tag to compare

Fixes

Fixed propagation of options into widgets like Year, especially in dropdown use case.

0.7.5

09 Oct 13:08
65a03c9
Compare
Choose a tag to compare

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

29 Sep 20:54
Compare
Choose a tag to compare

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

19 Jun 14:14
3e2f957
Compare
Choose a tag to compare

Improvements

  • PHP 7.4 compatibility
  • Added Form input shimming
  • Added assertHeaderContains() for IntegrationTestCase

2.0.1

20 Apr 00:29
Compare
Choose a tag to compare

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

19 Apr 17:28
Compare
Choose a tag to compare

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.