Besides several new features such as support for asynchronous foreign function calls and improved cross compilation support, this release introduces a number of backwards-incompatible changes, which are described below. If your code is available on OPAM and is affected by these changes then you should have received a pull request with a fix. If you have questions about how to update your code, please feel free to post to the mailing list.
Selected new features:
- The Cstubs.FOREIGN interface has been extended with
@->, and with some new types. See PR#389 for details.
NB: code that generates bindings using Cstubs may need to be updated to select return and @-> from the bindings functor argument rather than from the Ctypes module. Code that needs to be updated will fail to compile with the new interface. The pull request shows how to update your code, if necessary.
- The Cstubs module can now generate asynchronous bindings to C functions using the Lwt jobs framework. See the PR#391 for details.
- The Cstubs module now supports optionally returning errno alongside the return value of bound C functions. See PR#392 for details.
- Cross-compilation support is improved: the configuration step no longer runs binaries on the host. See PR#383 for details.
- The Unsigned.S interface has new
Besides the changes to
Cstubs.FOREIGN, ocaml-ctypes 0.6.0 introduces
the following backwards-incompatible changes:
- The deprecated
+:+functions have been removed. Use
- OCaml 4.00.* is no longer supported. The earliest supported OCaml release is 4.01.0.
You can find the full ChangeLog on the main repository.
- testing ocaml-migrate-parsetree with `ppx_deriving_crowbar`
- Windows Unicode Support - A Bug-Fix 12 Years in the Making
- Fuzzing for CI Workflows
- Testing Your Own Fork With OCaml's GitHub CI
- Platforms, Packaging, Progress
- Merlin 3.0.0 on Windows
- A New Implementation of Git
- Major Releases of Cohttp, Conduit, DNS and TCP/IP Libraries
- OCaml 4.05.0 Released
- Intel Hyper-Threading Bug Uncovered by OCaml Developers