1.15.12

(fix): Fallback from init to set on .NET Framework & .NET Standard 2.0 for public and protected properties. This ensures the properties can be set on older TFMs without compilation errors.

1.15.5

(fix): Fix issue where headers were shared across different client instantiations when they should maintain their own state.

1.15.0

(feat): Add AdditionalHeaders to client and request options. This lets users add and override headers for each request.

1.13.0

(feat): Add support for multipartform requests with file and non-file parameters. This is useful when you want to send a file along with other form data in a single request.

For example, you can use the following code to upload a file with a description and some metadata:

1await client.UploadAsync(
2 new UploadRequest
3 {
4 File = new FileParameter { Stream = fileStream, FileName = "file.txt" },
5 Description = "This is a test file",
6 Meta = new Meta {
7 Key1 = "value1",
8 Key2 = "value2"
9 }
10 }
11);

1.12.0-rc18

(fix): Make the behavior between a wrapped request with body properties and normal body request consistent. Previously, a wrapped request with body properties would not omit null values even if the JSON configuration is configured to omit null values.

(fix): Fix a bug where required properties that were [JsonIgnore] threw an error during serialization.

(feat): Improve performance of query string value to string conversion by relying less on JsonSerializer and more on ToString().