Releases: mirage/ocaml-rpc
Releases · mirage/ocaml-rpc
v5.9.0: Merge pull request #126 from jonludlam/optional_named_params_fix
Optional named params fix
Add support for 3- and 4-tuples in `@@deriving rpcty` & fix Python exceptions
- rpclib:
- New
Rpc.Types
variants for 3- and 4-tuples - pythongen: fix generated exceptions
- Remove broken
Rpc_client
- New
- ppx_deriving_rpc:
- rpcty ppx: Add support for 3- and 4-tuples
Option to ignore trailing junk in Jsonrpc.of_string
rpclib only:
- Add optional
strict
parameter tojsonrpc.of_string
to ignore trailing
junk from input. By default trailing junk is not ignored (strict=true
).
Important pythongen fixes
Only rpclib changes:
- pythongen:
- Correctly call superclass init in exceptions
- Generate Exception subclasses for errors in interface
- Fix tuple typechecking
More rpclib and ppx_deriving_rpc fixes
- ppx_deriving_rpc:
- rpcty ppx: Fix warning 27 in generated field setter
- rpclib:
- pythongen:
- Fix Python argparse CLI
- Fix generated _test class to pass typechecking
- Add tests using CLI
- pythongen:
Minor rpclib and ppx_deriving_rpc fixes
ppx_deriving_rpc
- rpcty ppx: Avoid warning 23: "with clause is useless"
rpclib
- markdowngen:
- document params with same types but different defs
- escape special HTML and markdown chars
Further idl fixes
Merge pull request #94 from mseri/master Prepare to release 4.2.0
Cleanups + fix for marshalling/unmarshalling of large rpcs
- rpc_lwt: runtime check if all server as been bound to a function
- rpc_async: runtime check if all server as been bound to a function
- Avoid stack overflow due to List.map in Jsonrpc, Rpcmarshal, ppx
v4.0.0: Prepare to release 4.0.0
Signed-off-by: Jon Ludlam <[email protected]>
3.2.0
- idl.ml: make server check for completeness of the implementation
- idl.mli: hide details of server impl
- Add a space to store test data in an abstract type
- Add the type name to the ppx-generated variant value
- Improve the markdown documentation generator.
- idl: enforce use of 'internal_error_of' in Error.Make