Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump MongoDB.Driver from 2.13.1 to 2.19.0 in /src/persistence/Elsa.Persistence.MongoDb #3759

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2023

Bumps MongoDB.Driver from 2.13.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 ObjectSerializer has been changed to only allow deserialization of types that are considered safe. What types are considered safe is determined by a new configurable AllowedTypes function (of type Func<Type, bool>). The default AllowedTypes function is ObjectSerializer.DefaultAllowedTypes which 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 ObjectSerializer is 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
  • 3db6a36 Release notes for 2.19.0. (#1013)
  • 790f123 CSHARP-4475: Add an AllowedTypes filter to ObjectSerializer.
  • 8993daa CSHARP-4453: Support Bucket and BucketAuto stages in LINQ3.
  • ec46c34 CSHARP-4490: Fix tests related to asserting wildcardProjection output. (#1011)
  • 9ee046b CSHARP-4182: Support for Range Indexes. (#988)
  • 9189a58 CSHARP-4440: Incorporate MongoDB.Labs.Search library (#989)
  • 0bb42fa CSHARP-4255: Fix bug and some tests. (#993)
  • c0c521e CSHARP-4449: Implement Find projections in LINQ3.
  • 396830c CSHARP-4468: LINQ V3 SelectMany + GroupBy results with redundant $push within...
  • 70ed174 CSHARP-4463: Add aws auth connectivity examples. (#1004)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will 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 labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will 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.

Bumps [MongoDB.Driver](https://github.com/mongodb/mongo-csharp-driver) from 2.13.1 to 2.19.0.
- [Release notes](https://github.com/mongodb/mongo-csharp-driver/releases)
- [Commits](mongodb/mongo-csharp-driver@v2.13.1...v2.19.0)

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Mar 3, 2023
@sfmskywalker sfmskywalker merged commit 874b0ac into master Mar 6, 2023
@sfmskywalker sfmskywalker deleted the dependabot/nuget/src/persistence/Elsa.Persistence.MongoDb/MongoDB.Driver-2.19.0 branch March 6, 2023 11:23
Lauryx-star added a commit to Lauryx-star/elsa-core that referenced this pull request Mar 23, 2023
* fix typo

* update badge

* Configuration headers for kafka consumer were not implemented to ConsumerConfig. Implementation provided. (elsa-workflows#3731)

Co-authored-by: Recep OBUT <[email protected]>

* DeleteMany fixes (elsa-workflows#3718)

* Changed so that DeleteAsync uses batch delete and removed psql and mysql work around

* Re added mysql workaround

* switch to feedz

* [no ci] update readme

* [no ci] update feedz URL

* update feedz npm key

* [no ci] update README with feedz

* cache npm packages

* [no ci] update action version

* enable integration tests

* Fix credential manager in designer. (elsa-workflows#3739)

* Inject `monacoLibPath` in `elsa-credential-manager-items-list`

* Fix secret editor in non OAuth2 types.

* Adjust so that only finished statuses are also add an OR between status instead of AND (elsa-workflows#3717)

* Bump MongoDB.Driver in /src/persistence/Elsa.Persistence.MongoDb (elsa-workflows#3759)

Bumps [MongoDB.Driver](https://github.com/mongodb/mongo-csharp-driver) from 2.13.1 to 2.19.0.
- [Release notes](https://github.com/mongodb/mongo-csharp-driver/releases)
- [Commits](mongodb/mongo-csharp-driver@v2.13.1...v2.19.0)

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump MongoDB.Driver (elsa-workflows#3760)

Bumps [MongoDB.Driver](https://github.com/mongodb/mongo-csharp-driver) from 2.13.1 to 2.19.0.
- [Release notes](https://github.com/mongodb/mongo-csharp-driver/releases)
- [Commits](mongodb/mongo-csharp-driver@v2.13.1...v2.19.0)

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump MongoDB.Driver (elsa-workflows#3761)

Bumps [MongoDB.Driver](https://github.com/mongodb/mongo-csharp-driver) from 2.13.1 to 2.19.0.
- [Release notes](https://github.com/mongodb/mongo-csharp-driver/releases)
- [Commits](mongodb/mongo-csharp-driver@v2.13.1...v2.19.0)

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Implement Customize SqlClientFactory with discovery database types (elsa-workflows#3781)

* Implement Customize SqlClientFactory with discovery database types

* Order usings

* fix issue elsa-workflows#3744 (elsa-workflows#3788)

Co-authored-by: William Verdolini <[email protected]>

* Upgrade MediatR to 12.0.1 fixing issue elsa-workflows#3775 (elsa-workflows#3790)

* Make copy-pasting work across multiple domains (elsa-workflows#3794)

* Make copy-pasting work across multiple domains

* Handle errors on paste better

---------

Co-authored-by: Tanel Kuhi <[email protected]>

* Bump webpack (elsa-workflows#3796)

Bumps [webpack](https://github.com/webpack/webpack) from 5.70.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.70.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Added general global bookmark provider for all KafkaMessageReceivedOverride Triggers (elsa-workflows#3807)

Co-authored-by: Yannick Laubscher <[email protected]>

* [no ci] bump preview version

* update version of Fody packages (elsa-workflows#3824)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Mohamed Ali <[email protected]>
Co-authored-by: Recep Obut <[email protected]>
Co-authored-by: Recep OBUT <[email protected]>
Co-authored-by: Martin Hjulström <[email protected]>
Co-authored-by: Chryssie Ta <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mircotamburini <[email protected]>
Co-authored-by: William Verdolini <[email protected]>
Co-authored-by: William Verdolini <[email protected]>
Co-authored-by: Axel Bergman <[email protected]>
Co-authored-by: tanelkuhi <[email protected]>
Co-authored-by: Tanel Kuhi <[email protected]>
Co-authored-by: Yannick Laubscher <[email protected]>
Co-authored-by: Yannick Laubscher <[email protected]>
Co-authored-by: Joshua Hartmann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant