-
Notifications
You must be signed in to change notification settings - Fork 2
🌿 ✨ [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
Labels
None yet
0 participants
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.8
to1.9.29
- Changelog1.9.29
fix:
The Protobuf package aliases now include the package name to avoid conflicts when multipleProtobuf packages are used. For example,
com.acme.users.v1
would be aliased asProtoUsersV1
instead of just
Proto
.1.9.28
fix:
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.27
fix:
Fix the Protobuf mappers for enum and timestamp types.1.9.26
fix:
Useglobal::System.Type
instead ofSystem.Type
inOneOfSerializer
when a type named
System
exists in the current namespace.1.9.25
fix:
Useglobal::System.Type
instead ofSystem.Type
in generated code to avoid potential naming conflictswhen a type named
System
exists in the current namespace.16 additional updates, see more
1.9.24
fix:
Use the original gRPC service name in the generated client reference instead of applying any casing transformations.1.9.23
fix:
Fix method return types to use unqualified Task instead of System.Threading.Tasks.Taskwhen the method returns a response.
1.9.22
feat:
Generate a pagination section to the generated README.md file.feat:
You can nowforeach(var item in page)
onPage<T>
instances.1.9.21
fix:
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.20
fix:
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.19
fix:
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.18
fix:
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.17
fix:
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.16
fix:
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.15
fix:
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 namedEquals
would 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.14
fix:
Add support for nullable undiscriminated unions (OneOf<X, Y, Z>?
), and add tests for undiscriminated unions.1.9.13
internal:
Miscellaneous improvement for the C# generator.ConfigureAwait(false)
on TasksEnumerable<T>.Empty
instead of creating a new empty list#nullable enable
directives1.9.12
fix:
Change serialization logic for headers and querystring parameters:true
andfalse
instead ofTrue
andFalse
.fix:
Only use.Value
on nullable structs when serializing parameters to headers and querystring parameters.1.9.11
feat:
Add two dependencies who previously were transitive dependencies to ensure the generated SDKs use the patched versions without vulnerabilities.System.Net.Http
>=4.3.4
System.Text.RegularExpressions
>=4.3.1
Update other dependencies to the latest version:
Portable.System.DateTimeOnly
=8.0.2
(on net462 & netstandard2.0)PolySharp
=1.15.0
OneOf
=3.0.271
OneOf.Extended
=3.0.271
1.9.10
feat:
Add partialJsonOptions.ConfigureJsonSerializerOptions
method to allow SDK maintainers to configure theJsonSerializerOptions
used by the SDK.1.9.9
feat:
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>.AsPagesAsync
method 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.