Update dependency MongoDB.Driver to v2.19.0 #337
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.18.0->2.19.0Release Notes
mongodb/mongo-csharp-driver
v2.19.0: NET Driver Version 2.19.0 Release Notes.NET Driver Version 2.19.0 Release Notes
This is the general availability release for the 2.19.0 version of the driver.
The main new features in 2.19.0 include:
This version addresses CVE-2022-48282.
ObjectSerializer allowed types configuration
The
ObjectSerializerhas been changed to only allow deserialization of types that are considered safe.What types are considered safe is determined by a new configurable
AllowedTypesfunction (of typeFunc<Type, bool>).The default
AllowedTypesfunction isObjectSerializer.DefaultAllowedTypeswhich returns true for a number of well-known framework types that we have deemed safe.A typical example might be to allow all the default allowed types as well as your own types. This could be accomplished as follows:
More information about the
ObjectSerializeris available in our FAQ.Default LinqProvider changed to LINQ3
Default LinqProvider has been changed to LINQ3.
LinqProvider can be changed back to LINQ2 in the following way:
If you encounter a bug in LINQ3 provider, please report it in CSHARP JIRA project.
An online version of these release notes is available here.
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.