dhall-to-cabal v1.3.4.0 Release Notes

Release Date: 2019-07-05 // about 4 years ago

    โž• Add compatibility for optparse-applicative-0.15.

    โœ‚ Remove dhall/types/CustomSetup.dhall in favour of the identical dhall/types/SetupBuildInfo.dhall.

    cabal-to-dhall no longer generates bogus output for an unknown kind of source-repository stanza.

    โž• Added dhall/types/ForeignLibOption.dhall, also available as types.ForeignLibOption, and --print-type ForeignLibOption. Likewise ForeignLibType.

    ๐Ÿ‘Œ Support prettyprinter 1.3.

    โœ… Teach --print-type about Dependency, SetupBuildInfo, TestType, Mixin and Flag.

    ๐Ÿ‘‰ Use dhall version 1.24.

Previous changes from v1.3.3.0

    • All constructors that previously took an empty record now use the new nullary syntax instead. This is a breaking change for user code. For example, instead of types.Compiler.GHC {=}, now you just write types.Compiler.GHC.

    • ๐Ÿ‘‰ Use dhall version 1.23.0.

    • ๐Ÿ–จ Educated --print-type about Scope and ModuleRenaming.

    • ๐Ÿ›  Fix cabal-to-dhall output for unknown licenses using cabal spec version below 2.0. Now it uses values of type License.Unknown Text for them.

    • ๐Ÿ‘Œ Improved --print-type and --print-default output to use multi-binding let.