porting-assistant-dotnet-client
porting-assistant-dotnet-client copied to clipboard
chore(deps): bump semver from 2.0.6 to 2.2.0 in /src/PortingAssistant.Client.Porting
Bumps semver from 2.0.6 to 2.2.0.
Release notes
Sourced from semver's releases.
semver v2.2.0
Minor release to improve comparison. Existing comparison methods and operators were confusing (#15, #26) and had bugs (#39, #53, #69).
- New
ComparePrecedenceTo(SemVersion),PrecedenceEquals(Semver), and staticComparePrecedence(SemVersion, SemVersion)andPrecedenceEquals(SemVersion, SemVersion)methods for comparing precedence- New
CompareSortOrderTo(SemVersion)and staticCompareSortOrder(SemVersion, SemVersion)methods for comparing sort order
- Use existing
Equals(SemVersion)andEquals(SemVersion, SemVersion)to compare sort order equality- New
PrecedenceComparerandSortOrderComparerstatic properties
- Provide a comparer that implements
IEqualityComparer<SemVersion>andIComparer<SemVersion>to compare by precedence and sort order respectively- These can be used for sorting, binary search, and using
SemVersionas a dictionary key- Marked
Compare(SemVersion, SemVersion),CompareByPrecedence(SemVersion),CompareTo(SemVersion),CompareTo(object), andPrecedenceMatches(SemVersion)obsolete- Marked comparison operators obsolete (#53)
semver v2.1.0
Minor release to improve parsing, construction, and modification.
- Greatly improved doc comments
- New
Parse()andTryParse()overloads takingSemVersionStyles- New
With(),WithParsedFrom(),WithX(),WithoutX()methods to replaceChange()method (feature #65)
- New methods fully validate parameters to prevent invalid versions
- New method names clearly indicate that the method does not mutate the existing
SemVersion- Old
Change()method marked obsolete- Added
PrereleaseIdentifiersproperty providing access to individual identifiers (feature #37)- Added
MetadataIdentifiersproperty providing access to individual identifiers (feature #37)- New
Metadataproperty for consistent terminology use matching the semver spec
- Marked
Buildproperty obsolete- Added
IsPrereleaseandIsReleaseproperties (feature #44)- New constructor overloads and
SemVersion.ParsedFrom()method (bugs #40, #41)
- New overloads accept prerelease portion and metadata as individual identifiers
- New overloads validate all parameters to prevent invalid semantic versions
- Marked old constructor overload obsolete
SemVersionnow implementsIEquatable<SemVersion>(feature #34)- New
SemVersion.FromVersion()andToVersion()methods for conversion from and toSystem.Version(bug #32)
- Corrects the mapping between version parts
- Marked old constructor obsolete
- Added .NET Standard 2.0 assembly version to avoid warnings about .NET Standard 1.0 (feature #30)
- Assembly version fixed at 2.1.0.0 until v3.0 (bug #61)
- Marked implicit conversion from
stringobsolete (feature #46)- Improved hash code calculation
Commits
f351bdcmake PrecedenceComparer.Compare slightly more readableda79618add TODO about renaming parameters to Equals348cc5fremove OldSortOrder and just use SortOrder insteade471d15work on doc comments for comparison and equality5cd9833doc comment for ComparePrecedenceTo7e43de6change PrecedenceComparer and SortOrderComparer to propertiesfcca144docs for ISemVersionComparerddc347dmark CompareComponents obsoletec465222improve comment on SemVersionWithTestsbcc77f9add some cases for new comparison- 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)