Skip to content

Releases: callowayproject/bump-my-version

0.14.0

15 Dec 16:43
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed issue when adding files. 84556f8

  • Fixed missing requirement in GH action. 42bab83

  • Fixed regression regarding multiple changes in one file. e7a7629

    Changed the method of marking changes from a dict keyed by the file name to a list of FileChanges.

    FileChanges encapsulate a single change to a file.

  • Refactored logging to provide indented output. 4e68214

  • Refactored FileConfig to FileChange. 249a999

    This better describes what the class does: describe a file change.

    Also moved get_search_pattern to the class, since it is specific to each instance

  • Refactored config file management. a4c90b2

    Moved the INI format stuff into files_legacy.py

  • Fixes generate-requirements.sh to upgrade. 121ef69

New

  • Added caching to the resolved filemap. c96e0bd

  • Added custom GitHub action. 4ce17a9

  • Added indented logger to improve console output. d1d19e3

Updates

  • Changed the management of file changes. 909396d

    File changes are hashable to weed out duplication.

  • Removed some commented lines. 89686b8

0.13.0

09 Dec 15:29
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed import of extract_regex_flags. a980670

  • Fixed logging and regex regression in 3.11. cae12dc

  • Fixed issue with tag name. e218264

    Fixes #74

    current_version and tag_name now do not need to match exactly

  • Fixed logic in auto bump workflow. 909a53f

  • Fixes #85. 97049e0

    HG returns the tags in the order they were created so we want the last one in the list

  • Fixed autoversioning. a308a35

New

  • Added key_path to FileConfig. e160b40

    • Also made all attributes required except filename, glob, and key_path

Other

Updates

  • Refactored configuration file updating. e407974

    TOML files are parsed, specific values are updated, and re-written to avoid updating the wrong data.

    It uses a two-way parser, so all formatting and comments are maintained.

    INI-type configuration files use the old way, since that format is deprecated.

0.12.0

09 Dec 15:12
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed versioning. 8769671

  • Fix dev versioning with PR number. 463082b

  • Fix dev versioning. 1eed99b

    • added an echo of the PR_NUMBER
  • Fix versioning of development versions. e89599f

  • Fixes workflows. 5ebb0d7

  • Fixed bug #65 where glob'd files weren't used. 357b9dc

New

Other

Updates

  • Changed the default regex search to non-regex. 0034716

    Fixes #59

    • Changed the flags to --regex/--no-regex
    • updated tests and docs

0.11.0

25 Sep 23:33
Compare
Choose a tag to compare

Compare the full difference.

Other

Updates

  • Removed bumpversion as a duplicate of the bump-my-version script. a59ced8

  • Updated dependency from Pydantic 1 to 2. 577aa4c

0.10.0

05 Sep 11:49
Compare
Choose a tag to compare

Compare the full difference.

Updates

  • Refactored file resolution, inclusion, and exclusion. 646af54

    • Fixes #61
    • Config now includes resolved_filemap property
    • resolved filemap exapands all globs
    • Config now includes files_to_modify property
    • files to modify resolves inclusions and exclutions
    • Improved Config.add_files property

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