Skip to content

Releases: mirage/ocaml-rpc

v5.9.0: Merge pull request #126 from jonludlam/optional_named_params_fix

12 Jul 15:30
2525190
Compare
Choose a tag to compare

Add support for 3- and 4-tuples in `@@deriving rpcty` & fix Python exceptions

25 Jun 14:44
f551350
Compare
Choose a tag to compare
  • rpclib:
    • New Rpc.Types variants for 3- and 4-tuples
    • pythongen: fix generated exceptions
    • Remove broken Rpc_client
  • ppx_deriving_rpc:
    • rpcty ppx: Add support for 3- and 4-tuples

Option to ignore trailing junk in Jsonrpc.of_string

19 Jun 13:12
5134670
Compare
Choose a tag to compare

rpclib only:

  • Add optional strict parameter to jsonrpc.of_string to ignore trailing
    junk from input. By default trailing junk is not ignored (strict=true).

Important pythongen fixes

12 Jun 10:13
056107d
Compare
Choose a tag to compare

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

05 Jun 09:55
e99767d
Compare
Choose a tag to compare
  • 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

Minor rpclib and ppx_deriving_rpc fixes

30 May 12:58
623ddc9
Compare
Choose a tag to compare

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

01 May 14:42
2961268
Compare
Choose a tag to compare
Merge pull request #94 from mseri/master

Prepare to release 4.2.0

Cleanups + fix for marshalling/unmarshalling of large rpcs

30 Apr 10:52
65e8a7d
Compare
Choose a tag to compare
  • 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

25 Apr 13:58
Compare
Choose a tag to compare

3.2.0

05 Mar 18:08
3f62134
Compare
Choose a tag to compare
  • 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