Skip to content

Commit

Permalink
Add artifact and version info, move -descto Removed
Browse files Browse the repository at this point in the history
  • Loading branch information
pederhan committed Jun 11, 2024
1 parent 701ce7a commit 3bbee0e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,26 @@ The big Pydantic update. The entire codebase has been rewritten to use Pydantic

### Added

- `--version` option to display current version and exit.
- `--version` option to display current application version and exit.
Version number is in the form of `major.minor.patch` if installed from a published version.
Shows a version number including the commit hash if installed from a git repository in the form of `major.minor.patch.dev123+gabc1234`.
See [Default versioning scheme](https://setuptools-scm.readthedocs.io/en/latest/usage/#default-versioning-scheme) in the [setuptools_scm](https://github.com/pypa/setuptools_scm/) documentation for more information.
- The version can be accessed programmatically with `mreg_cli.__version__`.
- `label set_description` command to set the description of a label.
- `network list_excluded_ranges` command to list the excluded ranges of a network.
- Application can now store tokens for multiple servers and will pick the correct one based on the server URL.

- Building binaries for Windows, Linux and MacOS, and publishing the package to PyPI on each GitHub release.

### Changed

- The application now uses Pydantic internally to validate request and response data. This should make the code more robust and easier to maintain.
- `label rename` no longer takes a `-desc` option. Description modification is now done with the `label set_description` command.
- Application now attempts to send JSON for every request. This should improve the consistency of the API responses.
- Version now follows Semantic Versioning 2.0.0 and is automatically determined based on the most recent git tag (`mreg-cli-v*`). As part of this change, the verison has been bumped from 0.9.10 to 1.0.0. See the Added section for more information on how version numbers are accessed.

### Removed

- `label rename -desc` option. Description modification is now done through the new `label set_description` command.

### Fixed

- Hopefully more than we broke.

0 comments on commit 3bbee0e

Please sign in to comment.