1. Apr 26, 2024
  2. Apr 21, 2024
  3. Apr 08, 2024
    • Niklas Adolfsson's avatar
      fix(client): `disconnect_reason/read_error` is cancel-safe (#1347) · 5c65daf0
      Niklas Adolfsson authored
      * client: `disconnect_reason/read_error` cancel-safe
      
      If/when the connection is closed, the cause is fetched by `read_error` from the background task.
      It was not cancel-safe, which could have side-effects and mutate the state,
      such as the internal Option could be `None` and cause a panic.
      
      * fix wasm build
      
      * remove async_lock dependency
      5c65daf0
  4. Apr 07, 2024
  5. Apr 05, 2024
  6. Apr 04, 2024
  7. Mar 25, 2024
  8. Mar 22, 2024
  9. Mar 20, 2024
  10. Mar 16, 2024
  11. Mar 15, 2024
  12. Mar 12, 2024
  13. Mar 06, 2024
  14. Mar 05, 2024
  15. Feb 29, 2024
  16. Feb 22, 2024
  17. Feb 19, 2024
  18. Feb 13, 2024
  19. Feb 12, 2024
  20. Feb 07, 2024
    • Niklas Adolfsson's avatar
      chore: release v0.22.0 (#1285) · 72939a92
      Niklas Adolfsson authored
      * chore: release v0.22.0
      
      * Update CHANGELOG.md
      
      * Update CHANGELOG.md
      
      * Update CHANGELOG.md
      
      * Update CHANGELOG.md
      
      * make some small tweaks
      
      * Update CHANGELOG.md
      
      * Update CHANGELOG.md
      
      * Update CHANGELOG.md
      v0.22.0
      72939a92
    • Niklas Adolfsson's avatar
      refactor(rpc_module): RpcModule::raw_json_request -> String (#1287) · e1e7d734
      Niklas Adolfsson authored
      * change RpcModule::<call, subscribe, raw> -> String
      
      This PR changes the RpcModule to support the new async API in the
      MethodResponse and RpcModule::<call, subscribe, raw> now returns a
      String instead of MethodResponse.
      
      * refactor async response payload test
      e1e7d734
  21. Feb 06, 2024
    • Niklas Adolfsson's avatar
      feat(server): add `TowerService::on_session_close` (#1284) · 8470f2bb
      Niklas Adolfsson authored
      * add TowerService build and notify on session close
      
      * refactor the API
      
      * clarify docs
      
      * add test for on_session_close
      8470f2bb
    • Niklas Adolfsson's avatar
      feat: async API when `Response` has been processed. (#1281) · 387f52fa
      Niklas Adolfsson authored
      * feat: add `RpcModule::register_raw_method`
      
      * add proc macro support
      
      * rename API
      
      * simplify API with MethodResponse::notify_when_sent
      
      * improve notify API
      
      * fix nits
      
      * introduce ResponsePayloadV2
      
      * impl ResponsePayloadV2 for T
      
      * cleanup
      
      * client: proc macro support for custom ret_ty
      
      * add tests
      
      * address grumbles
      
      * remove unused code
      
      * fix tests
      
      * proc: revert unrelated changes
      
      * remove panics; move should be enough
      
      * bring back UI tests
      
      * grumbles: remove NotifiedError
      
      * break stuff for uniform API
      
      * make more stuff private
      
      * remove ResponseErrorUnit type alias
      
      * fix ui tests
      
      * Update proc-macros/src/render_server.rs
      
      * Rename ws_notify_on_method_answered.rs to response_payload_notify_on_response.rs
      
      * remove unit_error APIs
      
      * replace notify_on_x with notify_on_completion
      
      * Update server/src/transport/ws.rs
      387f52fa
  22. Feb 05, 2024
  23. Jan 26, 2024
  24. Jan 18, 2024
  25. Jan 17, 2024
  26. Jan 16, 2024
  27. Jan 11, 2024
  28. Dec 21, 2023
  29. Dec 13, 2023
  30. Dec 11, 2023
  31. Dec 08, 2023