Skip to content

Commit 1617ea1

Browse files
committed
add docs for ORM patchable rename
1 parent 8e64f0b commit 1617ea1

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

en/appendices/6-0-migration-guide.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,26 @@ Behavior Changes
2020
Breaking Changes
2121
================
2222

23+
Datasource
24+
----------
25+
26+
- ``Datasource/Paging/PaginatedInterface`` now extends ``IteratorAggregate``
27+
instead of ``Traversable``.
28+
29+
ORM
30+
---
31+
32+
- The ``_accessible`` property inside Entities has been renamed to ``patchable``
33+
to better reflect its purpose.
34+
- ``setAccess`` method has been renamed to ``setPatchable``.
35+
- ``getAccessible`` method has been renamed to ``getPatchable``.
36+
- ``isAccessible`` method has been renamed to ``isPatchable``.
37+
- The ``accessibleFields`` option used in e.g. ORM Queries has been
38+
renamed to ``patchableFields``.
39+
40+
Utility
41+
-------
42+
2343
- The default placeholder format for ``Text::insert()`` has been changed.
2444
They now use ``{foo}`` instead of ``:foo``. You can get the old
2545
behavior by using the ``before`` and ``after`` keys of ``$options``.
26-
- ``Datasource/Paging/PaginatedInterface`` now extends ``IteratorAggregate``
27-
instead of ``Traversable``.

0 commit comments

Comments
 (0)