Here at OCamlPro we’re happy to announce the (long awaited) release of ocp-indent.1.9.0.
The full release notes are available here if you want the detailed version.
1.9.0 contains mostly bug fixes, better and more consistent indentation of fun _ ->
and |>
, compatibility with cmdliner.1.3.0 and above (it works with 2.0.0) and a new utility tool: ocp-indent-gen-rules
for those of you who would like to try ocp-indent
in a dune fmt
like workflow.
This last bit is documented here. This is a feature that some of us wanted internally at OCamlPro so we decided to ship it with the tool as an experiment. We’d really like to hear if this fits your ocp-indent usage so please don’t hesitate to try it out and give us some feedback.
We’re also interested in hearing how you use ocp-indent in general and what you expect from it. Reach out if you have any request!
We’ve also updated the repo to fit the more recent development standards. We migrated the test suite to dune cram tests and re-enabled them in opam.
Hopefully this should make contributing to ocp-indent a smoother experience!
Also be aware that we’ll do our best to maintain ocp-indent more actively from now on.
We’d like to thank our external contributors for this release: @dbuenzli, @nojb, @bcc32 and @Julow.
Happy indenting!