1. Nov 07, 2022
    • Niklas Adolfsson's avatar
      [client]: improve batch request API (#910) · 824c3691
      Niklas Adolfsson authored
      * better handling of batch requests
      
      * add test for untagged enum
      
      * remove annoying trait bounds
      
      * cleanup
      
      * more clear comments
      
      * simplify batch request code
      
      * bring back old API + a new one
      
      * refactor batches to work with String IDs again
      
      * refactor again: single batch response API
      
      * fix tests + cleanup
      
      * fix doc links
      
      * address grumbles
      
      * BatchRequestBuilder: add iterator API for the batch
      
      * revert bench
      
      * fix benches build
      
      * address grumbles: ok and into_ok
      
      * fix some nits
      
      * fix nits
      824c3691
  2. Sep 16, 2022
    • Niklas Adolfsson's avatar
      fix(tracing): use tracing instrument macro (#846) · 1efd5aea
      Niklas Adolfsson authored
      * tracing: use instrument macro
      
      * fix merge nit
      
      * cargo fmt
      
      * tracing span in TRACE only
      
      * Update core/src/client/async_client/mod.rs
      
      * get rid of tracing-futures
      
      * less noise for subscription spans
      
      * nits: replace spaces with tabs
      1efd5aea
  3. Sep 15, 2022
    • Niklas Adolfsson's avatar
      fix(http client): more user-friendly error messages when decoding fails (#853) · 94795309
      Niklas Adolfsson authored
      * fix(http client): serde_json::Value -> T
      
      This PR changes the http client to decode the reponse as `Response<serde_json::Value> -> Response<R>`
      In order to get a more user-friendly error message
      
      Before:
      
      ```
      response: Err(ParseError(Error("missing field `error`", line: 1, column: 3752798)))
      ```
      
      After
      
      ```
      2022-08-11T13:57:12.033043Z  INFO http: r: Parse error: invalid type: string "lo", expected u8
      ```
      
      * address grumbles
      
      * Update client/http-client/src/client.rs
      
      * Update client/http-client/src/client.rs
      94795309
  4. Sep 06, 2022
  5. Aug 11, 2022
  6. Jul 29, 2022
  7. Jul 21, 2022
    • James Wilson's avatar
      chore(release): v0.15.0 (#827) · e7dc80d0
      James Wilson authored
      * Add generate_changelog and adapt release checklist from subxt to make the process a little easier
      
      * prepare to releasse v0.15.0
      
      * release checklist tweak
      
      * fix numbers in release checklist
      
      * Add details about #820 to changelog
      v0.15.0
      e7dc80d0
  8. Jul 13, 2022
  9. Jun 21, 2022
  10. Jun 14, 2022
  11. May 13, 2022
  12. May 11, 2022
  13. May 06, 2022
  14. May 03, 2022
  15. Apr 21, 2022
  16. Apr 20, 2022
  17. Apr 05, 2022
    • Niklas Adolfsson's avatar
      chore(release): v0.10.1 (#727) · 5c8f1f77
      Niklas Adolfsson authored
      * refactor(log): downgrade send errors to warn
      
      These logs are most likely related to that the client terminated the connection
      and they come with significant overhead.
      
      * chore(release): v0.10.1
      v0.10.1
      5c8f1f77
  18. Apr 04, 2022
  19. Mar 30, 2022
  20. Mar 29, 2022
  21. Feb 03, 2022
  22. Jan 21, 2022
  23. Dec 22, 2021
  24. Dec 20, 2021
    • Niklas Adolfsson's avatar
      extract async client abstraction. (#580) · 292bd88a
      Niklas Adolfsson authored
      
      
      * extract ws client to async client
      
      * bring back jsonrpsee-ws-client crate
      
      * new crate core client
      
      * add missing file
      
      * jsonrpsee crate: add core client
      
      * rexport core client
      
      * more re-exports
      
      * downgrade trait bounds
      
      * update version
      
      * fix nits
      
      * send close reason
      
      * Update types/src/traits.rs
      
      * move 'TEN_MB_CONST' to core
      
      * Update client/core-client/Cargo.toml
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update client/core-client/src/lib.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * cargo fmt
      
      * Update client/ws-client/src/lib.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update client/ws-client/src/lib.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * move `async-client` core
      
      The `async-client` is hidden behind a new feature flag `async-client`
      because it brings in additional dependecies such as tokio rt.
      
      * fix docs
      
      * add example how to use "core client"
      
      * fix build
      
      * Update http-server/Cargo.toml
      
      * Update client/transport/Cargo.toml
      
      Co-authored-by: default avatarDavid <[email protected]>
      292bd88a