Skip to content

Releases: tochka-public/Tochka.JsonRpc

v6.3.0

27 Aug 10:57
a7e1827
Compare
Choose a tag to compare

Features

  • autodoc: show all endpoints (64acd86)

v6.2.1

01 Aug 17:12
2c0dc73
Compare
Choose a tag to compare
Merge pull request #113 from SedativeEffect/feature/C-SHARP-207-metho…

v6.2.0

26 Jul 18:24
179f2db
Compare
Choose a tag to compare

BREAKING CHANGES

  • dotnet 8
  • Action arguments with default value can not receive json null from params

Example:

public Task MyAction([FromParams(BindingStyle.Object)] string? data = "123"){
  // if jsonrpc request has params: null
  // data will be "123" instead of null
}

There is no workaround because aspnet ignores binding result if it's null and this is hardcoded: https://github.com/dotnet/aspnetcore/blob/main/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs#L545

If you expect requests to have params: null, do not use default argument values for actions!

v5.2.0

26 Jul 14:48
faec7be
Compare
Choose a tag to compare

Bug Fixes

Features

  • bump versions, remove legacy (6f7a1cf)

v5.1.0

09 Jul 19:25
f9e3fe5
Compare
Choose a tag to compare

Bug Fixes

  • remove empty tag for controller without prefix (8b2d633)

Features

v5.0.1

09 Jul 06:44
18acc96
Compare
Choose a tag to compare

Bug Fixes

  • error response data logging (08fc776)

v5.0.0

18 Jun 13:01
f717f6e
Compare
Choose a tag to compare

Features

  • add advanced data for JRpcResult + typed methods for client + typed methods for responses (a97937a)
  • JsonRpcClient got extra methods for typed SendRequest<TRequest, TResponse> and SendBatch

BREAKING CHANGES

  • Fields such as 'AsAnyError', 'AsTypedError', 'AsErrorWithExceptionInfo' of ISingleJsonRpcResult and IBatchJsonRpcResult moved to field 'Advanced' and available for use e.g. 'result.Advanced.AsAnyError'

v4.5.0

03 May 11:22
14b7156
Compare
Choose a tag to compare

Bug Fixes

Features

  • autodoc: required properties from nullability state (ae0321b)

v4.4.1

01 Apr 14:26
de16c8c
Compare
Choose a tag to compare

Bug Fixes

  • autodoc: OpenRpcDoc: parse types with generic arguments correctly (d0d12e2)

v4.4.0

01 Apr 11:31
62e3c36
Compare
Choose a tag to compare

Bug Fixes

Features

  • add jsonRpc logging error-responses (8f0013b)