pypi bump-my-version 1.6.6

2 hours ago

Compare the full difference.

Fixes

  • Refactor: clean up line formatting and improve spelling. 07ada6f

  • Fix a failing bump leaving some files already changed. a8a9403

    All the file changes are made in memory first and written only when every file could be changed;
    several changes to one file still chain. Part of #381.

    co-authored-by: Claude Opus 5.5 noreply@anthropic.com

Other

  • Test the restore-failure, no-new-version and on-disk search paths. ea9a033

    Covers the lines Codecov reported as missing in files.py for #454.

  • Restore files when a write fails in modify_files. 1b69816

    Follow-ups to #432 (part of #381): drop the stale coverage pragma on
    make_file_change and document it, replace the tuple dict in modify_files
    with two dicts, restore already-written files when a later write raises
    OSError, and add tests for ignored files, write failure, make_file_change
    writes and do_bump leaving config untouched.

Don't miss a new bump-my-version release

NewReleases is sending notifications on new releases.