Announcing the release to OPAM of Orsetto 1.1.2, an update to a personal project of mine not sponsored by my employer. Licensed with BSD 2-Clause.
Q. What is Orsetto?
Aspires to do eventually for OCaml more or less what Serde has done for Rust, i.e. to be a curated and self-contained collection of structured data interchange languages with a cohesive and unified model of serialization and deserialization.
Two interchange languages are currently supported: JSON and CBOR .
Q. What is new in this release?
Mostly error corrections, particularly in the CBOR library, produced by improving test coverage. The change log for the release is here: CHANGES.md
Highlights:
- Major improvements in test coverage.
- Many corrections for logic errors.
- A few minor usability improvements.
Some things have not changed:
- Still has no Programmer Guide or Tutorial, or really any introduction at all.
- Still requires ocamlfind and builds with omake, which is currently not compatible with OCaml 5.0.
- Still only supports JSON and CBOR.
Q. It looks incomplete. What are your plans for future development?
Yes, it’s a personal project, and yes, I’m aware there are no reverse dependencies on it currently in the public OPAM repository. Still, I’d welcome opportunities to collaborate with others who share my vision for the project. As long as it’s just me working on this, development will continue to be somewhat slow, as I’m prone to over-engineer things I care about. I have a lot of projects, and this is the only open source one.
-
Orsetto 1.1.2 is the current release. It adds generalized and extensible structured data interchange models with specializations for producing emitters and parsers for JSON and CBOR. The quality of the CBOR support is much improved, and I’m using it with good results in other projects. Supported on OCaml >= 4.08.
-
Orsetto 1.2 is the next planned release. It will drop interfaces marked
@caml.deprecated
in the 1.1 release. It will also drop support for OCaml < 4.10, and it will stop depending on ocamlfind. I hope to add a PPX for deriving parsers and emitters from OCaml data type definitions. I might also consider one or more new interchange languages— suggestions are heartily encouraged.
p.s. This release has been ready for months on my development branch and it was delayed by a constellation of interdependent obstacles to performing the release ritual that required I set aside a considerable block of personal time to address them all at once. My apologies for that. I’ve finally got everything repaired, and further error correction updates should be released on a more timely basis going forward.