Skip to content

Commit fc5b382

Browse files
authored
Version 1.23.0 → 1.24.0 (#984)
1 parent 26bb77e commit fc5b382

File tree

8 files changed

+107
-10
lines changed

8 files changed

+107
-10
lines changed

dhall-bash/dhall-bash.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dhall-bash
2-
Version: 1.0.20
2+
Version: 1.0.21
33
Cabal-Version: >=1.8.0.2
44
Build-Type: Simple
55
Tested-With: GHC == 7.10.3, GHC == 8.4.3, GHC == 8.6.1
@@ -31,7 +31,7 @@ Library
3131
base >= 4.8.0.0 && < 5 ,
3232
bytestring < 0.11,
3333
containers < 0.7 ,
34-
dhall >= 1.22.0 && < 1.24,
34+
dhall >= 1.22.0 && < 1.25,
3535
neat-interpolation < 0.4 ,
3636
shell-escape < 0.3 ,
3737
text >= 0.2 && < 1.3

dhall-json/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
1.3.0
2+
3+
* BREAKING CHANGE: Change YAML/JSON encoding for `NaN`/`Infinity`/`-Infinity`
4+
* They are now encoded as the standard `"nan"`/`"inf"`/`"-inf"`
5+
representations instead of `null`/`MIN_DOUBLE/`/`MAX_DOUBLE`
6+
* See: https://github.com/dhall-lang/dhall-haskell/pull/946
7+
* BREAKING CHANGE: Isolate YAML code to one modulee
8+
* This is a breaking change because it moves `Dhall.JSON.jsonToYaml` to
9+
`Dhall.YAML.jsonToYaml`
10+
* See: https://github.com/dhall-lang/dhall-haskell/pull/989/files
11+
* New `yaml-to-dhall` command-line utility
12+
* See: https://github.com/dhall-lang/dhall-haskell/pull/977
13+
* Add `--quoted` flag to force quoting of YAML string literals
14+
* See: https://github.com/dhall-lang/dhall-haskell/pull/941
15+
116
1.2.8
217

318
* New `json-to-dhall` command-line utility

dhall-json/dhall-json.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dhall-json
2-
Version: 1.2.8
2+
Version: 1.3.0
33
Cabal-Version: >=1.8.0.2
44
Build-Type: Simple
55
Tested-With: GHC == 7.10.3, GHC == 8.4.3, GHC == 8.6.1
@@ -43,7 +43,7 @@ Library
4343
aeson-pretty < 0.9 ,
4444
bytestring < 0.11,
4545
containers ,
46-
dhall >= 1.22.0 && < 1.24,
46+
dhall >= 1.22.0 && < 1.25,
4747
exceptions >= 0.8.3 && < 0.11,
4848
lens >= 2.5 && < 4.18,
4949
optparse-applicative >= 0.14.0.0 && < 0.15,

dhall-nix/dhall-nix.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Library
3030
base >= 4.8.0.0 && < 5 ,
3131
containers < 0.7 ,
3232
data-fix < 0.3 ,
33-
dhall >= 1.22 && < 1.24,
33+
dhall >= 1.22 && < 1.25,
3434
hnix >= 0.5 && < 0.7 ,
3535
neat-interpolation < 0.4 ,
3636
text >= 0.8.0.0 && < 1.3

dhall-text/dhall-text.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dhall-text
2-
Version: 1.0.17
2+
Version: 1.0.18
33
Cabal-Version: >=1.8.0.2
44
Build-Type: Simple
55
Tested-With: GHC == 7.10.3, GHC == 8.4.3, GHC == 8.6.1
@@ -25,7 +25,7 @@ Executable dhall-to-text
2525
Main-Is: Main.hs
2626
Build-Depends:
2727
base >= 4.8.0.0 && < 5 ,
28-
dhall >= 1.15.0 && < 1.24,
28+
dhall >= 1.15.0 && < 1.25,
2929
optparse-applicative < 0.15,
3030
text >= 0.11.1.0 && < 1.3
3131
GHC-Options: -Wall

dhall-try/dhall-try.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ executable dhall-try
1616
main-is: Main.hs
1717
build-depends: base >= 4.11.0.0 && < 5
1818
, aeson-pretty >= 0.8.7 && < 0.9
19-
, dhall >= 1.19.0 && < 1.24
20-
, dhall-json >= 1.2.5 && < 1.3
19+
, dhall >= 1.19.0 && < 1.25
20+
, dhall-json >= 1.2.5 && < 1.4
2121
, prettyprinter >= 1.2.1 && < 1.3
2222
, text >= 1.2.3.0 && < 1.3
2323
, ghcjs-base >= 0.2.0.0 && < 0.3

dhall/CHANGELOG.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
1+
1.24.0
2+
3+
* Supports version 8.0.0 of the standard
4+
* See: https://github.com/dhall-lang/dhall-lang/releases/tag/v8.0.0
5+
* BREAKING CHANGE: Allow tabs and blank lines in multi-line strings
6+
* Blank lines are now ignored for the purpose of dedenting multiline strings
7+
* Lines with leading tabs (or mixed tabs and spaces) are now dedented, too,
8+
so long as they all share the same prefix
9+
* This is technically a breaking change, but unlikely to affect programs
10+
in practice, especially if they were formatted with `dhall format`. This
11+
change mainly affects programs that were not indented correctly.
12+
* See the changelog for standard version 8.0.0 for more details
13+
* BREAKING CHANGE: Simplify bare interpolations
14+
* Expressions like `λ(x : Text) → "${x}"` now simplify to `λ(x : Text) → x`
15+
* This is a technically breaking change because it changes how these sorts
16+
of expressions are serialized. This does not affect semantic integrity
17+
checks and the new simplified expressions are extensionally equivalent to
18+
their older counterpart expressions.
19+
* See the changelog for standard version 8.0.0 for more details
20+
* BREAKING CHANGE: Encode integrity check as multihash
21+
* Semantic integrity checks are now encoded using the multihash spec
22+
* This is a technically breaking change that does not perturb the hash for
23+
user-facing semantic integrity checks. This only affects how expressions
24+
with unresolved imports are serialized, but semantic integrity checks are
25+
only computed for fully-resolved imports.
26+
* See the changelog for standard version 8.0.0 for more details
27+
* BUG FIX: Fix type-checker to reject invalid record type annotations
28+
* e.g. `{ x = 1 } : { x : Text }` was not properly rejected by the type
29+
checker
30+
* See: https://github.com/dhall-lang/dhall-haskell/pull/965
31+
* BUG FIX: Custom header forwarding fixed
32+
* Forwarding custom headers could previously fail in various ways, such as:
33+
* Cyclic imports leading to endless network requests
34+
* Resolving a non-existent import for the custom headers
35+
* Resolving an existing but incorrect import for the custom headers
36+
* This change fixes that by forwarding custom headers by value instead of
37+
by reference
38+
* See: https://github.com/dhall-lang/dhall-haskell/pull/967
39+
* BUG FIX: Fix GHCJS support
40+
* `Natural/fold` was broken in version 1.22, which this change fixes
41+
* Specifically, it would hang for `Natural` numbers greater than 1
42+
* See: https://github.com/dhall-lang/dhall-haskell/pull/985
43+
* BUG FIX: `dhall diff` no longer double-prints key-value separators
44+
* See: https://github.com/dhall-lang/dhall-haskell/pull/952
45+
* Feature: Record projection by expression
46+
* You can now project out a subset of record fields by the expected type
47+
* `let t = { x : Natural } let p = { x = 1, y = 2 } in p.(t) = { x = 1 }`
48+
* See the changelog for standard version 8.0.0 for more details
49+
* Feature: Inline headers
50+
* You no longer need to specify custom headers in a separate import. You
51+
can now specify them inline within the same file.
52+
* e.g.: `https://example.com/x using [ { header = "Foo", value = "Bar" } ]`
53+
* See the changelog for standard version 8.0.0 for more details
54+
* Feature: Allow `Sort` as a type annotation
55+
* An expression such as `Kind → Kind : Sort` will now type-check
56+
* `Sort` is still disallowed outside of a type annotation
57+
* See the changelog for standard version 8.0.0 for more details
58+
* Feature: Allow self-describe-cbor when decoding
59+
* Dhall expressions serialized as CBOR can be tagged to describe themselves
60+
as CBOR without affecting decoding
61+
* See the changelog for standard version 8.0.0 for more details
62+
* Feature: New `--file` option for `dhall` commands
63+
* In other words, instead of `dhall <<< './some/file` you can now use
64+
`dhall --file some/file`
65+
* See: https://github.com/dhall-lang/dhall-haskell/pull/949
66+
* Feature: New `--cache` flag for `dhall freeze` command
67+
* This automates the idiom used by the Prelude to optimistically cache
68+
imports but gracefully degrade if the semantic integrity check fails
69+
* See: https://github.com/dhall-lang/dhall-haskell/pull/980
70+
* Feature: Add `:clear` command to `dhall repl`
71+
* This deletes previous bindings from the history so that they can be
72+
garbage collected
73+
* See: https://github.com/dhall-lang/dhall-haskell/pull/966
74+
* Feature: New `chunkExprs` `Traversal` added to `Dhall.Core`
75+
* See: https://github.com/dhall-lang/dhall-haskell/pull/954
76+
* Feature: New `Dhall.Optics` module
77+
* This re-exports some convenient @lens@ utilities used internally for
78+
packages trying to avoid a @lens@ dependency
79+
* See: https://github.com/dhall-lang/dhall-haskell/pull/986
80+
* More GHC 8.8 support
81+
* See: https://github.com/dhall-lang/dhall-haskell/pull/961
82+
183
1.23.0
284

385
* BREAKING CHANGE: Fix marshaling union literals

dhall/dhall.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dhall
2-
Version: 1.23.0
2+
Version: 1.24.0
33
Cabal-Version: >=1.10
44
Build-Type: Simple
55
Tested-With: GHC == 7.10.3, GHC == 8.4.3, GHC == 8.6.1

0 commit comments

Comments
 (0)