apworks-core
apworks-core copied to clipboard
Bump MongoDB.Driver from 2.8.1 to 2.19.0 in /src/Apworks.Repositories.MongoDB
Bumps MongoDB.Driver from 2.8.1 to 2.19.0.
Release notes
Sourced from MongoDB.Driver's releases.
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:
- Atlas Search builders
- Default LinqProvider changed to LINQ3
- ObjectSerializer allowed types configuration
- Bucket and BucketAuto stages support in LINQ3
- Support Azure VM-assigned Managed Identity for Automatic KMS Credentials
- Native support for AWS IAM Roles
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 configurableAllowedTypesfunction (of typeFunc<Type, bool>). The defaultAllowedTypesfunction 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:var objectSerializer = new ObjectSerializer(type => ObjectSerializer.DefaultAllowedTypes(type) || type.FullName.StartsWith("MyNamespace")); BsonSerializer.RegisterSerializer(objectSerializer);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:
var connectionString = "mongodb://localhost"; var clientSettings = MongoClientSettings.FromConnectionString(connectionString); clientSettings.LinqProvider = LinqProvider.V2; var client = new MongoClient(clientSettings);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.
.NET Driver Version 2.18.0 Release Notes
... (truncated)
Commits
3db6a36Release notes for 2.19.0. (#1013)790f123CSHARP-4475: Add an AllowedTypes filter to ObjectSerializer.8993daaCSHARP-4453: Support Bucket and BucketAuto stages in LINQ3.ec46c34CSHARP-4490: Fix tests related to asserting wildcardProjection output. (#1011)9ee046bCSHARP-4182: Support for Range Indexes. (#988)9189a58CSHARP-4440: Incorporate MongoDB.Labs.Search library (#989)0bb42faCSHARP-4255: Fix bug and some tests. (#993)c0c521eCSHARP-4449: Implement Find projections in LINQ3.396830cCSHARP-4468: LINQ V3 SelectMany + GroupBy results with redundant $push within...70ed174CSHARP-4463: Add aws auth connectivity examples. (#1004)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.