Skip to content

Releases: bearframework/models-addon

v1.8.0

Choose a tag to compare

@ivopetkov ivopetkov released this 06 Dec 22:49

New:

  • Add PHP 8.5 support.

v1.7.0

Choose a tag to compare

@ivopetkov ivopetkov released this 05 Jan 00:28

New:

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

v1.6.0

Choose a tag to compare

@ivopetkov ivopetkov released this 13 Feb 20:37

New:

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

v1.5.0

Choose a tag to compare

@ivopetkov ivopetkov released this 02 Nov 21:12

New:

  • Add support for PHP 8.2 and PHP 8.3.

v1.4.1

Choose a tag to compare

@ivopetkov ivopetkov released this 13 Oct 09:57

Fix:

  • Fix in composer.json.

v1.4.0

Choose a tag to compare

@ivopetkov ivopetkov released this 06 Apr 19:36

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

Choose a tag to compare

@ivopetkov ivopetkov released this 29 Nov 16:43

Add support for PHP 8.1.

v1.2.0

Choose a tag to compare

@ivopetkov ivopetkov released this 11 Aug 16:21

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

v1.1.1

Choose a tag to compare

@ivopetkov ivopetkov released this 08 Aug 20:14

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

v1.1.0

Choose a tag to compare

@ivopetkov ivopetkov released this 11 Jul 08:52

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