Release Notes for 3.7.0
Feature release (minor)
3.7.0
- Total issues resolved: 3
- Total pull requests resolved: 35
- Total contributors: 13
New Features
- 12565: Allow configuring foreign key names thanks to @greg0ire
- 12563: Make default string length configurable in SchemaTool thanks to @garak and @beberlei
- 12561: Add
OffsetPaginatorand alignCursorPaginatoron an immutable page API thanks to @seb-jean - 12541: Allow
NULLliteral inSELECTandCASEexpressions thanks to @HypeMC - 12525: [RFC] Expose EntityRepository::expr() thanks to @VincentLanglet
- 12432: Allow defining explicit identifier position thanks to @HypeMC
- 12364: Add cursor-based pagination thanks to @seb-jean
- 12210: [GH-12209] Using native lazy objects for partial objects thanks to @beberlei
Improvements
- 12560: Check useDbalEditorApi once in getSchemaFromMedata() thanks to @greg0ire
- 12536: Validate ManyToOne associations used as sole identifiers thanks to @JamBalaya56562
- 12535: Reject IDENTITY() on inverse-side associations thanks to @JamBalaya56562
- 12528: Avoid adding then dropping FK constraints thanks to @greg0ire
- 12500: Bail out early while running unneeded command thanks to @greg0ire
- 12479: [CursorPaginator] Harden against security concerns thanks to @seb-jean and @beberlei
- 12404: [CursorPaginator] Various tweaks and improvements thanks to @seb-jean
- 12349: Remove unnecessary check thanks to @greg0ire
- 12341: Implement compatibility with collections 3 thanks to @greg0ire
- 12340: Add missing return type declaration thanks to @greg0ire
- 12249: Add
dispatchPreFlushEvent()method and avoid callinggetConnection()twice thanks to @carferdas
Deprecations
- 12591: Introduce
PaginatorInterface::HINT_ENABLE_DISTINCTand useOffsetPaginatorin tests thanks to @seb-jean - 12564: Deprecate JoinColumns thanks to @greg0ire
- 12548: Make
LockMode::NONEa no-op thanks to @ruudk - 12543: Deprecate
TypedExpressionin favor ofExpressionWithReturnTypethanks to @GromNaN - 12454: Allow usage of SortDirection with attribute and PHP drivers thanks to @greg0ire
- 12449: Allow SortDirection usage inside OrderBy and QueryBuilder thanks to @greg0ire
- 12362: Leverage event manager interfaces thanks to @greg0ire
Static Analysis
Bugfixes
-
12550: Prepare making the DBAL editor API opt-in thanks to @greg0ire
-
12485: [CursorPaginator] Fix cursor building when ordering by ManyToOne association thanks to @seb-jean
-
12489: UnitOfWork should run UPDATES in a specific order to avoid ShareLock deadlocks thanks to @d-ph
-
12460: SchemaValidator should report inverseBy targeting a different entity thanks to @nikophil