Skip to content

Releases: php-activerecord/activerecord

v2.0.3 - PHP 8.4 support

26 Jun 23:43
Compare
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
Compare
Choose a tag to compare

What's Changed

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

v2.0.1

25 Oct 03:39
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

2.0.0-rc.7

03 Oct 20:24
d135bd1
Compare
Choose a tag to compare
2.0.0-rc.7 Pre-release
Pre-release

What's Changed

  • throw RecordNotFound on empty find by @shmax in #109

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

2.0.0-rc6

01 Oct 21:32
Compare
Choose a tag to compare
2.0.0-rc6 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-rc.5...2.0.0-rc6

2.0.0-rc.5

29 Sep 03:34
Compare
Choose a tag to compare
2.0.0-rc.5 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-rc.4...2.0.0-rc.5