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: python-semantic-release/python-semantic-release
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.9.0
Choose a base ref
...
head repository: python-semantic-release/python-semantic-release
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.10.0
Choose a head ref
  • 14 commits
  • 50 files changed
  • 3 contributors

Commits on Sep 28, 2024

  1. Configuration menu
    Copy the full SHA
    886324c View commit details
    Browse the repository at this point in the history
  2. ci(main-wkflow): force release to act on the github.sha the workflow …

    …started on
    
    This change comes because if we merge into main multiple times but the action
    flow for the first merge was still running it will release on commits that were
    not considered yet. This happened with `v9.9.0`. This change ensures that the
    commit that triggered the workflow is the one that has the release decision
    performed on. This change inline with the concurrency directive should prevent
    out of order releases from occuring.
    codejedi365 committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    74f146f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14f04df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    adb1f7c View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    59c0819 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    e263f46 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    cfcb4eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b87172b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a37159 View commit details
    Browse the repository at this point in the history
  4. feat(github-actions): add an action build directive to toggle the `…

    …--skip-build` option (#1044)
    
    * docs(commands): update definition of the version commands `--skip-build` option
    
    * docs(github-actions): add description of the `build` input directive
    codejedi365 authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    26597e2 View commit details
    Browse the repository at this point in the history
  5. feat(changelog): modify changelog template to support changelog updat…

    …es (#1045)
    
    * feat(changelog): add `read_file` function to changelog template context
    
      This feature adds a filter that will enable jinja templates to read a file
      from the repository into memory to then use as output within the template.
      The primary use for this is to read in a previous changelog file which then
      the template can give the illusion of insertion as it re-writes the entire
      file.
    
    * feat(changelog): add `changelog_mode` to changelog template context
    
      Adds a flag that can be passed to the templating environment to allow
      for triggering an update mode of a changelog versions an initialization
      mode. The usage is up to the template developer but for PSR it is used
      to handle changelog generation vs changelog updating.
    
    * feat(changelog): add `prev_changelog_file` to changelog template context
    
      This adds a string that represents a filename to a previous changelog file
      which can be read from inside the template context. The primary use is for
      enabling the updating of a changelog through jinja templating.
    
    * feat(changelog): add `changelog_insertion_flag` to changelog template context
    
      This adds a customizable string to the jinja templating context which allows users
      to use the PSR configuration to pass a custom insertion flag into the templating
      context. This is intended for use with initializing a changelog and then updating
      it from that point forward.
    
    * feat(changelog): add shorthand `ctx` variable to changelog template env
    
    * refactor(changelog): change recursive render to not use file streaming
    
      It would be nice to maintain file streaming for better memory usage but it
      prevents the ability to read the file contents previously from within the
      template which is a desire in order to insert into a previous changelog.
      In this case, the memory usage is likely not a problem for large text files.
    
    * fix(config): prevent jinja from autoescaping markdown content by default
    
      Since this project is generally rendering non-html content such as RST or MD,
      change the default of the jinja autoescape parameter to false instead of true.
      When it was true, it would automatically convert any `&` ampersands to its
      htmlentity equivalent `&` which is completely unnecessary and unreadable in
      non-html documents.
    
    * docs(configuration): update `changelog.environment.autoescape` default to `false` to match code
    
    * docs(configuration): standardize all true/false to lowercase ensuring toml-compatibility
    
    * feat(config): add `changelog.mode` as configuration option
    
    * feat(config): add `changelog.insertion_flag` as configuration option
    
    * refactor(config): use `changelog.changelog_file` as previous changelog file for target for update
    
    * style(config): alphabetize changelog configuration options
    
    * docs(configuration): add `changelog.mode` and `changelog.insertion_flag` config definitions
    
    * fix(changelog): adjust angular heading names for readability
    
    * feat(changelog): modify changelog template to support changelog updates
    
      By popular demand, the desire to only prepend new information to the changelog
      is now possible given the `changelog.mode = update` configuration option.
    
      Resolves: #858, #722
    
    * refactor(errors): add new generic internal error for tragic improbable flaws
    
    * fix(changelog): ensure changelog templates can handle complex directory includes
    
    * feat(config): add `changelog.default_templates.output_format` config option
    
    * fix(changelog): only render user templates when files exist
    
      This change ensures that we will use our default even when the user only overrides
      the release notes template. It also must have jinja templates in the folder otherwise
      we will render the default changelog.
    
    * refactor(changelog): enable default changelog rendering of multiple template parts
    
    * refactor(changelog): change rendering of default release notes to new template structure
    
    * refactor(context): use pathlib instead of context manager to read file
    
    * test(fixtures): update changelog generator format & angular heading names
    
    * test(angular): adjust test of commit type to section header
    
    * test(changelog): update make changelog context function call
    
    * test(release-notes): update test related to release notes generation
    
    * test(fixtures): add processing to filter out repo definitions for partial changelogs
    
    * test(fixtures): update repo generators to update changelogs w/ every version
    
    * test(fixtures): slow down repo generators to prevent git failures from same timestamps
    
    * test(fixtures): update changelog generator to include insertion flag
    
    * refactor(changelog): fix template to handle update when no releases exist
    
    * refactor(changelog): adjust template to use improved release object
    
    * refactor(changelog): improve resilence & non-existant initial changelog
    
    * style(changelog-templates): maintain 2-spaces indentation throughout jinja templates
    
    * refactor(changelog): ensure cross-platform template includes with jinja compatibility
    
    * test(changelog-cmd): add tests to evaluate variations of the changelog update mode
    
    * test(version-cmd): add tests to evaluate variations of the changelog update mode
    
    * refactor(release-notes): normalize line endings to universal newlines & always end with newline
    
    * refactor(changelog): ensure default changelog renders w/ universal newlines & writes as os-specific
    
    * test(changelog): update changelog testing implementation to be newline aware
    
    * test: update tests to use cross-platform newlines where appropriate
    
    * docs(changelog-templates): improve detail & describe new `changelog.mode="update"`
    
    * docs(configuration): mark version of configuration setting introduction
    
    * docs(homepage): update custom changelog reference
    
    * refactor(changelog): adjust read_file filter to read file as os-newline aware
    
    * refactor(changelog): apply forced universal newline normalizer on default changelog
    
    * test(changelog): adjust implementation to consistently work on windows
    
    * test(version): adjust implementation to consistently work on windows
    
    * refactor(changelog-template): only add insertion flag if in update mode
    
    * test(changelog): adjust test to handle changelog regeneration in init mode
    
    * refactor(changelog-templates): adjust init template to clean up extra newlines
    
    * test(changelog): adjust expected output after cleaned up newlines
    
    * docs(configuration): define the new `changelog.default_templates.output_format` option
    codejedi365 authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    c18c245 View commit details
    Browse the repository at this point in the history
  6. 9.10.0

    Automatically generated by python-semantic-release
    semantic-release
    semantic-release committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    76f1ffa View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    31b615a View commit details
    Browse the repository at this point in the history
  2. 9.10.0

    Automatically generated by python-semantic-release
    semantic-release
    semantic-release committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    18399a7 View commit details
    Browse the repository at this point in the history
Loading