Releases: SwissLife-OSS/mongo-extensions
Releases · SwissLife-OSS/mongo-extensions
3.6.0
3.5.0
3.4.0
3.3.0
2.1.0-preview.10
Full Changelog: 2.0.0...2.1.0-preview.10
3.3.0-preview.1
Merge branch 'sessionProvider' of https://github.com/SwissLife-OSS/mo…
3.2.0
3.1.0
3.0.1-preview1
3.0.0
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