Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new release] ocamlformat and ocamlformat-rpc-lib (0.23.0) #21745

Merged
merged 1 commit into from
Jul 7, 2022
Merged

[new release] ocamlformat and ocamlformat-rpc-lib (0.23.0) #21745

merged 1 commit into from
Jul 7, 2022

Conversation

gpetiot
Copy link
Contributor

@gpetiot gpetiot commented Jul 7, 2022

Auto-formatter for OCaml code

CHANGES:

Removed

Deprecated

Bug fixes

Changes

New features

CHANGES:

### Removed

- `bench` binary is not distributed anymore to avoid name collisions (ocaml-ppx/ocamlformat#2104, @gpetiot)

### Deprecated

### Bug fixes

- Preserve comments around object open/close flag (ocaml-ppx/ocamlformat#2097, @trefis, @gpetiot)
- Preserve comments around private/mutable/virtual keywords (ocaml-ppx/ocamlformat#2098, @trefis, @gpetiot)
- Closing parentheses of local open now comply with `indicate-multiline-delimiters` (ocaml-ppx/ocamlformat#2116, @gpetiot)
- emacs: fix byte-compile warnings (ocaml-ppx/ocamlformat#2119, @syohex)

### Changes

- Use the API of ocp-indent to parse the `.ocp-indent` files (ocaml-ppx/ocamlformat#2103, @gpetiot)
- JaneStreet profile: set `max-indent = 2` (ocaml-ppx/ocamlformat#2099, @gpetiot)
- JaneStreet profile: align pattern-matching bar `|` under keyword instead of parenthesis (ocaml-ppx/ocamlformat#2102, @gpetiot)

### New features
@kit-ty-kate
Copy link
Member

Thanks

@kit-ty-kate kit-ty-kate merged commit 5b2686b into ocaml:master Jul 7, 2022
@gpetiot gpetiot deleted the release-ocamlformat-0.23.0 branch July 7, 2022 13:09
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