0.35.1
(fix):
Fixes an issue where the delimiter length was included during stream data read, even when the delimiter was missing, leading to a bufio.ErrAdvanceTooFar
error
(fix):
Fixes an issue where the delimiter length was included during stream data read, even when the delimiter was missing, leading to a bufio.ErrAdvanceTooFar
error
(feat):
Add support for sending the User-Agent
header on every request. Go packages are uniquely identified by their full module path, so the User-Agent
header is generated in the <module>/<version>
format, e.g.
User-Agent: github.com/acme/acme-go/1.0.0
(feat):
Add support for the inlinePathParameters
configuration option, which generates path parameters in the generated request type (if any) instead of as separate positional parameters.
(internal):
Improve the aesthetics of the generated code, and reduce the amount of repetition in each of the generated endpoints. This change has zero impact on the behavior of the generated SDK.
(fix):
Updates the retrier to stop retrying on 409 Conflict
HTTP status codes by default.
(internal):
Adds additional tests to confirm the behavior of the core.Retrier
.
No functional, user-facing changes are included.
(feat):
Improves type file layout with zero impact on backwards compatibility.
Shared types are now more accurately placed in the types.go
file, whereas types referenced by a single service are now placed in a file that matches the service’s filename (e.g. user.go).
(feat):
All SDKs now include an exported FileParam
type that can be used to configure the Content-Type
of file upload properties.
(fix):
Resolves an issue where multipart/form-data lists were incorrectly serialized as JSON. They are now added as individual parts.
(internal):
Refactor file upload endpoint generation with the new core.MultipartWriter
. This significantly improves the aesthetics of the generated code.
(internal):
Upgrade to IRv53.
(fix):
Fix an issue where undiscriminated unions were not round-trippable whenever the union is the zero value of the type (e.g. 0
for int
).