github cycle/orm v2.14.1

latest release: v2.14.2
6 hours ago

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

Don't miss a new orm release

NewReleases is sending notifications on new releases.