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

Add changelog #113

Merged
merged 1 commit into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 142 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Changelog

## Unreleased

-

[All Changes](https://github.com/Nitrokey/nethsm-sdk-py/compare/v0.5.0...HEAD)

## [v1.0.0][] (2023-11-27)

[v1.0.0]: https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v1.0.0

This release defines the stable API for the SDK based on the NetHSM
[v1.0](nethsm-v1.0) release. It also improves the handling of base64-encoded
data and simplifies the provision and restore methods.

[nethsm-v1.0]: https://github.com/Nitrokey/nethsm/releases/tag/v1.0

### Breaking Changes

- Introduce custom type for Base64-encoded data by @robin-nitrokey ([#104](https://github.com/Nitrokey/nethsm-sdk-py/pull/104))

### Other Changes

- Make system time optional in provision and restore by @robin-nitrokey ([#105](https://github.com/Nitrokey/nethsm-sdk-py/pull/105))

[All Changes](https://github.com/Nitrokey/nethsm-sdk-py/compare/v0.5.0...v1.0.0)

## [v0.5.0][] (2023-11-23)

[v0.5.0]: https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v0.5.0

This release updates the API specification and improves the Python API.

### Changes

- NetHSM API changes
- Adjust to /keys/{KeyID}/cert only one MIME type API change. by @q-nk ([#60](https://github.com/Nitrokey/nethsm-sdk-py/pull/60))
- Incorporate API specification changes on /keys/{KeyID}/cert type. by @q-nk ([#62](https://github.com/Nitrokey/nethsm-sdk-py/pull/62))
- Use generated client for set_key_certificate by @robin-nitrokey ([#64](https://github.com/Nitrokey/nethsm-sdk-py/pull/64))
- Fix return type for get_key_certificate by @robin-nitrokey ([#66](https://github.com/Nitrokey/nethsm-sdk-py/pull/66))
- Update OpenAPI generator and remove schema patches by @robin-nitrokey ([#55](https://github.com/Nitrokey/nethsm-sdk-py/pull/55))
- Adjust system restore code to system restore multipart api by @q-nk ([#73](https://github.com/Nitrokey/nethsm-sdk-py/pull/73))
- Pass old passphrase when setting unlock or backup passphrase by @robin-nitrokey ([#72](https://github.com/Nitrokey/nethsm-sdk-py/pull/72))
- Update API spec by @robin-nitrokey ([#98](https://github.com/Nitrokey/nethsm-sdk-py/pull/98))
- Python API refinements
- Use lazy imports for generated client by @robin-nitrokey ([#67](https://github.com/Nitrokey/nethsm-sdk-py/pull/67))
- Support different types of bytes input by @robin-nitrokey ([#82](https://github.com/Nitrokey/nethsm-sdk-py/pull/82))
- Use enums instead of literals by @robin-nitrokey ([#81](https://github.com/Nitrokey/nethsm-sdk-py/pull/81))
- Test enum completeness by @robin-nitrokey ([#84](https://github.com/Nitrokey/nethsm-sdk-py/pull/84))
- Return dataclasses from get_info and encrypt by @robin-nitrokey ([#85](https://github.com/Nitrokey/nethsm-sdk-py/pull/85))
- Mark helpers with underscore prefix by @robin-nitrokey ([#87](https://github.com/Nitrokey/nethsm-sdk-py/pull/87))
- Refactor get_key and Key by @robin-nitrokey ([#89](https://github.com/Nitrokey/nethsm-sdk-py/pull/89))
- Use dataclasses for add_key by @robin-nitrokey ([#91](https://github.com/Nitrokey/nethsm-sdk-py/pull/91))
- Always use API version from API spec by @robin-nitrokey ([#92](https://github.com/Nitrokey/nethsm-sdk-py/pull/92))
- Make authentication optional by @robin-nitrokey ([#94](https://github.com/Nitrokey/nethsm-sdk-py/pull/94))
- Parse system time into datetime object by @robin-nitrokey ([#95](https://github.com/Nitrokey/nethsm-sdk-py/pull/95))
- Fix type annotations for add_key by @robin-nitrokey ([#101](https://github.com/Nitrokey/nethsm-sdk-py/pull/101))

[All Changes](https://github.com/Nitrokey/nethsm-sdk-py/compare/v0.4.0...v0.5.0)

## [v0.4.0][] (2023-10-27)

[v0.4.0]: https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v0.4.0

This release updates the API specification and adds support for validating
backup files.

### Changes

- Fix and extend typing checks
- [#35](https://github.com/Nitrokey/nethsm-sdk-py/pull/35): fix: type error whith mime_type (@nponsard)
- [#42](https://github.com/Nitrokey/nethsm-sdk-py/pull/42): Update OpenAPI client and extend mypy checks (@robin-nitrokey)
- [44](https://github.com/Nitrokey/nethsm-sdk-py/pull/44): Enable strict mypy checks for nethsm module (@robin-nitrokey)
- Improve tests
- [#37](https://github.com/Nitrokey/nethsm-sdk-py/pull/37): Allow a time delta in the time test (@q-nk)
- [#51](https://github.com/Nitrokey/nethsm-sdk-py/pull/51): Extend backup/restore tests (@robin-nitrokey)
- Adapt to API changes
- [#41](https://github.com/Nitrokey/nethsm-sdk-py/pull/41): Removed double Content-Type workaround (@q-nk)
- [#43](https://github.com/Nitrokey/nethsm-sdk-py/pull/43): Adjust API delete certificate error message & status code (@q-nk)
- [#47](https://github.com/Nitrokey/nethsm-sdk-py/pull/47): Add certifi dependency (@robin-nitrokey)
- [#52](https://github.com/Nitrokey/nethsm-sdk-py/pull/52): Add backup validation (@robin-nitrokey)

[All Changes](https://github.com/Nitrokey/nethsm-sdk-py/compare/v0.3.2...v0.4.0)

## [v0.3.2][] (2023-09-29)

[v0.3.2]: https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v0.3.2

This release fixes a warning if TLS verification is disabled.

### Changes

- fix: disable warnings when tls verification is disabled by @nponsard ([#31](https://github.com/Nitrokey/nethsm-sdk-py/pull/31))

[All Changes](https://github.com/Nitrokey/nethsm-sdk-py/compare/v0.3.1...v0.3.2)

## [v0.3.1][] (2023-09-29)

[v0.3.1]: https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v0.3.1

This release fixes the exception data.

### Changes

- fix: exception data by @nponsard ([#30](https://github.com/Nitrokey/nethsm-sdk-py/pull/30))

[All Changes](https://github.com/Nitrokey/nethsm-sdk-py/compare/v0.3.0...v0.3.1)

## [v0.3.0][] (2023-09-29)

[v0.3.0]: https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v0.3.0

This release improves the exception handling.

### Changes

- refactor: exception handling by @nponsard ([#27](https://github.com/Nitrokey/nethsm-sdk-py/pull/27))

[All Changes](https://github.com/Nitrokey/nethsm-sdk-py/compare/v0.2.0...v0.3.0)

## [v0.2.0][] (2023-09-28)

[v0.2.0]: https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v0.2.0

This release improves the documentation, removes an unused dependency and
updates the API specification.

### Changes

- doc: document lib usage by @nponsard ([#11](https://github.com/Nitrokey/nethsm-sdk-py/pull/11))
- fix: remove request dependency by @nponsard ([#12](https://github.com/Nitrokey/nethsm-sdk-py/pull/12))
- feat: update api spec with format: binary by @nponsard ([#19](https://github.com/Nitrokey/nethsm-sdk-py/pull/19))
- doc: document update() workaround by @nponsard ([#20](https://github.com/Nitrokey/nethsm-sdk-py/pull/20))

[All Changes](https://github.com/Nitrokey/nethsm-sdk-py/compare/v0.1.0...v0.2.0)

## [v0.1.0][] (2023-09-26)

[v0.1.0]: https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v0.1.0

Initial release.
Loading