Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Masterminds/semver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.3.1
Choose a base ref
...
head repository: Masterminds/semver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.4.0
Choose a head ref
  • 16 commits
  • 7 files changed
  • 2 contributors

Commits on Feb 10, 2025

  1. fix the CodeQL link

    dmitris authored Feb 10, 2025
    Configuration menu
    Copy the full SHA
    40e0183 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2025

  1. Merge pull request #257 from dmitris/patch-1

    fix the CodeQL link
    mattfarina authored Jun 18, 2025
    Configuration menu
    Copy the full SHA
    c597d50 View commit details
    Browse the repository at this point in the history
  2. Restore detailed errors when failed to parse with NewVersion

    When the NewVersion regex was updated to be more accurate, some of the
    returned errors were lost. Some projects (e.g., Helm) had tests for this
    and caught the different returned error. This change restores those errors
    by default but provides a package level opt-out that is more performant.
    
    Signed-off-by: Matt Farina <[email protected]>
    mattfarina committed Jun 18, 2025
    Configuration menu
    Copy the full SHA
    f32e01f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #262 from mattfarina/restore-errors

    Restore detailed errors when failed to parse with NewVersion
    mattfarina authored Jun 18, 2025
    Configuration menu
    Copy the full SHA
    5f491cf View commit details
    Browse the repository at this point in the history
  4. updating go version tested with

    Signed-off-by: Matt Farina <[email protected]>
    mattfarina committed Jun 18, 2025
    Configuration menu
    Copy the full SHA
    35ee4e7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #263 from mattfarina/go124

    updating go version tested with
    mattfarina authored Jun 18, 2025
    Configuration menu
    Copy the full SHA
    6fec737 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2025

  1. Restore the ability to have leading 0's with NewVersion

    NewVersion has long been a function that coerces versions into
    SemVer. StrictNewSemver handles being strict about versions.
    
    While leading 0's was restored, this adds an option for package
    users to force NewVersion to be strict and not accept leading 0's.
    It does less to coerce a version into a valid one.
    
    Signed-off-by: Matt Farina <[email protected]>
    mattfarina committed Jun 24, 2025
    Configuration menu
    Copy the full SHA
    4ed619e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #266 from mattfarina/restore-calver

    Restore the ability to have leading 0's with NewVersion
    mattfarina authored Jun 24, 2025
    Configuration menu
    Copy the full SHA
    ebda872 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2025

  1. Handle pre-releases on all in an and group

    Up to this point, all versions in an and group needed to have a
    prerelease to be checked with those correctly. This change
    enables just one item in an and group to have a pre-release
    and engage it for all items in that and group.
    
    This does not work across ORs. For example,
    `>= 1.2.3 < 2.0.0-beta || > 3` will evaluate prereleases in the
    group between 1.2.3 and 2.0.0-beta but will not look at
    prereleases when looking at `>3`.
    
    Signed-off-by: Matt Farina <[email protected]>
    mattfarina committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    abab1c2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #267 from mattfarina/fix-259

    Handle pre-releases on all in an and group
    mattfarina authored Jun 26, 2025
    Configuration menu
    Copy the full SHA
    057c901 View commit details
    Browse the repository at this point in the history
  3. Add property to include prereleases

    On the Constraints type there is now a property IncludePrerelease.
    When set, prereleases will be included when checking or validating
    constraints.
    
    This is additive to the existing behavior where a prerelease in
    a constraint causes the checks to include prereleases. The existing
    behavior has not changed.
    
    Signed-off-by: Matt Farina <[email protected]>
    mattfarina committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    c374751 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #268 from mattfarina/include-prerelease

    Add property to include prereleases
    mattfarina authored Jun 26, 2025
    Configuration menu
    Copy the full SHA
    9760c47 View commit details
    Browse the repository at this point in the history
  5. Updating the error message handling

    Two changes happened:
    1. Error messages follow community standards on case
    2. Error messages passed in format strings use %w so error handling tools
       can operate on them.
    
    Signed-off-by: Matt Farina <[email protected]>
    mattfarina committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    a2cd9c2 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #269 from mattfarina/lowercase-error-strings

    Updating the error message handling
    mattfarina authored Jun 26, 2025
    Configuration menu
    Copy the full SHA
    dc05094 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2025

  1. Update the release notes and readme for new version

    Signed-off-by: Matt Farina <[email protected]>
    mattfarina committed Jun 27, 2025
    Configuration menu
    Copy the full SHA
    69a63e7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #270 from mattfarina/relnotes-3.4.0

    Update the release notes and readme for new version
    mattfarina authored Jun 27, 2025
    Configuration menu
    Copy the full SHA
    61fc460 View commit details
    Browse the repository at this point in the history
Loading