Breaking changes:
-
New support for
Bytes
literalsYou can now store
Bytes
within Dhall, which comprises two changes to the
language:-
A new
Bytes
type -
Support for
Bytes
literals of the form0x"…"
For example, the following Dhall literal represents a valid sequence of four
bytes:0x"00FF12DE"
This is a technically breaking change because
Bytes
is now a reserved
identifier. -
-
New
{Date,Time,TimeZone}/show
builtinsYou can now render temporal literals as
Text
representing valid Dhall
source code:Date/show : Date → Text Time/show : Time → Text TimeZone/show : TimeZone → Text
For example:
⊢ Date/show 2000-01-01 "2000-01-01" ⊢ Time/show 11:59:59 "11:59:59" ⊢ TimeZone/show -08:00 "-08:00"
This is a technically breaking change because
Date/show
,Time/show
, and
TimeZone/show
are now reserved identifiers.
New features:
-
Add
dhall to-directory-tree
related definitionsThis adds several utilities underneath a new
Prelude.DirectoryTree
hierarchy for working with thedhall to-directory-tree
subcommand.
Specifically, the sucommand now supports setting metadata on generated paths
and the utilities support working with this new metadata-related
functionality. -
Add
Prelude.List.mapMaybe
andPrelude.Map.mapMaybe
These come in handy when transforming
List
s inMap
s when you also want to
filter out keys.
Other changes:
- Fixes and improvements to the standard:
- Fixes and improvements to the standard test suite: