Skip to content

Latest commit

 

History

History
79 lines (51 loc) · 2.13 KB

File metadata and controls

79 lines (51 loc) · 2.13 KB

Changelog

All notable changes to this project will be documented in this file.

Unreleased

  • typescript-client: Remove dependencies on WebSockets npm packages (@types/ws, ws and isomorphic-ws).
  • typescript-client: Set the minimum Node.js version to 22, because that's the version where support for the standard WebSockets was stabilized.
  • Add Cargo.lock to the repo
  • Fix Axum example

0.6.4 - 2025-04-17

  • Remove 'anyhow:' prefix from errors.

0.6.3 - 2025-03-29

  • Add RpcSession::handle_incoming_parsed and RpcSession::process_incoming_parsed
  • Replace async-mutex with async-lock

0.6.0 - 2024-07-06

  • ts client: fix memory leak
  • Update yerpc-derive dependencies

0.5.3 - 2023-12-02

  • Update axum
  • Remove Cargo.lock
  • Use edition 2021 resolver
  • Fix clippy
  • Update autogenerated files

0.5.2

  • Add openrpc_specification() method to RpcServer trait
  • Remove yerpc-tide crate
  • Add documentation comments

0.5.1

  • Do not inline method types. All definitions go into #/components/schemas and parameters reference them.

0.5.0

This release adds OpenRPC generation support.

  • Added openrpc.json output: enable it with an openrpc feature and openrpc_outdir attribute, like this #[rpc(openrpc_outdir = "./")]
  • Breaking: you now need to specify that you want typescript bindings as they are not enabled by default #[rpc(ts_outdir = "typescript/generated")] instead of just #[rpc]
  • Add public RpcSession.process_incoming() method
  • Move scripts into scripts/ directory

0.4.4

  • add RpcSession::server() method

0.4.2

  • rust packages are unchanged from 0.4.1
  • removed unneeded files from NPM package

0.4.1

  • increase compatibility with jsonrpc 1.0 by allowing id == 0 and to omit "jsonrpc":"2.0" property #31
  • upgrade axum to 0.6.6
  • add CommonJS build
  • fix: update generated ts types that were forgotten in 0.4.0

0.4.0

  • also allow strings as ids #27
  • remove __AllTyps ts type from output #18
  • Do not crash if "params" are omitted from request #22
  • fix: correct feature flags axum for tests

Older

see git commit history for older releases