Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.x: add docs for patchable changes #7979

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions en/appendices/6-0-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,26 @@ Behavior Changes
Breaking Changes
================

Datasource
----------

- ``Datasource/Paging/PaginatedInterface`` now extends ``IteratorAggregate``
instead of ``Traversable``.

ORM
---

- The ``_accessible`` property inside Entities has been renamed to ``patchable``
to better reflect its purpose.
- ``setAccess`` method has been renamed to ``setPatchable``.
- ``getAccessible`` method has been renamed to ``getPatchable``.
- ``isAccessible`` method has been renamed to ``isPatchable``.
- The ``accessibleFields`` option used in e.g. ORM Queries has been
renamed to ``patchableFields``.

Utility
-------

- The default placeholder format for ``Text::insert()`` has been changed.
They now use ``{foo}`` instead of ``:foo``. You can get the old
behavior by using the ``before`` and ``after`` keys of ``$options``.
- ``Datasource/Paging/PaginatedInterface`` now extends ``IteratorAggregate``
instead of ``Traversable``.
Loading