🌿 ✨ [Scheduled] Upgrade Fern Go SDK Generator: (go-sdk
)
#103
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrading from
0.31.2
to0.35.1
- Changelog0.35.1
fix:
Fixes an issue where the delimiter length was included during stream data read, even when the delimiter was missing, leading to abufio.ErrAdvanceTooFar
error0.35.0
feat:
Add runtime validation for discriminated unions to prevent users from accidentally sending the wrong type of value. With this, users will be expected to set exactly one of the union's values like so: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.2 additional updates, see more
0.32.0
feat:
Add support for theinlineFileProperties
configuration option, which generates file properties in the generated request type instead of as separate positional parameters.fix:
Fixes an issue where the newcore.MultipartWriter
was generated for SDKs that didn't define any file upload endpoints.internal:
Simplify the generated code from the newcore.MultipartWriter
introduced in 0.29.0 by refactoringinternal.WithMultipartContentType
asinternal.WithDefaultContentType
.0.31.3
fix:
Updates the retrier to stop retrying on409 Conflict
HTTP status codes by default.