Newversion

Latest version: v3.1.0

Safety actively analyzes 702662 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

3.1.0

Added
- `set local localvalue` is now fully supported
- New `uvx` examples in `README.md`
- New internal errors for easier API usage

Fixed
- `--package` overrides `--input` CLI argument

3.0.0

Added
- Python 3.13 and 3.14 support
- `-p`/`--package` CLI flag as a shorthard for `newversion package`
- `-s`/`--save` CLI flag as a shorthard for `newversion set_package`
- `--path` CLI argument to specify path to Python package (default: `cwd`)

Changed
- `set_package` does not change version if it is already set to desired

Removed
- Python 3.8 support

**Full Changelog**: https://github.com/vemel/newversion/compare/2.0.0...3.0.0

2.0.0

Added
- Support for Python 3.11 and 3.12
- `[cli]` Support for `newversion get dev` command (contributed by findtopher in 8)
- `[cli]` Support for `newversion set dev X` command (contributed by findtopher in 8)
- `[api]` `NewVersion.bump_dev` method for bumping dev release (contributed by findtopher in 8)
- `[api]` `NewVersion.get` method supports `dev` release (contributed by findtopher in 8)
- `[api]` `NewVersion.set` method supports `dev` release (contributed by findtopher in 8)

Fixed
- Removed `setuptools` dependency (contributed by tjni in 9)
- Minor typing issues

Removed
- Python 3.6 and 3.7 support

1.8.2

Fixed
- `[ci]` Release publishing was failing

1.8.1

Fixed
- `packaging` dependency was too strict

1.8.0

Added
- `[cli]` `package` command to get Python package version
- `[cli]` `set_package` command to set Python package version

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.