|
| 1 | +1.21.0 |
| 2 | + |
| 3 | +* Supports version 6.0.0 of the language standard |
| 4 | + * See: https://github.com/dhall-lang/dhall-lang/releases/tag/v6.0.0 |
| 5 | +* BREAKING CHANGE: Remove the `constructors` keyword |
| 6 | + * ... as standardized in version 6.0.0 of the language standard |
| 7 | + * The deprecation cycle is over, so the keyword is no longer supported |
| 8 | + * For more details, see: https://github.com/dhall-lang/dhall-lang/wiki/Migration%3A-Deprecation-of-constructors-keyword |
| 9 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/829 |
| 10 | +* BREAKING CHANGE: CBOR-encode only special `Double`s as half-floats |
| 11 | + * ... as standardized in version 6.0.0 of the language standard |
| 12 | + * CBOR `Double`s except `Infinity`/`-Infinity`/`NaN`/`0.0` are now encoded in at |
| 13 | + least 32 bits |
| 14 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/822 |
| 15 | +* BREAKING CHANGE: Sort record and union fields when CBOR-encoding |
| 16 | + * Fields and alternatives are now sorted when serialized |
| 17 | + * This does not affect semantic integrity checks, which already sorted these |
| 18 | + fields/alternatives before hashing expressions |
| 19 | + * This does affect the serialization of expressions that have not been |
| 20 | + normalized (e.g. uninterpreted expressions transmitted over the wire) |
| 21 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/835 |
| 22 | +* BUG FIX: Fix non-exhaustive pattern match in `dhall lint` |
| 23 | + * This fixes: `Irrefutable pattern failed for pattern Let (l' :| ls') d'` |
| 24 | + * This bug would cause `dhall lint` to fail on some nested `let`/`in` |
| 25 | + expressions |
| 26 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/780 |
| 27 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/784 |
| 28 | +* BUG FIX: Don't fail if `$HOME` environment variable is unset |
| 29 | + * The interpreter was incorrectly throwing an exception if `HOME` was unset |
| 30 | + * The standard requires that implementations should handle the `HOME` |
| 31 | + environment variable being missing |
| 32 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/789 |
| 33 | +* Feature: Remove version tag from semantic integrity check |
| 34 | + * ... as standardized in version 6.0.0 of the language standard |
| 35 | + * This is not a breaking change because this change also includes |
| 36 | + backwards-compatible support for semantic integrity checks produced by |
| 37 | + older versions of the interpreter |
| 38 | +* Feature: Support Unicode path components |
| 39 | + * ... as standardized in version 6.0.0 of the language standard |
| 40 | + * You can now use Unicode in path components if they are quoted |
| 41 | + * i.e. `./families/"禺.dhall"` is now legal |
| 42 | +* Feature: Add `Text/show` built-in |
| 43 | + * ... as standardized in version 6.0.0 of the language standard |
| 44 | + * You can now convert a `Text` literal to its equivalent Dhall source code |
| 45 | + (which is itself a `Text` literal) |
| 46 | + * This comes in handy when using Dhall code to generate JSON or Dhall code |
| 47 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/811 |
| 48 | +* Feature: Add `--immediate-dependencies`/`--transitive-dependencies` flags for |
| 49 | + `dhall resolve` |
| 50 | + * You can now retrieve all of your immediate or transitive dependencies as a |
| 51 | + textual list |
| 52 | + * This simplifies integration with other command-line tools (such as file |
| 53 | + watchers) |
| 54 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/795 |
| 55 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/803 |
| 56 | +* Feature: `dhall freeze` now only freezes remote imports by default |
| 57 | + * `dhall freeze` used to freeze all imports (including local imports and |
| 58 | + environment variables) |
| 59 | + * Now `dhall freeze` only freezes remote imports by default, which is what |
| 60 | + most users want |
| 61 | + * You can install freeze all imports using the `--all` flag |
| 62 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/808 |
| 63 | +* Feature: `:save` and `:load` REPL state |
| 64 | + * `:save` with no arguments now saves the REPL state to a `.dhall-repl-N` |
| 65 | + file |
| 66 | + * The file format is a list of `dhall repl` commands |
| 67 | + * You can use `:load` to load the saved state back into the REPL |
| 68 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/807 |
| 69 | +* Feature: Add `:hash` command to `dhall repl` |
| 70 | + * This lets you conveniently hash expressions within the `dhall repl` |
| 71 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/806 |
| 72 | +* Feature: Add `--check` flag to `dhall format` |
| 73 | + * Use this to check if the input is already formatted |
| 74 | + * Useful for continuous integration when you want to ensure that all code |
| 75 | + under version control remains formatted |
| 76 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/810 |
| 77 | +* Feature: Add `UnionInputType` builder for `InputType`s |
| 78 | + * This is the union analog of `RecordInputType`, letting you build a |
| 79 | + record explicitly instead of deriving the instance using GHC generics |
| 80 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/775 |
| 81 | +* Feature: Add `:set`/`:unset` commands to `dhall repl` |
| 82 | + * You can use these commands to set or unset command-line options |
| 83 | + * Currently only setting/unsetting `--explain` is supported |
| 84 | +* Standards-compliance fixes: |
| 85 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/779 |
| 86 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/804 |
| 87 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/833 |
| 88 | +* Documentation fixes: |
| 89 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/792 |
| 90 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/825 |
| 91 | +* Test fixes: |
| 92 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/782 |
| 93 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/836 |
| 94 | +* Improved error messages: |
| 95 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/812 |
| 96 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/815 |
| 97 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/824 |
| 98 | +* Formatting fixes: |
| 99 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/831 |
| 100 | +* REPL fixes: |
| 101 | + * See: https://github.com/dhall-lang/dhall-haskell/pull/837 |
| 102 | + |
1 | 103 | 1.20.1 |
2 | 104 |
|
3 | 105 | * BUG FIX: Fix binary encoding to use correct standard version |
|
0 commit comments