- 2082: Fix wrong initialisation of proxies with public properties thanks to @alcaeus and @Frederick888
- 2074: Remove references to legacy documentation thanks to @alcaeus and @malarzm
- 2073: Throw hydrator exceptions when encountering invalid types thanks to @alcaeus
- BC BREAK: 2069: Class name resolver performance optimisation thanks to @alcaeus
- 2059: Introduce interface for command loggers thanks to @alcaeus
- 2042: Update to PHPUnit 8 thanks to @carusogabriel
- 2014: Update to doctrine/cs v6 thanks to @carusogabriel
- 2041: [2.0] Fix wrong syntax for replaceRoot stage thanks to @alcaeus
- 2025: Fix wrong usage of discriminator map in complex document inheritance chains thanks to @alcaeus and @josefsabl
- 2006: Run appropriate query operations when replacing documents thanks to @alcaeus and @jmikola
- 2002: Document class is unlisted in the discriminator map - using no discriminator map thanks to @josefsabl
- 1996: Fix dir permissions for proxies thanks to @josefsabl
- 1995: Proxy directory is created with wrong permissions thanks to @josefsabl
- 1991: Fix generation of proxy classes thanks to @alcaeus and @strobox
- 1989: Fix metadata storage when uploading GridFS files thanks to @alcaeus and @josefsabl
- 1983: Allow returning null from getAssociationTargetClass thanks to @malarzm and @Dragonqos
- 1967: Add missing
addFields
method for Stage abstract thanks to @Steveb-p - 1965: Fix wrong behavior of sortMeta thanks to @Mihail0v
- 1944: fix: replace string assertion with array assertion for $filter thanks to @thiver
- 1932: [2.0] Fix serialisation of uninitialised PersistentCollection instances thanks to @alcaeus
- 1926: Fix wrong capitalisation of attributes for GridFS mappings thanks to @alcaeus
- 1922: Fix wrong usage of sequence vs. choice in XSD thanks to @alcaeus
- 1918: Fix incorrect schema commands behaviour thanks to @Rybbow
- 2013: Update default reference primier's code thanks to @malarzm
- 1953: [2.0] Add missing documentation of same-namespace resolution drop thanks to @alcaeus
- 1928: Use same documentation for notSaved in all annotations thanks to @alcaeus
- 1920: Generating proxy classes only when file not exists thanks to @Rybbow
- 1984: Mark classes as final thanks to @malarzm
- 1960: Mark methods and classes as internal thanks to @malarzm and @alcaeus
- 1956: Remove previously deprecated operations from Query Builder thanks to @jmikola
- 1942: Finish renaming dirtyCheck methods thanks to @alcaeus
- 1938: Renamed scheduledForDirtyCheck thanks to @juliusstoerrle
- 1937: Removed PHP 5.5 workaround thanks to @juliusstoerrle
- 2021: Dump xdebug filter to improve code coverage build performance thanks to @alcaeus
- 2020: Make addStage Aggregation Builder method public thanks to @alcaeus
- 2017: Allow specifying generic options for Query find operations thanks to @jmikola
- 1969: remove unnecessary files for production thanks to @rvitaliy
- 1963: Test against supported versions of MongoDB thanks to @alcaeus
- 1958: Allow Symfony 3.4 thanks to @Seb33300
- 1693: Schema manager should handle shard key on reference thanks to @notrix
Deprecated functionality has been removed. Please check the UPGRADE-2.0 document to review the changes.
- 1904: Always use dump method from VarDumper component thanks to @alcaeus
- 1903: Throw exception on duplicate database names within a document thanks to @alcaeus and @vmattila
- 1894: Fix inheritance of GridFS mapping properties thanks to @alcaeus
- 1893: Fix missing proxy directory thanks to @alcaeus and @olvlvl
- 1871: Enforce typemap thanks to @alcaeus
- 1831: [2.0] Fix wrong element deletion in popFirst and popLast thanks to @alcaeus and @juliusxyg
- 1829: Improve SchemaManager logic for comparing text indexes thanks to @jmikola
- 1798: [2.0] Fix querying fields in reference structures thanks to @alcaeus and @malarzm
- 1797: [2.0] Implicitly cascade remove operations when orphanRemoval is enabled thanks to @alcaeus
- 1786: [2.0] Fix hydration of proxy objects with lazy public properties thanks to @alcaeus
- 1906: Forbid mapping class by more than one AbstractDocument thanks to @malarzm
- 1905: Don't dump to stdout in query command thanks to @alcaeus
- 1902: Remove eager cursor functionality without replacement thanks to @alcaeus
- 1901: Fix skipped tests thanks to @alcaeus
- 1896: Drop dependency on doctrine/common thanks to @alcaeus
- 1895: Drop "simple" attribute from references in XML schema thanks to @alcaeus
- 1892: Use dedicated assertContainsOnlyInstancesOf assertion thanks to @carusogabriel
- 1887: Exception when persisting class unlisted in disciminator map (Issue 867) thanks to @watari
- 1886: add php 7.3 to travis thanks to @andreybolonin
- 1880: Optimized nested collections deletion in DocumentPersister thanks to @watari
- 1878: Update CHANGELOG-2.0.md thanks to @ajant
- 1872: Sort packages in composer.json thanks to @garak
- 1867: Update PHPStan thanks to @alcaeus
- 1860: Update to Doctrine CS 5.0 thanks to @alcaeus
- 1847: [2.0] Test update: ODM no longer supports PHP < 7.2 thanks to @caciobanu and @alcaeus
- 1845: [2.0] Upgrade dependencies version thanks to @caciobanu
- 1844: [2.0] Require php : ^7.2 thanks to @caciobanu and @alcaeus
- 1836: Added dev autoload for composer & removed it from tests boostrap. thanks to @caciobanu
- 1834: [2.0] Consistently use kebab-case in XML mappings thanks to @alcaeus
- 1827: Remove obsolete syntaxCheck option in PHPUnit config thanks to @jmikola
- 1825: Use PSR-4 thanks to @caciobanu
- 1820: Use dedicated PHPUnit assertions thanks to @carusogabriel
- 1819: Improvements thanks to @carusogabriel
- 1812: [2.0] Drop namespace property from ClassMetadata thanks to @caciobanu and @alcaeus
- 1803: Increase PHPStan's level thanks to @malarzm
- 1802: [2.0] Drop bool from supported values - Configuration class thanks to @caciobanu
- 1801: Stop accepting bools in int|bool Configuration methods thanks to @malarzm
- 1800: Fix new CS violations thanks to @malarzm
- 1799: [2.0] Clean up docblocks in Configuration class - #1796 thanks to @caciobanu and @alcaeus
- 1771: [2.0] Forbid combining repositoryMethod with skip, sort and limit thanks to @malarzm and @alcaeus
- 1770: Use ::class where possible thanks to @malarzm
- 1762: Stop ignoring DoubleQuoteUsage.ContainsVar thanks to @malarzm
- 1759: Stop ignoring TypeHintDeclaration.MissingPropertyTypeHint thanks to @malarzm
- 1758: Various small CS fixes thanks to @malarzm
- 1757: Stop ignoring ControlStructures.EarlyExit thanks to @malarzm
- 1756: Stop ignoring UnusedPrivateElements sniffs thanks to @malarzm
- 1755: Remove NativePhpunitTask thanks to @malarzm
- 1743: Add phpcs to build and apply automatic fixes thanks to @alcaeus
- 1734: [2.0] Remove YAML mapping support thanks to @malarzm and @alcaeus
- 1733: [2.0] Merge ClassMetadataInfo into ClassMetadata thanks to @carusogabriel and @alcaeus
- 1722: [2.0] Disallow nested commits thanks to @malarzm
- 1721: [2.0] Remove DocumentManager::createDbRef thanks to @malarzm
- 1720: [2.0] Remove deprecations in query helpers thanks to @malarzm
- 1719: [2.0] Remove repositories' magic findBy and findOneBy thanks to @malarzm
- 1718: [2.0] Remove database creation from SchemaManager thanks to @malarzm
- 1717: [2.0] Make DefaultRepositoryFactory final thanks to @malarzm
- 1716: [2.0] Remove slaveOkay remainders thanks to @malarzm
- 1715: [2.0] Drop support for UnitOfWork::flush($document) thanks to @malarzm and @alcaeus
- 1714: Add PHPStan thanks to @carusogabriel and @alcaeus
- 1708: [2.0] Drop commands to generate repository and entity stubs thanks to @alcaeus
- 1692: Use Null Coalesce Operator thanks to @carusogabriel
- 1691: Clean elses thanks to @carusogabriel
- 1673: [2.0] Remove slaveOkay thanks to @malarzm
- 1502: [2.0] Use storeAs=dbRef as the new default setting for references thanks to @coudenysj
- 1485: [2.0] Bump PHP to 7.0 thanks to @malarzm
- 1480: [2.0] Remove simple references leftovers thanks to @malarzm
- 1478: [2.0] Remove DiscriminatorField's name and fieldName thanks to @malarzm
- 1476: [2.0] Remove requireIndexes and stuff thereto related thanks to @malarzm
- 1475: [2.0] Remove deprecated argument from DocumentPersister::refresh thanks to @malarzm
- 1474: [2.0] Remove deprecated increment type thanks to @malarzm
- 1471: [2.0] Remove deprecated annotations thanks to @malarzm
- 867: Exception when persisting class unlisted in disciminator map thanks to @jmikola
- 563: If the database value of @DiscriminatorField changes to unsupported value, an Exception should be thrown instead of PHP Notice thanks to @vmattila
- 1891: Fix fieldName with field-name thanks to @olvlvl
- 1883: Added more strict types for docs (Issue #1783) thanks to @watari
- 1881: [2.0] Documentation: fix schema create command namespace thanks to @l-vo
- 1856: Add UPGRADE document for ODM 2.0 thanks to @alcaeus
- 1839: Fix code blocks thanks to @jdreesen
- 1783: [2.0] Update docs for strict typing thanks to @alcaeus
- 1910: Separate index creation options from index options thanks to @alcaeus and @jmikola
- 1875: Drop doctrine/common proxies in favor of ProxyManager thanks to @alcaeus
- 1866: Replace QueryLogger in tests with CommandLogger thanks to @alcaeus
- 1848: Finalize sharding support for 2.0 thanks to @alcaeus
- 1846: [2.0] Add type hints thanks to @caciobanu and @alcaeus
- 1814: [2.0] Validate mapping files against schema thanks to @alcaeus
- 1807: [2.0] Separate ID mapping from fields in XML driver thanks to @alcaeus
- 1790: [2.0] Add GridFS implementation on top of mongodb/mongodb thanks to @alcaeus
- 1553: [2.0] Replace doctrine/mongodb for mongodb/mongodb and ext-mongodb thanks to @alcaeus
- 1051: [RFC] "Nested" calls to DocumentManager::flush() thanks to @alcaeus