Skip to content

Releases: Litote/kmongo

kmongo-3.6.2

13 Feb 22:34
Compare
Choose a tag to compare

kmongo-3.6.1

18 Jan 22:19
Compare
Choose a tag to compare
  • #48 Update operations without set
  • #49 Shouldn't filter inner object _id on update
  • #50 Test dependencies in compile scope

kmongo-3.6.0

16 Dec 12:05
Compare
Choose a tag to compare

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

  • #42 jackson Id: support for key serializer/deserializer
  • #46 native binding: support for Pair & Triple properties
  • #47 native binding: support of Map<Id, *> serialization/deserialization

kmongo-3.5.1

18 Nov 22:56
Compare
Choose a tag to compare
  • #38 native mapping: do not require to use @field:BsonProperty

  • #41 support for @ BsonCreator

  • #40 experimental support for typed ids

kmongo-3.5.0

24 Sep 21:14
Compare
Choose a tag to compare

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

07 Sep 21:01
Compare
Choose a tag to compare
  • #35 Date stored as timestamp by jackson is not retreived by kmongo

kmongo-3.4.1

13 Aug 19:13
Compare
Choose a tag to compare
  • improve coroutines module
  • #30 DBObject insert exception
  • #31 KMongo sync - add alias for shadowed methods
  • #32 KMongo async - add alias for shadowed methods
  • #33 add Collection#ensureIndex method

kmongo-3.4.0

27 Jun 19:03
Compare
Choose a tag to compare

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

21 Sep 20:33
Compare
Choose a tag to compare
  • #7 Add save method
  • #8 Add findOne(filter:Bson) method

kmongo-3.3.4

18 Sep 20:15
Compare
Choose a tag to compare
  • #5 Add UpdateOptions option for updateOneById/replaceOneById
  • #6 Dates not handled correctly

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