Skip to content

Releases: atk4/data

2.3.1

13 Oct 23:03
f1017cf
Compare
Choose a tag to compare

Fix versioning

2.2.1

13 Oct 21:50
776373b
Compare
Choose a tag to compare

Fix dependencies and versioning

2.3.0

06 Oct 09:38
Compare
Choose a tag to compare

What’s Changed

Breaking Changes

  • Fix not rebound hooks after clone (#711) @mvorisek
  • Remove persistence override support from Model::load/save/atomic methods (#732) @mvorisek
  • Stricter Condition validation, remove legacy OR condition support (#720) @mvorisek
  • Drop magic ID property from Model (#716) @mvorisek
  • Drop $from_persistence support for Model::load() (#717) @mvorisek
  • Drop ID property in advance of standard row data, provide BC using magic (#708) @mvorisek
  • Convert Model to Entity (prevent reload with a different record) (#697) @mvorisek
  • Make init() methods protected and fix calls to ->invokeInit() (#695) @mvorisek
  • Use "asc"/"desc" strings for order direction instead of false/true (#626) @mvorisek

Major Features

2.2.0

15 Jul 22:09
Compare
Choose a tag to compare

Breaking Changes

  • Enforce array in method prototypes when appropriate (#567) @mvorisek
  • Add separate/explicit Model::setMulti() method, Model::set() no longer accepts array (#621) @mvorisek
  • Drop AppScopeTrait trait from Model & Persistence classes (#654) @mvorisek
  • Fix PSR class/trait/method naming (#652) @mvorisek
  • [refactor] UserAction\Generic to Model\UserAction (#634) @georgehristov
  • Improve array persistence and disallow passing array by reference (#627) @mvorisek
  • HasXxx() methods now return bool only + always require field to be defined first (#616) @mvorisek

What’s Changed

2.1.0

07 Jun 17:28
Compare
Choose a tag to compare

Large Breaking Changes

  • Isolate ArrayAccess from Model to optional/BC trait (#591) @mvorisek - add ModelArrayAccessTrait to your Model classes where needed
  • Change and move hook names to constants (#597) @mvorisek - read and update your code. Version 2.0.5 should be backwards compatible with this.

Breaking Changes

What’s Changed

2.0.4

07 Jun 17:05
79dd35d
Compare
Choose a tag to compare

Make some preparations to help you transition to 2.1 (#610)

2.0.3

08 Apr 15:15
79dd35d
Compare
Choose a tag to compare

What’s Changed

2.0.2

11 Feb 16:42
f916c24
Compare
Choose a tag to compare

What’s Changed

2.0.1

02 Dec 03:20
Compare
Choose a tag to compare

What’s Changed

Enhancements

2.0.0

25 Nov 02:50
b1e941d
Compare
Choose a tag to compare

What’s Changed