Tbump

Latest version: v6.11.0

Safety actively analyzes 640296 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

6.6.0

------------------

Add 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)

Add 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:

.. code-block:: toml

[[field]]
name = "prerelease"
default = ""

Other
+++++

* Relax dependency on `attrs` - we used to have ``attrs <20, >=19``, now we have ``attrs >= 20``.

6.5.0

------------------

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

6.4.1

-------------------

Add support for Python 3.10

6.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:

.. code-block:: toml

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

6.3.2

------------------

* Move out of the TankerHQ organization
* Fix bug in ``tbump init --pyproject``
* Allow usage of newer ``tomlkit`` versions

6.3.1

------------------

* Add a ``--no-tag-push`` option to create the tag but not push it

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.