Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency harborapi to v0.25.2 #23

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 11, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
harborapi (changelog) ==0.23.1 -> ==0.25.2 age adoption passing confidence

Release Notes

unioslo/harborapi (harborapi)

v0.25.2

Compare Source

Changed
  • All Pydantic models now use default= kwarg for default values. This prevents certain type checking errors when the model is instantiated without specifying the field.

v0.25.1

Compare Source

v0.25.0

Compare Source

Added
  • Permissions method:
    • HarborAsyncClient.get_permissions()
  • Immutable tag rules methods:
    • HarborAsyncClient.get_project_immutable_tag_rules()
    • HarborAsyncClient.create_project_immutable_tag_rule()
    • HarborAsyncClient.update_project_immutable_tag_rule()
    • HarborAsyncClient.enable_project_immutable_tagrule()
    • HarborAsyncClient.delete_project_immutable_tag_rule()
  • Artifact vulnerability reports method:
    • HarborAsyncClient.get_artifact_vulnerability_reports()
  • Robot V1 methods:
    • HarborAsyncClient.get_robots_v1()
    • HarborAsyncClient.create_robot_v1()
    • HarborAsyncClient.get_robot_v1()
    • HarborAsyncClient.update_robot_v1()
    • HarborAsyncClient.delete_robot_v1()
Removed
  • References to Helm charts in HarborAsyncClient.search().
Deprecated
  • HarborAsyncClient.get_artifact_vulnerabilities() in favor of HarborAsyncClient.get_artifact_vulnerability_reports().
    • The old method only supported a single MIME type and was not flexible enough to support returning multiple reports given multiple MIME types. The new method supports this use case and is less strict than the old method in terms of MIME type validation.

v0.24.2

Compare Source

Changed
  • Improved versioning script for maintainers.

v0.24.1

Compare Source

Fixed
  • Changelog formatting.

v0.24.0

Compare Source

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

v0.23.4

Compare Source

Changed
  • HarborAsyncClient.authenticate(verify=...) will no longer instantiate a new client object if the verify value is identical to current one.
Removed
  • Model field example keyword arguments.

v0.23.3

Compare Source

Fixed
  • HarborAsyncClient.authenticate(verify=...) causing the client to fail to discard Harbor CSRF cookies.

v0.23.2

Compare Source

Added
  • verify parameter for HarborAsyncClient.authenticate().
  • New model field: ProjectMetadata.auto_sbom_generation
Fixed
  • ReplicationFilter.value validation failing due to receiving non-dict value. Now accepts str, dict[str, Any] and None.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@peters-david
Copy link
Contributor

works locally 👍🏼

@peters-david peters-david merged commit 76be862 into main Aug 22, 2024
2 checks passed
@peters-david peters-david deleted the renovate/harborapi-0.x branch August 22, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant