This changelog references the relevant changes done in 1.2 patch versions.
All issues and pull requests in this release may be found under the 1.2.11 milestone.
- 2057 documents the available storage strategies in the XML mapping schema.
- 2055 disables retryable writes on travis-ci.
- 2053 fixes documentation samples for
EmbedMany
mappings.
All issues and pull requests in this release may be found under the 1.2.10 milestone.
- 2048 documents how to pass custom expressions to the aggregation builder.
- 2043 updates tests to account for an upstream fix to the
$replaceRoot
aggregation pipeline stage.
All issues and pull requests in this release may be found under the 1.2.9 milestone.
- 2019 fixes aggregation pipelines generated by the builder when using the
$indexStats
pipeline stage on discriminated documents. - 1805 changes confusing class names in the documentation.
All issues and pull requests in this release may be found under the 1.2.8 milestone.
- 1978 reverts a previous fix for discriminator maps due to a regression.
- 1977 fixes wrong checks for successful sharding commands.
- 1971 clarifies the deprecation of the
update()
andmultiple()
methods in the query builder.
All issues and pull requests in this release may be found under the 1.2.7 milestone.
- 1966 fixes embedding documents containing named indexes.
- 1962 fixes wrong usage of discriminator maps in complex inheritance chains.
- 1934 documents lookup not working on references in embedded documents.
All issues and pull requests in this release may be found under the 1.2.6 milestone.
- 1930 fixes a wrong type hint in metadata.
- 1929 fixes serialization of uninitialized persistent collections.
- 1919 fixes a few misplaced deprecation comments in the XSD.
All issues and pull requests in this release may be found under the 1.2.5 milestone.
- #1828 improves text index comparison during schema creation.
All issues and pull requests in this release may be found under the 1.2.4 milestone.
- #1793 fixes field name translation when querying complex reference structures.
- #1792 ensures removal of documents cascades to references with
orphanRemoval
enabled. - #1784 fixes hydration of proxy objects with lazy properties.
Re-tag since 1.2.2 was inadvertedly tagged from master.
All issues and pull requests in this release may be found under the 1.2.2 milestone.
- #1764 fixes upserting documents with nullable fields.
- #1748 fixes the usage of references as shard keys.
- #1732 adds missing
cascade-detach
to the XML mapping schema. - #1731 fixes some errors in the XML mapping schema.
All issues and pull requests in this release may be found under the 1.2.1 milestone.
- #1681 hardens checks for storage strategy when mapping relationships
- #1687 fixes query preparation when using a reference as shard key
- #1688 fixes the
pushAll
collection strategy when running on MongoDB 3.6
All issues and pull requests in this release may be found under the 1.2 milestone.
- #1448 adds a builder for aggregation pipeline queries, similar to the query builder.
- #1513 adds a trait to avoid re-implementing
closureToPhp
in custom type classes. - #1518 adds
updateOne
andupdateMany
methods to the query builder. - #1519 adds a command to validate mapping.
- #1577 allows priming fields in inverse references without specifying a repositoryMethod.
- #1600 adds an
AbstractRepositoryFactory
as base class when creating an own repository factory. - #1612 adds support for immutable documents via the
readOnly
mapping option. - #1620 adds support for specifying
readPreference
on a document level, replacingslaveOkay
. - #1623 adds a generic reference object as successor to
dbRef
. - #1654 adds support for aggregation pipeline stages added in MongoDB 3.4.
- #1661 allows specifying a custom starting ID for
IncrementGenerator
.