Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions data/changelog/ppxlib/2023-06-20-ppxlib-0.30.0.md
Original file line number Diff line number Diff line change
@@ -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)
Comment thread
tmattio marked this conversation as resolved.
Outdated
* multiple errors are now reported in `metaquot`. ([ocaml-ppx/ppxlib#397](https://github.com/ocaml-ppx/ppxlib/pull/397), @Burnleydev1)
Comment thread
tmattio marked this conversation as resolved.
Outdated
* 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 `let` binding non-recursive ([ocaml-ppx/ppxlib#401](https://github.com/ocaml-ppx/ppxlib/pull/401), @sim642)
Comment thread
tmattio marked this conversation as resolved.
Outdated
* 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 magic to version towards the current version,
Comment thread
tmattio marked this conversation as resolved.
Outdated
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)
Comment thread
tmattio marked this conversation as resolved.
Outdated
* 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)
Comment thread
tmattio marked this conversation as resolved.
Outdated
---


We're excited to announce the release of Ppxlib 0.30.0! It comes with support for OCaml 5.1, and various enhancements and bug fixes.
Comment thread
tmattio marked this conversation as resolved.
Outdated

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.
Comment thread
tmattio marked this conversation as resolved.
Outdated

Finally, this release enhances Ppxlib's compatibility with ReScript, introducing "ns" and "res" as reserved namespaces.