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

Fix new error: Bump Semver from 2.3.0 to 3.0.0 #15432

Merged
merged 4 commits into from
Nov 5, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2024

Bumps Semver from 2.3.0 to 3.0.0.

Release notes

Sourced from Semver's releases.

semver v3.0.0

A major release to support arbitrary-sized version numbers, prevent invalid version numbers, remove obsolete functionality, and strong name the assembly.

Breaking Changes:

  • SemVersion.Parse and SemVersion.TryParse now default to strict parsing. Use SemVersionStyles to control parsing
  • SemVersion.Major, SemVersion.Minor, SemVersion.Patch, and PrereleaseIdentifier.NumericValue properties are now BigInteger (#73)
  • Removed obsolete methods (#70, #47), including:
    • Implicit conversion from string (#47). Use SemVersion.Parse instead
    • SemVersion(int major, int minor = 0, int patch = 0, string prerelease = "", string build = "") constructor. Use another constructor or SemVersion.ParsedFrom instead
    • SemVersion.Parse and SemVersion.TryParse overloads with the strict parameter. They now default to strict. Use SemVersionStyles to control parsing
    • Comparison with SemVersion.CompareTo, SemVersion.Compare, SemVersion.CompareByPrecedence, <, <=, >, >=, or SemVersion.PrecedenceMatches. Use SemVersion.ComparePrecedenceTo, SemVersion.CompareSortOrderTo, SemVersion.ComparePrecedence, or SemVersion.CompareSortOrder instead.
    • SemVersion.Build. Use SemVersion.Metadata instead
    • SemVersion.Change. Use SemVersion.With or SemVersion.WithX methods instead
    • SemVersion(Version) constructor. Use SemVersion.FromVersion instead
  • SemVersion no longer implements IComparable<SemVersion> or IComparable. Use SemVersion.PrecedenceComparer or SemVersion.SortOrderComparer instead
  • Added strong name to assembly (#23)
  • Dropped support for frameworks older than .NET Standard 2.0 (i.e., .NET Framework < 4.6.2 & .NET Core < 2.0) (#68)
  • Construction of versions with negative major, minor, or patch is no longer allowed (#40)
  • Negative maxLength parameter values now throw ArgumentOutOfRangeException (#72)

Other Changes:

  • Arbitrary-sized version numbers are now supported, including in prerelease identifiers (#73)
Commits
  • 801ae36 Merge branch 'v3.0.0-readme'
  • 2c3bdd2 update pakacge realease notes URL and publishing directions
  • 1b271f4 rewrap new markdown files
  • 6cacd6a Update issue templates
  • ec57c32 Create SECURITY.md
  • 9e01d71 Create CODE_OF_CONDUCT.md
  • f59b987 fix packaged readme for v3
  • ae451a1 Merge branch 'master' into v3.0.0-readme
  • cab749a try to fix readme not being included in package
  • ff0518e changes to allow dotnet pack to run locally
  • 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)
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com//pull/15432)

@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Oct 27, 2024
Copy link
Contributor

@microsoft-github-policy-service microsoft-github-policy-service bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@microsoft-github-policy-service microsoft-github-policy-service bot added the auto-merge Automatically merge this PR label Oct 27, 2024
Copy link
Contributor

@microsoft-github-policy-service microsoft-github-policy-service bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Contributor

github-actions bot commented Oct 27, 2024

Test this change out locally with the following install scripts (Action run 11694377266)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 11694377266
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 11694377266"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 11694377266
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 11694377266"

auto-merge was automatically disabled October 29, 2024 19:39

Pull request was closed

@StephenWeatherford
Copy link
Contributor

Forcing rebuild

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 29, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@StephenWeatherford StephenWeatherford changed the title Bump Semver from 2.3.0 to 3.0.0 Fix new error: Bump Semver from 2.3.0 to 3.0.0 Oct 29, 2024
Copy link
Contributor

github-actions bot commented Oct 31, 2024

Dotnet Test Results

    72 files   -     36      72 suites   - 36   29m 14s ⏱️ - 14m 29s
11 394 tests  -     22  11 394 ✅  -     22  0 💤 ±0  0 ❌ ±0 
26 519 runs   - 13 246  26 519 ✅  - 13 246  0 💤 ±0  0 ❌ ±0 

Results for commit f16d4cf. ± Comparison against base commit 35141e6.

♻️ This comment has been updated with latest results.

dependabot bot and others added 2 commits November 1, 2024 14:05
Bumps [Semver](https://github.com/WalkerCodeRanger/semver) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/WalkerCodeRanger/semver/releases)
- [Changelog](https://github.com/WalkerCodeRanger/semver/blob/master/PublishingRelease.md)
- [Commits](WalkerCodeRanger/semver@v2.3.0...v3.0.0)

---
updated-dependencies:
- dependency-name: Semver
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@StephenWeatherford StephenWeatherford merged commit fa4aad6 into main Nov 5, 2024
47 checks passed
@StephenWeatherford StephenWeatherford deleted the dependabot/nuget/Semver-3.0.0 branch November 5, 2024 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Automatically merge this PR 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