Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 11, 2023

Bumps MongoDB.Analyzer from 1.2.0 to 1.3.0.

Release notes

Sourced from MongoDB.Analyzer's releases.

v1.3.0

MongoDB .NET Analyzer 1.3.0 Release Notes

This is the general availability release for the 1.3.0 version of the analyzer.

The main new features in 1.3.0 include:

New analysis rules introduced: POCO to JSON

The new analysis rules allow to display the driver serialization result for a POCO in compiler time. This can be used to validate correctness of BSON attributes setup and get a driver JSON representation shape. For example:

public class Address
{
    [BsonElement("street")]
    public string StreetName { get; set; }
[BsonIgnore]
public string City { get; set; }
public string Province { get; set; }
[BsonElement("zip")]
public string ZipCode { get; set; }

}

Will display the following JSON representation: { "street" : "Maplewood Lane", "Province" : "Lombardy", "zip" : "60601" }. Notice that BsonElement and BsonIgnore attributes are accounted for.

Support for BSON serialization attributes

BSON serialization attributes like BsonElement, BsonIgnore, BsonIgnoreIfNull and other attributes are supported in POCO, LINQ and Builders analysis.

Additional main improvements in 1.3.0:

VS-93 introduces support for expressions with enums in tupples VS-97 introduces better support for nullables

The full list of JIRA issues resolved in this release is available here.

Commits
  • 7207b62 VS-112: 1.3.0 Release (#54)
  • 117c8df VS-113: Analyze POCOs that are used by LINQ or Builders at verbosity medium s...
  • 53c8f40 VS-110: Update Analyzer to 2.21 driver (#50)
  • c28486a VS-33: Refactor common LINQ and Builder expressions processing code (#48)
  • f42af31 VS-97: Handle Enum Remapping in LINQ For Type Arguments (#39)
  • 62c2281 VS-93: Address Handling of Nullables (#44)
  • f2fe2e6 VS-102 : Replace Type Names in Error Messages (#47)
  • 20f8cc5 VS-96: Fake Data Class Generators (#45)
  • 2f8db4e VS-63 : POCO to Json Analyzer (#41)
  • 994bc50 VS-99: Optimize MQL Generator to avoid having 1 using statement for each Bson...
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [MongoDB.Analyzer](https://github.com/mongodb/mongo-csharp-analyzer) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/mongodb/mongo-csharp-analyzer/releases)
- [Commits](mongodb/mongo-csharp-analyzer@v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: MongoDB.Analyzer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 11, 2023
@ikesnowy ikesnowy self-requested a review September 21, 2023 06:06
@ikesnowy ikesnowy merged commit 795517a into main Sep 21, 2023
@ikesnowy ikesnowy deleted the dependabot/nuget/MongoDB.Analyzer-1.3.0 branch September 21, 2023 06:07
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants