Skip to content

Commit

Permalink
Bump version to 0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pederhan committed Jun 13, 2024
1 parent f68b097 commit 00671fb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,22 @@ While the project is still on major version 0, breaking changes may be introduce
- Code generation now explicitly imports `StrDictRootModel` and `StrRootModel`.
- Updated API spec to [ec8d692](https://github.com/goharbor/harbor/blob/6a38ed3d7769e3598c6cf829aae4e0e152f93a83/api/v2.0/swagger.yaml)

## [0.24.0](https://github.com/unioslo/harborapi/tree/harborapi-v0.24.0) - 2024-06-13

### Added

- Python 3.12 support.
- `harborapi.models.SBOMOverview` which represents the SBOM overview for an artifact. Can be accessed via `Artifact.sbom_overview`.

### Changed

- Added compatibility methods for purge endpoint methods that were renamed in HarborAPI v0.11.0.
- The `*audit_log_rotation*` methods are now deprecated and will be removed in a future release.
- It never made sense to create an opinionated naming for these methods.
- Project is now formatted and linted with Ruff instead of with Black and reorder-python-imports.
- Code generation now explicitly imports `StrDictRootModel` and `StrRootModel`.
- Updated API spec to [ec8d692](https://github.com/goharbor/harbor/blob/6a38ed3d7769e3598c6cf829aae4e0e152f93a83/api/v2.0/swagger.yaml)

## [0.23.4](https://github.com/unioslo/harborapi/tree/harborapi-v0.23.4) - 2024-03-01

### Changed
Expand Down
2 changes: 1 addition & 1 deletion harborapi/__about__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from __future__ import annotations

__version__ = "0.23.4"
__version__ = "0.24.0"
2 changes: 1 addition & 1 deletion scripts/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def cleanup(state: StateMachine) -> None:
raise ValueError("No new version to untag.")
subprocess.run(["git", "tag", "-d", state.new_version])
elif st == State.GIT_COMMIT:
subprocess.run(["git", "revert", "HEAD"])
subprocess.run(["git", "reset", "HEAD"])
elif st == State.GIT_ADD:
subprocess.run(["git", "reset", "HEAD"])
elif st == State.NEW_VERSION:
Expand Down

0 comments on commit 00671fb

Please sign in to comment.