Skip to content

3.0.0

Compare
Choose a tag to compare
@nscheibe nscheibe released this 09 Mar 15:00
507caa3

What's Changed

Full Changelog: 2.0.0...3.0.0

MongoDB Driver version 2.19.0 has a breaking change in the ObjectSerializer, which could cause errors during runtime.
If not allowed (unknown) objects shall be deserialized, then an exception will be thrown.

Therefore we extended the IMongoDatabaseBuilder that we can simply add the unknown Types instead of creating an own ObjectSerializer.
Just use the IMongoDatabaseBuilder.AddAllowedTypes(...) to register your unknown Types either via Type or Namespace.

https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0
https://jira.mongodb.org/browse/CSHARP-4475