Skip to content

Version 2.4.0

Compare
Choose a tag to compare
@evanchooly evanchooly released this 24 Aug 01:58
· 1132 commits to master since this release

Version 2.4.0 (2023-07-25)

Notes

Downloads

Binaries can be found on maven central.

Documentation

Full documentation can be found at https://morphia.dev/morphia/2.4. Javadoc can be found at https://morphia.dev/morphia/2.4/javadoc.

34 Issues Resolved

TASK

  • #2413: Document the new configuration

BACKPORT

  • #2447: Morphia doesn't check the actual key type for subclasses of Map

BUG

  • #2196: Property codec registration doesnt work woth ServiceLoader
  • #2230: dev.morphia.mapping.codec.Conversions is not thread safe
  • #2253: Error: Caused by: dev.morphia.query.ValidationException: Could not resolve path 'customParams.inventory.data' against <SOME_ENTITY_CLASS>. Unknown path element: 'data'.
  • #2264: Custom Enum Codec is not called in most situations
  • #2347: Lifecycle invocations seem to break with subclassed entities
  • #2423: Generated config content shows null values
  • #2430: Forward port missing references fix
  • #2447: Morphia doesn't check the actual key type for subclasses of Map

DOCS

  • #2413: Document the new configuration
  • #2419: Deprecate Mapper#mapPackage()
  • #2420: Deprecate Datastore#enableDocumentValidation()
  • #2421: Deprecate Datastore#ensureCaps()
  • #2422: Deprecate Datastore#ensureIndexes()
  • #2429: Forward port docs fix
  • #2442: Deprecate field/method property discovery config values

ENHANCEMENT

  • #2280: The API for a regex filter should take both the field and the pattern
  • #2342: Implement a new sort method for FindOptions that accepts a Meta and a Sort args
  • #2400: Introduce config file
  • #2401: Deprecate MapperOptions
  • #2419: Deprecate Mapper#mapPackage()
  • #2420: Deprecate Datastore#enableDocumentValidation()
  • #2421: Deprecate Datastore#ensureCaps()
  • #2422: Deprecate Datastore#ensureIndexes()
  • #2442: Deprecate field/method property discovery config values

MIGRATION

  • #2400: Introduce config file
  • #2401: Deprecate MapperOptions
  • #2413: Document the new configuration
  • #2419: Deprecate Mapper#mapPackage()
  • #2420: Deprecate Datastore#enableDocumentValidation()
  • #2421: Deprecate Datastore#ensureCaps()
  • #2422: Deprecate Datastore#ensureIndexes()
  • #2442: Deprecate field/method property discovery config values

2 Pull Requests merged

  • #2233: BitSet codec
  • #2190: change property codec registries from service loader to mapper