Skip to content

v1.2.0 — BidirectionalManyToManyHandler Refactor & Full Test Coverage

Choose a tag to compare

@CreativeNative CreativeNative released this 19 Sep 15:34
· 243 commits to master since this release

v1.2.0 — BidirectionalManyToManyHandler Refactor & Full Test Coverage

What's Changed

  • Integrated: CollectionHandler logic directly into BidirectionalManyToManyHandler for cleaner, more maintainable code
  • Refactored: handleEmptyOnTranslate and handleSharedAmongstTranslations for consistent behavior and robust exception handling
  • Enhanced: Unit and integration tests to cover all edge cases, including private/protected property access and runtime exceptions
  • Fixed: Numerous bugs in translation of bidirectional ManyToMany associations and improved code coverage

Why It Matters

This update ensures that bidirectional ManyToMany relationships are handled reliably and safely during translations. Full test coverage provides confidence in edge cases and reduces the risk of runtime errors.

  • Performance: Streamlined collection handling
  • Reliability: Fixed previously uncovered bugs and exception paths
  • Maintainability: Cleaner, self-contained handler class
  • Developer Experience: Clearer, predictable behavior and better test suite documentation

Full Changelog: v1.1.0...v1.2.0