Releases: williamw520/zigjr
Releases · williamw520/zigjr
Release 1.9.0
- Releases 1.9.0
- Add the .asLogger() convenient method in DbgLogger and FileLogger for ease of usage.
- Add frame.readHttpLine() to parse the HTTP request line.
Release 1.8.0
- Releases 1.8.0
- Make the example hello_net.zig return a proper HTTP response in the --http mode.
- Allow setting listening port in hello_net server example.
- Handling server termination command as a JSON-RPC command.
Release 1.7.0
- Releases 1.7.0
- Add a network based JSON-RPC server example, over either HTTP or plain TCP.
- Use more rich RunStatus instead of bool for return value of runXX().
Allow stream to be canceled via the RunStatus.end_stream flag. - Flush writer at the end of writing a Content-Length based message.
Release 1.6.0
Releases 1.6.0
- Breaking change. FileLogger allocates its own write_buf now instead of taking in a passed in buffer, making it easier to use and more self contained.
Release 1.5.0
Releases 1.5.0
- Breaking change. Simplify RpcPipeline.runRequest() API by removing of the passed in Allocator.
- Breaking change. Simplify dispatcher API. Remove the need to pass in an Allocator to dispatch() and dispatchEnd(). The Dispatcher object is expected to manage its own allocator as needed.
- Breaking change. Redo and formalize extended handlers on RpcDispatcher. Add OnErrorHandler. Add tests.
Release 1.4.0.
- Breaking change!
Rename RpcRegistry to RpcDispatcher.
Rename rpc_registry.zig to rpc_dispatcher.zig.
Add stream.runByDelimiter() and stream.runByContentLength() to take on RpcDispatcher as parameter.
Release 1.3.3
- Remove 'null' fields when stringifying objects to JSON. This allows less forgiving MCP clients to work.
- Add parseRpcResponseOpts() to pass in parsing options, default to .ignore_unknown_fields = true.
- Add parseRpcRequestOpts() to pass in the parsing options, default to .ignore_unknown_fields = true.
- Add MCP test data.
- Add support for single optional parameter in rpc_pipeline. Support optional "params" in JSON RPC 2.0.
- Migrate to new gpa api.
- Add support for single optional parameter in json_call.
- Migrate gpa to new API.
Release 1.3.2
Full Changelog: 1.3.1...1.3.2
Release 1.3.1
Full Changelog: 1.3.0...1.3.1
Release 1.3.0
Migrated to use the Zig 0.15.1 API.
Breaking Changes! To accommodate the new way Zig 0.15.1 doing IO, ZigJR's API has been modified to be compliant. In particular, all reader and writer parameters are std.Io.Reader and std.Io.Writer now.