Releases: doctrine/orm
3.3.1
Release Notes for 3.3.1
3.3.1
- Total issues resolved: 0
- Total pull requests resolved: 9
- Total contributors: 5
Bugfixes
Improvement
Documentation
- 11693: UPGRADE: mention
SqlWalker
deprecations in 3.3 thanks to @janedbal - 11685: Remove YAML doc example thanks to @greg0ire
- 11672: Update branch metadata thanks to @greg0ire
- 11344: Change the lock mode in the "Aggregate Fields" cookbook (aggregate-fields.rst) article. thanks to @d-ph
CI
- 11681: Tell dependabot to target 2.20.x thanks to @derrabus
- 11678: Close stale pull requests thanks to @derrabus
Test Suite
- 11674: Drop DBAL 2 compat code thanks to @derrabus
This release includes all the changes from https://github.com/doctrine/orm/releases/tag/2.20.1
2.20.1
Release Notes for 2.20.1
2.20.x bugfix release (patch)
2.20.1
- Total issues resolved: 0
- Total pull requests resolved: 24
- Total contributors: 14
Bugfixes
- 11768: Check hint value before considering instance read-only thanks to @pbreteche
- 11694: BUG: When changing SQLFilter parameter, resulting SQL query is not generated correctly thanks to @dbannik
- 10065: Lazy and eager collection refresh inconsistency thanks to @goetas
- 11453: Allow classname in 'value' attribute of xml discriminator-mapping field thanks to @MatteoFeltrin
Documentation
- 11770: Fix docs examples for mappings overrides thanks to @HypeMC
- 11716: Add
isEmpty()
method to the Extra Lazy Associations tutorial thanks to @acasademont - 11709: Fix
Events::onFlush
andPostFlush()
documentation: events are always raised thanks to @lyrixx - 11673: Update README thanks to @greg0ire
- 11667: Experiment with literalinclude thanks to @greg0ire
- 11613: Add missing generated option to documentation thanks to @alexander-schranz
- 11556: [Docs] unitofwork.rst: php => PHP thanks to @k00ni
Test Suite
- 11757: Order result thanks to @greg0ire
- 11676: Fix PHPUnit deprecations thanks to @derrabus
Static Analysis
- 11756: Upgrade to PHPStan 2 thanks to @greg0ire
- 11732: Raise PHPStan level to 7 thanks to @greg0ire
- 11719: Ignore deprecation about StaticReflectionService thanks to @greg0ire
- 11677: Psalm 5.26.1 thanks to @derrabus
CI
-
11753: Run static analysis checks on PHP 8.4 thanks to @greg0ire
-
11743: Bump doctrine/.github from 5.3.0 to 6.0.0 thanks to @dependabot[bot]
-
11704: Drop Psalm thanks to @beberlei
-
11697: Run tests against PostgreSQL 17 thanks to @IndraGunawan
-
11680: Bump doctrine/.github from 5.1.0 to 5.2.0 thanks to @dependabot[bot]
-
11671: Bump doctrine/.github from 5.1.0 to 5.2.0 thanks to @dependabot[bot]
-
11736: Avoid coverage upload for merge up pull requests thanks to @greg0ire
3.3.0
Release Notes for 3.3.0
Feature release (minor)
3.3.0
- Total issues resolved: 0
- Total pull requests resolved: 12
- Total contributors: 8
New Features
- 11666: Auto-detect values for EnumType columns thanks to @derrabus
- 11576: Add support for using nested DTOs thanks to @eltharin
- 11575: Allow named Arguments to be passed to Dto thanks to @eltharin
- 11528: Add
createNamedParameter
toQueryBuilder
thanks to @norkunas
Improvements
-
11657: Support for DBAL 4.2 EnumType in SchemaTool thanks to @beberlei
-
11560: Remove unused $pkColumns when gathering columns thanks to @smoothie
-
11557: Make CountWalker use COUNT(*) when $distinct is explicitly set to false (#11552) thanks to @d-ph
-
11365: Reintroduce PARTIAL, but only for non-object hydration. thanks to @beberlei
-
11653: [GH-8471] Undeprecate PARTIAL for objects in DQL thanks to @beberlei
Deprecations
- 11512: Deprecate DatabaseDriver thanks to @greg0ire
Documentation
Static Analysis
3.2.3
Release Notes for 3.2.3
3.2.x bugfix release (patch)
3.2.3
-
Total issues resolved: 0
-
Total pull requests resolved: 2
-
Total contributors: 2
-
11614: Guides as dev dependency thanks to @greg0ire
Test Suite
2.20.0
Release Notes for 2.20.0
2.20.0
- Total issues resolved: 0
- Total pull requests resolved: 13
- Total contributors: 6
Improvements
- 11647: [GH-8471] undeprecate partials completly thanks to @beberlei
- 11628: Prepare PHP 8.4 support: Prevent property hooks from being used thanks to @beberlei
- 11366: Undeprecate PARTIAL for array hydration. thanks to @beberlei
- 11188: Fix different first/max result values taking up query cache space thanks to @mpdude
Deprecations
- 11641: Deprecate the
\Doctrine\ORM\Query\Parser::setCustomOutputTreeWalker()
method thanks to @mpdude
Bugfixes
Static Analysis
- 11643: Remove vendor prefix of PHPDoc referencing class-string thanks to @derrabus
- 11639: Let PHPStan detect deprecated usages thanks to @derrabus
Documentation
- 11640: Stop recommending vendor-prefixed PHPDoc thanks to @derrabus
- 11636: Add upgrade note about property hooks thanks to @greg0ire
- 11504: Fix upgrade guide for 2.20 thanks to @derrabus
Test Suite
- 11660: test: cover all transactional methods in
EntityManagerTest::testItPreservesTheOriginalExceptionOnRollbackFailure()
thanks to @simPod
CI
- 11631: Add CI job for PHP 8.4 thanks to @greg0ire
2.19.8
Release Notes for 2.19.8
2.19.x bugfix release (patch)
2.19.8
-
Total issues resolved: 0
-
Total pull requests resolved: 10
-
Total contributors: 5
-
11655: Submodule cleanup thanks to @greg0ire
Bugfixes
- 11646: Run risky code in finally block thanks to @greg0ire
- 11625: Make nullable parameters explicit in generated entities thanks to @derrabus
Documentation
- 11644: Remove a misleading comment thanks to @mpdude
- 11618: unclosed
]
in attributes-reference.rst thanks to @n0099 - 11615: Move orphan metadata to where it belongs thanks to @greg0ire
- 11627: Replace custom directives with native option thanks to @greg0ire
Static Analysis
- 11635: PHPStan 1.12.6 thanks to @derrabus
- 11585: PHPStan 1.12 thanks to @derrabus
CI
- 11616: Bump doctrine/.github from 5.0.1 to 5.1.0 thanks to @dependabot[bot]
3.2.2
Release Notes for 3.2.2
3.2.x bugfix release (patch)
3.2.2
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Documentation
This release also includes changes from https://github.com/doctrine/orm/releases/tag/2.19.7
2.19.7
Release Notes for 2.19.7
2.19.x bugfix release (patch)
2.19.7
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 4
Bugfixes
- 11564: GH11551 - fix OneToManyPersister::deleteEntityCollection case where single-inheritence table parent entity is targetEntity. thanks to @gitbugr
- 11543: Fix the support for custom parameter types in native queries thanks to @stof
- 11109: Original entity data resolves inverse 1-1 joins thanks to @mcurland
Documentation
3.2.1
2.19.6
Release Notes for 2.19.6
2.19.x bugfix release (patch)
2.19.6
- Total issues resolved: 0
- Total pull requests resolved: 20
- Total contributors: 12
Bugfixes
- 11506: [2.19.x] Fetching entities with Composite Key Relations and null values thanks to @michalbundyra
- 11501: Fix OneToManyPersister::deleteEntityCollection missing discriminator column/value. (GH-11500) thanks to @gitbugr
- 11489: Replace assertion with exception thanks to @greg0ire
- 11475: Fix cloning entities thanks to @nicolas-grekas
- 11445: Consider usage of setFetchMode when checking for simultaneous usage of fetch-mode EAGER and WITH condition thanks to @aprat84
- 11194: Skip joined entity creation for empty relation (#10889) thanks to @noemi-salaun
Static Analysis
- 11513: Address doctrine/persistence 3.3.3 release thanks to @greg0ire
- 11467: Psalm 5.24.0 thanks to @derrabus
- 11466: PHPStan 1.11.1 thanks to @derrabus
Documentation
- 11526: doc: Use modern array syntax in getting started thanks to @GromNaN
- 11493: fix(docs): use string value in
addAttribute
thanks to @SamMousa - 11460: docs: update EntityManager#transactional to EntityManager#wrapInTransaction thanks to @IndraGunawan
Improvement
- 11509: Remove unneeded CS rule thanks to @greg0ire
CI
- 11490: ci: maintained and stable mariadb version (lts) thanks to @grooverdan
- 11484: Use ramsey/composer-install in PHPBench workflow thanks to @greg0ire
- 11442: Bump ramsey/composer-install from 2 to 3 thanks to @dependabot[bot]
- 11441: Bump doctrine/.github from 3.0.0 to 5.0.1 thanks to @dependabot[bot]
- 11440: Upgrade codecov/codecov-action thanks to @greg0ire