Version 1.8.2 → 1.9.0 (#224)

This commit is contained in:
Gabriel Gonzalez 2018-01-27 11:52:46 -08:00 committed by GitHub
parent 9afb9e6f6d
commit c24b6a4ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 50 additions and 8 deletions

View File

@ -1,3 +1,45 @@
1.9.0
* Feature: BREAKING CHANGE TO LANGUAGE AND API: Add `constructors` keyword
* This new keyword generates constructors from a union type
* See the updated Haskell tutorial for more details
* This means that `constructors` is now a reserved keyword
* This adds a new `Constructors` constructor to the `Expr` type
* See: https://github.com/dhall-lang/dhall-haskell/pull/199
* Feature: BREAKING CHANGE TO THE API: `dhall-format` preserves interpolation
* This changes the `TextLit` constructor to represent an interpolated `Text`
literal
* See: https://github.com/dhall-lang/dhall-haskell/pull/220
* Feature: You can now define type synonyms using `let`
* See: https://github.com/dhall-lang/dhall-haskell/pull/202
* Feature: Extend valid set of quoted labels
* See: https://github.com/dhall-lang/dhall-lang/pull/65
* See: https://github.com/dhall-lang/dhall-lang/pull/77
* Performance: Improve startup time when importing files, but not URLs
* See: https://github.com/dhall-lang/dhall-haskell/pull/194
* Security: `localhost`/`127.0.0.1` imports no longer count as local imports
* Specifically: they cannot import environment variables or files
* See: https://github.com/dhall-lang/dhall-haskell/pull/197
* Security: Fix potential type-checking bug
* See: https://github.com/dhall-lang/dhall-haskell/pull/198
* Fix: BREAKING CHANGE TO API: Improve localization of error messages
* This required fixing the type of `normalize`/`shift`/`subst` to preserve
the first type parameter of `Expr` (i.e. they no longer delete `Note`
constructors)
* A new `denote` function was added for the explicit purpose of deleting
`Note` constructors
* See: https://github.com/dhall-lang/dhall-haskell/pull/218
* Expose `MissingEnvironmentVariable` exception type
* See: https://github.com/dhall-lang/dhall-haskell/pull/196
* Add `genericAuto`
* See: https://github.com/dhall-lang/dhall-haskell/pull/195
* Add `inputWith`
* See: https://github.com/dhall-lang/dhall-haskell/pull/222
* Add`loadWithContext`
* See: https://github.com/dhall-lang/dhall-haskell/pull/215
* Add `pair`/`unit`/`string`/`list`
* See: https://github.com/dhall-lang/dhall-haskell/pull/227
1.8.2
* Add `typeWithA` for type-checking custom `Embed`ded values

View File

@ -1,4 +1,4 @@
# `dhall 1.8.2`
# `dhall 1.9.0`
`dhall` is a total programming language specialized to configuration files

View File

@ -1,13 +1,13 @@
{ mkDerivation, ansi-wl-pprint, base, base16-bytestring, bytestring
, case-insensitive, charset, containers, contravariant, cryptohash
, exceptions, http-client, http-client-tls, lens, optparse-generic
, parsers, prettyprinter, stdenv, system-fileio, system-filepath
, tasty, tasty-hunit, text, text-format, transformers, trifecta
, unordered-containers, vector
, deepseq, exceptions, http-client, http-client-tls, lens
, optparse-generic, parsers, prettyprinter, stdenv, system-fileio
, system-filepath, tasty, tasty-hunit, text, text-format
, transformers, trifecta, unordered-containers, vector
}:
mkDerivation {
pname = "dhall";
version = "1.8.2";
version = "1.9.0";
src = ./.;
isLibrary = true;
isExecutable = true;
@ -22,7 +22,7 @@ mkDerivation {
base optparse-generic prettyprinter system-filepath text trifecta
];
testHaskellDepends = [
base containers tasty tasty-hunit text vector
base containers deepseq prettyprinter tasty tasty-hunit text vector
];
description = "A configuration language guaranteed to terminate";
license = stdenv.lib.licenses.bsd3;

View File

@ -1,5 +1,5 @@
Name: dhall
Version: 1.8.2
Version: 1.9.0
Cabal-Version: >=1.8.0.2
Build-Type: Simple
Tested-With: GHC == 8.0.1