From 7c437f582f6f24b92b7f13bb9e7e7a04b1ef3ec1 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 10 Jul 2024 10:34:44 -0400 Subject: [PATCH] prepare for 3.1 --- CHANGES.md | 14 ++++++++++++++ dune-project | 2 +- ocaml-protoc.opam | 2 +- pbrt.opam | 2 +- pbrt_services.opam | 2 +- pbrt_yojson.opam | 2 +- 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 65a44ea8..d7e6a2ea 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,18 @@ +## 3.1 + +- Expose one-of per-constructor options +- Support options for enum values +- expose server stubs for advanced users + +- fix: only generate services from the current file +- silence warning 44 in generated code +- Use generated encoders/decoders for empty messages in rpc + +breaking: + +- remove bs runtime, we don't support it going forward + ## 3.0.2 - fix segfault in pbrt in bytecode diff --git a/dune-project b/dune-project index cc634503..669ebdf7 100644 --- a/dune-project +++ b/dune-project @@ -1,7 +1,7 @@ (lang dune 2.0) (name ocaml-protoc) (generate_opam_files true) -(version 3.0.2) +(version 3.1) (maintainers "Maxime Ransan " "Simon Cruanes") (authors "Maxime Ransan " "Simon Cruanes") diff --git a/ocaml-protoc.opam b/ocaml-protoc.opam index 423220e0..43f5bfc9 100644 --- a/ocaml-protoc.opam +++ b/ocaml-protoc.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "3.0.2" +version: "3.1" synopsis: "Pure OCaml compiler for .proto files" maintainer: ["Maxime Ransan " "Simon Cruanes"] authors: ["Maxime Ransan " "Simon Cruanes"] diff --git a/pbrt.opam b/pbrt.opam index 1655cc86..7e557251 100644 --- a/pbrt.opam +++ b/pbrt.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "3.0.2" +version: "3.1" synopsis: "Runtime library for Protobuf tooling" maintainer: ["Maxime Ransan " "Simon Cruanes"] authors: ["Maxime Ransan " "Simon Cruanes"] diff --git a/pbrt_services.opam b/pbrt_services.opam index 684c0574..03985ae3 100644 --- a/pbrt_services.opam +++ b/pbrt_services.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "3.0.2" +version: "3.1" synopsis: "Runtime library for ocaml-protoc to support RPC services" maintainer: ["Maxime Ransan " "Simon Cruanes"] authors: ["Maxime Ransan " "Simon Cruanes"] diff --git a/pbrt_yojson.opam b/pbrt_yojson.opam index f163f3f5..815b7e39 100644 --- a/pbrt_yojson.opam +++ b/pbrt_yojson.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "3.0.2" +version: "3.1" synopsis: "Runtime library for ocaml-protoc to support JSON encoding/decoding" maintainer: ["Maxime Ransan " "Simon Cruanes"]