1. Nov 06, 2023
  2. Nov 03, 2023
    • Niklas Adolfsson's avatar
      feat(server): JSON-RPC specific middleware (#1215) · 8a24e245
      Niklas Adolfsson authored
      
      
      * refactor new jsonrpc middleware
      
      * add jsonrpsee specific service trait
      
      * use tower::ServiceBuilder for composable middleware
      
      * revert changelog
      
      * fix nits
      
      * types: impl Clone
      
      * clarify examples
      
      * Update server/src/middleware/mod.rs
      
      * Update server/src/transport/http.rs
      
      * remove some boiler plate
      
      * add back logging
      
      * remove needless Arc
      
      * remove clone bounds for Middleware
      
      * add wrapper for tower::ServiceBuilder
      
      * fix docs
      
      * add modify request example
      
      * add rate limit example
      
      * fix some nits in rate limiting middleware example
      
      * Meta -> Context
      
      * restruct middleware module
      
      * fix broken links
      
      * grumbles: remove `Context`
      
      * fix tests
      
      * Update examples/examples/rpc_middleware_modify_request.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * fix grumbles
      
      * grumbles: adjust docs for method response
      
      * grumbles: MethodKind::Unknown -> NotFound
      
      * Update examples/examples/http_middleware.rs
      
      * fix some nits in examples
      
      ---------
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      8a24e245
  3. Oct 31, 2023
  4. Oct 23, 2023
  5. Oct 19, 2023
  6. Oct 18, 2023
  7. Oct 16, 2023
  8. Oct 11, 2023
  9. Oct 04, 2023
  10. Oct 02, 2023
  11. Sep 28, 2023
    • Niklas Adolfsson's avatar
      fix(server): remove `bounded channel` check (#1209) · 08d6a186
      Niklas Adolfsson authored
      This was intended to propogate the backpressure all the way down the
      underlying socket but it's weird and doesn't work very well.
      
      For subscriptions the backpressure will be handled by
      implementation itself and just rely on that now.
      08d6a186
  12. Sep 27, 2023
  13. Sep 25, 2023
  14. Sep 15, 2023
  15. Sep 14, 2023
  16. Sep 08, 2023
  17. Sep 05, 2023
  18. Aug 30, 2023
  19. Aug 28, 2023
  20. Aug 25, 2023
  21. Aug 21, 2023
  22. Aug 18, 2023
  23. Aug 17, 2023
  24. Aug 15, 2023
  25. Aug 14, 2023
  26. Aug 11, 2023
    • Niklas Adolfsson's avatar
      chore: release v0.20.0 (#1180) · f3295400
      Niklas Adolfsson authored
      * chore: release v0.20.0
      
      * Update CHANGELOG.md
      
      * Update CHANGELOG.md
      
      * add links to github profiles in changelog
      v0.20.0
      f3295400
    • Niklas Adolfsson's avatar
      refactor(server): move host filtering to tower middleware (#1179) · 119d3ae1
      Niklas Adolfsson authored
      * refactor: move host filtering to tower middleware
      
      * fix tests
      
      * commit missing file
      
      * fix match on authority
      
      * add some tests for authority
      
      * grumbles: Arc<WhitelistedHosts>
      
      * grumbles: split host filter code
      
      * add example for host filter middleware
      
      * Update examples/examples/host_filter_middleware.rs
      
      * url.rs -> middleware/authority.rs
      119d3ae1
  27. Aug 10, 2023
  28. Aug 09, 2023
    • Niklas Adolfsson's avatar
      refactor(client): support default port number (#1172) · ad9dab3a
      Niklas Adolfsson authored
      * refactor(client): support default port number
      
      * fix nits
      
      * Update client/transport/src/ws/mod.rs
      
      * fix more nits
      ad9dab3a
    • Niklas Adolfsson's avatar
      refactor: server host filtering (#1174) · 38193f0e
      Niklas Adolfsson authored
      * refactor: server host filtering
      
      Cleans up the host filtering by allowing `ipv6 addresses`, fixes a bug when
      host filtering with `*` is configured when a request is missing the default port.
      
      In addition the API on the server is stricter and hosts filtering with invalid
      authorities are now rejected which wasn't the case before.
      
      * fix some nits
      
      * fix build again
      
      * allow requests with/without default port
      
      * switch to `route_recognizer` for URL recognition
      
      * remove weird From impl
      
      * Update core/src/server/host_filtering.rs
      
      * Update tests/tests/integration_tests.rs
      
      * refactor host filter API
      
      * address grumbles
      
      * fix clippy
      
      * host filter: switch to TryFrom
      
      * Update server/src/server.rs
      
      * Update server/src/server.rs
      38193f0e