Skip to content

v0.4.0

Compare
Choose a tag to compare
@TarikGul TarikGul released this 12 Oct 18:07
· 501 commits to master since this release
f949d9b

The v0.4 release is a breaking change.

[Added]

  • Document resource limiting (#510)
  • Resource limiting #500
  • Support http redirects when doing the ws handshake #397
  • Add convenience rpc_params macro to build params in http and ws clients #498
  • Method alias attribute for proc macros #442
  • Add benchmarks for concurrent connections #430
  • Support generic type params in the proc macro #436

[Changed]

  • use tokio::spawn internally in HttpServer::start and return StopHandle #402
  • remove ParamsSer::NoParams #501
  • http server uses similar API for host and origin filtering as WS #473
  • SubscriptionClosed errors carry more information #504
  • Improve feature configuration for faster builds and leaner build artifacts #494
  • Unbox async futures #495
  • WS clients default subscription buffer set to 1024 items #475
  • Re-export v2 submodules #469
  • Replace internal array_impl macro with const generics #470
  • Rename and reorganize many public types #462
  • Export acl types #466
  • Propagate cause of InvalidParams #463
  • Reject overflowing connection with status code 429 #456
  • Test helper for calling and converting types to JSON-RPC params #458
  • Make it possible to treat empty JSON response as no params #446
  • Methods generated by the proc macro return Result #435
  • Concurrent polling on async methods #424
  • Sniff the first byte to glean if the incoming request is a single or batch request #419
  • Upgrade hyper to ^0.14.10 #427
  • Proc macro params optimizations and tests. #421

[Fixed]

  • Proc macro Argument parsing should permit commas inside angle brackets #509
  • Fix http client bench with request limit #506
  • Fixed flaky test on windows #491
  • Share the request id code between the http and websocket clients #490
  • WS server terminates subscriptions when connection is closed by the client. #483
  • Subscription code generated by the proc macro generated returns Result #455
  • Proc macro generates documentation for trait methods. #453
  • Fix errors with generics when using the proc macro #433
  • WS client uses query part of the URL #429

[Removed]

  • Remove rustls #502
  • Remove cors_max_age #466
  • Remove support for tokio 0.2 runtimes #432