From c59c70caf4b458aea38555475475785c76eccee3 Mon Sep 17 00:00:00 2001 From: Anton Averchenkov <84287187+averche@users.noreply.github.com> Date: Tue, 19 Sep 2023 13:05:51 -0400 Subject: [PATCH] 0.4.0 Release notes (#235) * asd * 0.4.0 release notes * remove pr links * Revert "remove pr links" This reverts commit 5e5bd33a5afa60241559010171b0d40a51487c43. * package version => 0.4.0 * regen --- CHANGELOG.md | 54 +++++++++++++++++++++++++++++++++++++++----- client.go | 2 +- generate/config.yaml | 2 +- 3 files changed, 50 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c89cdec..5dff2b13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,23 +8,62 @@ and this project adheres to ## Unreleased ([diff][unreleased-diff]) +## [0.4.0][] ([diff][0.4.0-diff]) - 2023-09-18 + +### Added + +- Added a way to pass extra options to `openapi-generator-cli` (#204). +- Added support for custom non-HTTP transports. + +### Changed + +- A number of generated method names and request/response schemas have changed. +- Renamed `WithCustomQueryParameters` => `WithQueryParameters` (#217). +- Changed how request modifiers behave for slices and maps (#225). +- Switched to Go 1.21 (#234). + +### Removed + +- Removed support for SRV DNS lookups (#222). +- Removed `ReadWithParameters` (previously deprecated in 0.3.2) (#189). +- Removed `ReadRawWithParameters` (previously deprecated in 0.3.2) (#189). +- Removed `DeleteWithParameters` (previously deprecated in 0.3.2) (#189). + +### Fixed + +- Improved exclusion of operation IDs (#215). +- Improved generated documentation (#223, #232). +- Improved performance of request modifiers (#224). +- Fixed logic for methods with both `GET` and `LIST` (e.g. `KvV1List`) (#197). +- Fixed warnings during generation due to missing summary and description (#178). +- Fixed small issues in GitHub actions (#182). +- Fixed `TokenCreate*` generated methods (#192). +- Fixed duplication of `sys/raw/` and `sys/leases/lookup/` APIs (#203). +- Fixed templates to deal with arbitrary input APIs (#205). +- Fixed generation of `Query: true` parameters (#206). +- Fixed `CubbyholeWrite` with `TakesArbitraryInput` logic (#206). +- Fixed query parameter casing (#207). +- Fixed query parameters being double-encoded (#213). +- Fixed `/sys/health` to no longer return errors on 4xx & 5xx (#220, #221). +- Fixed `vault.WithRetryConfiguration` to not error on missing parameters. + ## [0.3.3][] ([diff][0.3.3-diff]) - 2023-05-26 ### Fixed -- Fixed PkiListResponse encoding issue (#175) +- Fixed PkiListResponse encoding issue (#175). ## [0.3.2][] ([diff][0.3.2-diff]) - 2023-05-16 ### Added -- Added support for custom query parameters +- Added support for custom query parameters. ### Deprecated -- Deprecated ReadWithParameters -- Deprecated ReadRawWithParameters -- Deprecated DeleteWithParameters +- Deprecated `ReadWithParameters`. +- Deprecated `ReadRawWithParameters`. +- Deprecated `DeleteWithParameters`. ## [0.3.1][] ([diff][0.3.1-diff]) - 2023-05-10 @@ -99,7 +138,9 @@ and this project adheres to [unreleased-diff]: - https://github.com/hashicorp/vault-client-go/compare/v0.3.3...HEAD + https://github.com/hashicorp/vault-client-go/compare/v0.4.0...HEAD +[0.4.0-diff]: + https://github.com/hashicorp/vault-client-go/compare/v0.3.3...v0.4.0 [0.3.3-diff]: https://github.com/hashicorp/vault-client-go/compare/v0.3.2...v0.3.3 [0.3.2-diff]: @@ -117,6 +158,7 @@ and this project adheres to +[0.4.0]: https://github.com/hashicorp/vault-client-go/releases/tag/v0.4.0 [0.3.3]: https://github.com/hashicorp/vault-client-go/releases/tag/v0.3.3 [0.3.2]: https://github.com/hashicorp/vault-client-go/releases/tag/v0.3.2 [0.3.1]: https://github.com/hashicorp/vault-client-go/releases/tag/v0.3.1 diff --git a/client.go b/client.go index d0e01b2a..499f0c8f 100644 --- a/client.go +++ b/client.go @@ -17,7 +17,7 @@ import ( "github.com/hashicorp/go-retryablehttp" ) -const ClientVersion = "0.3.3" +const ClientVersion = "0.4.0" // Client manages communication with Vault, initialize it with vault.New(...) type Client struct { diff --git a/generate/config.yaml b/generate/config.yaml index 435431c1..ec22abb8 100644 --- a/generate/config.yaml +++ b/generate/config.yaml @@ -3,5 +3,5 @@ additionalProperties: packageName: vault - packageVersion: 0.3.3 + packageVersion: 0.4.0