- Fix format arg help text for show command. cf65ec2
-
[pre-commit.ci] pre-commit autoupdate. 9fb0347
updates: - github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.1
-
Output hooks scripts by default. 0a042aa
-
Skip scm tests if the command is not installed. 2e68517
-
Added container labels and version hooks. d4cb8f2
-
Add Docker support and configure Dependabot for Docker updates. 0315db4
Introduce a Dockerfile for containerized environments and add a .dockerignore file to exclude unnecessary files. Also, update dependabot.yml to include daily checks for Docker image updates.
-
Add
inputs
section in GHA workflow example. 813e7f5
-
Switch from ADD to COPY in Dockerfile. a5fc5c0
This change updates the Dockerfile to use the COPY instruction instead of ADD. COPY is preferred when only copying files because it is more explicit and simpler.
-
[pre-commit.ci] pre-commit autoupdate. 7c48f98
updates: - github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.6.9
- Changed dependency manager to uv. cce9e1d
-
Fixed test to look for warning logs. 538c420
-
Refactor and enhance error handling. c84bfa7
Updated subprocess calls to disable check, refined lint configurations, fixed type annotations and exceptions, and improved dictionary path validation.
-
Add HookError for failed hook execution with tests. 39fc233
Raise HookError when a hook script exits with a non-zero status. Modified logger to display warnings instead of debug messages in such scenarios. Added tests to ensure exceptions are raised for failed hooks.
-
[pre-commit.ci] pre-commit autoupdate. 130478d
updates: - github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.7
-
Create FUNDING.yml. 2bda200
-
Fixed missing new version info in some hook environments. 24a9bdc
Introduce the
new_version_env
function and update existing functions (get_setup_hook_env
andget_pre_commit_hook_env
) to include new version environment variables. Added new tests for verifying the inclusion of OS, SCM, current, and new version information in hook environments.
-
Add current and previous version outputs to the GHA. 0650ca8
-
Add environment variable to README example. 88c9790
-
Add GitHub action with support for commit/tag push workflow trigger. 2cdb742
-
[pre-commit.ci] pre-commit autoupdate. d21d6df
updates: - github.com/astral-sh/ruff-pre-commit: v0.6.2 → v0.6.4
-
[pre-commit.ci] pre-commit autoupdate. b6773ac
updates: - github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.2
-
Updated pre-commit versions. 6f5d56b
-
Update example to better showcase the GHA capabilities. e3ff9a1
-
Update README.md. f280371
-
Added hook suite documentation. b73a6e1
-
Added hooks to bump command. 3b638e0
-
Added tests for hooks. 8446567
-
Add hooks configuration fields. d6b24f0
Introduced
setup_hooks
,pre_bump_hooks
, andpost_bump_hooks
fields to configuration models. Updated corresponding test fixtures to verify these new fields. -
Add current_tag field to scm_info. 304c599
Updated the scm_info structure to include a new field, current_tag, across various configuration files and source code. This ensures that the current tag is tracked and represented in the output formats correctly.
-
Enhance hook handling and testing across hook types. 49f1953
-
Introduced unified handling for setup, pre-commit, and post-commit hooks, including dry-run support.
-
Added comprehensive tests to ensure the correct behavior for all hook phases, including cases where no hooks are specified or in dry run mode.
-
Updated environment setup to use a common version environment function.
-
-
[pre-commit.ci] pre-commit autoupdate. 4342198
updates: - github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.5.7
-
Changed the terminology for hooks. 049b470
Change pre-bump and post-bump to pre-commit and post-commit to better indicate their order of operations.
-
Fixed terminology in tests. 0338da2
Updated test parameter and assertion messages to use "version component" instead of "version part" for clarity and consistency. This change affects the test cases that detect bad or missing version inputs.
-
Fixed documentation layout. 57958ea
-
Fixed inconsistent terms in docstrings. dfdf23e
- Switched from using both version parts and version components to simply version components.
-
Refactor version parsing in visualize function. 5f25300
Simplify the version parsing process by utilizing the raise_error parameter in the parse method, removing the need for a separate error check. This change ensures that parsing errors are immediately raised and handled cleanly within the visualize function.
-
Refactor and rename
version_part
toversioning.version_config
. 5b90817Moved
version_part.py
toversioning/version_config.py
and updated all import statements accordingly. Enhanced error handling inVersionConfig
by addingraise_error
flag and relevant exception raising for invalid version strings. Refined tests to reflect these changes. -
Fix version visualization and add verbose logging. ad46978
Raise an exception for unparsable versions and aggregate visualization output in a list before printing. Add a verbose logging option to the
show_bump
command for detailed logging control.
-
Fix JSON serialization. d3f3022
Extended the default_encoder function to handle Path objects by converting them to their string representation. This ensures that Path objects can be properly serialized to JSON format.
-
Fixes mypy pre-commit checking. f7d0909
-
Fixes repository path checks. ff3f72a
Checked for relative paths when determining if the file was part of the repo or not.
-
Fixed test to use globs. 72f9841
-
[pre-commit.ci] pre-commit autoupdate. 58cc73e
updates: - github.com/astral-sh/ruff-pre-commit: v0.5.5 → v0.5.6
-
Refactor error handling and improve logging in utils. 890b692
Extracted error formatting to a dedicated function and applied it across the codebase. Improved command path handling in
add_path
and enhanced test coverage with necessary imports and logging configurations. -
Fix dictionary merging in SCMInfo. 5fb5ef2
Replaced the bitwise OR operator with the update method for merging dictionaries for 3.8 support
-
Refactor SCM info retrieval and config file update checks. 500ecd3
Replaced ChainMap with MutableMapping in function signatures and types. Enhanced SCM info handling by splitting code into dedicated methods for commit and revision info retrieval. Added logic to prevent config file updates when the file is outside the repo and implemented corresponding test.
-
Add repository_root field and refactor subprocess handling. 25670d0
Introduced the
repository_root
field to store the root path of the repository in the data classes. Refactored subprocess handling to use a newrun_command
utility for improved readability and error handling consistency. Removed unnecessary dependency from.pre-commit-config.yaml
to streamline dependencies.
-
Simplify run_command return type. b91224e
Changed the return type of run_command from CompletedProcess[str] to CompletedProcess. This was done to remove unnecessary type specificity and ensure compatibility with different Python versions. The update maintains functionality and improves code readability.
-
[pre-commit.ci] pre-commit autoupdate. e0ba544
updates: - github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.5
-
Fix KeyError in TOML file handling. f3c328a
The code has been updated to handle KeyErrors when updating TOML files. If a KeyError is raised, it's now caught and managed depending on the file_change attributes 'ignore_missing_file' or 'ignore_missing_version'. This aims to provide more robust handling of edge cases in TOML files. In addition, a new test case has been added to ensure current version is not required in the configuration.
Fixes #212
-
[pre-commit.ci] pre-commit autoupdate. 536c7b1
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.2
-
Fixed tag version extraction. 67eea3d
The output of
git describe
uses-
as a delimiter. Parsing tags caused splits in the parsing of version numbers.This joins all the remaining parts of the
git describe
with a-
. -
Fixed pydoclint configuration. 0386073
-
Refactor error handling in SCM and add error handling test. 7ca6356
This commit includes a new test in test_scm.py to verify the correct formatting and raising of subprocess errors in the SCM module. Additionally, the subprocess error handling has been refactored in the SCM module to include a new method, format_and_raise_error, for improved code readability and reusability.
-
[pre-commit.ci] pre-commit autoupdate. 60acc2d
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.4.10
-
Add VersionNotFoundError test in test_bump.py. cb050a8
The code in test_bump.py file has been modified to include a test for VersionNotFoundError exception. This ensures that the implementation properly handles cases where a specified version could not be found.
-
Add test for no commit on modification error. 7527029
A test has been added to the bumpversion library to ensure that no commit and tag is made if there is an error modification. Specifically, the test checks the "do_bump" function and asserts that "mock_commit_and_tag" and "mock_update_config_file" are not called under these conditions.
-
[pre-commit.ci] pre-commit autoupdate. 0e3a154
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.4.9
-
Improve error message for SCM command failures. 8f72f86
The error message for failures in the SCM command execution has been enhanced. Now it displays not only the command's return code but also the standard output and error, improving the debugging process.
-
Refactor valid_bumps and invalid_bumps to include_bumps and exclude_bumps. 2df57cc
The configuration parameters
valid_bumps
andinvalid_bumps
were renamed toinclude_bumps
andexclude_bumps
respectively. This new naming better denotes their function, and the changes were consistently applied across all related files and tests. Numerous fixture outputs were also updated to reflect these changes. -
Fixed spelling in CODE_OF_CONDUCT.md. 254ea44
-
Add file filtering based on valid and invalid bumps. f9f7f96
This commit introduces the ability to filter files based on whether the specified bump type is valid or not. It adds
valid_bumps
andinvalid_bumps
lists in the file configurations and adjusts the bumping process to consider these configurations. Tests are updated to reflect these new handling of valid and invalid bumps. -
Add new files to .gitignore. 34e4dc1
Several new file types have been added to .gitignore for ignoring during commits. These include '.python-version', 'requirements-dev.lock', and 'requirements.lock' files.
-
Add valid_bumps and invalid_bumps to file configuration. 9458851
Updated the configuration file model to support valid_bumps and invalid_bumps. This feature provides control over which version section updates can trigger file changes. Adjusted various test fixtures and cleaned up tests to match these changes. Also, some updates were made to the documentation accordingly.
-
[pre-commit.ci] pre-commit autoupdate. e44f6af
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.8
-
Update documentation for clarification. 2224808
The changes made update the wording in the documentation to clarify the roles of
include_bumps
andexclude_bumps
in the bump-my-version configuration. Additionally, unnecessary repetition was removed and overlapping examples were also corrected. -
Update docs/reference/configuration.md. 7c801c0
co-authored-by: wkoot [email protected]
-
Add extensive documentation for the 'show' subcommand. 91409d8
This commit adds extensive documentation for the
show
subcommand in the program's reference. It also includes smaller updates and corrections to other parts of the documentation. An in-depth example usage ofshow
is added both to the dedicatedshow.md
file and in the function's docstring.
- Renamed version workflow to release. 68f9eee
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. 1b57c2b
for more information, see https://pre-commit.ci
-
[pre-commit.ci] pre-commit autoupdate. e813eda
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4
-
[pre-commit.ci] pre-commit autoupdate. 05a0dd6
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3
- Update README.md. cad7096
-
Fixed a bug in the glob tests. 1041fe9
Was not properly looking in the correct relative directories.
-
Fixed test for Windows glob paths. ea45c4c
-
Fixed exclusion logic with wcmatch. 1c391be
-
Refactored glob matching to use the wcmatch library. bbf4ae0
-
Adds
glob_exclude
file specification parameter. 420e3bdUser can prune the files resolved via the
glob
parameter.Fixes #184
-
[pre-commit.ci] pre-commit autoupdate. ce02aa7
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2
-
Fixed test logging setup. 3777f27
-
Fixed the indentation problem. ec3cd99
- Added a dedent when a file does not match the change pattern.
- Fixes #181
-
[pre-commit.ci] pre-commit autoupdate. e916f87
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1
-
Fixed the rendering of numeric version components. c522c75
- Numeric version components now will attempt to render its value as an integer and fall back to the parsed value.
-
Fixed code block in the README. b4ff9f3
-
[pre-commit.ci] pre-commit autoupdate. 9b09da8
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7
-
Fix typos discovered by codespell. d5c33a3
-
Fixed relative references. 2aa1011
-
Refactored the docs. b63a9e7
-
[pre-commit.ci] pre-commit autoupdate. f438bc6
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.3.5
-
Pre-commit: Discover typos with codespell. 2509fc7
Related to:
- #168
-
[pre-commit.ci] pre-commit autoupdate. be5cb79
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.3.4
- Refactored context into its own module. 5a3e05d
-
Added
always_increment
attribute for parts. 53ee848This is a requirement for CalVer to ensure they always increment with each bump, but it will work for any type.
-
Added CalVer function and formatting. 7a0e639
- Version parts now have a
calver_format
attribute for CalVer parts.
- Version parts now have a
- Updated the documentation. 607609d
-
Fixed packaging of dev releases. 84254e0
-
Fixed platform-dependent encoding. f8b4d65
- Added
encoding="utf-8"
to all writes.
- Added
-
Fixed version.yaml workflow. 10b007c
-
[pre-commit.ci] pre-commit autoupdate. e92000a
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.2 → v0.3.3
-
Bump the github-actions group with 3 updates. a422c58
Bumps the github-actions group with 3 updates: actions/checkout, actions/setup-python and codecov/codecov-action.
Updates
actions/checkout
from 3 to 4Updates
actions/setup-python
from 4 to 5Updates
codecov/codecov-action
from 3 to 4
updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions
signed-off-by: dependabot[bot] [email protected]
-
Keep GitHub Actions up to date with GitHub's Dependabot. 2e55fa1
-
Fixed bad options not returning an error code. e88f0a9
Fixes #153
-
Fix issue on version.yaml. 7d14065
- Fix commas in legacy multiline options. 62dfe8e
- Added manual version bumping in the GitHub action. c9d67b5
-
[pre-commit.ci] pre-commit autoupdate. be1a568
updates: - github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2
- Fixing version hint generation. ae1732b
-
Removes ability to call the CLI without subcommand. e56c944
BREAKING CHANGE: You must use bump-my-version bump
-
Fixed --ignore-missing-version and --ignore-missing-files options. 7635873
The CLI options were defaulting to
False
when missing. This overrode the configuration.Fixes #140
- Fixed docs and cli help. 8ac1087
-
Fixed type annotation in config. 2988ede
-
Fixed naming issue for docs. 2850aa7
- renamed changelog.md and contributing.md
-
Added how-to doc. 68643a9
- "How to update a date in a file"
-
[pre-commit.ci] pre-commit autoupdate. c495d3d
updates: - github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.2.2
- Updated docs and styles. f4f75fa
-
Added
--ignore-missing-files
option to bump. fcfaac7 -
Added configuration option
ignore_missing_files
. b473a19
-
[pre-commit.ci] pre-commit autoupdate. 491b4aa
updates: - github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0
-
Refactored VersionComponentConfig to VersionComponentSpec. b538308
More consistent with VersionSpec
- Added mental model documentation. 5cbd250
-
[pre-commit.ci] pre-commit autoupdate. a2a3fe6
updates: - github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.1.14
- Updated more documentation. 779c84c
-
Fixed some tests. 593a4ee
-
Refactored serialization. 0ac2cd8
- Moved serialization from VersionConfig to version.serialization
-
Fixed extra capture group in PEP440 parser. 384fd99
-
Refactored verioning models. 88e7f71
- created a "conventions" module for future release
- added an optional
depends_on
version component configuration - The
depends_on
is required for PEP440 versioning
-
Fixed None as value for a function. f8c4d05
- Turns None into an empty string
-
Fixed bad imports. 5c86d51
-
Refactored versioning models and tests. 7d05414
-
Refactored version parsing. 5ed546b
-
Refactored versioning functions and version parts. be87721
-
Fixed timezone of a test. 0e01253
-
Fixed Py3.8 type annotation. c15b23b
-
Fixed some output in visualizing. 406f97a
-
Fixed bad type annotation. 8f4bedf
-
Fixed bad test imports. a74342b
-
Refactored the create subcommand. f529d28
- Also organized the CLI tests
-
Added
show-bump
subcommand. 0bbd814- Shows possible resulting versions of the
bump
command
- Shows possible resulting versions of the
-
Added sample-config feature. 3d0f67d
- Initial implementation
- Updated documentation. 4f90348
-
Fixed a bad import. 46c9c48
-
Fixed extra whitespace added when updating pyproject.toml. 839f17f
-
Removed dotted-notation from requirements. There is an issue on how dotted-notation sets values in the TOMLkit data structure.
-
Added
get_nested_value
andset_nested_value
as replacements for dotted-notation.
-
-
[pre-commit.ci] pre-commit autoupdate. ee4d2f3
updates: - github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.1.11
-
Fixed empty string replacement bug. d9965ab
Only a missing replacement value will trigger one of the fallback options.
Fixes #117
- Add support for legacy multiline search options (refs #98). 278eae5
-
[pre-commit.ci] pre-commit autoupdate. 2e9a400
updates: - github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.1.9
-
Fix not being able to tag without also committing. 753c990
-
Fixed testing automation. 19215f1
- The new commit/tag decoupling requires the
--no-tag
flag
- The new commit/tag decoupling requires the
-
Fix miscast of current_version. b8ea252
- When using the legacy configuration format, a single-digit version is parsed as an int
Fixes #99
-
Fixed regression in config update. 2bbbd74
Fixes #108
- Added a test case for line-start regexes. ef4823c
-
Fixes workflow triggers. 690452e
-
Fixes mismatched artifact up/downloading versions. 3f61742
-
Fixed PR_NUMBER retrieval. 85a8b48
-
Fixes committing and download-artifact. 12ba54f
-
Refactored workflows. d2f30a8
- Changed the triggers to cause runs. 23e6c18
- Fixed requirements for github action. d96e07a
-
Changed default regex CLI value to None. 93191f3
Fixes #64
The default value of False was overriding other values.
-
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
-
Added caching to the resolved filemap. c96e0bd
-
Added custom GitHub action. 4ce17a9
-
Added indented logger to improve console output. d1d19e3
-
Changed the management of file changes. 909396d
File changes are hashable to weed out duplication.
-
Removed some commented lines. 89686b8
-
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
-
HG returns the tags in the order they were created so we want the last one in the list
-
Fixed autoversioning. a308a35
-
Added key_path to FileConfig. e160b40
- Also made all attributes required except
filename
,glob
, andkey_path
- Also made all attributes required except
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. 8188a42
for more information, see https://pre-commit.ci
-
[pre-commit.ci] pre-commit autoupdate. 4c81ad4
updates: - github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.5
-
[pre-commit.ci] pre-commit autoupdate. 7109d70
updates: - github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.6
-
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.
-
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
-
Add -h for help option. fda71b0
Fixes #67
-
Drop Python3.7 as compatible version. 890edc8
Since this is no longer tested, it's safer to start at 3.8.
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. fbcef03
for more information, see https://pre-commit.ci
-
Recommend calling 'bump-my-version' instead of 'bumpversion'. 9fb1a1d
-
[pre-commit.ci] pre-commit autoupdate. e2579d6
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.0.292
-
[pre-commit.ci] pre-commit autoupdate. e21fdd9
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.1.1
-
[pre-commit.ci] pre-commit autoupdate. 7e5d1bc
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.1.3
-
Changed the default regex search to non-regex. 0034716
Fixes #59
- Changed the flags to --regex/--no-regex
- updated tests and docs
-
[pre-commit.ci] pre-commit autoupdate. 4a3d046
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.290
-
Removed bumpversion as a duplicate of the bump-my-version script. a59ced8
-
Updated dependency from Pydantic 1 to 2. 577aa4c
-
Refactored file resolution, inclusion, and exclusion. 646af54
- Fixes #61
- Config now includes
resolved_filemap
property - resolved filemap expands all globs
- Config now includes
files_to_modify
property - files to modify resolves inclusions and exclutions
- Improved Config.add_files property
-
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
- Added documentation building workflow. 48980d7
-
[pre-commit.ci] pre-commit autoupdate. 7c38c40
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.284 → v0.0.285
-
[pre-commit.ci] pre-commit autoupdate. c30bd12
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.282 → v0.0.284
-
[pre-commit.ci] pre-commit autoupdate. 95c89fb
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.281 → v0.0.282
- Removed mentions of Python 3.7. a91f690
-
Fixed modified context when committing. 130bbe0
- Resets the context before committing and tagging
- Fixes #14
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. 4b457d0
for more information, see https://pre-commit.ci
-
[pre-commit.ci] pre-commit autoupdate. adb7e4c
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.277 → v0.0.281
-
Remove
pygments_style
from docsrc/conf.py. 32798a9The theme defaults, subjectively, look better.
-
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 forbump
andreplace
sub-commands
- Global and individual file configurations available for
-
Adds regular expression searching ability. 0210d74
- Search strings are treated as regular expressions after the initial substitution
-
Added deprecation warning on .cfg files. a0481b7
-
Added documentation for ignore missing version. e0731c3
-
Added
--ignore-missing-version
flag tobump
andreplace
. a5bd008 -
Added
ignore-missing-version
configuration. 45c85be- Defaults to
False
- File configurations can also override this value
- Defaults to
-
Added deprecation warnings. 733438b
--list
option will go bye-bye in 1.0- calling
bumpversion
without a subcomand will leave in 1.0
-
Fix search and replace options for replace. 781e8d8
- The
--search
and--replace
options now completely override any other search and replace logic.
Fixes #34
- The
-
[pre-commit.ci] pre-commit autoupdate. 531738d
updates: - github.com/astral-sh/ruff-pre-commit: v0.0.276 → v0.0.277
-
[pre-commit.ci] pre-commit autoupdate. 61e6747
updates: - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit
-
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
- Declared SourceCodeManager attributes as
-
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. 7f7e50cshort_branch_name
is the branch name, lower case, containing only a-z and 0-9, and truncated to 20 characters.
Fixes #28
-
Check config before tagging. 3a6e3ee
-
Format version parts. ee43bdb
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. 5e6f566
for more information, see https://pre-commit.ci
-
[pre-commit.ci] pre-commit autoupdate. f1acd35
updates: - github.com/charliermarsh/ruff-pre-commit: v0.0.272 → v0.0.275
-
Fixed
--help
andbump
invocations. 9d965e5--help
works for individual sub-commands, but not for the commandbump
now works and fixed tests
-
Fixed issue regarding TOML types. 8960d24
tomlkit.parse()
returns aTOMLDocument
.unwrap()
converts it into adict
-
Adds
branch_name
to SCM information. 173be1a -
Added documentation for the show command. d537274
-
Adds
--increment
option toshow
subcommand. b01fffc- when specified it increments the current version and adds
new_version
to the available output.
- when specified it increments the current version and adds
-
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.
- supersedes the
-
Changes bump-my-version into subcommands. 31ffbcf
- Is backwards-compatible with previous versions
bump-my-version
forwards command tobump-my-version bump
subcommand- Only problem is that Click will not show help automatically, must provide
--help
-
Fixes reporting the wrong version missing in a file. efb04e9
- Fixes issue #20
- Renders the correct
current_version
for each file being modified.
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. 5476cdf
for more information, see https://pre-commit.ci
-
[pre-commit.ci] pre-commit autoupdate. 6e500c2
updates: - github.com/charliermarsh/ruff-pre-commit: v0.0.270 → v0.0.272
-
Fixed ruff complaints about subprocess. c429c68
-
Fixed issue with formatting. da7544f
There is an underlying edge case where the deriving previous environment variables with multiple ways of formatting version numbers will fail.
-
Add test to reproduce issue #14. d78ff46
-
Added documentation for replacing strings in different files. 893ec03
Fixes #6
-
Made
VERSION_PART
optional. f236b7d- Fixes #16
VERSION_PART
is detected from the arguments based on the configuration
-
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
-
Fixes release.yaml. 01870d5
Outputs the notes to a file instead of an environment variable.
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. 266002f
for more information, see https://pre-commit.ci
-
[pre-commit.ci] pre-commit autoupdate. edc444f
updates: - github.com/charliermarsh/ruff-pre-commit: v0.0.261 → v0.0.270
-
Fixed pre-commit hook for dependency checking. 3d5c253
-
Fixed installing test dependencies. c1034eb
-
Fixed dependency spec. 4782745
-
Fixed missing python in pypi test. e5ed27d
-
Fixed some CI issues. d4b03d7
-
Fixed vague commit and tagging info. 4fb5158
-
If commit is configured false, it will report that it will not commit
-
If commit is configured false, tagging is disabled and it reports that
-
If tagging is configured false, it will report it is not tagging
-
-
Fixes test package. 7c12072
- The build-and-inspect action didn't save the dist packages
-
Added tests for logging branches. f8f0278
-
Added path restrictions on release-hints. e1af658
-
Added test build to CI. 8738f3f
-
Added doc files to table of contents. 49858c0
-
Completely migrated setuptools to use pyproject.toml. f10f8b2
-
[pre-commit.ci] pre-commit autoupdate. d626f7d
updates: - https://github.com/python/black → https://github.com/psf/black
-
Removed pre-commit dependency hook. ac6cdd0
-
Changed the version serialization. c529452
- can bump "dev" to get a development release
-
Updated formatting documentation. 8006f3e
-
Fixed bug in SCMInfo setup. e8fddc9
-
Fixed missing xml coverage report. 696503f
-
Fixed assertion in failing test. 7afe58c
-
Fixes issue when new version equals current version. 64b0de3
- Now it reports they are the same and exits.
-
Fixes issue of duplicate tags. c025650
- Now it checks if the tag exists and reports a warning
-
Fixed automation tooling. 19f13b7
- changed name to bump-my-version in setup.cfg
- added PAT in release pipeline to (hopefully) allow committing and tagging to master without issue.
- Added codecov to workflow. a5009e0
- Migrated setuptools metadata to pyproject.toml. 0bd54dc
-
Fixed configuration to allow_dirty in bumpversion. b042e31
-
Fixes issue with generate-changelog and git. 2a977af
-
Fixes the quoting in the bumpversion expressions. 9a55d6d
-
Fixed issue with windows testing. b8abc44
- different methods for reporting paths was resolved by casting them the pathlib.Paths
-
Fixes windows testing error. 556853b
- the differences in path specifications seems to be causing problems.
-
Fixed type issue in Python 3.7, 3.8. ddfd3bf
-
Fixed configuration file detection. fbf85c2
Doesn't just stop when it finds one, it checks for the existence of the header.
-
Fixed logging output and output in general. 0aea9dc
-
Added additional option to manual runs: verbose. 81eb097
-
Added new workflows. a9cac5b
-
Added bumpversion.yaml to increase the version when a PR is closed
-
Added release.yaml to create a github release and upload things to PyPI
-
-
Added PYTHONUTF8 mode. 91a73e2
-
Added explicit environment variable declarations. 80fe7ef
-
Added a github CI workflow. 2b3b358
-
Added files for coverage to ignore. cfbba08
- main.py
- aliases.py
-
Added LICENSE. 34a9be5
-
Added tests for version parsing errors. 71a204b
-
Added utf8 test in files. 9cb8f60
-
Added more tests for scm. fe794dd
-
Added --list function. 88709fd
-
Removing testing for Python 3.7. 19eaeef
-
Moved configuration to pyproject.toml. d339007
-
Initial conversion. f5d1cab
-
Initial commit. d7dec79
-
Updated workflows. 857835d
- Added better changelog parsing
- Added workflow dispatch inputs for manual runs
-
Improved documentation. f3b7a0f
-
Renamed tox job to test. a9b6db3
-
Updated README and other documentation. e0cebb3
-
Improved Mercurial support. 560999d
-
Improved logging output. 6ccfa7d
-
Changed errors to subclass UsageError. a447651
-
Changed BaseVCS to SourceCodeManager. 11c5609
Just for consistency.
-
Modified the group command back to a single command. 6d4179b
Will eventually change to a group command, but later.
- Initial creation