dhall-to-cabal v1.1.0.0 Release Notes
Release Date: 2018-06-03 // almost 6 years ago-
Known Problems
๐ Dhall 1.14 is slow to type-check the input to
dhall-to-cabal
. You may experience a drastic slow-down until Dhall 1.15 is released.๐ฅ Breaking Changes
- The type of DhallToCabal.license has changed to
Dhall.Type (Either SPDX.License Cabal.License)
to accomodate Cabal 2.2.
Other Changes
Increase upper-bound of base to allow 4.11.
Increase upper-bound of tasty to allow 1.1.
Switch to Dhall 1.14.0.
๐ dhall-to-cabal: Fix tracking which branches are already true or false in conditionals. Dhall expressions with lots of conditions previously produced Cabal files that did not correctly match the requested conditions. See #56, #53 and #55 for more information.
Thank you to @jneira and @quasicomputational for helping identify and fix this bug.
๐ cabal-to-dhall: Rewrite conditional handling to avoid hangs with complicated ones. See #54 and linked issues.
โ Added a warning to generated
.cabal
files against hand-editing.๐จ
cabal-to-dhall
now pretty prints the resulting Dhall.The signature of
CabalToDhall.cabalToDhall
has changed: it now takes the location of theprelude.dhall
andtypes.dhall
to import as a parameter.โฌ๏ธ Upgrade to Cabal 2.2. This introduces SPDX license identifiers and Dhall functionality to manipulate them; see <golden-tests/dhall-to-cabal/SPDX.dhall> for a (convoluted) demonstration.
0๏ธโฃ
prelude.defaults.Executable
has lost itsmain-is
field, as it makes little sense to have an executable without it.๐จ
--print-type
now omits the lengthy definition ofExtension
, instead importing it from the prelude.--self-contained
is a new switch to disable this behaviour. - The type of DhallToCabal.license has changed to