Releases: Litote/kmongo
Releases · Litote/kmongo
kmongo-4.0.0
This version is using the 4.0 java driver version and is a breaking changes release. Please consult http://litote.org/kmongo/about/#upgrading-to-4x-from-312x before upgrading.
Also in this release:
kmongo-3.12.2
- #182 Native Custom codec is not used for update
- #184 Use Kotlin 1.70 with kotlinx.serialization 0.20.0
- Add Maven wrapper
kmongo-3.12.1
- #175 String to BigDecimal deserialize
- #176 Expose KMongoSerializationRepository
- #177 Add ClientSession methods to RxJava2 implementation
- #181 Add positional operator shortcuts
- Object in polymorphic serializer throw Exception
- Support elemMatch for nullable iterable
- Check parent classes for Id property
kmongo-3.12.0
kmongo-3.11.2
The kotlinx.serialization mapping is now considered production ready. Look at the performance benchmark.
- #141 Remove kotlin-reflect dependency (see documentation )
- #154 register custom serializers for kotlinx.serialization
- #156 propagate create index exception in ensureIndex
- #157 Filter for enum value fails with Can't find a codec for class
- #158 improves kotlinx.serialization performance
- #159 kotlinx.serialization: support update without null properties
kmongo-3.11.1
Thanks to the great kbson library of @jershell, KMongo now supports kotlinx serialization mapping!
This is an alpha release with some known limitations:
- You need to add the https://dl.bintray.com/jershell/generic repository in your configuration (see jershell/kbson#8)
- no @BsonId support
- reflection is still used in some cases
- update with
updateOnlyNotNullProperties = true
is not yet supported (see jershell/kbson#5) - Maps with non primitive keys are not yet supported (see jershell/kbson#6)
- Sets are not yet supported (see jershell/kbson#7)
- no benchmark yet
Please report any issue ! :)
Other fixes in the release:
kmongo-3.11.0
- #140 add evaluate extension to MongoIterable: ensure that the values are retrieved lazily with Sequences
See https://litote.org/kmongo/extensions-overview/#use-sequences
kmongo-3.10.2
kmongo-3.10.1
kmongo-3.10.0
- #112 Document is outdated for coroutine
- #113 cleanup doc about Id equality
- #115 Add updateOnlyNotNullProperties boolean in order to update only not null properties
- #118 Deserialize not-constructor params (native)
- #119 crash using deep properties with new projection system
- #120 add findValue extension on Document class