Skip to content

Releases: callowayproject/bump-my-version

0.9.3

25 Aug 14:21
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed file configuration overrides. c1ef3b2

    Fixes #55

    The file config was ignoring falsey values when constructing the dict.

    It now ignores None values.

  • Fixed documentation regarding regex config. cd71a1a

    • TOML requires the double backslash while INI doesn't
  • Fixed requirements for docs. 7856ee0

New

  • Added documentation building workflow. 48980d7

Other

Updates

  • Removed mentions of Python 3.7. a91f690

0.9.2

07 Aug 14:14
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed modified context when committing. 130bbe0

    • Resets the context before committing and tagging
    • Fixes #14

0.9.1

03 Aug 12:59
Compare
Choose a tag to compare

Compare the full difference.

Other

Updates

  • Remove pygments_style from docsrc/conf.py. 32798a9

    The theme defaults, subjectively, look better.

0.9.0

03 Aug 12:43
Compare
Choose a tag to compare

Compare the full difference.

New

  • Added documentation about regular expressions. 449b70a

  • Added configuration and command-line no_regex option. a295a32

    • Global and individual file configurations available for no_regex
    • Command-line flag --no-regex flag added for bump and replace sub-commands
  • Adds regular expression searching ability. 0210d74

    • Search strings are treated as regular expressions after the initial substitution
  • Added deprecation warning on .cfg files. a0481b7

0.8.0

13 Jul 17:20
Compare
Choose a tag to compare

Compare the full difference.

New

  • Added documentation for ignore missing version. e0731c3

  • Added --ignore-missing-version flag to bump and replace. a5bd008

  • Added ignore-missing-version configuration. 45c85be

    • Defaults to False
    • File configurations can also override this value
  • Added deprecation warnings. 733438b

    • --list option will go bye-bye in 1.0
    • calling bumpversion without a subcomand will leave in 1.0

0.7.1

12 Jul 12:36
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fix search and replace options for replace. 781e8d8

    • The --search and --replace options now completely override any other search and replace logic.

    Fixes #34

Other

0.7.0

10 Jul 14:56
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed test coverage. 3fe96f0

  • Fixed wrong pydantic version pinning. d4b125e

  • Fixed typing issue. bfe5306

    • Declared SourceCodeManager attributes as ClassVar[List[str]]
    • _TEST_USABLE_COMMAND, _COMMIT_COMMAND, and _ALL_TAGS_COMMAND affected

New

  • Added tests for CLI replace command. a53cddc

  • Added and re-organized documentation. c62d65e

  • Added replace subcommand. 8722a0f

    • Works just like bump but

      • doesn't do any version incrementing
      • Will not change the configuration file
      • Will not commit or tag
    • Can use bumpversion show new_version --increment <versionpart> to see what the new version would be

  • Adds short_branch_name to version rendering context. 7f7e50c

    • short_branch_name is the branch name, lower case, containing only a-z and 0-9, and truncated to 20 characters.

    Fixes #28

Other

0.6.0

23 Jun 19:40
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed --help and bump invocations. 9d965e5

    • --help works for individual sub-commands, but not for the command
    • bump now works and fixed tests
  • Fixed issue regarding TOML types. 8960d24

    • tomlkit.parse() returns a TOMLDocument.
    • unwrap() converts it into a dict

New

  • Adds branch_name to SCM information. 173be1a

  • Added documentation for the show command. d537274

  • Adds --increment option to show subcommand. b01fffc

    • when specified it increments the current version and adds new_version to the available output.
  • Added show subcommand. 9bce887

    • supersedes the --list option
    • provides much more capability
    • Can output in YAML, JSON, and default
    • Can specify one or more items to display
    • Can use dotted-notation to pull items from nested data structures.

Updates

  • Changes bump-my-version into subcommands. 31ffbcf

    • Is backwards-compatible with previous versions
    • bump-my-version forwards command to bump-my-version bump subcommand
    • Only problem is that Click will not show help automatically, must provide --help

0.5.1

14 Jun 15:03
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixes reporting the wrong version missing in a file. efb04e9

    • Fixes issue #20
    • Renders the correct current_version for each file being modified.

Other

0.5.0

12 Jun 14:03
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed ruff complaints about subprocess. c429c68

  • Fixed issue with formatting. da7544f

    There is an underlying edge case where the deriving previous environment variables with multple ways of formatting version numbers will fail.

New

  • Add test to reproduce issue #14. d78ff46

  • Added documentation for replacing strings in different files. 893ec03

    Fixes #6

Other

  • Made VERSION_PART optional. f236b7d

    • Fixes #16
    • VERSION_PART is detected from the arguments based on the configuration

Updates

  • Updated docs indicated VERSION_PART is optional. 22edeac

  • Updated tests for bad version parts. 23be62d

  • Changed exception type raised when bad version part is detected. 1e3ebc5

    • ValueError -> click.BadArgumentUsage
  • Updated readme. 7780265

    Fixes #7