|
| 1 | +--- |
| 2 | +title: Ppxlib 0.30.0 |
| 3 | +date: "2023-06-20" |
| 4 | +tags: [ppxlib, release] |
| 5 | +changelog: | |
| 6 | + * Adopt the OCaml Code of Conduct on the repo ([ocaml-ppx/ppxlib#426](https://github.com/ocaml-ppx/ppxlib/pull/426), @pitag-ha) |
| 7 | + * Clean up misleading attribute hints when declared for proper context. ([ocaml-ppx/ppxlib#425](https://github.com/ocaml-ppx/ppxlib/pull/425), @ceastlund) |
| 8 | + * `Ast_pattern` now has `ebool`, `pbool` helper, and a new map.([ocaml-ppx/ppxlib#402](https://github.com/ocaml-ppx/ppxlib/pull/402), @Burnleydev1) |
| 9 | + * Multiple errors are now reported in `metaquot`. ([ocaml-ppx/ppxlib#397](https://github.com/ocaml-ppx/ppxlib/pull/397), @Burnleydev1) |
| 10 | + * Add `Attribute.declare_with_attr_loc` ([ocaml-ppx/ppxlib#396](https://github.com/ocaml-ppx/ppxlib/pull/396), @dvulakh) |
| 11 | + * Add "ns" and "res" as reserved namespaces([ocaml-ppx/ppxlib#388](https://github.com/ocaml-ppx/ppxlib/pull/388), @davesnx) |
| 12 | + * Make `Quoter`'s `let` binding non-recursive ([ocaml-ppx/ppxlib#401](https://github.com/ocaml-ppx/ppxlib/pull/401), @sim642) |
| 13 | + * Fix failure of 'lift_map_with_context' in traverse by compile-time |
| 14 | + evaluation of 'fst' and 'snd' ([ocaml-ppx/ppxlib#390](https://github.com/ocaml-ppx/ppxlib/pull/390), @smuenzel) |
| 15 | + * Driver: Bias the mapping from `Parsetree` magic numbers to `Parsetree` versions towards the current version, |
| 16 | + as it is usually the common case and it helps when magic numbers are |
| 17 | + ambiguous (such as on development versions) ([ocaml-ppx/ppxlib#409](https://github.com/ocaml-ppx/ppxlib/pull/409), @shym) |
| 18 | + * Remove unnecessary test dependencies towards `base` and `stdio` ([ocaml-ppx/ppxlib#421](https://github.com/ocaml-ppx/ppxlib/pull/421), @kit-ty-kate) |
| 19 | + * Update description to reflect that `ppxlib` contains more than a library |
| 20 | + ([Update the opam description ocaml-ppx/ppxlib#422](https://github.com/ocaml-ppx/ppxlib/pull/422), @pitag-ha) |
| 21 | + * Add support for OCaml 5.1, excluding OCaml `5.1.0~alpha1` ([ocaml-ppx/ppxlib#428](https://github.com/ocaml-ppx/ppxlib/pull/428), @shym, @Octachron , @pitag-ha, @panglesd) |
| 22 | + * Driver: Fix `-locations-check` option for coercions with ground ([ocaml-ppx/ppxlib#428](https://github.com/ocaml-ppx/ppxlib/pull/428), @Octachron) |
| 23 | +--- |
| 24 | + |
| 25 | + |
| 26 | +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. |
| 27 | + |
| 28 | +For PPX writing, `Ast_pattern` now offers additional utility functions, while `metaquot` benefits from improved error reporting. |
| 29 | + |
| 30 | +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. |
| 31 | + |
| 32 | +Finally, this release enhances Ppxlib's compatibility with ReScript, introducing "ns" and "res" as reserved namespaces. |
0 commit comments