1. Jul 28, 2022
  2. 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
  3. Jul 13, 2022
  4. Jul 06, 2022
    • Niklas Adolfsson's avatar
      middleware refactoring (#793) · 3ee635ff
      Niklas Adolfsson authored
      * WIP: refactoring
      
      * refactor http server
      
      * fix tests
      
      * Delete TODO.txt
      
      * fix tests again
      
      * add benches/src/lib.rs
      
      * remove bench changes; fast less deps
      
      * no more env_logger
      
      * update examples
      
      * ws server; expose headers in middleware
      
      * add back uncommented code
      
      * fix nits
      
      * make the code more readable
      
      * add back the tracing stuff
      
      * simplify code but one extra clone
      
      * fix tests again
      
      * revert async accept API
      
      * fix nits
      
      * different traits for WS and HTTP middleware
      
      * fix tests
      
      * revert benchmark change
      
      * Update core/src/server/helpers.rs
      
      * Update ws-server/Cargo.toml
      
      * add limit to batch responses as well
      
      * pre-allocate string for batches
      
      * small refactor
      3ee635ff
  5. Jun 21, 2022
  6. Jun 14, 2022
  7. Jun 01, 2022
  8. May 13, 2022
  9. May 11, 2022
  10. May 06, 2022
  11. May 03, 2022
  12. Apr 21, 2022
  13. Apr 20, 2022
    • Niklas Adolfsson's avatar
      feat: WASM client via web-sys transport (#648) · 20e6e5de
      Niklas Adolfsson authored
      
      
      * feat: untested web-sys transport
      
      * rewrite me
      
      * make it work
      
      * add hacks and works :)
      
      * add subscription test too
      
      * revert StdError change; still works
      
      * cleanup
      
      * remove hacks
      
      * more wasm tests outside workspace
      
      * kill mutually exclusive features
      
      * merge nits
      
      * remove unsafe hack
      
      * fix nit
      
      * core: fix features and deps
      
      * ci: add WASM test
      
      * test again
      
      * work work
      
      * comeon
      
      * work work
      
      * revert unintentional change
      
      * Update core/Cargo.toml
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update core/src/client/async_client/mod.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * revert needless change: std hashmap + fxhashmap works
      
      * cleanup
      
      * extract try_connect_until fn
      
      * remove todo
      
      * fix bad merge
      
      * add wasm client wrapper crate
      
      * fix nits
      
      * use gloo-net dependency
      
      * fix build
      
      * grumbles CI: rename to `wasm_tests`
      
      * fix bad merge
      
      * fix grumbles
      
      * fix nit
      
      * comeon CI
      
      Co-authored-by: default avatarDavid <[email protected]>
      20e6e5de
    • Niklas Adolfsson's avatar
      fix(rpc module): fail subscription calls with bad params (#728) · 9fa817d9
      Niklas Adolfsson authored
      
      
      * fix(rpc module): fail subscription with bad params
      
      * draft; show my point
      
      * fix tests
      
      * fix build
      
      * add tests for proc macros too
      
      * add tests for bad params in proc macros
      
      * fix nits
      
      * commit all files
      
      * add ugly fix for proc macro code
      
      * add more user friendly API
      
      * make SubscriptionSink::close take mut self
      
      * fix grumbles
      
      * show james some code
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * remove needless clone
      
      * fix build
      
      * client fix docs + error type
      
      * simplify code: merge connect reset and unsubscribe close reason
      
      * remove unknown close reason
      
      * refactor: remove Error::SubscriptionClosed
      
      * add some nice APIs to ErrorObjectOwned
      
      * unify api
      
      * address grumbles
      
      * remove redundant methods for close and reject
      
      * proc macro: compile err when subscription -> Result
      
      * rpc module: fix test subscription test
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update proc-macros/src/lib.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * address grumbles
      
      * remove faulty comment
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update core/src/server/rpc_module.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * fix: don't send `RPC Call failed: error`.
      
      * remove debug assert
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      Co-authored-by: default avatarDavid <[email protected]>
      9fa817d9
  14. 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
  15. Apr 04, 2022
  16. Mar 30, 2022
  17. Mar 29, 2022
  18. Feb 11, 2022
  19. Feb 03, 2022
  20. Jan 21, 2022
  21. Jan 10, 2022
  22. Jan 06, 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