Skip to content

Releases: hashicorp/vault-client-go

v0.4.3

28 Dec 20:16
4cb75ea
Compare
Choose a tag to compare

0.4.3 (diff) - 2023-12-28

Fixed

  • Fixed error parsing for errors with non-standard response bodies (#247).

See the full CHANGELOG.md

v0.4.2

19 Oct 20:37
3d3c38d
Compare
Choose a tag to compare

0.4.2 (diff) - 2023-10-19

Fixed

  • Fixed SetRequestCallbacks & SetResponseCallbacks functions (#242).

See the full CHANGELOG.md

v0.4.1

27 Sep 16:55
fd98162
Compare
Choose a tag to compare

0.4.1 (diff) - 2023-09-27

Fixed

  • Fixed SetCustomHeaders & WithCustomHeaders functions (#237).

v0.4.0

19 Sep 20:51
c59c70c
Compare
Choose a tag to compare

0.4.0 (diff) - 2023-09-19

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. (#231)

v0.3.3

26 May 22:11
c9387ae
Compare
Choose a tag to compare

0.3.3 (diff) - 2023-05-26

Fixed

  • Fixed PkiListResponse encoding issue (#175)

See the full CHANGELOG.md

v0.3.2

16 May 18:20
a61d683
Compare
Choose a tag to compare

0.3.2 (diff) - 2023-05-16

Added

  • Added support for custom query parameters

Deprecated

  • Deprecated ReadWithParameters
  • Deprecated ReadRawWithParameters
  • Deprecated DeleteWithParameters

See the full CHANGELOG.md

v0.3.1

10 May 21:08
17a3684
Compare
Choose a tag to compare

0.3.1 (diff) - 2023-05-10

Changed

  • Improved documentation for request logging in README.

Fixed

  • Fixed bug #147 -- the empty generated fields are now properly omitted.
  • Fixed mount path examples in the generated documentation.
  • Fixed the Makefile to properly clean up before regeneration.

See the full CHANGELOG.md

v0.3.0

04 May 15:48
dccf477
Compare
Choose a tag to compare

0.3.0 (diff) - 2023-05-04

Added

  • Added response structures for sys, kv-v1, kv-v2, pki, and approle.
  • Added support for non-string query parameters.
  • Added prettier README formatter to the Makefile and GitHub actions.
  • Added security note to README.

Removed

  • Removed redundant methods (e.g. TokenLookupSelf2, TokenLookupSelf3, etc).
  • Removed endpoints for ad (consolidated into ldap).
  • Removed endpoints for openldap (alias of ldap).
  • Removed endpoints for oidc (consolidated into jwt).
  • Removed endpoints for pfc (deprecated plugin).

Changed

  • Regenerated with new method names, request names, and response names.

Fixed

  • Fixed mount path logic in method signatures.

See the full CHANGELOG.md

v0.2.0

01 Mar 23:38
f439b5a
Compare
Choose a tag to compare

0.2.0 (diff) - 2023-03-01

Changed

  • Renamed Address and HTTPClient.

Fixed

  • The mount path logic is now reliably generated using .handlebars templates.
  • Fixed an issue with how model documents were generated.

See the full CHANGELOG.md

v0.1.0

15 Feb 22:36
fa22884
Compare
Choose a tag to compare

0.1.0 (diff) - 2023-02-15

Added

  • Added database-related generated methods.
  • Added CHANGELOG.md, CODE_OF_CONDUCT.md, and CONTRIBUTING.md.
  • Added copyright headers to each file.

Changed

  • Changed the underlying templates from .mustache to .handlebars format.

Fixed

  • Fixed the panic when setting VAULT_RATE_LIMIT environment variable.

See the full CHANGELOG.md