Nextras Orm Versions Save

Orm with clean object design, smart relationship loading and powerful collections.

v5.0.0-rc1

1 month ago

Major changes:

  • 🐘 The minimum PHP version is 8.1 [31043a3868c975e4219df1af9c4bf6f6d9717e44]
  • ⛺ Introduction of PHPDoc generics, fully supporting PHPStan, and making the code safer [404b47bb3529e8e366bad04967adb23b13ecfe71, ab9cdcf, 3dcb20b369b8064c3db58704befc667345cffd2c, e8a90db35772103f8f035f2fec9bc28ec520ac81]
  • 📋 Added support for PHP 8's Enums [#585]
  • 📦 Added row aggregations for relationships and great refactoring of Collection functions [#496, #531, #545, #546, #542, #566, #587, #633, #652, #655]
  • 🛡️ Introduced literal-string PHPDoc type to prevent SQL injection [d88eb6e81ac550ace6d6787ff646915db2d1e88b]

Minor changes:

  • Allow working with a has-one relationship before attachment to the repository [#467]
  • HasMany::set() optimized to avoid unneeded remove/add [#512]
  • Introduced MemoryCollection and related ICollection::toMemoryCollection() [#533]
  • Support for instances of OrmExtension [#660]
  • relationship: reading removed entity retracks it by [#510]
  • Entity::hasValue() should not set null value for uninitialized property by [#514]
  • Added ICollection::fetchChecked() [#554]
  • Support nullable classes definition with '?' [#556]
  • conventions: fix ManyHasMany keys lookup on MySql with different key casing [#581]
  • Use spl_object_id instead of spl_object_hash [#605]
  • [Nette] Initialize metadata on DIC startup [#606]
  • mixed type allows null [#595]
  • Relationships fixes in HasOne [#620]

New Contributors:

Thank you!

Full Changelog: https://github.com/nextras/orm/compare/v4.0.7...v5.0.0-rc1

v4.0.7

10 months ago

What's Changed

Full Changelog: https://github.com/nextras/orm/compare/v4.0.6...v4.0.7

v4.0.6

1 year ago
  • fix nullable type ?Type parsing [#592]

v4.0.5

1 year ago

What's Changed

  • Add missing array key checks when using the debug_backtrace() function, #552 by @ste93cry
  • Conventions: fix ManyHasMany keys lookup on MySql with different key casing, #578

Full Changelog: https://github.com/nextras/orm/compare/v4.0.4...v4.0.5

v4.0.4

2 years ago

New patch version 4.0.4 is out! ❄️ What's changed from 4.0.3?

  • fixed support for PHP 8.1 [2c4058878b8241a215bcbcdb5953604f5dc7f057]
  • build v4 branch with GitHub actions

See full commit changelog.

v4.0.3

2 years ago

New patch version 4.0.3 is out! ☀ What's changed from 4.0.2?

  • relationship: reading removed entity retracks it [4bea473e87ebe22be10a506dbe8dca6ff2df29fb]
  • repository: revert obtaining entity by entity instance (temporarily to easy update to v4) [d3586f896bf92ce61e24525105372681b6bb2492]

See full commit changelog.

You may support Nextras Orm by giving it a star here on GitHub ⭐ or by Sponsorship (even with a one-time payment). Thanks to current sponsors: @stpnkcrk, @VaclavPavek, @chemix, @radimvaculik, @zraly, @manwecz, @stepapo 🤗

v4.0.2

3 years ago

New patch version 4.0.2 is out! 🌱 What's changed from 4.0.1?

  • dbal conventions: removed buggy optimization for finding M:M mapping columns [6763e43055946ec9f0ebd684918fffedd1cdb451]
  • array mapper: fix resolving relationship mapper for proper data storage in ArrayMapper [4218ff682c53189a39fc484fa83b897c7b47a513]

Thanks @martenb for report.

See full commit changelog.

You may support Nextras Orm by giving it a star here on GitHub ⭐ or by Sponsorship. Thanks to current sponsors: @stpnkcrk, @davidkregl, @VaclavPavek, @chemix, @radimvaculik, @zraly, @manwecz. 🤗

v4.0.1

3 years ago

New patch version 4.0.1 is out! 🎃 What's changed from 4.0.0?

  • collection: fix HasManyCollection::fetch() accessing invalid iterator state, thanks VojtaBrtnik for reporting [734cd96edba777a2b2a5d055d5dce4132d614ab2]

See full commit changelog.

You may support Nextras Orm by giving it a star here on GitHub ⭐ or by Sponsorship. Thanks to current sponsors: @stpnkcrk, @VaclavPavek, @chemix and @radimvaculik. 🤗

v4.0.0

3 years ago

The major 4.0.0 version is out! 🌺

What's new: ✔

BC breaks: ❗

See full commit changelog since 3.1 version. 📃

You may support Nextras Orm by giving it a star here on GitHub ⭐ or by Sponsorship. Thanks to current sponsors: @stpnkcrk, @VaclavPavek and @chemix. 🤗

v3.1.4

3 years ago

New patch version 3.1.4 is out! 🐴 What's changed from 3.1.3?

  • relationships: fix counting 1:M table with composite primary key, thanks @LuckyLuky for reporting [d781eb328a345a680f9790c345337a2cb97b1109]

See full commit changelog.

You may support Nextras Orm by giving it a star here on GitHub ⭐ or by Sponsorship. Thanks to current sponsors: @stpnkcrk, @VaclavPavek and @chemix. 🤗