Skip to content

Version 2.3.1

Compare
Choose a tag to compare
@evanchooly evanchooly released this 01 Jun 01:55
· 1449 commits to master since this release

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.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