Releases: Litote/kmongo
Releases · Litote/kmongo
kmongo-3.6.2
- switch to de.undercouch version of bson4jackson
- use latest dependencies of java driver (with the fix of https://jira.mongodb.org/browse/JAVA-2778 ), kotlin, jackson, etc.
kmongo-3.6.1
kmongo-3.6.0
Breaking change
- #43 support BigDecimal <-> Decimal128 mapping for jackson engine: Big Decimal are now persisted as Decimal128 (was double)
Known issue
- The last Fongo version is not compatible with the 3.6.0 version of the java driver (see fakemongo/fongo#316). If you use Fongo, do not upgrade to KMongo 3.6
Other
kmongo-3.5.1
kmongo-3.5.0
- #37 The main new feature is the experimental support of the new pojo mapping framework introduced in the 3.5.0 version of the java driver ( http://mongodb.github.io/mongo-java-driver/3.5/bson/pojos ). More details available in the documentation: http://litote.org/kmongo/
There are however some other minor breaking changes:
- java.util.Calendar instances was persisted with the timezone and the locale. To be coherent with other java.time classes, only the timestamp is now persisted in UTC by default
- #34 findOneAndReplace, findOneAndUpdate and findOneAndDelete methods had an erroneous non null result. They now return a nullable result.
Other changes:
- @ MongoId is deprecated in favor of @ BsonId
- KMongoConfiguration.defaultCollectionNameBuilder is deprecated in favor of CollectionNameFormatter.defaultCollectionNameBuilder
kmongo-3.4.2
- #35 Date stored as timestamp by jackson is not retreived by kmongo
kmongo-3.4.1
kmongo-3.4.0
Breaking changes
- #13
KMongoConfiguration.defaultCollectionNameBuilder
has bean changed from "lower case" to "camel case" strategy. So if you upgrade to 3.4.0 and use the default strategy, add
KMongoConfiguration.useLowerCaseCollectionNameBuilder()
before initializing KMongo, in order to keep the original behaviour. - #21
@Transient
annotated fields or methods are now ignored by default
New features
- #25 KMongo coroutine sub module (thanks to Deny Prasetyo)
- #27 KMongo flapdoodle sub module
- #17 KMongo fongo sub module
Other fixes
- #11 BsonSerializer can only be used with BsonGenerator
- #12 Crash when using Filters.eq(field, Locale.ENGLISH)
- #15 Saving list of DBRef not working correctly
- #16 MongoIdUtil.getIdProperty doesn't grab _id correctly from Map types
- #18 Saving DBRef containing an ObjectId breaks
- #19 updateOneById update parameter inconsistent
- #20 Need a way to bypass document validation on save()
kmongo-3.3.5
kmongo-3.3.4
If you use KMongo before 3.3.4 to save "Date" objects, pass -Dkmongo.oldLocalBehaviour=true to get backward compatibility - the flag will be deleted in 3.5
More details on the Date support here : http://litote.org/kmongo/#date_support