This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of the Kotlin Sync driver.
What's New in 5.0
New features of the 5.0 driver release include:
The
KotlinSerializerCodecProviderconstructor now acceptsserializersModuleandbsonConfigurationobjects:KotlinSerializerCodec.create(clazz.kotlin, serializersModule=serializersModule, bsonConfiguration=bsonConfiguration) This makes it easier to customize your configuration.
Fixes a Kotlin reflection bug that resulted in container type erasure.