diff --git a/data/changelog/ppxlib/2023-06-20-ppxlib-0.30.0.md b/data/changelog/ppxlib/2023-06-20-ppxlib-0.30.0.md new file mode 100644 index 0000000000..d3454ac5c0 --- /dev/null +++ b/data/changelog/ppxlib/2023-06-20-ppxlib-0.30.0.md @@ -0,0 +1,32 @@ +--- +title: Ppxlib 0.30.0 +date: "2023-06-20" +tags: [ppxlib, release] +changelog: | + * Adopt the OCaml Code of Conduct on the repo ([ocaml-ppx/ppxlib#426](https://github.com/ocaml-ppx/ppxlib/pull/426), @pitag-ha) + * Clean up misleading attribute hints when declared for proper context. ([ocaml-ppx/ppxlib#425](https://github.com/ocaml-ppx/ppxlib/pull/425), @ceastlund) + * `Ast_pattern` now has `ebool`, `pbool` helper, and a new map.([ocaml-ppx/ppxlib#402](https://github.com/ocaml-ppx/ppxlib/pull/402), @Burnleydev1) + * Multiple errors are now reported in `metaquot`. ([ocaml-ppx/ppxlib#397](https://github.com/ocaml-ppx/ppxlib/pull/397), @Burnleydev1) + * Add `Attribute.declare_with_attr_loc` ([ocaml-ppx/ppxlib#396](https://github.com/ocaml-ppx/ppxlib/pull/396), @dvulakh) + * Add "ns" and "res" as reserved namespaces([ocaml-ppx/ppxlib#388](https://github.com/ocaml-ppx/ppxlib/pull/388), @davesnx) + * Make `Quoter`'s `let` binding non-recursive ([ocaml-ppx/ppxlib#401](https://github.com/ocaml-ppx/ppxlib/pull/401), @sim642) + * Fix failure of 'lift_map_with_context' in traverse by compile-time + evaluation of 'fst' and 'snd' ([ocaml-ppx/ppxlib#390](https://github.com/ocaml-ppx/ppxlib/pull/390), @smuenzel) + * Driver: Bias the mapping from `Parsetree` magic numbers to `Parsetree` versions 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](https://github.com/ocaml-ppx/ppxlib/pull/409), @shym) + * Remove unnecessary test dependencies towards `base` and `stdio` ([ocaml-ppx/ppxlib#421](https://github.com/ocaml-ppx/ppxlib/pull/421), @kit-ty-kate) + * Update description to reflect that `ppxlib` contains more than a library + ([Update the opam description ocaml-ppx/ppxlib#422](https://github.com/ocaml-ppx/ppxlib/pull/422), @pitag-ha) + * 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) + * Driver: Fix `-locations-check` option for coercions with ground ([ocaml-ppx/ppxlib#428](https://github.com/ocaml-ppx/ppxlib/pull/428), @Octachron) +--- + + +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.