Skip to content

Commit eb841f9

Browse files
author
semantic-release
committed
chore: release v10.5.0
Automatically generated by python-semantic-release
1 parent a28f940 commit eb841f9

5 files changed

Lines changed: 99 additions & 12 deletions

File tree

CHANGELOG.rst

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,93 @@
44
CHANGELOG
55
=========
66

7+
.. _changelog-v10.5.0:
8+
9+
v10.5.0 (2025-11-09)
10+
====================
11+
12+
✨ Features
13+
-----------
14+
15+
* **cmd-version**: Add automatic repository un-shallowing to version workflow (`PR#1366`_,
16+
`90a1ffa`_)
17+
18+
* **cmd-version**: Add functionality to create & update partial version tags (`PR#1115`_,
19+
`a28f940`_)
20+
21+
* **cmd-version**: Adds c-macro style version definition support to ``version_variables``, closes
22+
`#1348`_ (`PR#1349`_, `4ce1fca`_)
23+
24+
* **cmd-version**: Adds upstream check into workflow to prevent commit push collisions (`PR#1360`_,
25+
`d77193e`_)
26+
27+
🪲 Bug Fixes
28+
------------
29+
30+
* **cmd-version**: Prevent regular expression errors on ``tag_format`` (`PR#1367`_, `e7d7aa7`_)
31+
32+
📖 Documentation
33+
----------------
34+
35+
* **commands**: Add description of automated upstream version checking upon version creation
36+
(`PR#1360`_, `d77193e`_)
37+
38+
* **configuration**: Add description for ``add_partial_tags`` setting & usage examples (`PR#1115`_,
39+
`a28f940`_)
40+
41+
* **configuration**: Fix ``tag_format`` definition (`PR#1367`_, `e7d7aa7`_)
42+
43+
* **configuration**: Update ``version_variables`` examples with a c-macro style replacement
44+
(`PR#1349`_, `4ce1fca`_)
45+
46+
* **github-actions**: Adds release job outputs definition to example (`PR#1344`_, `0fb4875`_)
47+
48+
* **github-actions**: Removed verify upstream status step from example workflow (`PR#1360`_,
49+
`d77193e`_)
50+
51+
* **github-actions**: Update example to remove need to specify repo checkout's fetch depth
52+
(`PR#1366`_, `90a1ffa`_)
53+
54+
* **uv-integration**: Remove verify upstream check from uv integration example (`PR#1360`_,
55+
`d77193e`_)
56+
57+
* **uv-integration**: Update example to remove need to specify repo checkout's fetch depth
58+
(`PR#1366`_, `90a1ffa`_)
59+
60+
⚙️ Build System
61+
----------------
62+
63+
* **deps**: Bump ``tomlkit`` dependency from ~=0.11.0 to ~=0.13.0 (`PR#1355`_, `55c94ec`_)
64+
65+
* **deps**: Change github-actions container image to ``python:3.14-slim-trixie`` (`PR#1346`_,
66+
`1a23712`_)
67+
68+
💡 Additional Release Information
69+
---------------------------------
70+
71+
* **cmd-version**: If you were previously handling the unshallowing of a repository clone in your
72+
CI/CD pipelines, you may now remove that step from your workflow. PSR will now detect a shallow
73+
repository and unshallow it before evaluating the commit history.
74+
75+
.. _#1348: https://github.com/python-semantic-release/python-semantic-release/issues/1348
76+
.. _0fb4875: https://github.com/python-semantic-release/python-semantic-release/commit/0fb4875fa24ed283ed2d97ff6ab1879669a787ca
77+
.. _1a23712: https://github.com/python-semantic-release/python-semantic-release/commit/1a237125badcb597ae7a92db4e01c2ff3293bce8
78+
.. _4ce1fca: https://github.com/python-semantic-release/python-semantic-release/commit/4ce1fcac60ac73657a4aaaaa3cb7c4afc7eac2c1
79+
.. _55c94ec: https://github.com/python-semantic-release/python-semantic-release/commit/55c94ecde1aec47b88aa172d031ab33afa7f795d
80+
.. _90a1ffa: https://github.com/python-semantic-release/python-semantic-release/commit/90a1ffa55c5a1605c59cb26a1797f9a37fdfa784
81+
.. _a28f940: https://github.com/python-semantic-release/python-semantic-release/commit/a28f9401c4b285aa1007b72eb051d42567f33f93
82+
.. _d77193e: https://github.com/python-semantic-release/python-semantic-release/commit/d77193e30807968ba6a26bd356a868db62dc1098
83+
.. _e7d7aa7: https://github.com/python-semantic-release/python-semantic-release/commit/e7d7aa74a216cd2fdd78afc1e0e8b6b8044954ec
84+
.. _PR#1115: https://github.com/python-semantic-release/python-semantic-release/pull/1115
85+
.. _PR#1344: https://github.com/python-semantic-release/python-semantic-release/pull/1344
86+
.. _PR#1346: https://github.com/python-semantic-release/python-semantic-release/pull/1346
87+
.. _PR#1349: https://github.com/python-semantic-release/python-semantic-release/pull/1349
88+
.. _PR#1355: https://github.com/python-semantic-release/python-semantic-release/pull/1355
89+
.. _PR#1360: https://github.com/python-semantic-release/python-semantic-release/pull/1360
90+
.. _PR#1366: https://github.com/python-semantic-release/python-semantic-release/pull/1366
91+
.. _PR#1367: https://github.com/python-semantic-release/python-semantic-release/pull/1367
92+
93+
794
.. _changelog-v10.4.1:
895

996
v10.4.1 (2025-09-13)

docs/configuration/automatic-releases/github-actions.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -893,14 +893,14 @@ to the GitHub Release Assets as well.
893893
- name: Action | Semantic Version Release
894894
id: release
895895
# Adjust tag with desired version if applicable.
896-
uses: python-semantic-release/python-semantic-release@v10.4.1
896+
uses: python-semantic-release/python-semantic-release@v10.5.0
897897
with:
898898
github_token: ${{ secrets.GITHUB_TOKEN }}
899899
git_committer_name: "github-actions"
900900
git_committer_email: "actions@users.noreply.github.com"
901901
902902
- name: Publish | Upload to GitHub Release Assets
903-
uses: python-semantic-release/publish-action@v10.4.1
903+
uses: python-semantic-release/publish-action@v10.5.0
904904
if: steps.release.outputs.released == 'true'
905905
with:
906906
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -969,15 +969,15 @@ to the GitHub Release Assets as well.
969969
the ``token`` input) in order to gain push access.
970970

971971
.. note::
972-
As of $NEW_RELEASE_TAG, Python Semantic Release automatically detects and converts
972+
As of v10.5.0, Python Semantic Release automatically detects and converts
973973
shallow clones to full clones when needed. While you can still use ``fetch-depth: 0``
974974
with ``actions/checkout@v4`` to fetch the full history upfront, it is no longer
975975
required. If you use the default shallow clone, Python Semantic Release will
976976
automatically fetch the full history before evaluating commits. If you are using
977977
an older version of PSR, you will need to unshallow the repository prior to use.
978978

979979
.. note::
980-
As of $NEW_RELEASE_TAG, the verify upstream step is no longer required as it has been
980+
As of v10.5.0, the verify upstream step is no longer required as it has been
981981
integrated into PSR directly. If you are using an older version of PSR, you will need
982982
to review the older documentation for that step. See Issue `#1201`_ for more details.
983983

@@ -1005,7 +1005,7 @@ The equivalent GitHub Action configuration would be:
10051005
10061006
- name: Action | Semantic Version Release
10071007
# Adjust tag with desired version if applicable.
1008-
uses: python-semantic-release/python-semantic-release@v10.4.1
1008+
uses: python-semantic-release/python-semantic-release@v10.5.0
10091009
with:
10101010
github_token: ${{ secrets.GITHUB_TOKEN }}
10111011
force: patch
@@ -1064,14 +1064,14 @@ Publish Action.
10641064
10651065
- name: Release submodule 1
10661066
id: release-submod-1
1067-
uses: python-semantic-release/python-semantic-release@v10.4.1
1067+
uses: python-semantic-release/python-semantic-release@v10.5.0
10681068
with:
10691069
directory: ${{ env.SUBMODULE_1_DIR }}
10701070
github_token: ${{ secrets.GITHUB_TOKEN }}
10711071
10721072
- name: Release submodule 2
10731073
id: release-submod-2
1074-
uses: python-semantic-release/python-semantic-release@v10.4.1
1074+
uses: python-semantic-release/python-semantic-release@v10.5.0
10751075
with:
10761076
directory: ${{ env.SUBMODULE_2_DIR }}
10771077
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -1083,15 +1083,15 @@ Publish Action.
10831083
# ------------------------------------------------------------------- #
10841084
10851085
- name: Publish | Upload package 1 to GitHub Release Assets
1086-
uses: python-semantic-release/publish-action@v10.4.1
1086+
uses: python-semantic-release/publish-action@v10.5.0
10871087
if: steps.release-submod-1.outputs.released == 'true'
10881088
with:
10891089
directory: ${{ env.SUBMODULE_1_DIR }}
10901090
github_token: ${{ secrets.GITHUB_TOKEN }}
10911091
tag: ${{ steps.release-submod-1.outputs.tag }}
10921092
10931093
- name: Publish | Upload package 2 to GitHub Release Assets
1094-
uses: python-semantic-release/publish-action@v10.4.1
1094+
uses: python-semantic-release/publish-action@v10.5.0
10951095
if: steps.release-submod-2.outputs.released == 'true'
10961096
with:
10971097
directory: ${{ env.SUBMODULE_2_DIR }}

docs/configuration/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ The regular expression generated from the ``version_variables`` definition will:
13981398
2. The variable name defined by ``variable`` and the version must be separated by
13991399
an operand symbol (``=``, ``:``, ``:=``, or ``@``). Whitespace is optional around
14001400
the symbol. As of v10.0.0, a double-equals (``==``) operator is also supported
1401-
as a valid operand symbol. As of $NEW_RELEASE_TAG, PSR can omit all operands as long
1401+
as a valid operand symbol. As of v10.5.0, PSR can omit all operands as long
14021402
as there is at least one whitespace character between the variable name and the version.
14031403
14041404
3. The value of the variable must match a `SemVer`_ regular expression and can be

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "python-semantic-release"
9-
version = "10.4.1"
9+
version = "10.5.0"
1010
description = "Automatic Semantic Versioning for Python projects"
1111
requires-python = "~= 3.8"
1212
license = { text = "MIT" }

src/gh_action/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-semantic-release == 10.4.1
1+
python-semantic-release == 10.5.0

0 commit comments

Comments
 (0)