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

[pull] master from python-semantic-release:master #98

Merged
merged 4 commits into from
Apr 28, 2024

Commits on Apr 27, 2024

  1. feat: changelog filters are specialized per vcs type (#890)

    * test(github): sync pr url expectation with GitHub api documentation
    
    * fix(github): correct changelog filter for pull request urls
    
    * refactor(hvcs-base): change to an abstract class & simplify interface
    
    * refactor(remote-hvcs-base): extend the base abstract class with common remote base class
    
    * refactor(github): adapt to new abstract base class
    
    * refactor(gitea): adapt to new abstract base class
    
    * refactor(gitlab): adapt to new abstract base class
    
    * refactor(bitbucket): adapt to new abstract base class
    
    * refactor(cmds): prevent hvcs from executing if not remote hosted vcs
    
    * feat(changelog): changelog filters are hvcs focused
    
    * test(hvcs): add validation for issue_url generation
    
    * feat(changelog-github): add issue url filter to changelog context
    
    * feat(changelog-gitea): add issue url filter to changelog context
    
    * refactor(cmd-version): consolidate asset uploads with release creation
    
    * style: resolve ruff errors
    
    * feat(changelog-context): add flag to jinja env for which hvcs is available
    
    * test(changelog-context): demonstrate per hvcs filters upon render
    
    * docs(changelog-context): explain new hvcs specific context filters
    
    * refactor(config): adjust default token resolution w/ subclasses
    codejedi365 authored Apr 27, 2024
    Configuration menu
    Copy the full SHA
    76ed593 View commit details
    Browse the repository at this point in the history
  2. style: beautify 76ed593

    actions-user committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    34226d2 View commit details
    Browse the repository at this point in the history
  3. fix: correct version --prerelease use & enable --as-prerelease (#647

    )
    
    * test(version): add validation of `--as-prerelease` and `--prerelease opts`
    
    * fix(version-cmd): correct `--prerelease` use
    
      Prior to this change, `--prerelease` performed the role of converting whichever forced
    version into a prerelease version declaration, which was an unintentional breaking
    change to the CLI compared to v7.
    
      `--prerelease` now forces the next version to increment the prerelease revision,
    which makes it consistent with `--patch`, `--minor` and `--major`. Temporarily disabled
    the ability to force a prerelease.
    
      Resolves: #639
    
    * feat(version-cmd): add `--as-prerelease` option to force the next version to be a prerelease
    
      Prior to this change, `--prerelease` performed the role that `--as-prerelease` now does,
    which was an unintentional breaking change to the CLI compared to v7.
    
      `--prerelease` is used to force the next version to increment the prerelease revision,
    which makes it consistent with `--patch`, `--minor` and `--major`, while `--as-prerelease`
    forces for the next version to be converted to a prerelease version type before it is
    applied to the project regardless of the bump level.
    
      Resolves: #639
    
    * docs(commands): update version command options definition about prereleases
    
    ---------
    
    Co-authored-by: codejedi365 <codejedi365@gmail.com>
    bernardcooke53 and codejedi365 authored Apr 27, 2024
    Configuration menu
    Copy the full SHA
    2acb5ac View commit details
    Browse the repository at this point in the history
  4. style: beautify 2acb5ac

    actions-user committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    c29a578 View commit details
    Browse the repository at this point in the history