--- - branch: MAIN date: Sat May 4 12:41:42 UTC 2024 files: - new: '1.10' old: '1.9' path: pkgsrc/lang/dhall/Makefile pathrev: pkgsrc/lang/dhall/Makefile@1.10 type: modified - new: '1.10' old: '1.9' path: pkgsrc/lang/dhall/buildlink3.mk pathrev: pkgsrc/lang/dhall/buildlink3.mk@1.10 type: modified - new: '1.4' old: '1.3' path: pkgsrc/lang/dhall/PLIST pathrev: pkgsrc/lang/dhall/PLIST@1.4 type: modified - new: '1.5' old: '1.4' path: pkgsrc/lang/dhall/distinfo pathrev: pkgsrc/lang/dhall/distinfo@1.5 type: modified - new: '0' old: '1.4' path: pkgsrc/lang/dhall/patches/patch-dhall.cabal pathrev: pkgsrc/lang/dhall/patches/patch-dhall.cabal@0 type: deleted - new: '0' old: '1.1' path: pkgsrc/lang/dhall/patches/patch-src_Dhall_DirectoryTree.hs pathrev: pkgsrc/lang/dhall/patches/patch-src_Dhall_DirectoryTree.hs@0 type: deleted - new: '0' old: '1.1' path: pkgsrc/lang/dhall/patches/patch-src_Dhall_TH.hs pathrev: pkgsrc/lang/dhall/patches/patch-src_Dhall_TH.hs@0 type: deleted id: 20240504T124142Z.deaf797cb7bbc2d6f030b199d0f54f9e744b6109 log: | lang/dhall: Update to 1.42.1 1.42.1 Add several new entrypoints to Dhall module [#2534] / [#2544] Build against latest versions of: ansi-terminal optparse-applicative optparse-generic lens template-haskell [#2532] / [#2542] unix-compat 1.42.0 Supports standard version 23.0.0 BREAKING CHANGE TO THE API AND LANGUAGE: Language support for Bytes literals This is a breaking change to the API due to adding new Bytes and BytesLiteral constructors to the Expr type This is a breaking change to the language now that Bytes is a reserved identifier BREAKING CHANGE TO THE API AND LANGUAGE: New {Date,Time,TimeZone}/show builtins This is a breaking change to the API due to adding new {Date,Time,TimeZone}Show constructors to the Expr type This is a breaking change to the language now that {Date,Time,TimeZone}/show are not reserved identifiers BREAKING CHANGE: dhall lint no longer sorts let bindings This had to be removed because the old behavior was not always correct The old behavior would sometimes change the behavior of a Dhall program or break the program Out of an abundance of caution we're disabling the feature until it can be properly fixed (which is't trivial) BUG FIX: Fix pretty-printing of Time literals The pretty-printer was stripping leading zeros from the fractional component of seconds BUG FIX: Fix custom normalizers to work for things other than functions Before this change you could extend the language with custom functions, but not custom values (e.g. foo = 1) BUG FIX: Don't URL encode path components The pretty-printer was URL-encoding path components, which is not correct (according to the standard) URL path components are supposed to be already URL-encoded by the user and left undisturbed by the interpreter (which is now what it correctly does) New dhall package command: #2478, #2508 This command makes it easier to turn a directory full of Dhall expressions into a dhall package (e.g. package.dhall) Improved dhall to-directory-tree subcommand The dhall to-directory-tree subcommand now optionally supports specifying metadata for generated paths For a worked example, see: https://github.com/dhall-lang/dhall-haskell/blob/main/dhall/examples/to-directory-tree.dhall dhall freeze --cache --all is now idempotent: #2486, #2500 Before this change a second run would fail due to attempting to resolve the missing import it would generate New Template Haskell options for adding strictness annotations to generated Haskell types Template Haskell can now generate higher-kinded Haskell types from higher-kinded Dhall types New Dhall.Freeze utilities for working with custom evaluators Add Data instances for Import and various other types Add Eq instances for InvalidDecoder and ExtractError module: pkgsrc subject: 'CVS commit: pkgsrc/lang/dhall' unixtime: '1714826502' user: pho