Skip to content

Commit

Permalink
Merge pull request #90 from talex5/release
Browse files Browse the repository at this point in the history
Prepare release
  • Loading branch information
talex5 authored Jul 19, 2023
2 parents 74633cf + 19071f6 commit cc46175
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
19 changes: 19 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# v3.6.0

- Update README to talk about stdint, not uint (reported by @liyishuai).
Also, remove out-of-date list of runtime packages needed. The build system can sort that out.

- Remove all `inlined` attributes (@talex5 #87 #88).
These cause confusing compiler warnings for users, which can't be disabled automatically,
and the inlining isn't being used anyway since https://github.com/capnproto/capnp-ocaml/pull/83.

- Fix "Unknown interface" error (@talex5 #85).
It reported the UUID of the actual object, not the UUID that was requested.
Also, add `Registry.pp_interface` for better error messages.

- Minor opam fixes (@talex5 #84).
Depend on dune >= 2.3 and don't try to build benchmarks; that only works on some platforms.

- Bump minimum OCaml version to 4.08.
4.07 doesn't work due to https://github.com/janestreet/base/issues/94.

# v3.5.0

New features:
Expand Down
7 changes: 3 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ The Cap\'n Proto types are mapped to OCaml types as follows:
| `Int64` | `int64`
| `UInt8` | `int`
| `UInt16` | `int`
| `UInt32` | `Uint32.t` (from https://github.com/andrenth/ocaml-uint[`uint`] library)
| `UInt64` | `Uint64.t` (from https://github.com/andrenth/ocaml-uint[`uint`] library)
| `UInt32` | `Uint32.t` (from https://github.com/andrenth/ocaml-stdint[`stdint`] library)
| `UInt64` | `Uint64.t` (from https://github.com/andrenth/ocaml-stdint[`stdint`] library)
| `Float32` | `float`
| `Float64` | `float`
| `Text` | `string`
Expand Down Expand Up @@ -504,8 +504,7 @@ http://kentonv.github.io/capnproto/install.html[install the Cap\'n Proto compile
Once the Cap\'n Proto compiler and capnp-ocaml are both installed, you should be
able to use `capnp compile -o ocaml yourSchemaFile.capnp` in order to generate
`yourSchemaFile.mli` and `yourSchemaFile.ml`. These modules will link against
OCaml packages `core_kernel`, `extunix`, `uint`, `ocplib-endian`, `res`, and of
course `capnp`.
the `capnp` library.

Instantiating the Modules
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion capnp.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ homepage: "https://github.com/capnproto/capnp-ocaml"
bug-reports: "https://github.com/capnproto/capnp-ocaml/issues"
license: "BSD-2-Clause"
depends: [
"ocaml" {>= "4.03.0"}
"ocaml" {>= "4.08.0"}
"dune" {>= "2.3"}
"result"
"base" {>= "v0.11"}
Expand Down

0 comments on commit cc46175

Please sign in to comment.