Skip to content

Commit 7a2f981

Browse files
authored
Version 1.28.0 → 1.29.0 (#1625)
1 parent 172982a commit 7a2f981

File tree

13 files changed

+94
-28
lines changed

13 files changed

+94
-28
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.25
2+
Version: 1.0.27
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.28.0 && < 1.29,
34+
dhall >= 1.28.0 && < 1.30,
3535
neat-interpolation < 0.4 ,
3636
shell-escape < 0.3 ,
3737
text >= 0.2 && < 1.3

dhall-json/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.6.1
2+
3+
* [Fix typos in error messages](https://github.com/dhall-lang/dhall-haskell/pull/1595)
4+
15
1.6.0
26

37
* BREAKING CHANGE: [Move `HsYAML` code to a new `dhall-yaml` package](https://github.com/dhall-lang/dhall-haskell/pull/1514)

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.6.0
2+
Version: 1.6.1
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
@@ -40,7 +40,7 @@ Library
4040
aeson-yaml >= 1.0.5 && < 1.1 ,
4141
bytestring < 0.11,
4242
containers ,
43-
dhall >= 1.28.0 && < 1.29,
43+
dhall >= 1.28.0 && < 1.30,
4444
exceptions >= 0.8.3 && < 0.11,
4545
filepath < 1.5 ,
4646
optparse-applicative >= 0.14.0.0 && < 0.16,

dhall-lsp-server/dhall-lsp-server.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dhall-lsp-server
2-
Version: 1.0.3
2+
Version: 1.0.4
33
cabal-version: 1.12
44
synopsis: Language Server Protocol (LSP) server for Dhall
55
homepage: https://github.com/dhall-lang/dhall-haskell/dhall-lsp-server#readme
@@ -50,7 +50,7 @@ library
5050
, containers >= 0.5.11.0 && < 0.7
5151
, data-default >= 0.7.1.1 && < 0.8
5252
, directory >= 1.2.2.0 && < 1.4
53-
, dhall >= 1.28.0 && < 1.29
53+
, dhall >= 1.29.0 && < 1.30
5454
, dhall-json >= 1.4 && < 1.7
5555
, filepath >= 1.4.2 && < 1.5
5656
, haskell-lsp >= 0.19.0.0 && < 0.20

dhall-nix/dhall-nix.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dhall-nix
2-
Version: 1.1.10
2+
Version: 1.1.11
33
Cabal-Version: >=1.8.0.2
44
Build-Type: Simple
55
Tested-With: GHC == 8.0.1
@@ -30,7 +30,7 @@ Library
3030
base >= 4.8.0.0 && < 5 ,
3131
containers < 0.7 ,
3232
data-fix < 0.3 ,
33-
dhall >= 1.28 && < 1.29,
33+
dhall >= 1.28 && < 1.30,
3434
hnix >= 0.6.1 && < 0.7 ,
3535
neat-interpolation < 0.4 ,
3636
text >= 0.8.0.0 && < 1.3

dhall-try/dhall-try.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ 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.29
19+
, dhall >= 1.19.0 && < 1.30
2020
, dhall-json >= 1.2.5 && < 1.7
2121
, prettyprinter >= 1.5.1 && < 1.6
2222
, text >= 1.2.3.0 && < 1.3

dhall-yaml/dhall-yaml.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dhall-yaml
2-
Version: 1.0.0
2+
Version: 1.0.1
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
@@ -37,7 +37,7 @@ Library
3737
base >= 4.8.0.0 && < 5 ,
3838
aeson >= 1.0.0.0 && < 1.5 ,
3939
bytestring < 0.11,
40-
dhall >= 1.28.0 && < 1.29,
40+
dhall >= 1.28.0 && < 1.30,
4141
dhall-json >= 1.6.0 && < 1.7 ,
4242
optparse-applicative >= 0.14.0.0 && < 0.16,
4343
text >= 0.11.1.0 && < 1.3 ,

dhall/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
1.29.0
2+
3+
* [Supports version 13.0.0 of the standard](https://github.com/dhall-lang/dhall-lang/releases/tag/v13.0.0)
4+
* BREAKING CHANGE: [Generate Haskell datatype declarations from Dhall types](https://github.com/dhall-lang/dhall-haskell/commit/b0280826790930d18a5498fb802120478fa11767#diff-a9729dccf50be61ce3d8c68c16f0fd50)
5+
* You can now use the `makeHaskellTypeFromUnion` Template Haskell utility
6+
to generate a Haskell datatype declaration from a Dhall union type
7+
* This helps ensure that your Haskell types and Dhall types stay in sync,
8+
when you want the Dhall type to be the source of truth
9+
* This is a breaking change because the default `InterpretOptions` changed
10+
the default handling of singleton constructors from `Wrapped` to `Smart`
11+
* You can preserve the old behavior using:
12+
`autoWith defaultInterpretOptions{ singletonConstructors = Wrapped }`
13+
* BUG FIX: [Fix `dhall freeze --cache` and `dhall lint` to preserve `let`-related comments](https://github.com/dhall-lang/dhall-haskell/pull/1597)
14+
* Now they match the behavior of `dhall format` with regard to preserving
15+
these comments
16+
* BUG FIX: [Fix escaping of significant leading whitespace when formatting code](https://github.com/dhall-lang/dhall-haskell/pull/1598)
17+
* The formatter would sometimes unnecessarily escape significant leading
18+
whitespace for the final line of multiline string literals, which this
19+
change fixes
20+
* BUG FIX: [Fix `dhall encode --json` for `Double` values](https://github.com/dhall-lang/dhall-haskell/issues/1350)
21+
* NEW FEATURE: [`dhall to-directory-tree` command](https://github.com/dhall-lang/dhall-haskell/pull/1606)
22+
* You can now generate a directory tree from a Dhall expression
23+
* Specifically:
24+
* records are converted to directories
25+
* `Text` fields are converted to files named after the field
26+
* `Optional` values are omitted if `None`
27+
* Everything else is rejected
28+
* NEW FEATURE: [Hexadecimal literals](https://github.com/dhall-lang/dhall-haskell/pull/1607)
29+
* See the [changelog for standard version 13.0.0](https://github.com/dhall-lang/dhall-lang/releases/tag/v13.0.0) for more details
30+
* NEW FEATURE: [`merge` works on `Optional` values](https://github.com/dhall-lang/dhall-haskell/pull/1608)
31+
* See the [changelog for standard version 13.0.0](https://github.com/dhall-lang/dhall-lang/releases/tag/v13.0.0) for more details
32+
* [Improve formatter](https://github.com/dhall-lang/dhall-haskell/pull/1609)
33+
* `dhall format` will now render expressions nested inside record fields or
34+
alternatives more compactly, including:
35+
* Records
36+
* Record completion expressions
37+
* Expressions wrapped in `Some`
38+
* Lists
39+
* [Exclude the `using ...` suffix from imports listed by `dhall resolve`](https://github.com/dhall-lang/dhall-haskell/pull/1603)
40+
* Specifically when using the `--{immediate,transitive}-dependencies` flags
41+
142
1.28.0
243

344
* [Supports version 12.0.0 of the standard](https://github.com/dhall-lang/dhall-lang/releases/tag/v12.0.0)

dhall/dhall.cabal

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dhall
2-
Version: 1.28.0
2+
Version: 1.29.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
@@ -39,6 +39,7 @@ Extra-Source-Files:
3939
dhall-lang/Prelude/Double/package.dhall
4040
dhall-lang/Prelude/Double/show
4141
dhall-lang/Prelude/Function/compose
42+
dhall-lang/Prelude/Function/identity
4243
dhall-lang/Prelude/Function/package.dhall
4344
dhall-lang/Prelude/Integer/abs
4445
dhall-lang/Prelude/Integer/add
@@ -65,14 +66,18 @@ Extra-Source-Files:
6566
dhall-lang/Prelude/JSON/array
6667
dhall-lang/Prelude/JSON/bool
6768
dhall-lang/Prelude/JSON/core.dhall
69+
dhall-lang/Prelude/JSON/double
70+
dhall-lang/Prelude/JSON/integer
6871
dhall-lang/Prelude/JSON/keyText
6972
dhall-lang/Prelude/JSON/keyValue
73+
dhall-lang/Prelude/JSON/natural
7074
dhall-lang/Prelude/JSON/null
7175
dhall-lang/Prelude/JSON/number
7276
dhall-lang/Prelude/JSON/object
7377
dhall-lang/Prelude/JSON/omitNullFields
7478
dhall-lang/Prelude/JSON/package.dhall
7579
dhall-lang/Prelude/JSON/render
80+
dhall-lang/Prelude/JSON/renderInteger.dhall
7681
dhall-lang/Prelude/JSON/renderYAML
7782
dhall-lang/Prelude/JSON/string
7883
dhall-lang/Prelude/JSON/tagInline
@@ -169,12 +174,13 @@ Extra-Source-Files:
169174
dhall-lang/Prelude/XML/render
170175
dhall-lang/Prelude/XML/text
171176
dhall-lang/Prelude/package.dhall
177+
dhall-lang/tests/alpha-normalization/success/unit/*.dhall
172178
dhall-lang/tests/binary-decode/failure/unit/*.dhallb
173179
dhall-lang/tests/binary-decode/success/unit/*.dhall
174180
dhall-lang/tests/binary-decode/success/unit/*.dhallb
175181
dhall-lang/tests/import/cache/dhall/1220efc43103e49b56c5bf089db8e0365bbfc455b8a2f0dc6ee5727a3586f85969fd
176-
dhall-lang/tests/import/data/*.txt
177182
dhall-lang/tests/import/data/*.dhall
183+
dhall-lang/tests/import/data/*.txt
178184
dhall-lang/tests/import/data/fieldOrder/*.dhall
179185
dhall-lang/tests/import/failure/*.dhall
180186
dhall-lang/tests/import/success/*.dhall
@@ -186,18 +192,17 @@ Extra-Source-Files:
186192
dhall-lang/tests/normalization/success/simple/*.dhall
187193
dhall-lang/tests/normalization/success/simplifications/*.dhall
188194
dhall-lang/tests/normalization/success/unit/*.dhall
189-
dhall-lang/tests/alpha-normalization/success/unit/*.dhall
190195
dhall-lang/tests/parser/failure/*.dhall
191196
dhall-lang/tests/parser/success/*.dhall
192197
dhall-lang/tests/parser/success/*.dhallb
198+
dhall-lang/tests/parser/success/text/*.dhall
199+
dhall-lang/tests/parser/success/text/*.dhallb
193200
dhall-lang/tests/parser/success/unit/*.dhall
194201
dhall-lang/tests/parser/success/unit/*.dhallb
195202
dhall-lang/tests/parser/success/unit/import/*.dhall
196203
dhall-lang/tests/parser/success/unit/import/*.dhallb
197204
dhall-lang/tests/parser/success/unit/import/urls/*.dhall
198205
dhall-lang/tests/parser/success/unit/import/urls/*.dhallb
199-
dhall-lang/tests/parser/success/text/*.dhall
200-
dhall-lang/tests/parser/success/text/*.dhallb
201206
dhall-lang/tests/semantic-hash/success/*.dhall
202207
dhall-lang/tests/semantic-hash/success/*.hash
203208
dhall-lang/tests/semantic-hash/success/haskell-tutorial/access/*.dhall
@@ -391,13 +396,13 @@ Extra-Source-Files:
391396
dhall-lang/tests/type-inference/success/prelude/Text/concatMap/*.dhall
392397
dhall-lang/tests/type-inference/success/prelude/Text/concatMapSep/*.dhall
393398
dhall-lang/tests/type-inference/success/prelude/Text/concatSep/*.dhall
394-
dhall-lang/tests/type-inference/success/simple/access/*.dhall
395399
dhall-lang/tests/type-inference/success/simple/*.dhall
400+
dhall-lang/tests/type-inference/success/simple/access/*.dhall
396401
dhall-lang/tests/type-inference/success/unit/*.dhall
397-
tests/format/*.dhall
398-
tests/lint/success/*.dhall
399402
tests/diff/*.dhall
400403
tests/diff/*.txt
404+
tests/format/*.dhall
405+
tests/lint/success/*.dhall
401406
tests/recursive/*.dhall
402407
tests/regression/*.dhall
403408
tests/tags/*.dhall

0 commit comments

Comments
 (0)