These 8 commits are when the Protocol Buffers files have changed:
| Commit: | 558d365 | |
|---|---|---|
| Author: | Elder Ryan | |
| Committer: | GitHub | |
refactor(rpc): drop protobuf/prost, keep JSON-RPC (#593) * refactor(rpc): drop protobuf/prost, keep JSON-RPC The rpc messages were generated from rings_node.proto via prost, but the wire format has always been JSON-RPC (serde_json) — protobuf binary encode/decode was never called and the .proto `service` blocks were never wired to codegen. Replace the generated structs with hand-written serde structs (identical field names/types, so the JSON wire is unchanged), and remove prost, prost-build-config, the build script and the .proto files. JSON-RPC, the Method enum, the handler dispatch, the jsonrpc client, cli, FFI and the browser provider are all unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore: bump version to 0.7.1 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * fix(npm): drop proto from the JS package path Address review: the npm package still referenced the deleted rings_node.proto via the `proto_generate` script (pbjs/pbts) and the `rings_node_proto` re-export in index.ts, breaking `npm run prepare`. Remove the `proto_generate` script and its use in `prepare`, drop the `rings_node_proto` export, and remove the `protobufjs` / `protobufjs-cli` dependencies. Also bump the npm package version to 0.7.1 to match the workspace. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore(npm): clean dist in prepare for deterministic packaging Follow-up to review hygiene note: `prepare` now removes `dist/` before recreating it, so stale generated files (e.g. old rings_node_proto.*) cannot leak into a local `npm pack`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit does not contain any .proto files.
| Commit: | 25fee46 | |
|---|---|---|
| Author: | Ryan.K | |
| Committer: | Ryan.K | |
refactor(rpc): drop protobuf/prost, keep JSON-RPC The rpc messages were generated from rings_node.proto via prost, but the wire format has always been JSON-RPC (serde_json) — protobuf binary encode/decode was never called and the .proto `service` blocks were never wired to codegen. Replace the generated structs with hand-written serde structs (identical field names/types, so the JSON wire is unchanged), and remove prost, prost-build-config, the build script and the .proto files. JSON-RPC, the Method enum, the handler dispatch, the jsonrpc client, cli, FFI and the browser provider are all unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit does not contain any .proto files.
| Commit: | 3ffcdd2 | |
|---|---|---|
| Author: | magine | |
| Committer: | GitHub | |
refactor: replace channel with callback of transport in swarm (#561) * Separate transport operation in swarm * Implement PayloadSender for SwarmTransport * Update handshake api * Update callback mode * Remove channel * Use MessageHandler in callback * Update rings-core api in rings-node * Simplify return type of gen_sorted_ht and gen_pure_dht * Implement a node in default test for monitoring * Fix static check of connection handler test * Fix static check of tests * Remove not using module and its dependencies * Fix static check of wasm tests * Fix callback of dummy transport * Should always invoke user defined callbacks * Should notify connected after data channel opened * Fix dummy test datachannel callback behaviour * Wait for msgs in stabilization and storage tests * Fix test_fourth_node_connection by incr wait time * Remove meaningless disconnected cleanup test * Fix len error in test_extend_data * Fix test_extend_data in storage handler * Test case enhance * Temeparary skip dummy tests * Wait for msg arriving in test * Fix handshake_on_both_sides test * Fix receiver dropping bug in test_stabilization_final_dht * Upgrade stabilization api * Hide the SwarmTransport in the Swarm of rings-core
The documentation is generated from this commit.
| Commit: | 3b4955d | |
|---|---|---|
| Author: | magine | |
| Committer: | GitHub | |
Collect rust packages to crates directory (#515)
| Commit: | 476255d | |
|---|---|---|
| Author: | magine | |
| Committer: | GitHub | |
fix: rings jsonrpc client (#513) * Fix rings cmd helper * Fix rings jsonrpc client * Fix CI * connect_peer_via_http in provider should use request * Update CI of ffi * The offer is already encoded * Update comment * Bump version
| Commit: | 293036d | |
|---|---|---|
| Author: | magine | |
| Committer: | GitHub | |
refactor!: add RpcHandler to export api across platform (#508) * Add protobuf api in js * fix: fix package upload error * Update package config and release action * Add protobuf api in rust * Setup protoc in github action * Generate tonic service client * Update rings_node service description * Remove tonic, enable serde in protobuf generated code * Upgrade proto-serde to proto-build-config * Fix rings_node serde derive * Remove tonic cause you cannot use it in wasm * Rename backend compose
| Commit: | 14be8db | |
|---|---|---|
| Author: | Momo | |
| Committer: | GitHub | |
use jsonrpc for node backend server (#96)
This commit does not contain any .proto files.
| Commit: | 2b6651c | |
|---|---|---|
| Author: | momo | |
| Committer: | momo | |
add more clap command and new grpc daemon server