Skip to content

Commit

Permalink
Update 5.2 migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jan 3, 2025
1 parent f60cea1 commit 63720a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions en/appendices/5-2-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ Behavior Changes
being filterable from logging.
- ``NumericPaginator::paginate()`` now uses the ``finder`` option even when a ``SelectQuery`` instance is passed to it.

New Features
============

- ``Cake\Database\Type\JsonType::setDecodingOptions()`` was added. This method
lets you define the value for the ``$flags`` argument of ``json_decode()``.
- ``CounterCacheBehavior::updateCounterCache()`` was added. This method allows
you to update the counter cache values for all records of the configured
associations. ``CounterCacheCommand`` was also added to do the same through the
console.

Deprecations
============

Expand Down

0 comments on commit 63720a3

Please sign in to comment.