|
| 1 | +1.20.0 |
| 2 | + |
| 3 | +* Supports version 5.0.0 of the language standard |
| 4 | + * See: https://github.com/dhall-lang/dhall-lang/releases/tag/v5.0.0 |
| 5 | +* BREAKING CHANGE TO THE LANGUAGE: Implement standardized support for multi-line |
| 6 | + literals |
| 7 | + * This updates the multi-line support to match the standard |
| 8 | + * This is a breaking change because empty lines within the multi-line |
| 9 | + literal now require leading whitespace whereas previously they did not |
| 10 | + * This is also a breaking change because now a newline is required after |
| 11 | + the opening `''` quotes whereas previously it was not required |
| 12 | + * If you use `dhall format` then your multi-line literals already have the |
| 13 | + necessary leading whitespace |
| 14 | +* BREAKING CHANGE TO THE LANGUAGE: `constructors x = x` |
| 15 | + * Now the `constructors` keyword behaves like an identity function, since |
| 16 | + constructors can already be accessed as fields off the original union |
| 17 | + type. |
| 18 | + * This is a breaking change since any record of terms that contains a |
| 19 | + `constructors` field will now be a forbidden mixed record of types and |
| 20 | + terms. |
| 21 | + * This is also a breaking change if you annotated the type of what used to |
| 22 | + be a `constructors` record. |
| 23 | + * `dhall lint` will now remove the obsolete `constructors` keyword for you |
| 24 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/693 |
| 25 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/701 |
| 26 | +* BREAKING CHANGE TO THE API: Restore `Parent` constructor for `Local` type |
| 27 | + * This more closely matches the standard and also enables `dhall format` to |
| 28 | + produce a leading `../` for imports instead of `./../` |
| 29 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/718 |
| 30 | +* BUG FIX: Fix type-checking bug for unions |
| 31 | + * The first fix was that the inferred type was wrong for unions where |
| 32 | + alternatives were types or kinds |
| 33 | + * The second fix was that unions that mixed terms/types/kinds were not |
| 34 | + properly rejected |
| 35 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/763 |
| 36 | +* BUG FIX: Change how `dhall repl` handles prior definitions |
| 37 | + * This changes the REPL to handle previous bindings as if they were |
| 38 | + defined using a large `let` expression instead of adding them to the |
| 39 | + context |
| 40 | + * This fixes some type-checking false negatives |
| 41 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/729 |
| 42 | +* Feature: Autocomplete for `dhall repl` |
| 43 | + * You can now auto-complete record fields, union constructors, and |
| 44 | + identifiers that are in scope |
| 45 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/727 |
| 46 | +* Feature: GHCJS support |
| 47 | + * `dhall` can now be built using GHCJS, although some features are still |
| 48 | + not supported for GHCJS, such as: |
| 49 | + * Semantic integrity checks |
| 50 | + * Custom HTTP headers |
| 51 | + * Also, HTTP imports only work for URLs that support CORS |
| 52 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/739 |
| 53 | +* Feature: Add support for records of records of types |
| 54 | + * You can now nest records of types |
| 55 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/700 |
| 56 | +* Feature: Add `:quit` command for `dhall repl` |
| 57 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/719 |
| 58 | +* Feature: Add `--json` flag for `dhall {encode,decode}` |
| 59 | + * You can now produce/consume CBOR expressions via JSON instead of binary |
| 60 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/717 |
| 61 | +* Feature: Add decoding logic for `as Text` |
| 62 | + * You can now preserve the `as Text` qualifier on imports when serializing |
| 63 | + them |
| 64 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/712 |
| 65 | +* Prenormalize substituted expressions |
| 66 | + * This is a performance improvement that reduces the time and memory |
| 67 | + consumption when normalizing expressions |
| 68 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/765 |
| 69 | + |
1 | 70 | 1.19.1 |
2 | 71 |
|
3 | 72 |
|
|
0 commit comments