Version 1.6.0 → 1.7.0 (#160)

This commit is contained in:
Gabriel Gonzalez 2017-10-10 10:25:19 -07:00 committed by bosu
parent 96b4d4c692
commit ebc884226d
5 changed files with 32 additions and 4 deletions

View File

@ -1,3 +1,27 @@
1.7.0
* BREAKING CHANGE TO LANGUAGE: Update parser to match standardized grammar
* Trailing commas and bars no longer supported for union and record literals
* Paths no longer permit commas
* URL grammar is now RFC-compliant
* Environment variables can now be quoted to support full range of
POSIX-compliant names
* Text literals support full set of JSON escape sequences (such as `\u2192`)
* BREAKING CHANGE TO LANGUAGE: Single quoted strings strip leading newlines
* BUG FIX: Fixed type-checking infinite loops due to non-type-checked variables
in context
* BUG FIX: Fixed type-checking bug due to missing context when type-checking
certain expressions
* BUG FIX: Fixed type-checking bug due to off-by-one errors in name shadowing
logic
* New `dhall-format` executable to automatically format code
* Performance optimizations to `Natural/fold` and `List/fold`
* Improved parsing performance (over 3x faster)
* Union literals can now specify the set value anywhere in the literal
* i.e. `< A : Integer | B = False | C : Text >`
* New `Inject` instance for `()`
* Several tutorial fixes and improvements
1.6.0
* BREAKING CHANGE TO THE API: Drop support for GHC 7.*

View File

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

View File

@ -6,7 +6,7 @@
}:
mkDerivation {
pname = "dhall";
version = "1.6.0";
version = "1.7.0";
src = ./.;
isLibrary = true;
isExecutable = true;
@ -16,7 +16,9 @@ mkDerivation {
prettyprinter system-fileio system-filepath text text-format
transformers trifecta unordered-containers vector
];
executableHaskellDepends = [ base optparse-generic text trifecta ];
executableHaskellDepends = [
base optparse-generic prettyprinter system-filepath text trifecta
];
testHaskellDepends = [
base containers tasty tasty-hunit text vector
];

View File

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

View File

@ -14,6 +14,8 @@ let
haskellPackages = pkgs.haskellPackages.override {
overrides = haskellPackagesNew: haskellPackagesOld: {
dhall = haskellPackagesNew.callPackage ./default.nix { };
prettyprinter = haskellPackagesNew.callPackage ./prettyprinter.nix { };
};
};
};