Releases: MorphiaOrg/morphia
Version 2.2.5
Version 2.2.5 (2022-03-08)
Notes
This is purely a pom fix to address issues with the new release process. There are no code changes from 2.2.4.
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.2. Javadoc can be found at https://morphia.dev/morphia/2.2/javadoc.
Version 2.2.4
Version 2.2.4 (2022-03-05)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.2. Javadoc can be found at https://morphia.dev/morphia/2.2/javadoc.
5 Issues Resolved
BACKPORT
- #1731: Regression when Querying by reference in $match stages
BUG
- #1731: Regression when Querying by reference in $match stages
- #1814: Multiple similar filters can lose the existing filter
- #1831: Don't throw VersionMismatchException in case of index violations?
ENHANCEMENT
- #1831: Don't throw VersionMismatchException in case of index violations?
1 Pull Requests merged
Version 2.2.3
Version 2.2.3 (2021-11-12)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.2. Javadoc can be found at https://morphia.dev/morphia/2.2/javadoc.
1 Issues Resolved
BUG
- #1657: Exception on Datastore.insert with versioned objects
Version 2.2.2
Version 2.2.2 (2021-10-12)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.2. Javadoc can be found at https://morphia.dev/morphia/2.2/javadoc.
9 Issues Resolved
BUG
- #1625: ClassCastException on maps with UUIDs as key values
- #1627: Morphia fails to instantiate extended data classes without empty constructor
- #1629: NullPointerException when saving arrays with null values
- #1630: Forward port #1622: Update operation $set does not work with a whole map as an argument when the key of the map has a non-String type
- #1639: It seems Date types and lifecycles do not play along well
- #1643: Lazy loading breaks when the ID field is located in a super-class
- #1647: Regression when querying by reference in 2.2
DOCS
- #1635: Doc with deprecated methods
QUESTION
- #1626: Map external interfaces without entity annotation
1 Pull Requests merged
- #1628: Instantiate classes with no empty constructor
Version 2.1.7
Version 2.1.7 (2021-06-13)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.1. Javadoc can be found at https://morphia.dev/morphia/2.1/javadoc.
2 Issues Resolved
BUG
Version 2.2.1
Version 2.2.1 (2021-05-25)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.2. Javadoc can be found at https://morphia.dev/morphia/2.2/javadoc.
1 Issues Resolved
BUG
- #1623: Test packages included in the release JAR
Version 2.2.0
Version 2.2.0 (2021-05-25)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.2. Javadoc can be found at https://morphia.dev/morphia/2.2/javadoc.
52 Issues Resolved
BREAKING
- #1601: Remove MorphiaInstanceCreator field from MapperOptions
TASK
- #1536: Migrate public CI to github actions
AGGREGATION
- #974: Aggregation Pipeline Can Not Map To Equivalent Class
- #1540: Add $sampleRate aggregation filter
- #1565: add support for $rand
- #1566: add $cosh, $sinh, and $tanh aggregation operators
BUG
- #865: Kotlin: Mapping exception when a field is delegated as NotNull
- #1541: External Mapping is broken
- #1546: Forward port #1545 (Impossible to add life cycle methods to entities having UUID fields)
- #1547: Forward port #1537 (Update pull does nothing)
- #1549: Expected @reference format in database
- #1551: Forward port #1500 (Reference Error)
- #1552: Forward port #1548 (Could not load ByteArray)
- #1573: Forward port #1568 (Null value handling is broken with lifecycle events)
- #1574: Forward port #1571 (Wildcard generics can cause crashes in certain scenarios)
- #1575: Forward port #1569 (Unset fails on deleted references)
- #1581: Classloader from
MapperOptions
is not respected inDiscriminatorLookup
- #1586: Wrong deserialization of polymorphic entities with lifecycle
- #1590: Forward port #1557: byte[] saved format changed
- #1601: Remove MorphiaInstanceCreator field from MapperOptions
- #1604: Forward port #1599
- #1605:
MorphiaCursor
shouldn't be in theinternal
package
DOCS
- #1529: new docs framework
- #1578: morphia.dev website is unusable on mobile devices
- #1595: In 2.x can not use project(field, true) on Query
- #1600: Update references documentation to cover the annotations, too
- #1605:
MorphiaCursor
shouldn't be in theinternal
package
ENHANCEMENT
- #611: Field annotations should also support method annotations
- #982: DatastoreImpl:tryVersionedUpdate should more descriptive than just ConcurrentModificationException
- #1155: Add nullable annotation for Kotlin
- #1189: Stream support
- #1511: Support getters/setters
- #1526: Loosen ID constraint on @entity
- #1530: Break out lifecycle management to separate codecs
- #1540: Add $sampleRate aggregation filter
- #1542: synchronize Morphia *Options classes with the new fields on the driver's *Options types
- #1565: add support for $rand
- #1566: add $cosh, $sinh, and $tanh aggregation operators
- #1579: Saving an existing document should unset null fieds in the database.
- #1585: Add UpdateOperations min/max support with Date or Instant values
- #1593: Make use of
FindIterable.explain()
now that it's there - #1594: Upgrade driver dep to 4.2.0
- #1606: aggregation: support lookup with pipeline
- #1620: Provide static import friendly names for aggregation stages
- #1621: How to build a list of updates?
KOTLIN
- #865: Kotlin: Mapping exception when a field is delegated as NotNull
- #1155: Add nullable annotation for Kotlin
MIGRATION
- #611: Field annotations should also support method annotations
- #982: DatastoreImpl:tryVersionedUpdate should more descriptive than just ConcurrentModificationException
- #1511: Support getters/setters
- #1594: Upgrade driver dep to 4.2.0
QUESTION
- #1621: How to build a list of updates?
3 Pull Requests merged
Version 2.1.6
Version 2.1.6 (2021-05-04)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.1. Javadoc can be found at https://morphia.dev/morphia/2.1/javadoc.
1 Issues Resolved
BUG
- #1599: java.lang.ClassCastException: class org.bson.types.Binary cannot be cast to class org.bson.BsonBinary
1 Pull Requests merged
- #1603: 1599 - make DocumentReader able to handle Binary
Version 2.1.5
Version 2.1.5 (2021-04-12)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.1. Javadoc can be found at https://morphia.dev/morphia/2.1/javadoc.
6 Issues Resolved
BUG
- #1557: byte[] saved format changed
- #1568: Null value handling is broken with lifecycle events
- #1569: Unset fails on deleted references
- #1571: Wildcard generics can cause crashes in certain scenarios
- #1588: Backport #1582: Respect MapperOptions classloader
- #1589: Backport #1586: Wrong deserialization of polymorphic entities with lifecycle
Version 2.1.4
Version 2.1.4 (2021-01-12)
Notes
Downloads
Binaries can be found on maven central.
Documentation
Full documentation can be found at https://morphia.dev/morphia/2.1. Javadoc can be found at https://morphia.dev/morphia/2.1/javadoc.
8 Issues Resolved
BUG
- #1500: Reference error
- #1513: @reference(idOnly=false) fail to save the reference with DBRef format document
- #1537: Update pull does nothing
- #1543: Backport #1541 (External Mapping is broken)
- #1545: Impossible to add life cycle methods to entities having UUID fields
- #1548: Could not load ByteArray
- #1553: Potential bug in dev.morphia.mapping.codec.reader.DocumentReader (2.1.4-SNAPSHOT)
UNCATEGORIZED
- #1556: Backport #1549 (Expected @reference format in database)