Skip to content

Releases: tochka-public/Tochka.JsonRpc

v6.5.2

09 Oct 08:36
42a534d
Compare
Choose a tag to compare

Bug Fixes

v6.5.1

23 Sep 19:51
4e81435
Compare
Choose a tag to compare
Merge pull request #119 from tochka-public/feature/CSHARP-167

fix: allow PropertyNamingPolicy = null

v6.5.0

23 Sep 19:49
4e81435
Compare
Choose a tag to compare

Bug Fixes

Features

  • add tests (6298a81)
  • codestyle and summary (18a1975)
  • examples (2167a0d)
  • JsonRpc.Server can work with requests without params, JsonRpc.Client has methods without params (d80a3f9)
  • minor fixes (d438338)

v6.4.1

12 Sep 14:31
d8d0c5c
Compare
Choose a tag to compare
Merge pull request #118 from tecAmoRaller/fix/EndpointMetadata

[fix] Endpoint Metadata Validation

v6.4.0

28 Aug 06:59
a31a13a
Compare
Choose a tag to compare

Features

  • move pre-defined errors to constants (919cca2)
  • rename JsonRpcPreDefinedErrorCodes to JsonRpcErrorCodes (f80e2bf)

v6.3.1

27 Aug 14:21
77b9d28
Compare
Choose a tag to compare

Bug Fixes

  • autodoc: remove duplicate endpoints at servers section (bc4bf16)

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)