Skip to content

Releases: bearframework/models-addon

v1.8.0

06 Dec 22:49

Choose a tag to compare

New:

  • Add PHP 8.5 support.

v1.7.0

05 Jan 00:28

Choose a tag to compare

New:

  • Add PHP 8.4 support. Remove PHP 7.* support.

v1.6.0

13 Feb 20:37

Choose a tag to compare

New:

  • Add support for adding read-only items via addSource().

v1.5.0

02 Nov 21:12

Choose a tag to compare

New:

  • Add support for PHP 8.2 and PHP 8.3.

v1.4.1

13 Oct 09:57

Choose a tag to compare

Fix:

  • Fix in composer.json.

v1.4.0

06 Apr 19:36

Choose a tag to compare

New:

  • Add ModelsRepositoryCreateTrait with add(), generateID() and setIDGenerator().
  • Add 'ignoreReadonlyProperties' and 'properties' options to the repository's toArray() and toJSON() methods.

Changed:

  • Exclude model's readonly properties from the saved value.

v1.3.0

29 Nov 16:43

Choose a tag to compare

Add support for PHP 8.1.

v1.2.0

11 Aug 16:21

Choose a tag to compare

The deleteAll() method now calls delete() for each model.

v1.1.1

08 Aug 20:14

Choose a tag to compare

Remove the add() method (added in v1.1.0), because it breaks others classes that may have defined it.

v1.1.0

11 Jul 08:52

Choose a tag to compare

Add repository->add() method.
Add dataKeyCallback to the AppDataDriver to customize data keys.
Fix for an edge case.