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


0.34.0

(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


0.33.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.

# generators.yml
1- name: fern-api/fern-go-sdk
2 version: 0.33.0
3 config:
4 inlinePathParameters: true

0.32.1

(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.




0.31.0

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


0.29.0

(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.



0.28.2

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