dhall-to-cabal v1.2.0.0 Release Notes
Release Date: 2018-07-05 // almost 6 years ago-
๐ฅ Breaking API Changes
โ Remove orphan
Dhall.Core.Inject
instances for[Char]
andCompilerFlavor
.๐ฆ
CabalToDhall.cabalToDhall
is now a pure function that accepts aGenericPackageDescription
. A new convenience function has been added toCabalToDhall
,parseGenericPackageDescriptionThrows
.Functional Changes
os
conditions where the operating system's name was not recognised (e.g.,os(multics)
) were crashing cabal-to-dhall. They now work as expected.dhall-to-cabal
andcabal-to-dhall
now respond to--version
.๐ The
dhall
subdirectory has been reorganised so that things that are not types are not in thetypes
subdirectory. Specifically,dhall/types/Version/v.dhall
, all ofdhall/types/VersionRange/*.dhall
and the operations (i.e., the enumerationsLicenseId.dhall
andLicenseExceptionId.dhall
) fromdhall/types/SPDX/*.dhall
have been moved to, respectively,dhall/Version/v.dhall
,dhall/VersionRange/*.dhall
, anddhall/SPDX/*.dhall
. In addition, the files have been renamed as appropriate to reflect the name that they are exported from the prelude as; in practice, this means that they have gone from TitleCase to camelCase.Code that only imports
prelude.dhall
andtypes.dhall
is unaffected by this change.๐ฆ
prelude.defaults.Package.license
is nowAllRightsReserved
.dhall-to-cabal
now mapsAllRightsReserved
toSPDX.NONE
whencabal-version
is at least 2.2.0๏ธโฃ
cabal-to-dhall
will now generate more compact.dhall
files by using defaults.๐ The default
build-type
is now omission, to use Cabal 2.2's inference, and the defaultcabal-version
has been bumped to 2.2.Export
prelude.types.Scopes
.Other Changes
- ๐ Bump upper-bounds for
base
,containers
andcontravariant
. This project can build on GHC 8.6 (though will need--allow-newer
forCabal
until this is official released).
- ๐ Bump upper-bounds for