Releases: SwissLife-OSS/mongo-extensions
5.5.2
5.5.1
What's Changed
- Make Oidc project importable by @michael-trusov in #106
Full Changelog: 5.5.0...5.5.1
5.5.0
What's Changed
- Support oidc authentication by @michael-trusov in #105
New Contributors
- @michael-trusov made their first contribution in #105
Full Changelog: 5.4.0...5.5.0
5.4.0
5.4.0-preview.1
Full Changelog: 5.3.0...5.4.0-preview.1
5.3.0
5.2.0
5.1.0
5.0.0
What's Changed
Full Changelog: 4.0.0...5.0.0
Release Note: MongoDB.Extensions with .NET MongoDB Driver 3.0.0
The release .NET MongoDB Driver 3.0.0 introduces a breaking change requiring an explicit Guid Serializer configuration. If you do not specify a Guid Serializer, an exception will occur at runtime.
-
Existing Projects: If you have not previously defined a Guid Serializer, register the c# legacy serializer to maintain backward compatibility with your existing .NET GUIDs:
IMongoDatabaseBuilder.RegisterSerializer(new GuidSerializer(GuidRepresentation.CSharpLegacy));
-
New Projects: For a more modern and efficient approach, use the standard serializer:
IMongoDatabaseBuilder.RegisterSerializer(new GuidSerializer(GuidRepresentation.Standard));
In the release .Net MongoDB Driver 3.0.0 the obsolete setting MongoClientSettings.ConnectionMode has been removed.
Therefore remove the following line:
IMongoDatabaseBuilder.ConfigureConnection(setting => setting.ConnectionMode = ConnectionMode.Automatic)5.0.0-preview.5
Full Changelog: 5.0.0-preview.4...5.0.0-preview.5