Releases: your-tools/tbump
v6.11.0
Atomic pushes, introduced in tbump 6.5, are not supported everywhere.
Starting with this release, you can now set atomic_push=false
in the [git]
section of the config file to use the old behavior
(pushing the branch and the tag separately).
Inital patch by @mlongtin0
v6.10.0
Bug fixes
- Fix #156, where the
pyproject.toml
file could not be parsed - patch by @vipcxj - Fix #158 : also display changes when setting the current version in
thepyproject.toml
ortbump.toml
files
Other
- Bump some dependencies
- Add
--tag-message
command line option to specify a custom tag message
(by default it's the same as the tag name) - Patch by Michael Boulton - @michaelboulton - Add support for Python 3.11
v6.9.0
- Add
tbump current-version
command, to print the current version.
Path by @blink1073
v6.8.0
- Allow usage of
python -m tbump
in addtion to justtbump
v6.7.0
- Drop support for Python 3.6
- Drop dependency on
attr
v6.6.1
- Relax dependency on
cli-ui
- Use a better example in the README (patch by @umonoca)
v6.6.0
Support for other config paths
Added -c, --config
to tbump
command line, allowing using
a different config file than tbump.toml
(based on early work by
@achary)
Support default values for versions fields
Added new [[field]]
option for setting default values for version fields
with no match in the version regex (e.g. prerelease fields),
avoiding errors when these fields are present in a version_template.
Patch by @minrk.
For example::
[[field]]
name = "prerelease"
default = ""
Other
- Relax dependency on
attrs
- we used to haveattrs <20, >=19
, now we haveattrs >= 20
.
v6.5.0
Instead of pushing twice, which spawns two workflows, tbump
now runs
git push --atomic <remote> <branch> <tag>
. Patch by @InCogNiTo124.
v6.4.1
Add support for Python 3.10
v6.4.0
Breaking change
If you are using tbump
with a pyproject.toml
to bump a project using poetry
,
you may have found that the version
key in [tool.poetry]
was implicitly bumped.
This was considered to be a bug, which means you now have to tell tbump
about poetry
explicitly:
# new
[[tool.tbump.file]]
src = "pyproject.toml"
search = 'version = "{current_version}"'
Bug fixes
- Fix #103: Invalid config: Key 'file' error using pyproject.toml, caused by an update in
tomlkit
- Fix #93: Do not patch version in
[tool.poetry]
implicitly
Misc
- Default development branch is now called
main
. - Make all
tbump
imports consistent - Fix compatibly with Python 3.10