Skip to content

1.1.0

Choose a tag to compare

@zaiev zaiev released this 03 Nov 12:48
· 30 commits to main since this release

Hypha's first release of its fork of invariant-hq/litany: installable from Hypha's opam repository, reading Melange and opam switches, with new restriction rules.

Upgrading

  • Install from Hypha's opam repository: opam repo add hypha https://github.com/hyphatech/opam-repository.git, then opam install litany.

New

  • wildcard-over-owned-variant: a _ arm in a match over a variant the code owns; (owned <library> ...) names the libraries besides the unit's own.
  • untyped-ignore and untyped-wildcard-binding: a value discarded by ignore or let _ without naming its type.
  • open-of-ordinary-module: a file-wide open through which a unit takes anything but binding operators; rules may now be called at every structure-level open, Rule.open_.
  • restricted-dependency forbids take (only <glob> ...) and (except <glob> ...) after their remedy, in per-path's glob grammar, re-exported as Rule.Glob.

Fixed

  • A Melange library is linted: its units were skipped as stale, since dune compiles copies of them in .melange_src/.
  • A library installed in an opam switch, Unix and Eio among them, resolves: only dune's package store was searched.
  • dune is started with no signal blocked, where a blocked mask made it print that it failed to handle one.
  • The test suite runs on released dune 3.23, on Linux, with no colour, wherever it runs.