Ppxlib 0.30.0
We're excited to announce the release of Ppxlib 0.30.0! It comes with support for OCaml 5.1, various enhancements, and bug fixes.
For PPX writing, Ast_pattern now offers additional utility functions, while metaquot benefits from improved error reporting.
PPX usage sees better compatibility with OCaml trunk, thanks to the Driver's improved Parsetree version recognition. This allows for compatibility with both trunk and stable OCaml versions concurrently.
Finally, this release enhances Ppxlib's compatibility with ReScript, introducing "ns" and "res" as reserved namespaces.
See full changelog
- Adopt the OCaml Code of Conduct on the repo (ocaml-ppx/ppxlib#426, @pitag-ha)
- Clean up misleading attribute hints when declared for proper context. (ocaml-ppx/ppxlib#425, @ceastlund)
Ast_patternnow hasebool,pboolhelper, and a new map.(ocaml-ppx/ppxlib#402, @Burnleydev1)- Multiple errors are now reported in
metaquot. (ocaml-ppx/ppxlib#397, @Burnleydev1) - Add
Attribute.declare_with_attr_loc(ocaml-ppx/ppxlib#396, @dvulakh) - Add "ns" and "res" as reserved namespaces(ocaml-ppx/ppxlib#388, @davesnx)
- Make
Quoter'sletbinding non-recursive (ocaml-ppx/ppxlib#401, @sim642) - Fix failure of 'lift_map_with_context' in traverse by compile-time evaluation of 'fst' and 'snd' (ocaml-ppx/ppxlib#390, @smuenzel)
- Driver: Bias the mapping from
Parsetreemagic numbers toParsetreeversions towards the current version, as it is usually the common case and it helps when magic numbers are ambiguous (such as on development versions) (ocaml-ppx/ppxlib#409, @shym) - Remove unnecessary test dependencies towards
baseandstdio(ocaml-ppx/ppxlib#421, @kit-ty-kate) - Update description to reflect that
ppxlibcontains more than a library (Update the opam description ocaml-ppx/ppxlib#422, @pitag-ha) - Add support for OCaml 5.1, excluding OCaml
5.1.0~alpha1(ocaml-ppx/ppxlib#428, @shym, @Octachron , @pitag-ha, @panglesd) - Driver: Fix
-locations-checkoption for coercions with ground (ocaml-ppx/ppxlib#428, @Octachron)