Releases: merge-api/merge-csharp-client
Releases · merge-api/merge-csharp-client
1.0.1
Note: This release affects all categories.
- (fix): Fixes a bug where the OauthTokenProvider.cs was incorrectly referencing the endpoint method, causing code to fail to compile.
- (fix): Fixes a bug where the ClientOptions would not compile due to incorrect Clone method generation.
- (feat): Add support for calling HTTP endpoints and gRPC endpoints within the same service.
- (chore): Update System.Text.Json dependency from 8.0.4 to 8.0.5 because a security patch was released to resolve this vulnerability
- (feat): Generate a ProjectName.Custom.props file for you to configure any MSBuild properties for your project.
- (fix): Generate the license NuGet properties inside the .csproj file correctly.
- (feat): Generate a ProjectName.Test.Custom.props file for you to configure any MSBuild properties for your test project.
- (feat): Only import ProjectName.Custom.props and ProjectName.Test.Custom.props if the file exists, so you can delete the file if you wish to.
- (fix): Do not re-import the .NET SDK inside of ProjectName.Custom.props.
- (feat): Add support for idempotency headers.
1.0.0
This release impacts all categories.
- Updated descriptions and code snippets
- Add query parameters for multiple Common Model endpoints
- async POST request support
- [accounting] add GeneralLedgerTransactions
- [accounting] add BankFeeds and BankFeedTransactions
- updated RemoteData and RemoteFields objects to allow for better handling
0.2.1
This release impacts all categories.
-
Feature: Add the
CancellationToken
parameter as the last parameter to every endpoint method.
For example,/// <summary> /// Add a movie to the database /// </summary> public async Task<string> CreateMovieAsync( CreateMovieRequest request, RequestOptions? options = null, CancellationToken cancellationToken = default ) { var response = await _client.MakeRequestAsync( new RawClient.JsonApiRequest { BaseUrl = _client.Options.BaseUrl, Method = HttpMethod.Post, Path = "/movies/create-movie", Body = request, Options = options, }, cancellationToken ); ... }
This aligns with the code analysis quality rule
CA1068
outlined in the official .NET documentation.
For details, please see https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1068 -
Feature: Add support for sending the User-Agent header.
-
Feature: Generate snippets as example documentation, e.g.
/// <example> /// <code> /// await client.Data.UploadAsync( /// new UploadRequest /// { /// Columns = new List<Column>() /// { /// new Column /// { /// Id = "id", /// Values = new List<float>() { 1.1f }, /// }, /// }, /// } /// ); /// </code> /// </example> public async Task<UploadResponse> UploadAsync( UploadRequest request, RequestOptions? options = null, CancellationToken cancellationToken = default ) { ... }
0.2.0
What's Changed
- Add
MergeClient
Root Client by @fern-bot in #32 - 🌿 Fern Regeneration -- August 12, 2024 by @fern-api in #34
Full Changelog: 0.1.0...0.2.0
0.1.0
Note: This change impacts all categories.
- Sync the SDKs with the latest updates to the Merge API.
- New common models, query parameters, and fields
- Added ResponseValidation skipping to avoid breaking issues due to the SDK typing not matching the response types
- [CRM + Ticketing] Improved typing on the RemoteFields object
value
field to avoid breakage when returning variable types. - Improvements to developer experience
0.0.12
0.0.11
0.0.10
What's Changed
Full Changelog: 0.0.9...0.0.10
0.0.9
0.0.8
(fix): the base path to each endpoint has been added back in the API spec, and the SDK regenerated