v1.2.0 — BidirectionalManyToManyHandler Refactor & Full Test Coverage
v1.2.0 — BidirectionalManyToManyHandler Refactor & Full Test Coverage
What's Changed
- Integrated: CollectionHandler logic directly into
BidirectionalManyToManyHandlerfor cleaner, more maintainable code - Refactored:
handleEmptyOnTranslateandhandleSharedAmongstTranslationsfor 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