Skip to content

Version 2.0.0

Compare
Choose a tag to compare
@evanchooly evanchooly released this 07 Jul 05:35
· 2420 commits to master since this release

Version 2.0.0 (Jul 06, 2020)

Notes

Downloads

Binaries can be found on maven central.

Docs

Full documentation and javadoc can be found at https://morphia.dev/2.0.0/ and https://morphia.dev/2.0.0/javadoc/.

114 Issues Resolved

BREAKING

  • Issue #911: Aggregation pipeline elements improvements
  • Issue #959: Add T merge(T entity) method
  • Issue #1122: Remove org.mongodb.morphia.query.Query#order(java.lang.String)
  • Issue #1230: FindAndModify Default Behaviour
  • Issue #1275: remove QueryImpl#parseFieldsString from the public API
  • Issue #1284: Remove MapReduce functionality
  • Issue #1294: Remove support for snapshots and $isolate
  • Issue #1298: Remove exists methods from Datastore
  • Issue #1300: Rename methods
  • Issue #1309: Deprecate Morphia's Geo wrappers in favor of the driver's
  • Issue #1350: Drop MongoIterable from Query's parent types
  • Issue #1351: Replace all uses of DBObject with Document and remove all exposures of these types from the API where possible
  • Issue #1352: Remove morphia logging code and migrate to slf4j
  • Issue #1396: Update discriminator key/value to new defaults
  • Issue #1398: Remove the date storage configuration item

TASK

AGGREGATION

BUG

  • Issue #204: Mapping Classes with generic super-class or super-interface [moved]
  • Issue #552: Support embedded lists of a generic type parameter
  • Issue #553: Generics mapping throws NPE
  • Issue #921: Datastore.ensureIndexes() breaks morphia
  • Issue #923: EnsureIndexes() fails when my Entity contains Embedded List<HashMap<K, V>>
  • Issue #935: Morphia does not uses registered Codec
  • Issue #1156: Mapping Arrays of @reference(idOnly = true)
  • Issue #1230: FindAndModify Default Behaviour
  • Issue #1293: Generic Entity
  • Issue #1350: Drop MongoIterable from Query's parent types
  • Issue #1408: How to do projections with version 2.0.0-ALPHA2?
  • Issue #1412: Full text score not working with projection
  • Issue #1419: Fix javadoc errors
  • Issue #1424: Missing dev.morphia.morphia:util:pom:2.0.0-BETA1
  • Issue #1430: ClassCastException when retrieving entities with date-time fields and a load lifecycle listener
  • Issue #1447: Aggregation broken in 2.0.0-BETA2
  • Issue #1451: Sorting on tail is not allowed

DOCS

ENHANCEMENT

EXPERIMENTAL