1.34.0
- Supports version 17.1.0 of the standard
- BREAKING CHANGE to the API: Support prefix comments on record key-value pairs
- The Dhall AST (i.e.
Expr
) now preserves some comments for record types
and record literals - The impact of this change is that you will need to add
Dhall.Syntax.makeRecordField
orDhall.Syntax.recordFieldValue
in a few
places wherever your Haskell assembles or disassembles record expressions - The motivation of this change is two-fold:
- To eventually enable
dhall-docs
support for rendering record
comments as documentation - To eventually enable support for preserving record-related comments
when formatting Dhall code
- To eventually enable
- The Dhall AST (i.e.
- BUG FIX: Fix
with
expressions to permit functions on their left-hand side- This was a case of the Haskell implementation not being compliant with the
standard grammar
- This was a case of the Haskell implementation not being compliant with the
- Drop support for GHC 8.2
- Add a new
dhall rewrite-with-schemas
command- You can now simplify a Dhall expression using a schema record (e.g. a
./schemas.dhall
record that a package might provide) - This simplification replaces large anonymous records with an
equivalent use of a record completion when possible
- You can now simplify a Dhall expression using a schema record (e.g. a
- Add
--transitive
flag todhall {format,lint,freeze}
- This flag lets you format/lint/freeze a file and all of its transitive
dependencies that are reachable via relative file imports
- This flag lets you format/lint/freeze a file and all of its transitive
- Move
man/dhall.1
todata-files
- This ensures that Cabal will install
dhall
'sman
pages in the
correct directory
- This ensures that Cabal will install
- Performance improvements
- Standards compliance
- Fixes and improvements to haddocks