-
Notifications
You must be signed in to change notification settings - Fork 3
🌿 ✨ [Scheduled] Upgrade Fern C# SDK Generator: (csharp-sdk)
#104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fern-api
wants to merge
1
commit into
main
Choose a base branch
from
fern/update/fern-csharp-sdk@csharp-sdk
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b3eb3f7 to
98d39bb
Compare
98d39bb to
8937ede
Compare
8937ede to
ea72d38
Compare
ea72d38 to
ef15117
Compare
ef15117 to
8a07a39
Compare
8a07a39 to
d0ae395
Compare
d0ae395 to
d516c83
Compare
d516c83 to
4e31dd8
Compare
4e31dd8 to
1c8985d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
1.9.8to1.9.29- Changelog1.9.29fix:The Protobuf package aliases now include the package name to avoid conflicts when multipleProtobuf packages are used. For example,
com.acme.users.v1would be aliased asProtoUsersV1instead of just
Proto.1.9.28fix:Fix the Protobuf mappers for the google.protobuf.Any type.fix:The Protobuf mappers now refer to the original name of the Protobuf type insteadof the PascalCase name.
1.9.27fix:Fix the Protobuf mappers for enum and timestamp types.1.9.26fix:Useglobal::System.Typeinstead ofSystem.TypeinOneOfSerializerwhen a type named
Systemexists in the current namespace.1.9.25fix:Useglobal::System.Typeinstead ofSystem.Typein generated code to avoid potential naming conflictswhen a type named
Systemexists in the current namespace.16 additional updates, see more
1.9.24fix:Use the original gRPC service name in the generated client reference instead of applying any casing transformations.1.9.23fix:Fix method return types to use unqualified Task instead of System.Threading.Tasks.Taskwhen the method returns a response.
1.9.22feat:Generate a pagination section to the generated README.md file.feat:You can nowforeach(var item in page)onPage<T>instances.1.9.21fix:Support literals in query parameters and headers. For example, if a field in a wrapped request has a literal value of "foo", we will now set that value as the default value for the field.Note that wrapped requests are just a bag of properties that include body properties.
1.9.20fix:Support literals in wrapped requests (). For example, if a field in a wrapped request has a literal value of "foo", we will now set that value as the default value for the field.Note that wrapped requests are just a bag of properties that include body properties.
1.9.19fix:Fix serialization of enum path parameters. Previously, enum path parameters were serialized using their C# enum name, but now they arecorrectly serialized using their wire value.
1.9.18fix:Fix serialization of enum path parameters. Previously, enum path parameters were serialized using their C# enum name, but now they arecorrectly serialized using their wire value.
1.9.17fix:Support required literals. For example, if a field has a literal value of "foo", we will now set that value as the default value for the field.1.9.16fix:Required client parameters that are headers are now sent when making API requests. For example if a bearer token is required toinstantiate the client, we will ensure that it is sent when making API requests.
1.9.15fix:Change unpaged endpoints from internal to private to avoid ambiguous references in test projects who have access to internals.fix:Fix an issue where enum values namedEqualswould always have be converted to"Equals"instead of their correct wire value.feat:Increase test performance by parallelizing tests and setting HTTP request retry delay to 0.1.9.14fix:Add support for nullable undiscriminated unions (OneOf<X, Y, Z>?), and add tests for undiscriminated unions.1.9.13internal:Miscellaneous improvement for the C# generator.ConfigureAwait(false)on TasksEnumerable<T>.Emptyinstead of creating a new empty list#nullable enabledirectives1.9.12fix:Change serialization logic for headers and querystring parameters:trueandfalseinstead ofTrueandFalse.fix:Only use.Valueon nullable structs when serializing parameters to headers and querystring parameters.1.9.11feat:Add two dependencies who previously were transitive dependencies to ensure the generated SDKs use the patched versions without vulnerabilities.System.Net.Http>=4.3.4System.Text.RegularExpressions>=4.3.1Update other dependencies to the latest version:
Portable.System.DateTimeOnly=8.0.2(on net462 & netstandard2.0)PolySharp=1.15.0OneOf=3.0.271OneOf.Extended=3.0.2711.9.10feat:Add partialJsonOptions.ConfigureJsonSerializerOptionsmethod to allow SDK maintainers to configure theJsonSerializerOptionsused by the SDK.1.9.9feat:Add support for Auto Pagination.When enabled, the endpoint methods will return a
Pager<T>object that you can use to iterate over all items of an endpoint.Additionally, you can use the
Pager<T>.AsPagesAsyncmethod to iterate over all pages of an endpoint.The SDK will automatically make the necessary HTTP requests for you as you iterate over the items or the pages.