Skip to content

Releases: dereuromark/cakephp-shim

3.2.3

06 Apr 17:38
Compare
Choose a tag to compare

Fixes

  • Adjusted for core release of trait method isDebug()

Included commits: 3.2.2...3.2.3

3.2.2

12 Feb 10:59
c7b2392
Compare
Choose a tag to compare

Fixes

Fixed up isModified() on entity for non strict comparison, e.g. when comparing DateTime values.

3.2.1

07 Dec 09:23
Compare
Choose a tag to compare

Fixes

Fixed RedirectOutOfBoundsTrait to continue to support paginate property as well as config.

3.2.0

05 Dec 21:26
Compare
Choose a tag to compare

Improvements

Added RedirectOutOfBoundsTrait for controller pagination to auto-fix 404s for humans.

Simply add the trait and enjoy the magic:

use Shim\Controller\Controller;
use Shim\Controller\RedirectOutOfBoundsTrait;

class AppController extends Controller {

    use RedirectOutOfBoundsTrait;

Instead of showing a not user-friendly 404 page, the pagination will redirect right away to the last page available.

3.1.1

27 Nov 20:59
Compare
Choose a tag to compare

Fixes

Fixed up default model class detection for shims.

3.1.0

01 Nov 21:55
ffd0b7e
Compare
Choose a tag to compare

Improvements

  • Added NumericPaginator shim for contain shimming in 5.x.

3.0.1

03 Oct 11:56
3b4edcf
Compare
Choose a tag to compare

Fixes

Fixed Command args to be not nullable.

3.0.0

28 Sep 16:57
ce377e5
Compare
Choose a tag to compare

CakePHP 5 compatible release

The plugin to help ease migration coming from CakePHP 4.x apps.

Shim Up: With CakePHP 4.x core and some of the shims, you can prepare your app already for 5.x.
Shim Down: Then, once upgraded, with 5.x core and some more shims you can further minimize required changes until the app works again.
Then you can slowly start refactoring again further while the app is already running again.

Improvements

  • Added LegacyAwareTrait to shim loadModel() for apps that make heavy use of it still.
  • Added former Cake\Filesystem\File and Cake\Filesystem\Folder classes
  • Added ModifiedTrait for entities and detecting actually changed fields (not just touched with same value)

3.0.0-RC

10 Sep 09:21
Compare
Choose a tag to compare

CakePHP 5 compatible pre-release

The tool to help ease migration coming from CakePHP 4.x apps.

Shim Up: With CakePHP 4.x core and some of the shims, you can prepare your app already for 5.x.
Shim Down: Then, once upgraded, with 5.x core and some more shims you can further minimize required changes until the app works again.
Then you can slowly start refactoring again further while the app is already running again.

0.7.6

14 Dec 15:46
05f9af1
Compare
Choose a tag to compare

Fixes

  • Fixed inputDefaults shim false positives by @bancer in #87
  • Fixed regression in datetime handling caused by sniffer

Full Changelog: 0.7.5...0.7.6