1.3.0-rc0
Pre-release
Pre-release
evanchooly
released this
15 Nov 15:34
·
3105 commits
to master
since this release
- Resolved Issues
- One of the goals of this release is to close the feature gap between the Java driver's features and what's exposed in Morphia. Excluding the aggregation API, this release adds support for a number of MongoDB 3.2 and 3.4 features:
- Partial index support
- Document validation and bypass document validation
java.math.BigDecimal
support via the newDecimal128
in MongoDB 3.4.- Broader write concern support
- Read Concern
- Max Staleness
- Collations
- This release introduces a number of options classes to encapsulate the growing number of optional settings to various operations. New overloads have been added to accept these options. Consequently, the older methods that accept the enumerated optional values have been deprecated. This has resulted in quite a few deprecations. While this might lead to a number of warnings during builds to clean, the result is ultimately a leaner API that's easier to scan, easier to evolve, and more consistent.
- Enhanced
$push
support for capped arrays - Support for Java 8 types
The reference and API pages have been updated with the latest information and can be found under the 1.3.0-SNAPSHOT links on the docs home page. This version of Morphia requires a minimum of 3.4 for the Java driver. The driver is also currently running RC releases. When the Java driver 3.4.0 is final, Morphia 1.3.0 will finalize as well.
You can use 1.3.0-rc0 by updating your pom to include:
<dependency>
<groupId>org.mongodb.morphia</groupId>
<artifactId>morphia</artifactId>
<version>1.3.0-rc0</version>
</dependency>
or the jar can be downloaded directly here