Changelog#

1.10#

1.10.0#

no release date

core#

  • [core] [breaking]

    version_callback option is used even if there are some tags in the current branch

  • [core] [feature]

    Remove all non-numeric symbols from version prefix, not just v

  • [core] [feature]

    Check version_callback option before checking a tag presence

config#

1.9#

1.9.2#

Released: 21.03.2022

general#

  • [general]

    Add setup_requires item to setup.py

1.9.1#

Released: 21.03.2022

general#

  • [general]

    Remove pyproject.toml file from .tag.gz package

1.9.0#

Released: 21.03.2022

general#

  • [general] [breaking]

    Drop Python 2.7, 3.5 and 3.6 support. Minimal supported Python version is now 3.7

core#

  • [core] [feature]

    Do not fail on toml and packaging modules import while installing setuptools-git-versioning from tag.gz file

ci#

  • [ci] [bug]

    Fix creating multiple releases for the same tag

1.8#

1.8.1#

Released: 10.01.2022

core#

  • [core] [bug]

    Fix issue with empty pyproject.toml

1.8.0#

Released: 07.01.2022

general#

  • [general] [breaking]

    Drop Python 3.3 and 3.4 support

    References: pull request 37

  • [general] [deprecated]

    Python 2.7, 3.5 and 3.6 support is deprecated due to their end of life.

    It will be completely removed in 2.0.0 release. A warning message is added

core#

  • [core] [deprecated]

    get_branch_tags function is renamed to get_tags.

    It will be removed in 2.0.0 release. A warning message is added

  • [core] [feature]

    Add support of reading config from pyproject.toml.

    Thanks to @Bloodmallet

    References: #35, pull request 37

  • [core] [feature]

    Allow to pass regexp to branch_formatter option

  • [core] [feature]

    Add tag_formatter option

    References: #31

  • [core] [feature]

    Allow nested default values to be passed to env substitution

config#

  • [config] [deprecated]

    version_config keyword in setup.py is renamed to setuptools_git_versioning.

    It will be removed in 2.0.0 release. A warning message is added

  • [config] [deprecated]

    Prefer using "enabled": True / "enabled": False option instead of pure boolean values (True, False) for config.

    Old behavior is deprecated and will be removed in 2.0 version. A warning message is added

docs#

  • [docs] [feature]

    Major docs improvement

  • [docs] [feature]

    Added CHANGELOG.rst

  • [docs]

    Add miniver and versioningit to comparison table

ci#

  • [ci] [feature]

    Check test coverage and fail if it has been decreased

  • [ci] [feature]

    Build docs using ReadTheDocs project

tests#

  • [tests] [feature]

    Add integration tests

1.7#

1.7.4#

Released: 31.10.2021

ci#

  • [ci] [feature]

    Change release workflow action from actions/create-release@v1 to softprops/action-gh-release@v1

    References: rac47f210

1.7.3#

Released: 31.10.2021

ci#

  • [ci] [feature]

    Change release workflow action from actions/create-release@v1 to softprops/action-gh-release@v1

    References: ra7af368f

1.7.2#

Released: 28.10.2021

core#

  • [core] [feature]

    String leading ‘v’ symbol from tag name

    References: #29, rc2ed0da8

1.7.1#

Released: 28.10.2021

core#

  • [core] [feature]

    String leading ‘v’ symbol from tag name

    References: #29, rb2da6fbc

1.7.0#

Released: 21.09.2021

core#

  • [core] [feature]

    Add support of env variables substitution

  • [core] [feature]

    Add support of timestamp substitution

1.6#

1.6.1#

Released: 16.09.2021

core#

  • [core] [bug]

    Fix sorting for annotated tags

    References: #23, rf59518bf

1.6.0#

Released: 15.09.2021

core#

  • [core] [bug]

    Sort tags by commit date instead of name

    References: #22, r22bc1db8

ci#

  • [ci] [feature]

    Add automerge action for ``precommit-ci ``bot

    References: r543615ba

  • [ci] [bug]

    Fix skipping duplicated runs

    References: rf43e6aa4

  • [ci] [bug]

    Fix tests workflow

    References: re9e13e93

  • [ci] [bug]

    Fix release pipeline

    References: rc081fb9ca

1.5#

1.5.0#

Released: 16.08.2021

docs#

  • [docs] [feature]

    Add resolution for issue when all versions produced by CI pipeline are dirty

    References: #17, pull request 16, rd81106fc

  • [docs]

    Add setuptools-scm and versioneer to comparison table

    References: #15, r147abff1

ci#

  • [ci] [feature]

    Skip duplicated Github Actions runs

    References: r42f6f066

dev#

  • [dev] [feature]

    Add pre-commit hooks and commit changes made by it

    References: rbe88c2ac

1.4#

1.4.0#

Released: 12.05.2021

core#

ci#

  • [ci] [bug]

    Use absolute paths in setup.py

    References: rb680f53f

dev#

1.3#

1.3.6#

Released: 12.03.2021

general#

  • [general] [bug]

    Update package short description

    References: rffebe6f0

  • [general]

    Set license in setup.py file

    References: rffebe6f0

1.3.5#

Released: 12.03.2021

docs#

  • [docs] [feature]

    Add license column into comparison table

    References: r813ef149

  • [docs] [bug]

    Fix comparison table typo

    References: r7ae433d6

1.3.4#

Released: 12.03.2021

docs#

  • [docs] [feature]

    Add list of supported substitutions into comparison table

    References: r0023523b

  • [docs]

    Add bad-setuptools-git-version and another-setuptools-git-version to comparison table

    References: r7143b97f

1.3.3#

Released: 12.03.2021

core#

1.3.2#

Released: 12.03.2021

docs#

  • [docs] [bug]

    Fix minor typos in documentation

1.3.1#

Released: 12.03.2021

core#

  • [core] [bug]

    Replace default suffix for dev and dirty versions from dev to post

    References: #10, r64e68cd4

docs#

  • [docs] [feature]

    Add Windows support column into comparison table

    References: #8, rcc5b03e2

  • [docs] [feature]

    Major documentation update

    References: #10, radf997c0

ci#

  • [ci] [bug]

    Fix Github Actions

    References: rbc87c4f2

1.3.0#

Released: 01.03.2021

core#

  • [core] [feature]

    Add full_sha substitution support

    References: #9, r5ac7d8fd

1.2#

1.2.10#

Released: 04.02.2021

core#

  • [core] [bug]

    Fix Windows compatibility

    References: #8, r96843236

ci#

1.2.9#

Released: 20.01.2021

ci#

1.2.8#

Released: 29.11.2020

docs#

1.2.7#

Released: 24.11.2020

core#

1.2.6#

Released: 07.10.2020

core#

  • [core] [bug]

    Fix version detection in case of missing .git folder

    References: rbc7e3500

1.2.5#

Released: 30.09.2020

dependency#

  • [dependency] [bug]

    Fix Python 2.7 dependencies

    References: r07addd87

1.2.4#

Released: 30.09.2020

dependency#

  • [dependency] [bug]

    Fix Python 2.7 dependencies

    References: r07b92afc

1.2.3#

Released: 16.09.2020

core#

  • [core] [feature]

    Add get_all_tags function

    References: rbee32404

  • [core] [feature]

    Add get_branch_tags function

    References: r1ed862d0

1.2.2#

Released: 14.09.2020

core#

  • [core] [bug]

    Fix building version from VERSION file

    References: r1ed862d0

1.2.1#

Released: 10.09.2020

core#

  • [core] [feature]

    Add count_commits_from_version_file option

    References: r5a47ac43

1.2.0#

Released: 10.09.2020

core#

  • [core] [feature]

    Add version_file option

    References: r5c4dd0f2

1.1#

1.1.14#

Released: 10.09.2020

core#

  • [core] [feature]

    Add version_callback option

    References: r4bce22ab

1.1.13#

Released: 21.08.2020

ci#

  • [ci] [bug]

    Use six module for accessing collections.abc

    References: #4, r4d57008d

1.1.12#

Released: 20.08.2020

ci#

  • [ci] [bug]

    Fix package name misspell

    References: #4, rb85a5e5d

1.1.11#

Released: 18.08.2020

dependency#

  • [dependency] [bug]

    Remove flake8 from requirements.txt

    References: r184e9670

1.1.10#

Released: 18.08.2020

dependency#

  • [dependency] [bug]

    Make setuptools version check less strict

    References: r119f98a0

1.1.9#

Released: 17.08.2020

general#

  • [general] [feature]

    Test Python 3.9 support

    References: r2fde432b

ci#

  • [ci] [bug]

    Include requirements.txt into .tar.gz file

    References: #3, rb07d4af6

1.1.8#

Released: 14.08.2020

general#

  • [general] [feature]

    Add Python 3.3 and 3.4 support

    References: rf9dfa1e6

1.1.7#

Released: 10.08.2020

ci#

  • [ci] [bug]

    Fix TravisCI deploy

    References: r777c1366

1.1.6#

no release date

core#

  • [core] [feature]

    Add backward compatibility with git < 2.2

    References: rf444bdd8

docs#

  • [docs] [feature]

    Add supported python versions badge

    References: r1686d25c

1.1.5#

Released: 07.08.2020

core#

1.1.4#

Released: 07.08.2020

core#

  • [core] [feature]

    Add branch substitution support

    References: r3c213500

1.1.3#

Released: 30.07.2020

core#

  • [core] [feature]

    Add starting_version option

    References: r85439b40

ci#

  • [ci] [bug]

    Fix TravisCI build

    References: rb2293faa

1.1.2#

Released: 29.07.2020

dependency#

  • [dependency] [bug]

    Fix requirements.txt

    References: r2966d03a

ci#

  • [ci] [bug]

    Fix Python 2 version build

    References: r98323c6c

1.1.1#

no release date

general#

  • [general] [feature]

    Change package name to setuptools-git-versioning and publish it on PyPi.org

    References: r7022ef37

1.1.0#

no release date

general#

core#

  • [core] [feature]

    Added Python2 support.

    Typehints moved to comments section. Python 3 syntax replaced with Python 2 compatible one

    References: rfd1fff57

  • [core] [feature]

    Make internal functions public

    References: rb133dce5

  • [core] [feature]

    Add get_tags method

    References: r2693ef5b