Skip to content

10.x #1249

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

Merged
merged 64 commits into from
May 25, 2025
Merged

10.x #1249

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
6a9d01d
refactor(changelog-templates): move templates from `angular/` to `con…
codejedi365 May 17, 2025
ab9cbcd
fix(changelog-md)!: change to 1-line descriptions in markdown template
codejedi365 Dec 20, 2024
e49992d
fix(changelog-rst)!: change to 1-line descriptions in the default ReS…
codejedi365 Dec 20, 2024
829a8ef
refactor(parser-conventional): update parser code to separate from th…
codejedi365 May 17, 2025
6e88949
refactor(parser-scipy): update parser code to separate from the depre…
codejedi365 May 17, 2025
f660251
fix(parser-conventional)!: remove issue footer messages from commit d…
codejedi365 Oct 24, 2024
dbae20c
fix(parser-scipy)!: remove issue footer messages from commit descript…
codejedi365 May 17, 2025
014e2ad
fix(parser-emoji)!: remove issue footer messages from commit descript…
codejedi365 May 18, 2025
37ed933
fix(parser-conventional)!: remove breaking change footer messages fro…
codejedi365 Oct 24, 2024
e05502b
fix(parser-conventional)!: remove release notice footer messages from…
codejedi365 May 18, 2025
ee993ba
fix(parser-scipy)!: remove release notice footer messages from commit…
codejedi365 Oct 24, 2024
8d4469f
fix(parser-emoji)!: remove release notice footer messages from commit…
codejedi365 May 18, 2025
edd628b
fix(parser-conventional)!: remove PR/MR references from commit subjec…
codejedi365 Oct 24, 2024
76cfd7f
fix(parser-scipy)!: remove PR/MR references from commit subject line
codejedi365 Oct 24, 2024
855b9eb
fix(parser-emoji)!: remove PR/MR references from commit subject line
codejedi365 May 18, 2025
1a47500
feat(parser-conventional)!: set parser to evaluate all squashed commi…
codejedi365 Nov 11, 2024
3c08dfc
feat(parser-scipy)!: set parser to evaluate all squashed commits by d…
codejedi365 Nov 11, 2024
0cbcba8
feat(parser-emoji)!: set parser to evaluate all squashed commits by d…
codejedi365 May 18, 2025
5b4eee8
feat(parser-conventional)!: set parser to ignore merge commits by def…
codejedi365 Nov 11, 2024
eb237ca
feat(parser-scipy)!: set parser to ignore merge commits by default
codejedi365 Nov 11, 2024
4373632
feat(parser-emoji)!: set parser to ignore merge commits by default
codejedi365 May 18, 2025
bf6aec4
ci(validate): increase defined terminal width for pytest results
codejedi365 May 18, 2025
166701a
refactor(parser-conventional): ensures squash commits are interpreted…
codejedi365 May 18, 2025
24c7b39
refactor(parser-scipy): ensure that scopes are properly extracted fro…
codejedi365 May 18, 2025
57aea04
refactor(parser-emoji): ensures that merge request numbers are remove…
codejedi365 May 19, 2025
989c19a
test(conftest): update commit object creation to prevent test failures
codejedi365 May 18, 2025
8324363
test(parser-conventional): update unit testing to match expected outp…
codejedi365 May 18, 2025
ee29678
test(parser-scipy): update unit testing to match expected output of m…
codejedi365 May 18, 2025
cb8c456
test(parser-emoji): update unit testing to match expected output of m…
codejedi365 May 19, 2025
6c4302e
test(fixtures): update history creator fixture to new parser msg cleanup
codejedi365 May 18, 2025
7278ded
test(release-history): update test to handle new default `ignore_merg…
codejedi365 May 18, 2025
ad2c1a9
test(fixtures): update changelog generator to remove commit bodies
codejedi365 May 18, 2025
8f40a19
test(fixtures): update commit object creator as PSR now removes MRs f…
codejedi365 May 18, 2025
47db8c8
test(fixtures): update repo definitions with valid scipy scopes
codejedi365 May 18, 2025
3789789
test(fixtures): harden test fixtures from CI environment variables
codejedi365 May 18, 2025
c245fd6
docs(commit-parsing): define limitation of revert commits with the sc…
codejedi365 May 18, 2025
0aad066
test: refactor to use cli runner with empty default env
codejedi365 May 19, 2025
382cc19
test(fixtures): update repos with merges to ignore merge commits in c…
codejedi365 May 19, 2025
58903c2
refactor(cli): configure only PSR for logging & not root logger
codejedi365 May 19, 2025
d2eac30
refactor: centralize logging object across package
codejedi365 May 19, 2025
b2f3964
test(cmd-version): update test cases for updated emoji version values
codejedi365 May 19, 2025
489394e
style: fix spelling in comments
codejedi365 May 19, 2025
ce11b46
refactor(config): update custom `commit_message` regex converter to m…
codejedi365 May 19, 2025
19dc77b
refactor(cmd-version): add `USERNAME` as passed variable to build env…
codejedi365 May 19, 2025
9a9a617
refactor(config)!: change `allow_zero_version` default to `false`
codejedi365 May 20, 2025
ea30951
docs(configuration): change default value for `allow_zero_version` in…
codejedi365 May 20, 2025
6854a65
test(cmd-version): update tests to handle new default `allow_zero_ver…
codejedi365 May 21, 2025
81440e1
refactor(config)!: change `changelog.default_templates.mask_initial_r…
codejedi365 May 20, 2025
b590067
docs(configuration): change the default for the base changelog's `mas…
codejedi365 May 20, 2025
9004faf
test(fixtures): update repo builder's default parameter value for `ma…
codejedi365 May 20, 2025
95241f9
refactor(config)!: change `changelog.mode` default to `update`
codejedi365 May 21, 2025
1f1400d
docs(configuration): change the default value for `changelog.mode` in…
codejedi365 May 21, 2025
307bfe0
test(cmd-version): update tests of repo builders for `changelog.mode=…
codejedi365 May 21, 2025
83e5234
chore(config): update semantic-release default branch regular expression
codejedi365 May 25, 2025
1610abe
docs(upgrading): re-locate version upgrade guides into `Upgrading PSR`
codejedi365 May 24, 2025
a69ecc7
docs(algorithm): remove out-of-date algorithm description
codejedi365 May 24, 2025
75adc9f
docs(github-actions): add reference to manual release workflow example
codejedi365 May 24, 2025
0df37e4
docs(contributing): refactor contributing & contributors layout
codejedi365 May 24, 2025
8c106b8
docs(upgrading-v10): added migration guide for v9 to v10
codejedi365 May 24, 2025
dc239f8
docs: refactor documentation page navigation
codejedi365 May 24, 2025
4d39517
test(fixtures): update repo fixtures to include at least one issue cl…
codejedi365 Dec 2, 2024
bd9f3e1
test(cmd-version): update changelog test case for handling issue clos…
codejedi365 Dec 18, 2024
c0e6184
fix(cli): adjust verbosity parameter to enable silly-level logging
codejedi365 May 25, 2025
f2d7495
chore(scripts): update doc script for new doc file locations
codejedi365 May 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ jobs:

- name: Test | Run pytest -m unit --comprehensive
id: tests
env:
COLUMNS: 150
run: |
pytest \
-vv \
Expand Down Expand Up @@ -248,6 +250,8 @@ jobs:

- name: Test | Run pytest -m e2e --comprehensive
id: tests
env:
COLUMNS: 150
run: |
pytest \
-vv \
Expand Down Expand Up @@ -340,12 +344,15 @@ jobs:
- name: Test | Run pytest -m e2e
id: tests
shell: pwsh

# env:
# Required for GitPython to work on Windows because of getpass.getuser()
# USERNAME: "runneradmin"
# COLUMNS: 150
# Because GHA is currently broken on Windows to pass these varables, we do it manually
run: |
$env:USERNAME = "runneradmin"
$env:COLUMNS = 150
pytest `
-vv `
-nauto `
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ coverage.xml

# Sphinx documentation
docs/_build/
docs/api/
docs/api/modules/

# PyBuilder
target/
Expand Down
7 changes: 0 additions & 7 deletions AUTHORS.rst

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2310,7 +2310,7 @@ v8.0.0 (2023-07-16)
💥 BREAKING CHANGES
--------------------

* numerous breaking changes, see :ref:`migrating-from-v7` for more information
* numerous breaking changes, see :ref:`upgrade_v8` for more information

.. _ec30564: https://github.com/python-semantic-release/python-semantic-release/commit/ec30564b4ec732c001d76d3c09ba033066d2b6fe
.. _PR#619: https://github.com/python-semantic-release/python-semantic-release/pull/619
Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _contributing_guide:

Contributing
------------

Expand All @@ -7,7 +9,7 @@ Please remember to write tests for the cool things you create or fix.

Unsure about something? No worries, `open an issue`_.

.. _open an issue: https://github.com/relekang/python-semantic-release/issues/new
.. _open an issue: https://github.com/python-semantic-release/python-semantic-release/issues/new

Commit messages
~~~~~~~~~~~~~~~
Expand Down
205 changes: 0 additions & 205 deletions docs/algorithm.rst

This file was deleted.

11 changes: 6 additions & 5 deletions docs/commands.rst → docs/api/commands.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _commands:

Commands
========
Command Line Interface (CLI)
============================

All commands accept a ``-h/--help`` option, which displays the help text for the
command and exits immediately.
Expand All @@ -23,10 +23,11 @@ Correct::
semantic-release -vv --noop version --print

With the exception of :ref:`cmd-main` and :ref:`cmd-generate-config`, all
commands require that you have set up your project's configuration. To help with
this step, :ref:`cmd-generate-config` can create the default configuration for you,
which will allow you to tweak it to your needs rather than write it from scratch.
commands require that you have set up your project's configuration.

To help with setting up your project configuration, :ref:`cmd-generate-config`
will print out the default configuration to the console, which
you can then modify it to match your project & environment.

.. _cmd-main:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Configuration Examples

If identified or supported by the parser, the default changelog templates will include
a separate section of breaking changes and additional release information. Refer to the
:ref:`commit parsing <commit-parsing>` section to see how to write commit messages that
:ref:`commit parsing <commit_parsing>` section to see how to write commit messages that
will be properly parsed and displayed in these sections.


Expand Down Expand Up @@ -331,7 +331,7 @@ be copied to its target location without being rendered by the template engine.
When initially starting out at customizing your own changelog templates, you
should reference the default template embedded within PSR. The template directory
is located at ``data/templates/`` within the PSR package. Within our templates
directory we separate out each type of commit parser (e.g. angular) and the
directory we separate out each type of commit parser (e.g. conventional) and the
content format type (e.g. markdown). You can copy this directory to your
repository's templates directory and then customize the templates to your liking.

Expand Down
9 changes: 7 additions & 2 deletions docs/commit_parsing.rst → docs/concepts/commit_parsing.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _commit-parsing:
.. _commit_parsing:

Commit Parsing
==============
Expand Down Expand Up @@ -294,6 +294,11 @@ Guidelines`_ with all different commit types. Because of this small variance, th
only extends our :ref:`commit_parser-builtin-angular` parser with pre-defined scipy commit types
in the default Scipy Parser Options and all other features are inherited.

**Limitations**:

- Commits with the ``REV`` type are not currently supported. Track the implementation
of this feature in the issue `#402`_.

If no commit parser options are provided via the configuration, the parser will use PSR's
built-in :py:class:`defaults <semantic_release.commit_parser.scipy.ScipyParserOptions>`.

Expand Down Expand Up @@ -636,7 +641,7 @@ should inherit from the
The "options" class is used to validate the options which are configured in the repository,
and to provide default values for these options where appropriate.

.. _commit-parsing-commit-parsers:
.. _commit_parsing-commit-parsers:

Commit Parsers
""""""""""""""
Expand Down
Loading
Loading