Skip to content

[new release] ppxlib (0.21.0)#18005

Closed
NathanReb wants to merge 1 commit intoocaml:masterfrom
NathanReb:release-ppxlib-0.21.0
Closed

[new release] ppxlib (0.21.0)#18005
NathanReb wants to merge 1 commit intoocaml:masterfrom
NathanReb:release-ppxlib-0.21.0

Conversation

@NathanReb
Copy link
Copy Markdown
Contributor

Standard library for ppx rewriters

CHANGES:

CHANGES:

- Driver (important for bucklescript): handling binary AST's, accept any
  supported version as input; preserve that version (ocaml-ppx/ppxlib#205, @pitag-ha)

- `-as-ppx`: take into account the `-loc-filename` argument (ocaml-ppx/ppxlib#197, @pitag-ha)

- Add input name to expansion context (ocaml-ppx/ppxlib#202, @pitag-ha)

- Add Driver.V2: give access to expansion context in whole file transformation
  callbacks of `register_transformation` (ocaml-ppx/ppxlib#202, @pitag-ha)

- Driver: take `-cookie` argument into account, also when the input is a
  binary AST (@pitag-ha, ocaml-ppx/ppxlib#209)

- `run_as_ppx_rewriter`: take into account the arguments
  `-loc-filename`, `apply` and `dont-apply` (ocaml-ppx/ppxlib#205, @pitag-ha)

- Location.Error: add functions `raise` and `update_loc`
  (ocaml-ppx/ppxlib#205, @pitag-ha)
@NathanReb
Copy link
Copy Markdown
Contributor Author

Hmm did we break something? That's not intentional, let me look into it!

@NathanReb
Copy link
Copy Markdown
Contributor Author

If you don't mind, I'll force push to erase your commit so we can look into the revdeps failure!

@NathanReb NathanReb force-pushed the release-ppxlib-0.21.0 branch from 0101d63 to a5645e5 Compare January 20, 2021 16:16
@NathanReb NathanReb marked this pull request as draft January 20, 2021 16:42
@camelus
Copy link
Copy Markdown
Contributor

camelus commented Jan 20, 2021

Commit: a5645e5

A pull request by opam-seasoned @NathanReb.

☀️ All lint checks passed a5645e5
  • These packages passed lint tests: ppxlib.0.21.0

☀️ Installability check (+1)
  • new installable packages (1): ppxlib.0.21.0

@NathanReb
Copy link
Copy Markdown
Contributor Author

It indeed turned out to be an error on our part, I'll fix it and re-release!

@NathanReb NathanReb closed this Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants