Skip to content

🌿 ✨ [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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fern-api[bot]
Copy link
Contributor

@fern-api fern-api bot commented Nov 25, 2024

Upgrading from 1.9.8 to 1.9.29 - Changelog

    1.9.29
  • fix: The Protobuf package aliases now include the package name to avoid conflicts when multiple
    Protobuf packages are used. For example, com.acme.users.v1 would be aliased as ProtoUsersV1
    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 instead
    of the PascalCase name.

  • 1.9.27

  • fix: Fix the Protobuf mappers for enum and timestamp types.

  • 1.9.26

  • fix: Use global::System.Type instead of System.Type in OneOfSerializer
    when a type named System exists in the current namespace.

  • 1.9.25

  • fix: Use global::System.Type instead of System.Type in generated code to avoid potential naming conflicts
    when 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.Task
    when the method returns a response.

  • 1.9.22

  • feat: Generate a pagination section to the generated README.md file.

  • feat: You can now foreach(var item in page) on Page<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 are
    correctly 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 are
    correctly 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 to
    instantiate 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 named Equals 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

    • Call .ConfigureAwait(false) on Tasks
    • Use Enumerable<T>.Empty instead of creating a new empty list
    • Add PolySharp to test project and use C# 12
    • Remove redundant #nullable enable directives
    • Improve C# syntax
  • 1.9.12

  • fix: Change serialization logic for headers and querystring parameters:

    • Strings, enums, dates, times, and date times are serialized as before.
    • Booleans are now serialized as true and false instead of True and False.
    • Objects, lists, maps, dictionaries, undiscriminated, and discriminated unions are serialized to JSON.
  • 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 partial JsonOptions.ConfigureJsonSerializerOptions method to allow SDK maintainers to configure the JsonSerializerOptions 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.

Copy link

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from b3eb3f7 to 98d39bb Compare December 2, 2024 00:10
Copy link

github-actions bot commented Dec 2, 2024

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from 98d39bb to 8937ede Compare December 9, 2024 00:09
Copy link

github-actions bot commented Dec 9, 2024

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from 8937ede to ea72d38 Compare December 16, 2024 00:09
Copy link

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from ea72d38 to ef15117 Compare December 23, 2024 00:07
Copy link

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from ef15117 to 8a07a39 Compare January 6, 2025 00:07
Copy link

github-actions bot commented Jan 6, 2025

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from 8a07a39 to d0ae395 Compare January 20, 2025 00:07
Copy link

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from d0ae395 to d516c83 Compare January 27, 2025 00:07
Copy link

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from d516c83 to 4e31dd8 Compare February 10, 2025 00:07
Copy link

@fern-api fern-api bot force-pushed the fern/update/fern-csharp-sdk@csharp-sdk branch from 4e31dd8 to 1c8985d Compare February 17, 2025 00:08
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants