this repo has no description

[new release] ocamlformat-lib, ocamlformat and ocamlformat-rpc-lib (0.26.1)

CHANGES:

### Changed

- Compatible with OCaml 5.1.0 (ocaml-ppx/ocamlformat#2412, @Julow)
The syntax of let-bindings changed sligthly in this version.
- Improved ocp-indent compatibility (ocaml-ppx/ocamlformat#2428, @Julow)
- \* Removed extra break in constructor declaration with comment (ocaml-ppx/ocamlformat#2429, @Julow)
- \* De-indent the `object` keyword in class types (ocaml-ppx/ocamlformat#2425, @Julow)
- \* Consistent formatting of arrows in class types (ocaml-ppx/ocamlformat#2422, @Julow)

### Fixed

- Fix dropped attributes on a begin-end in a match case (ocaml-ppx/ocamlformat#2421, @Julow)
- Fix dropped attributes on begin-end in an if-then-else branch (ocaml-ppx/ocamlformat#2436, @gpetiot)
- Fix non-stabilizing comments before a functor type argument (ocaml-ppx/ocamlformat#2420, @Julow)
- Fix crash caused by module types with nested `with module` (ocaml-ppx/ocamlformat#2419, @Julow)
- Fix ';;' formatting between doc-comments and toplevel directives (ocaml-ppx/ocamlformat#2432, @gpetiot)

Changed files
+175
packages
ocamlformat
ocamlformat.0.26.1
ocamlformat-lib
ocamlformat-lib.0.26.1
ocamlformat-rpc-lib
ocamlformat-rpc-lib.0.26.1
+68
packages/ocamlformat-lib/ocamlformat-lib.0.26.1/opam
···
+
opam-version: "2.0"
+
synopsis: "OCaml Code Formatter"
+
description:
+
"OCamlFormat is a tool to automatically format OCaml code in a uniform style."
+
maintainer: [
+
"Guillaume Petiot <guillaume@tarides.com>"
+
"Jules Aguillon <jules@j3s.fr>"
+
"Emile Trotignon <emile@tarides.com>"
+
]
+
authors: [
+
"Josh Berdine <jjb@fb.com>"
+
"Hugo Heuzard <hugo.heuzard@gmail.com>"
+
"Etienne Millon <etienne@tarides.com>"
+
"Guillaume Petiot <guillaume@tarides.com>"
+
"Jules Aguillon <jules@j3s.fr>"
+
]
+
homepage: "https://github.com/ocaml-ppx/ocamlformat"
+
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
+
depends: [
+
"ocaml" {>= "4.08"}
+
"alcotest" {with-test & >= "1.3.0"}
+
"base" {>= "v0.12.0"}
+
"dune" {>= "2.8"}
+
"dune-build-info"
+
"either"
+
"fix"
+
"fpath"
+
"menhir" {>= "20201216"}
+
"menhirLib" {>= "20201216"}
+
"menhirSdk" {>= "20201216"}
+
"ocaml-version" {>= "3.5.0"}
+
"ocamlformat-rpc-lib" {with-test & = version}
+
"ocp-indent" {with-test = "false" & >= "1.8.0" | with-test & >= "1.8.1"}
+
"stdio"
+
"uuseg" {>= "10.0.0"}
+
"uutf" {>= "1.0.1"}
+
"csexp" {>= "1.4.0"}
+
"astring"
+
"result"
+
"camlp-streams"
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
+
# OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license
+
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"]
+
url {
+
src:
+
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.26.1/ocamlformat-0.26.1.tbz"
+
checksum: [
+
"sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7"
+
"sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a"
+
]
+
}
+
x-commit-hash: "6734dfc1992eb782f0a936ce3cd7c78b7c1d39d3"
+49
packages/ocamlformat-rpc-lib/ocamlformat-rpc-lib.0.26.1/opam
···
+
opam-version: "2.0"
+
synopsis: "Auto-formatter for OCaml code (RPC mode)"
+
description:
+
"OCamlFormat is a tool to automatically format OCaml code in a uniform style. This package defines a RPC interface to OCamlFormat"
+
maintainer: [
+
"Guillaume Petiot <guillaume@tarides.com>"
+
"Jules Aguillon <jules@j3s.fr>"
+
"Emile Trotignon <emile@tarides.com>"
+
]
+
authors: [
+
"Josh Berdine <jjb@fb.com>"
+
"Hugo Heuzard <hugo.heuzard@gmail.com>"
+
"Etienne Millon <etienne@tarides.com>"
+
"Guillaume Petiot <guillaume@tarides.com>"
+
"Jules Aguillon <jules@j3s.fr>"
+
]
+
license: "MIT"
+
homepage: "https://github.com/ocaml-ppx/ocamlformat"
+
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
+
depends: [
+
"dune" {>= "2.8"}
+
"ocaml" {>= "4.08"}
+
"csexp" {>= "1.4.0"}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
+
url {
+
src:
+
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.26.1/ocamlformat-0.26.1.tbz"
+
checksum: [
+
"sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7"
+
"sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a"
+
]
+
}
+
x-commit-hash: "6734dfc1992eb782f0a936ce3cd7c78b7c1d39d3"
+58
packages/ocamlformat/ocamlformat.0.26.1/opam
···
+
opam-version: "2.0"
+
synopsis: "Auto-formatter for OCaml code"
+
description: """
+
**ocamlformat** is a code formatter for OCaml. It comes with opinionated default settings but is also fully customizable to suit your coding style.
+
+
- **Profiles:** ocamlformat offers profiles we predefined formatting configurations. Profiles include `default`, `ocamlformat`, `janestreet`.
+
- **Configurable:** Users can change the formatting profile and configure every option in their `.ocamlformat` configuration file.
+
- **Format Comments:** ocamlformat can format comments, docstrings, and even code blocks in your comments.
+
- **RPC:** ocamlformat provides an RPC server that can be used by other tools to easily format OCaml Code."""
+
maintainer: [
+
"Guillaume Petiot <guillaume@tarides.com>"
+
"Jules Aguillon <jules@j3s.fr>"
+
"Emile Trotignon <emile@tarides.com>"
+
]
+
authors: [
+
"Josh Berdine <jjb@fb.com>"
+
"Hugo Heuzard <hugo.heuzard@gmail.com>"
+
"Etienne Millon <etienne@tarides.com>"
+
"Guillaume Petiot <guillaume@tarides.com>"
+
"Jules Aguillon <jules@j3s.fr>"
+
]
+
homepage: "https://github.com/ocaml-ppx/ocamlformat"
+
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
+
depends: [
+
"ocaml" {>= "4.08"}
+
"cmdliner" {with-test = "false" & >= "1.1.0" | with-test & >= "1.2.0"}
+
"dune" {>= "2.8"}
+
"ocamlformat-lib" {= version}
+
"ocamlformat-rpc-lib" {with-test & = version}
+
"re" {>= "1.10.3"}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
+
# OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license
+
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"]
+
url {
+
src:
+
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.26.1/ocamlformat-0.26.1.tbz"
+
checksum: [
+
"sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7"
+
"sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a"
+
]
+
}
+
x-commit-hash: "6734dfc1992eb782f0a936ce3cd7c78b7c1d39d3"