Morphia Versions Save

MongoDB object-document mapper in Java based on https://github.com/mongodb/mongo-java-driver

v2.3.8

8 months ago

What's Changed

Full Changelog: https://github.com/MorphiaOrg/morphia/compare/v2.3.7...v2.3.8

v2.4.4

8 months ago

What's Changed

Full Changelog: https://github.com/MorphiaOrg/morphia/compare/v2.4.3...v2.4.4

v2.4.3

8 months ago

Version 2.4.3 (2023-08-27)

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.

1 Issues Resolved

BUG

  • #2488: IllegalStateException due to implicit re-use of client session

What's Changed

Full Changelog: https://github.com/MorphiaOrg/morphia/compare/v2.4.2...v2.4.3

r2.4.0

8 months ago

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

r2.3.6

8 months ago

Version 2.3.6 (2023-07-24)

Notes

Downloads

Binaries can be found on maven central.

Documentation

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

2 Issues Resolved

BACKPORT

BUG

r2.4.1

8 months ago

Version 2.4.1 (2023-07-30)

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.

2 Issues Resolved

BUG

  • #2451: Fixes not merged to 2.3.x branch
  • #2454: Forward port index error handling

r2.3.7

8 months ago

Version 2.3.7 (2023-07-30)

Notes

Downloads

Binaries can be found on maven central.

Documentation

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

2 Issues Resolved

BUG

  • #2450: Fixes not merged to 2.3.x branch
  • #2453: Forward port index error handling

What's Changed

Full Changelog: https://github.com/MorphiaOrg/morphia/compare/r2.3.5...r2.3.7

r2.4.2

8 months ago

Version 2.4.2 (2023-08-24)

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.

1 Issues Resolved

BUG

  • #2472: NullPointerException when using update

r2.3.5

10 months ago

Version 2.3.5 (2023-06-23)

Notes

Downloads

Binaries can be found on maven central.

Documentation

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

3 Issues Resolved

BACKPORT

  • #2412: Custom Enum Codec is not called in most situations

BUG

  • #2382: StackOverflow while trying to lookup entities having reference to no-longer-existing entity
  • #2412: Custom Enum Codec is not called in most situations

r2.3.1

11 months ago

Version 2.3.1 (2023-04-18)

Notes

Downloads

Binaries can be found on maven central.

Documentation

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

13 Issues Resolved

BACKPORT

  • #2234: dev.morphia.mapping.codec.Conversions is not thread safe

BUG

  • #2174: Queries themselves should refuse to execute once query validation fails
  • #2197: EntityModel exception of ArrayIndexOUtOfBounds for polymorphic types with generics
  • #2200: Embedded entity with mixup of strings and long for the same attribute works till 2.2.X but not upon 2.3.X
  • #2201: Missing @Nullable on the value in Filters.eq
  • #2223: Crash in 'Datastore.merge' together with 'unsetMissing' when setting arrays containing null element
  • #2229: Setting Query.disableValidation() does not affect update operations
  • #2234: dev.morphia.mapping.codec.Conversions is not thread safe
  • #2329: Filters.where(javascriptExpr) should not validate the js expression
  • #2330: Filter for and set null values
  • #2340: Test containers dependency should not be leaked to the library users

ENHANCEMENT

  • #2198: Morphia 1.3.2 allowed UpdateOperation<T>.disableValidation(), but that seem to be missing in 2.3.0
  • #2225: When saving a new document, @Id is filled in before @PrePersist is called

2 Pull Requests merged

  • #2341: #2340 testcontainers dependency should not be leaked to the library users
  • #2203: Flesh out the documentation for the core lifecycle annotations