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] and CompilerFlavor.

    ๐Ÿ“ฆ CabalToDhall.cabalToDhall is now a pure function that accepts a GenericPackageDescription. A new convenience function has been added to CabalToDhall, 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 and cabal-to-dhall now respond to --version.

    ๐Ÿ‘€ The dhall subdirectory has been reorganised so that things that are not types are not in the types subdirectory. Specifically, dhall/types/Version/v.dhall, all of dhall/types/VersionRange/*.dhall and the operations (i.e., the enumerations LicenseId.dhall and LicenseExceptionId.dhall) from dhall/types/SPDX/*.dhall have been moved to, respectively, dhall/Version/v.dhall, dhall/VersionRange/*.dhall, and dhall/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 and types.dhall is unaffected by this change.

    ๐Ÿ“ฆ prelude.defaults.Package.license is now AllRightsReserved.

    dhall-to-cabal now maps AllRightsReserved to SPDX.NONE when cabal-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 default cabal-version has been bumped to 2.2.

    Export prelude.types.Scopes.

    Other Changes

    • ๐Ÿš€ Bump upper-bounds for base, containers and contravariant. This project can build on GHC 8.6 (though will need --allow-newer for Cabal until this is official released).