ATK Data 2.1 released!

Breaking Changes

Read it here: https://github.com/atk4/data/releases/tag/2.1.0

Biggest change is in #597 (hook names) - Please read and update your code. Version 2.0.5 should be backwards compatible with this.

  • Convert callables to closures and move hook names to constants (#597) @mvorisek
  • Remove expr explode (#609) @mvorisek
  • Remove support of default field + do not explode CSV string/value (#604) @mvorisek
  • Allow to add() only an object (#565) @mvorisek
  • Isolate ArrayAccess from Model to optional/BC trait (#591) @mvorisek
  • Remove NameTrait trait from Model (#596) @mvorisek

What’s Changed

  • Fix exception constructor refactoring (#608) @mvorisek
  • Refactor exception constructor calls to not use array (#607) @mvorisek
  • Remove support of relative class names (#603) @mvorisek
  • Small normalization changes (#580) @mvorisek
  • Remove lastInsertID() from Model (#592) @mvorisek
  • [feature] Action modifier (#602) @ibelar
  • add documentation for Model::setNull() (#601) @romaninsh
  • Remove NameTrait trait from Model (#594) @mvorisek
  • hotfix ArrayAccess (#595) @mvorisek
  • No incomplete tests by default for Sqlite and MySQL (#583) @mvorisek
  • move lastInsertID to persistence (#585) @DarkSide666
  • Normalize Unit Testing workflow across repos (#571) @mvorisek
  • Update Model.php (#584) @vorismi3
  • Model::setNull() - Allow field value unset (#569) @mvorisek
  • Remove old Travis files (#550) @mvorisek
  • add missing double backslash in class references (#570) @georgehristov
  • Simplify locale path getter (#568) @mvorisek
  • Delete ConnectionInterface.php (#564) @mvorisek
  • Fix phpunit before full upgrade (#562) @mvorisek
  • Fix driver type refactor (#559) @mvorisek
  • Remove vim comment (#560) @mvorisek
  • Change “driverType” to “driver type” in exception message (#558) @mvorisek
  • Don’t use addMethod() with non-callable. Also add return types (#556) @mvorisek
  • Remove deprecated classes in 2.x version (#552) @mvorisek
  • Refactor driver type (#553) @mvorisek