2.15.0
Release Notes for 2.15.0
Feature release (minor)
2.15.0
- Total issues resolved: 1
- Total pull requests resolved: 30
- Total contributors: 8
New Features
- 10234: Support
NOT
expression thanks to @remi-san
Improvements
- 10601: Support options like charset and collation on DiscriminatedColumn thanks to @JanTvrdik
- 10599: fix(persistent-collection): check association is not nullable before using it as an array thanks to @amina-seraoui
- 10473: Allow to-many associations on mapped superclasses w/ ResolveTargetEntityListener thanks to @mpdude
- 10397: Factor out logic that tracks mapping inheritance thanks to @mpdude
- 10351: Allow
doctrine/instantiator
2 thanks to @derrabus
Deprecations
- 10654: Deprecate usage of
@JoinColumn
on the inverse side of one-to-one associations thanks to @mpdude - 10519: Deprecate overriding associations not inherited from a mapped superclass thanks to @mpdude
- 10470: Deprecate overriding fields/associations inherited from other entities thanks to @mpdude
- 10423: Add deprecations for "table per class" inheritance thanks to @mpdude
Bugfixes
- 10554: Make "targetEntity must not be a mapped superclass" a lazy check thanks to @mpdude and @alexander-schranz
Static Analysis
- 10602: Remove duplicate array shape thanks to @greg0ire
- 10478: Move psalm types to ClassMetadata thanks to @greg0ire
- 10442: Add embedded class mapping array shape thanks to @greg0ire
- 10430: Use FieldMapping array shape even more thanks to @greg0ire
- 10408: Field mapping improvements thanks to @greg0ire
- 10403: Reuse association mapping array shape thanks to @greg0ire
- 10381: Use more precise types for class strings thanks to @greg0ire
- 10372: Use the same type as in the DBAL thanks to @greg0ire
- 10365: Address new behavior of $firstResult thanks to @greg0ire
- 10156: Identity map cannot contains null value thanks to @PowerKiKi
- 10513: Use array shapes where appropriate thanks to @greg0ire
Test Suite
- 10569: Address deprecation of fetchAll() thanks to @greg0ire
- 10545: Make data providers static thanks to @derrabus
- 10464: Fix some tests that were missed in #10431 thanks to @mpdude
- 10406: Test with a stable PHPUnit thanks to @derrabus
Code Style
- 10477: Remove underscore prefix on private variables thanks to @greg0ire
- 10465: Remove commented-out code sections thanks to @mpdude