All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased (diff)
- Fixed error parsing for errors with non-standard response bodies (#247).
- Fixed
SetRequestCallbacks
&SetResponseCallbacks
functions (#242).
- Fixed
SetCustomHeaders
&WithCustomHeaders
functions (#237).
- Added a way to pass extra options to
openapi-generator-cli
(#204). - Added support for custom non-HTTP transports.
- 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 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).
- Improved exclusion of operation IDs (#215).
- Improved generated documentation (#223, #232).
- Improved performance of request modifiers (#224).
- Fixed logic for methods with both
GET
andLIST
(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/
andsys/leases/lookup/
APIs (#203). - Fixed templates to deal with arbitrary input APIs (#205).
- Fixed generation of
Query: true
parameters (#206). - Fixed
CubbyholeWrite
withTakesArbitraryInput
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.
- Fixed PkiListResponse encoding issue (#175).
- Added support for custom query parameters.
- Deprecated
ReadWithParameters
. - Deprecated
ReadRawWithParameters
. - Deprecated
DeleteWithParameters
.
- Improved documentation for request logging in README.
- 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.
- Added response structures for
sys
,kv-v1
,kv-v2
,pki
, andapprole
. - Added support for non-string query parameters.
- Added prettier README formatter to the Makefile and GitHub actions.
- Added security note to README.
- Removed redundant methods (e.g.
TokenLookupSelf2
,TokenLookupSelf3
, etc). - Removed endpoints for
ad
(consolidated intoldap
). - Removed endpoints for
openldap
(alias ofldap
). - Removed endpoints for
oidc
(consolidated intojwt
). - Removed endpoints for
pfc
(deprecated plugin).
- Regenerated with new method names, request names, and response names.
- Fixed mount path logic in method signatures.
- Renamed
Address
andHTTPClient
.
- The mount path logic is now reliably generated using
.handlebars
templates. - Fixed an issue with how model documents were generated.
- Added database-related generated methods.
- Added
CHANGELOG.md
,CODE_OF_CONDUCT.md
, andCONTRIBUTING.md
. - Added copyright headers to each file.
- Changed the underlying templates from
.mustache
to.handlebars
format.
- Fixed the panic when setting
VAULT_RATE_LIMIT
environment variable.
0.1.0-beta (diff) - 2023-02-01
- First public release of the library.