Skip to content

Releases: php-activerecord/activerecord

v2.0.6

16 Sep 15:05
2da23b9

Choose a tag to compare

What's Changed

  • Refactor modify method return type to use self instead of DateTime|false by @EthannSchneider in #129

Full Changelog: v2.0.5...2.0.6

v2.0.5

16 Sep 01:04
b08a9d0

Choose a tag to compare

What's Changed

Full Changelog: v2.0.4...v2.0.5

v2.0.4

14 Sep 15:27
287a53d

Choose a tag to compare

What's Changed

  • Bugfix/has and belongs to many using wrong table to–check relations by @EthannSchneider in #125. Thank you!

New Contributors

Full Changelog: v2.0.3...v2.0.4

v2.0.3 - PHP 8.4 support

26 Jun 23:43

Choose a tag to compare

What's Changed

New Contributors

  • @phpfui made their first contribution in #121 thanks much!

Full Changelog: v2.0.2...v2.0.3

v2.0.2

29 Nov 22:34
6df178b

Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.0.2

v2.0.1

25 Oct 03:39

Choose a tag to compare

What's Changed

  • don't collect models if not needed by @shmax in #116

Full Changelog: v2.0.0...v2.0.1

v2.0.0

24 Oct 02:30

Choose a tag to compare

Here it is at last, folks! I'm very proud to announce the first major release of this library in over a decade! So, what's new?

  • now aligned more closely with modern ActiveRecord API (particularly the ability to chain commands together using the new Relation class)
  • CI moved to Github Actions
  • redesigned unit test layout to exercise all tests with all adapters
  • dropped unfinished features (such as OCI support)
  • refreshed code with modern PHP language features (min version is now 8.1)
  • rewrote documentation
  • full support for phpstan (level 6), including dynamic extensions that dissolve ambiguity around methods with dynamic return types such as Model::find (make sure to import extension.neon)
  • now using php-cs-fixer
  • increased code coverage to 100%

And a thousand other little things.

Be advised that this is a breaking change! The PHP update alone would be enough to warrant careful consideration, but there are plenty of major API changes, as well. Be sure to have a look at the migration guide for more information, here.

What's Changed

I want to give a big shout out to @ipundit who was the one who sort of kicked all this off, and contributed several key improvements.

Please enjoy, and don't be shy about reporting issues as they pop up.

Full Changelog: v1.1.11...2.0.0

2.0.0-rc.9

08 Oct 01:12
148165e

Choose a tag to compare

2.0.0-rc.9 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-rc.8...2.0.0-rc.9

2.0.0-rc.10

08 Oct 03:30
e533a31

Choose a tag to compare

2.0.0-rc.10 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-rc.9...2.0.0-rc.10

2.0.0-rc.8

03 Oct 22:17
7fd55a4

Choose a tag to compare

2.0.0-rc.8 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-rc.7...2.0.0-rc.8