Skip to content

Releases: your-tools/tbump

v6.11.0

09 Sep 11:24
Compare
Choose a tag to compare

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

21 May 15:04
Compare
Choose a tag to compare

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
    the pyproject.toml or tbump.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

14 May 14:58
Compare
Choose a tag to compare
  • Add tbump current-version command, to print the current version.
    Path by @blink1073

v6.8.0

27 Mar 12:38
Compare
Choose a tag to compare
  • Allow usage of python -m tbump in addtion to just tbump

v6.7.0

22 Dec 19:37
Compare
Choose a tag to compare
  • Drop support for Python 3.6
  • Drop dependency on attr

v6.6.1

17 Dec 08:56
Compare
Choose a tag to compare
  • Relax dependency on cli-ui
  • Use a better example in the README (patch by @umonoca)

v6.6.0

11 Nov 13:49
Compare
Choose a tag to compare

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 have attrs <20, >=19, now we have attrs >= 20.

v6.5.0

16 Oct 19:09
Compare
Choose a tag to compare

Instead of pushing twice, which spawns two workflows, tbump now runs
git push --atomic <remote> <branch> <tag>. Patch by @InCogNiTo124.

v6.4.1

05 Oct 09:40
Compare
Choose a tag to compare

Add support for Python 3.10

v6.4.0

14 Sep 13:34
Compare
Choose a tag to compare

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