Skip to content

Commit d45f3ec

Browse files
authored
Version 1.24.0 → 1.25.0 (#1156)
1 parent 3f2c420 commit d45f3ec

File tree

9 files changed

+183
-43
lines changed

9 files changed

+183
-43
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.21
2+
Version: 1.0.22
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.25,
34+
dhall >= 1.25.0 && < 1.26,
3535
neat-interpolation < 0.4 ,
3636
shell-escape < 0.3 ,
3737
text >= 0.2 && < 1.3

dhall-json/CHANGELOG.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
1.4.0
2+
3+
* BREAKING CHANGE: Split `Dhall.YAML` into `Dhall.YAML` + `Dhall.YAMLToDhall`
4+
* See: https://github.com/dhall-lang/dhall-haskell/pull/993
5+
* BUG FIX: Fix `dhall-to-{json,yaml}`'s support for preserving alternative
6+
names
7+
* The `Nested`/`Inline` unions are now correctly given special treatment
8+
again
9+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1080
10+
* Feature: Support weakly-typed JSON value added to Prelude
11+
* You can now encode/decode values of type `./Prelude/JSON/Type` which
12+
can store arbitrary JSON
13+
* This is useful when dealing with "pass-through" or schema-free JSON
14+
values
15+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1007
16+
* Feature: Eta support for `dhall-json`
17+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1013
18+
* Feature: Add `--file` option to `dhall-json` executables
19+
* Feature: Support unions for keys
20+
* You can now decode record fields as enums instead of `Text` so that you
21+
can pattern match on them
22+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1094
23+
* Pretty-print output of `{json,yaml}-to-dhall`
24+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1150
25+
126
1.3.0
227

328
* BREAKING CHANGE: Change YAML/JSON encoding for `NaN`/`Infinity`/`-Infinity`
@@ -7,7 +32,7 @@
732
* BREAKING CHANGE: Isolate YAML code to one modulee
833
* This is a breaking change because it moves `Dhall.JSON.jsonToYaml` to
934
`Dhall.YAML.jsonToYaml`
10-
* See: https://github.com/dhall-lang/dhall-haskell/pull/989/files
35+
* See: https://github.com/dhall-lang/dhall-haskell/pull/989
1136
* New `yaml-to-dhall` command-line utility
1237
* See: https://github.com/dhall-lang/dhall-haskell/pull/977
1338
* Add `--quoted` flag to force quoting of YAML string literals

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.3.0
2+
Version: 1.4.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
@@ -47,7 +47,7 @@ Library
4747
aeson-pretty < 0.9 ,
4848
bytestring < 0.11,
4949
containers ,
50-
dhall >= 1.24.0 && < 1.25,
50+
dhall >= 1.25.0 && < 1.26,
5151
exceptions >= 0.8.3 && < 0.11,
5252
optparse-applicative >= 0.14.0.0 && < 0.16,
5353
scientific >= 0.3.0.0 && < 0.4 ,

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

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cabal-version: 1.12
22
name: dhall-lsp-server
3-
version: 0.1.0.1
3+
version: 1.0.0
44
description: Please see the README on GitHub at <https://github.com/githubuser/dhall-lsp-server#readme>
55
homepage: https://github.com/dhall-lang/dhall-haskell/dhall-lsp-server#readme
66
bug-reports: https://github.com/dhall-lang/dhall-haskell/issues
77
author: panaeon
8-
maintainer: panaeon
8+
maintainer: Gabriel Gonzalez
99
copyright: 2019 panaeon
1010
license: MIT
1111
license-file: LICENSE
@@ -38,33 +38,33 @@ library
3838
src
3939
default-extensions: LambdaCase OverloadedStrings FlexibleInstances TypeApplications RecordWildCards ScopedTypeVariables
4040
build-depends:
41-
aeson
42-
, aeson-pretty
43-
, base >=4.7 && <5
44-
, bytestring
45-
, containers
46-
, cryptonite
47-
, data-default
48-
, dhall
49-
, dhall-json
50-
, dotgen
51-
, filepath
52-
, haskell-lsp < 0.9
53-
, hslogger
54-
, lens
55-
, lens-family-core
56-
, megaparsec
57-
, mtl
58-
, network-uri
59-
, optparse-applicative
60-
, prettyprinter
61-
, sorted-list
62-
, stm
63-
, text
64-
, transformers
65-
, unordered-containers
66-
, uri-encode
67-
, yi-rope
41+
aeson >= 1.3.1.1 && < 1.5
42+
, aeson-pretty >= 0.8.7 && < 0.9
43+
, base >= 4.7 && < 5
44+
, bytestring >= 0.10.8.2 && < 0.11
45+
, containers >= 0.5.11.0 && < 0.7
46+
, cryptonite >= 0.25 && < 0.27
47+
, data-default >= 0.7.1.1 && < 0.8
48+
, dhall >= 1.25.0 && < 1.26
49+
, dhall-json >= 1.4 && < 1.5
50+
, dotgen >= 0.4.2 && < 0.5
51+
, filepath >= 1.4.2 && < 1.5
52+
, haskell-lsp >= 0.8.1.0 && < 0.9
53+
, hslogger >= 1.2.10 && < 1.4
54+
, lens >= 4.16.1 && < 4.18
55+
, lens-family-core >= 1.2.3 && < 2.1
56+
, megaparsec >= 7.0.2 && < 7.1
57+
, mtl >= 2.2.2 && < 2.3
58+
, network-uri >= 2.6.1.0 && < 2.7
59+
, optparse-applicative >= 0.14.3.0 && < 0.16
60+
, prettyprinter >= 1.2.1 && < 1.4
61+
, sorted-list >= 0.2.1.0 && < 0.3
62+
, stm >= 2.4.5.0 && < 2.6
63+
, text >= 1.2.3.0 && < 1.3
64+
, transformers >= 0.5.5.0 && < 0.6
65+
, unordered-containers >= 0.2.9.0 && < 0.3
66+
, uri-encode >= 1.5.0.5 && < 1.6
67+
, yi-rope >= 0.11 && < 0.12
6868
default-language: Haskell2010
6969
GHC-Options: -Wall -fwarn-incomplete-uni-patterns
7070
if impl(eta)
@@ -112,10 +112,10 @@ Test-Suite doctest
112112
Main-Is: Main.hs
113113
GHC-Options: -Wall
114114
Build-Depends:
115-
base ,
116-
directory ,
117-
filepath < 1.5 ,
118-
doctest >= 0.7.0 && < 0.17
115+
base ,
116+
directory >= 1.3.1.5 && < 1.4 ,
117+
filepath < 1.5 ,
118+
doctest >= 0.7.0 && < 0.17
119119
Other-Extensions: OverloadedStrings RecordWildCards
120120
Default-Language: Haskell2010
121121
-- `doctest` doesn't work with `MIN_VERSION` macros before GHC 8

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.25,
33+
dhall >= 1.25 && < 1.26,
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: 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.25
20-
, dhall-json >= 1.2.5 && < 1.4
19+
, dhall >= 1.19.0 && < 1.26
20+
, dhall-json >= 1.2.5 && < 1.5
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: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,118 @@
1+
1.25.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: Remove support for old-style `List`-like `Optional` literals
6+
* List-like `Optional` Literals (i.e. `[ 1 ] : Optional Natural`) are no
7+
longer valid
8+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1002
9+
* BREAKING CHANGE: Add support for semi-semantic caching
10+
* This change significantly improves the performance of imports
11+
* This change also automatically caches imports without an integrity check
12+
* This changes several types in `Dhall.Import` to support this new
13+
feature
14+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1113
15+
* BREAKING CHANGE: Implement new Unicode braced escape sequence
16+
* Escape sequences encoding surrogate pairs are no longer valid
17+
* Instead, characters previously encoded as surrogate pairs can instead be
18+
encoded as a braced sequence
19+
* For example: "\uD834\uDD1E" must now be written as "\u{1D11E}"
20+
* See: https://github.com/dhall-lang/dhall-haskell/pull/987
21+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1104
22+
* BREAKING CHANGE: Make the type of extract richer:
23+
* `Dhall.extract` can now return a detailed error instead of just a `Maybe`
24+
* This is a breaking chnage because the type of `extract` changed
25+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1011
26+
* BREAKING CHANGE: Add support for importing expressions `as Location`
27+
* This is a breaking change because a new `Location` constructor was added
28+
to `ImportMode`
29+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1019
30+
* BREAKING CHANGE: Switch `Var` to use an `Int`
31+
* This is a performance improvement, but also a breaking change since the
32+
`Integer` in the `Var` constructor was changed to an `Int`
33+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1044
34+
* BREAKING CHANGE: Add new `toMap` keyword
35+
* This is a breaking change to the API because a new `ToMap` constructor
36+
was added to the `Expr` type
37+
* This is also a technically breaking change to the language because `toMap`
38+
is now a reserved keyword, although most code should be unaffected in
39+
practice
40+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1041
41+
* BREAKING CHANGE: Sort the fields of a record projection during normalization
42+
* This is a technically breaking change to the language because any
43+
expressions with an uninterpreted record projection will have a different
44+
semantic integrity check. However, most could should be unaffected in
45+
practice
46+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1111
47+
* BUG FIX: Fix substitution into record projection by type
48+
* An expression like this one was being incorrectly rejected:
49+
`let e = { a = 10, b = "Text" } let s = { a : Natural } in e.(s)`, which
50+
this change fixes
51+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1012
52+
* BUG FIX: Reject record projection when there is a field type mismatch
53+
* Record projection by type was previously not checking the expected
54+
field types, which this change fixes
55+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1027
56+
* BUG FIX: Fix linting of unused let bindings
57+
* Certain let bindings were not correctly detected as unused, which this
58+
change fixes
59+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1001
60+
* BUG FIX: Fix `--file` option
61+
* The `--file` option from the previous release did not work, due to not
62+
computing relative paths correctly, which this change fixes
63+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1004
64+
* BUG FIX: Minor fix to `dhall diff`
65+
* `dhall diff` was incorrectly displaying spurious differences for
66+
identical lists that were function arguments, which this change fixes
67+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1006
68+
* BUG FIX: Allow `Sort` as type annotation
69+
* This should have been implemented in the previous release as part of
70+
supporting version 8.0.0 of the standard, but was missed
71+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1024
72+
* BUG FIX: `Dhall.Map`: Reflect original key ordering in `Ord` instance
73+
* `Dhall.Map` now considers key order when comparing `Map`s, which it should
74+
have done before, but didn't
75+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1050
76+
* BUG FIX: Consistently format multi-line strings
77+
* The formatter now formats naked multi-line strings the same as nested
78+
multi-line strings
79+
* Specifically, naked multi-line strings can now be formatted on a single
80+
(just like nested multi-line strings)
81+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1056
82+
* BUG FIX: Make `isNormalized` consistent with `normalize`
83+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1115
84+
* BUG FIX: Make `normalizeWithM` consistent with `normalize`
85+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1126
86+
* BUG FIX: Fix import alternatives to recover from type errors
87+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1152
88+
* Feature: Semi-semantic caching
89+
* The Haskell implementation now implicitly caches *all* local imports, not
90+
just imports frozen by integrity checks, so that you don't have to freeze
91+
them when doing local development
92+
* These cached imports are still correctly invalidated if they or any of
93+
their dependencies change
94+
* This new implicit cache is stored underneath `~/.cache/dhall-haskell` by
95+
default
96+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1154
97+
* Feature: New `dhall text` subcommand
98+
* This new subcommand supersedes the old `dhall-to-text` executable
99+
* Feature: Add `instance Lift (Expr s a)`
100+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1119
101+
* Fixes and improvements to error messages:
102+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1030
103+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1137
104+
* Fixes and improvements to tests:
105+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1155
106+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1159
107+
* Performance improvements
108+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1036
109+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1051
110+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1048
111+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1057
112+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1065
113+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1066
114+
* See: https://github.com/dhall-lang/dhall-haskell/pull/1085
115+
1116
1.24.0
2117

3118
* Supports version 8.0.0 of the standard

dhall/dhall-lang

Submodule dhall-lang updated 215 files

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.24.0
2+
Version: 1.25.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)