dhall v1.26.1 Release Notes
Release Date: 2019-09-25 // over 4 years ago-
- TECHNICALLY BREAKING CHANGES: Simplify
โซฝ
within projection / Simplify nested record projections- These are technically breaking changes because you will need to update
integrity checks that protect code simplified in this way - We're not bumping the major version since the likelihood that you're
affected is quite low
- These are technically breaking changes because you will need to update
- ๐ BUG FIX: Fix performance regression
- This change fixes the performance regression introduced in the previous
๐ release (version 1.26.0)
- This change fixes the performance regression introduced in the previous
- ๐ BUG FIX: Prevent REPL from inserting inferred
Sort
s into context- This protects the REPL from getting hosed if you define an expression
using:let
that has an inferred type ofSort
- This protects the REPL from getting hosed if you define an expression
- ๐ NEW FEATURE: Improved
Inject
/Interpret
support for 1-field constructors - (#1315 / #1321)- This adds a new
singletonConstructors
field toInterpretOptions
that
lets you control what Dhall type 1-field Haskell constructors correspond
to - The default (
Wrapped
) is backwards compatible with the old behavior - The
Smart
option is probably what you want: it will strip the
Haskell constructor from the Dhall type if the constructor has one
anonymous field - The
Bare
option always strips 1-field Haskell constructors from the
Dhall type
- This adds a new
- ๐ NEW FEATURE:
--censor
flag that disables source code display (#1312 / #1329)- Use this flag when you don't want sensitive
Text
literals showing up in
๐ parsing or type-checking error messages
- Use this flag when you don't want sensitive
- Format record fields more compactly if they fit on 1 line
- The formatter will now format record fields on a field-by-field basis to
avoid unnecessary vertical sprawl of formatted records - Specifically, record fields that fit on one line will now be formatted
on one line
- The formatter will now format record fields on a field-by-field basis to
- Add
--quiet
option todhall type
- This lets you use
dhall type
in "check only" mode (e.g. for CI for
for development feedback)
- This lets you use
- ๐ Improved GHCJS support - (#1311 / #1330)
- Fix all executables to accept
--version
- Note that the
dhall version
subcommand is still supported, too
- Note that the
- New
Dhall.Version
module - Don't normalize inferred types
- This fixes
dhall type
to more accurately follow the standard
- This fixes
- ๐ Initial changes for GHC 8.8 support
- Fix Haddock formatting for
dhallFromJSON
- TECHNICALLY BREAKING CHANGES: Simplify