1.10.0
(feat):
Add support for exported-client-class-name
to allow you to export the client class name.
This is useful when you want to use a custom client class name for code snippets.
1.9.32
(fix):
JSON serialize DateOnly
to yyyy-MM-dd
format.
(internal):
Add test for serializing and deserializing DateOnly
abd DateTime
.
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.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.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
andfalse
instead ofTrue
andFalse
. - 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.