Skip to content

Releases: cycle/orm

v2.15.0

17 Mar 13:21
36e2ddc

Choose a tag to compare

What's Changed

  • Support LoadOptions DTOs in BulkLoader::load() by @roxblnfk in #559
  • Declare Select methods in code instead of annotations by @roxblnfk in #560

Full Changelog: v2.14.3...v2.15.0

v2.14.3

06 Mar 07:03
2e9463e

Choose a tag to compare

What's Changed

Full Changelog: v2.14.2...v2.14.3

v2.14.2

05 Mar 14:00
c6d621b

Choose a tag to compare

What's Changed

  • Fix BulkLoader indexing with Stringable primary keys by @roxblnfk in #557

Full Changelog: v2.14.1...v2.14.2

v2.14.1

05 Mar 12:01
2c06029

Choose a tag to compare

What was changed

Now, for BelongsToMorphed relations, you can legally manually specify the morph_type column (without morph_id). This won't work if the entity is not new and the relation was set to null in this EM transaction (in this case, all relation fields will be prioritized to null). #556

Why?

Cycle ORM allowed some flexibility for the programmer. The recent fix that reset related fields broke some existing project codebases. To fix this, the old behavior was restored and supported with tests.

Even though this behavior is backed by tests, we still recommend not doing it this way for best practice reasons.

Full Changelog: v2.14.0...v2.14.1

v2.14.0

03 Mar 11:32
ddded1e

Choose a tag to compare

What's Changed

  • Add options DTOs for Select::load() method by @roxblnfk in #553
  • Fix indexing of entities with object PK like UUID in BulkLoader by @roxblnfk in #554
  • Fix BelongsToMorphed not clearing morph type on null relation by @roxblnfk in #555

Full Changelog: v2.13.2...v2.14.0

v2.13.2

10 Feb 08:39
4be87c3

Choose a tag to compare

What's Changed

  • Fix a bug when related fields were not filled in BelongsToMorphed by @roxblnfk in #550

Full Changelog: v2.13.1...v2.13.2

v2.13.1

30 Jan 11:39
72ee07e

Choose a tag to compare

What was changed

Revert #491: a bug found in a side project

Full Changelog: v2.13.0...v2.13.1

v2.13.0

30 Jan 07:50
fa6a81d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.12.3...v2.13.0

v2.12.3

26 Dec 06:47
7484b73

Choose a tag to compare

What's Changed

  • Handle empty entity collection in BulkLoader without throwing exception by @roxblnfk in #543

Full Changelog: v2.12.2...v2.12.3

v2.12.2

16 Dec 13:41
v2.12.2
38360e9

Choose a tag to compare

What's Changed

  • Fix columns mapping in BelongsToMorphedLoader by @roxblnfk in #542

Full Changelog: v2.12.1...v2.12.2