From d9d8a565efad81c3b8de3f8105d95d967924df38 Mon Sep 17 00:00:00 2001 From: Gabriella Gonzalez Date: Tue, 18 Apr 2023 20:07:15 -0700 Subject: [PATCH] =?UTF-8?q?Version=201.41.2=20=E2=86=92=201.42.0=20(#2510)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dhall-bash/dhall-bash.cabal | 4 +-- dhall-csv/CHANGELOG.md | 4 +++ dhall-csv/dhall-csv.cabal | 4 +-- dhall-docs/CHANGELOG.md | 6 ++++ dhall-docs/dhall-docs.cabal | 4 +-- dhall-json/CHANGELOG.md | 4 +++ dhall-json/dhall-json.cabal | 4 +-- dhall-lsp-server/dhall-lsp-server.cabal | 4 +-- dhall-nix/dhall-nix.cabal | 4 +-- dhall-nixpkgs/dhall-nixpkgs.cabal | 4 +-- dhall-openapi/dhall-openapi.cabal | 4 +-- dhall-toml/CHANGELOG.md | 4 +++ dhall-toml/dhall-toml.cabal | 4 +-- dhall-yaml/CHANGELOG.md | 2 ++ dhall-yaml/dhall-yaml.cabal | 4 +-- dhall/CHANGELOG.md | 37 +++++++++++++++++++++++-- dhall/dhall-lang | 2 +- dhall/dhall.cabal | 2 +- 18 files changed, 77 insertions(+), 24 deletions(-) diff --git a/dhall-bash/dhall-bash.cabal b/dhall-bash/dhall-bash.cabal index 2ed643cd4..6ac38b859 100644 --- a/dhall-bash/dhall-bash.cabal +++ b/dhall-bash/dhall-bash.cabal @@ -1,5 +1,5 @@ Name: dhall-bash -Version: 1.0.40 +Version: 1.0.41 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 @@ -30,7 +30,7 @@ Library base >= 4.11.0.0 && < 5 , bytestring < 0.12, containers < 0.7 , - dhall >= 1.41.0 && < 1.42, + dhall >= 1.42.0 && < 1.43, neat-interpolation < 0.6 , shell-escape < 0.3 , text >= 0.2 && < 2.1 diff --git a/dhall-csv/CHANGELOG.md b/dhall-csv/CHANGELOG.md index 07fec790d..fe120dc3a 100644 --- a/dhall-csv/CHANGELOG.md +++ b/dhall-csv/CHANGELOG.md @@ -1,3 +1,7 @@ +1.0.4 + +* Build against `dhall-1.42.0` + 1.0.3 * Builds against newer dependencies diff --git a/dhall-csv/dhall-csv.cabal b/dhall-csv/dhall-csv.cabal index 28bd99d41..9458d493c 100644 --- a/dhall-csv/dhall-csv.cabal +++ b/dhall-csv/dhall-csv.cabal @@ -1,5 +1,5 @@ Name: dhall-csv -Version: 1.0.3 +Version: 1.0.4 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 @@ -38,7 +38,7 @@ Library containers >= 0.5.9 && < 0.7 , either , exceptions >= 0.8.3 && < 0.11, - dhall >= 1.39.0 && < 1.42, + dhall >= 1.39.0 && < 1.43, filepath < 1.5 , optparse-applicative , prettyprinter >= 1.7.0 && < 1.8 , diff --git a/dhall-docs/CHANGELOG.md b/dhall-docs/CHANGELOG.md index 34b5d8ec7..015ef923a 100644 --- a/dhall-docs/CHANGELOG.md +++ b/dhall-docs/CHANGELOG.md @@ -1,3 +1,9 @@ +1.0.11 + +* Build against `dhall-1.42` +* [Build against `turtle-1.6`](https://github.com/dhall-lang/dhall-haskell/pull/2465) +* [Build against `transformers-0.6` and `mtl-2.3`](https://github.com/dhall-lang/dhall-haskell/pull/2471) + 1.0.10 * [Index non-`.dhall` files](https://github.com/dhall-lang/dhall-haskell/pull/2407) diff --git a/dhall-docs/dhall-docs.cabal b/dhall-docs/dhall-docs.cabal index 8edb0c777..4882644f0 100644 --- a/dhall-docs/dhall-docs.cabal +++ b/dhall-docs/dhall-docs.cabal @@ -1,5 +1,5 @@ Name: dhall-docs -Version: 1.0.10 +Version: 1.0.11 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 @@ -69,7 +69,7 @@ Library containers , cryptohash-sha256 , directory >= 1.3.0.0 && < 1.4 , - dhall >= 1.38.0 && < 1.42, + dhall >= 1.38.0 && < 1.43, file-embed >= 0.0.10.0 , filepath >= 1.4 && < 1.5 , lens-family-core >= 1.0.0 && < 2.2 , diff --git a/dhall-json/CHANGELOG.md b/dhall-json/CHANGELOG.md index e7e9d4ef4..c9bc8d9f9 100644 --- a/dhall-json/CHANGELOG.md +++ b/dhall-json/CHANGELOG.md @@ -1,3 +1,7 @@ +1.7.12 + +* Build against `dhall-1.42` + 1.7.11 * [Add new `--preserve-header` option](https://github.com/dhall-lang/dhall-haskell/pull/2433) diff --git a/dhall-json/dhall-json.cabal b/dhall-json/dhall-json.cabal index 6fe62951c..77145a149 100644 --- a/dhall-json/dhall-json.cabal +++ b/dhall-json/dhall-json.cabal @@ -1,5 +1,5 @@ Name: dhall-json -Version: 1.7.11 +Version: 1.7.12 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 @@ -43,7 +43,7 @@ Library aeson-yaml >= 1.1.0 && < 1.2 , bytestring < 0.12, containers >= 0.5.9 && < 0.7 , - dhall >= 1.41.0 && < 1.42, + dhall >= 1.42.0 && < 1.43, exceptions >= 0.8.3 && < 0.11, filepath < 1.5 , lens-family-core >= 1.0.0 && < 2.2 , diff --git a/dhall-lsp-server/dhall-lsp-server.cabal b/dhall-lsp-server/dhall-lsp-server.cabal index d070e1701..802dd6a24 100644 --- a/dhall-lsp-server/dhall-lsp-server.cabal +++ b/dhall-lsp-server/dhall-lsp-server.cabal @@ -1,5 +1,5 @@ name: dhall-lsp-server -Version: 1.1.2 +Version: 1.1.3 cabal-version: 1.12 synopsis: Language Server Protocol (LSP) server for Dhall homepage: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme @@ -49,7 +49,7 @@ library , containers >= 0.5.11.0 && < 0.7 , data-default >= 0.7.1.1 && < 0.8 , directory >= 1.2.2.0 && < 1.4 - , dhall >= 1.38.0 && < 1.42 + , dhall >= 1.38.0 && < 1.43 , dhall-json >= 1.4 && < 1.8 , filepath >= 1.4.2 && < 1.5 , lsp >= 1.2.0.0 && < 1.5 diff --git a/dhall-nix/dhall-nix.cabal b/dhall-nix/dhall-nix.cabal index 389ac0252..ca09112cc 100644 --- a/dhall-nix/dhall-nix.cabal +++ b/dhall-nix/dhall-nix.cabal @@ -1,5 +1,5 @@ Name: dhall-nix -Version: 1.1.25 +Version: 1.1.26 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 @@ -29,7 +29,7 @@ Library base >= 4.11.0.0 && < 5 , containers < 0.7 , data-fix < 0.4 , - dhall >= 1.41 && < 1.42, + dhall >= 1.42 && < 1.43, hnix >= 0.16 && < 0.17, lens-family-core >= 1.0.0 && < 2.2 , neat-interpolation < 0.6 , diff --git a/dhall-nixpkgs/dhall-nixpkgs.cabal b/dhall-nixpkgs/dhall-nixpkgs.cabal index b13447743..9ab77a4c4 100644 --- a/dhall-nixpkgs/dhall-nixpkgs.cabal +++ b/dhall-nixpkgs/dhall-nixpkgs.cabal @@ -1,4 +1,4 @@ -Version: 1.0.9 +Version: 1.0.10 Cabal-Version: >=1.10 Name: dhall-nixpkgs Synopsis: Convert Dhall projects to Nix packages @@ -22,7 +22,7 @@ Executable dhall-to-nixpkgs , base64-bytestring >= 1.1.0.0 , bytestring < 0.12 , data-fix - , dhall >= 1.32.0 && < 1.42 + , dhall >= 1.42.0 && < 1.43 , foldl < 1.5 , hnix >= 0.10.1 && < 0.17 , lens-family-core >= 1.0.0 && < 2.2 diff --git a/dhall-openapi/dhall-openapi.cabal b/dhall-openapi/dhall-openapi.cabal index 2b4948dd3..5c8fd3be2 100644 --- a/dhall-openapi/dhall-openapi.cabal +++ b/dhall-openapi/dhall-openapi.cabal @@ -1,6 +1,6 @@ Cabal-Version: 1.11 Name: dhall-openapi -Version: 1.0.5 +Version: 1.0.6 Homepage: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-openapi#dhall-openapi Author: Fabrizio Ferrai Maintainer: GenuineGabriella@gmail.com @@ -79,7 +79,7 @@ Library base >= 4.11.0.0 && < 5 , aeson >= 1.0.0.0 && < 2.2 , containers >= 0.5.8.0 && < 0.7 , - dhall >= 1.38.0 && < 1.42 , + dhall >= 1.38.0 && < 1.43 , prettyprinter >= 1.7.0 && < 1.8 , scientific >= 0.3.0.0 && < 0.4 , sort >= 1.0 && < 1.1 , diff --git a/dhall-toml/CHANGELOG.md b/dhall-toml/CHANGELOG.md index a0972735a..1cf80824f 100644 --- a/dhall-toml/CHANGELOG.md +++ b/dhall-toml/CHANGELOG.md @@ -1,3 +1,7 @@ +1.0.3 + +* [Support `Integer`s](https://github.com/dhall-lang/dhall-haskell/pull/2469) + 1.0.2 * [Improve command-line interface](https://github.com/dhall-lang/dhall-haskell/pull/2355) diff --git a/dhall-toml/dhall-toml.cabal b/dhall-toml/dhall-toml.cabal index e5c80d7ab..385e83108 100644 --- a/dhall-toml/dhall-toml.cabal +++ b/dhall-toml/dhall-toml.cabal @@ -1,5 +1,5 @@ Name: dhall-toml -Version: 1.0.2 +Version: 1.0.3 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 @@ -35,7 +35,7 @@ Library Hs-Source-Dirs: src Build-Depends: base >= 4.12 && < 5 , - dhall >= 1.39.0 && < 1.42 , + dhall >= 1.39.0 && < 1.43 , tomland >= 1.3.2.0 && < 1.4 , text >= 0.11.1.0 && < 2.1 , containers >= 0.5.9 && < 0.7 , diff --git a/dhall-yaml/CHANGELOG.md b/dhall-yaml/CHANGELOG.md index 7701255fe..2938ab2ff 100644 --- a/dhall-yaml/CHANGELOG.md +++ b/dhall-yaml/CHANGELOG.md @@ -1,3 +1,5 @@ +* Build against `dhall-1.42` + 1.2.11 * [Add new `--preserve-header` option](https://github.com/dhall-lang/dhall-haskell/pull/2410) diff --git a/dhall-yaml/dhall-yaml.cabal b/dhall-yaml/dhall-yaml.cabal index 0121a8f10..645796622 100644 --- a/dhall-yaml/dhall-yaml.cabal +++ b/dhall-yaml/dhall-yaml.cabal @@ -1,5 +1,5 @@ Name: dhall-yaml -Version: 1.2.11 +Version: 1.2.12 Cabal-Version: >=1.10 Build-Type: Simple License: GPL-3 @@ -36,7 +36,7 @@ Library base >= 4.11.0.0 && < 5 , aeson >= 1.0.0.0 && < 2.2 , bytestring < 0.12, - dhall >= 1.31.0 && < 1.42, + dhall >= 1.31.0 && < 1.43, dhall-json >= 1.6.0 && < 1.8 , optparse-applicative >= 0.14.0.0 && < 0.18, text >= 0.11.1.0 && < 2.1 , diff --git a/dhall/CHANGELOG.md b/dhall/CHANGELOG.md index 7322fc9a4..fdeea7975 100644 --- a/dhall/CHANGELOG.md +++ b/dhall/CHANGELOG.md @@ -1,5 +1,38 @@ -Unreleased - +1.42.0 + +* [Supports standard version 23.0.0](https://github.com/dhall-lang/dhall-lang/releases/tag/v23.0.0) + * [BREAKING CHANGE TO THE API AND LANGUAGE: Language support for `Bytes` literals](https://github.com/dhall-lang/dhall-haskell/pull/2499) + * This is a breaking change to the API due to adding new `Bytes` and `BytesLiteral` constructors to the `Expr` type + * This is a breaking change to the language now that `Bytes` is a reserved identifier + * [BREAKING CHANGE TO THE API AND LANGUAGE: New `{Date,Time,TimeZone}/show` builtins](https://github.com/dhall-lang/dhall-haskell/pull/2493) + * This is a breaking change to the API due to adding new `{Date,Time,TimeZone}Show` constructors to the `Expr` type + * This is a breaking change to the language now that `{Date,Time,TimeZone}/show` are not reserved identifiers +* [BREAKING CHANGE: `dhall lint` no longer sorts `let` bindings](https://github.com/dhall-lang/dhall-haskell/pull/2503) + * This had to be removed because the old behavior was not always correct + * The old behavior would sometimes change the behavior of a Dhall program or break the program + * Out of an abundance of caution we're disabling the feature until it can be properly fixed (which is't trivial) +* [BUG FIX: Fix pretty-printing of `Time` literals](https://github.com/dhall-lang/dhall-haskell/pull/2466) + * The pretty-printer was stripping leading zeros from the fractional component + of seconds +* [BUG FIX: Fix custom normalizers to work for things other than functions](https://github.com/dhall-lang/dhall-haskell/pull/2464) + * Before this change you could extend the language with custom functions, but + not custom values (e.g. `foo = 1`) +* [BUG FIX: Don't URL encode path components](https://github.com/dhall-lang/dhall-haskell/pull/2505) + * The pretty-printer was URL-encoding path components, which is not correct (according to the standard) + * URL path components are supposed to be already URL-encoded by the user and left undisturbed by the interpreter (which is now what it correctly does) +* New `dhall package` command: [#2478](https://github.com/dhall-lang/dhall-haskell/pull/2487), [#2508](https://github.com/dhall-lang/dhall-haskell/pull/2508) + * This command makes it easier to turn a directory full of Dhall expressions + into a dhall package (e.g. `package.dhall`) +* [Improved `dhall to-directory-tree` subcommand](https://github.com/dhall-lang/dhall-haskell/pull/2437) + * The `dhall to-directory-tree` subcommand now optionally supports specifying + metadata for generated paths + * For a worked example, see: https://github.com/dhall-lang/dhall-haskell/blob/main/dhall/examples/to-directory-tree.dhall +* `dhall freeze --cache --all` is now idempotent: [#2486](https://github.com/dhall-lang/dhall-haskell/pull/2486), [#2500](https://github.com/dhall-lang/dhall-haskell/pull/2500) + * Before this change a second run would fail due to attempting to resolve + the `missing` import it would generate +* [New Template Haskell options for adding strictness annotations to generated Haskell types](https://github.com/dhall-lang/dhall-haskell/pull/2504) +* [Template Haskell can now generate higher-kinded Haskell types from higher-kinded Dhall types](https://github.com/dhall-lang/dhall-haskell/pull/2506) +* [New `Dhall.Freeze` utilities for working with custom evaluators](https://github.com/dhall-lang/dhall-haskell/pull/2478) * [Add `Data` instances for `Import` and various other types](https://github.com/dhall-lang/dhall-haskell/pull/2462) * [Add `Eq` instances for `InvalidDecoder` and `ExtractError`](https://github.com/dhall-lang/dhall-haskell/pull/2482) diff --git a/dhall/dhall-lang b/dhall/dhall-lang index a3de281a1..25cf020ab 160000 --- a/dhall/dhall-lang +++ b/dhall/dhall-lang @@ -1 +1 @@ -Subproject commit a3de281a114c95820ce612bc5383fff717aa507e +Subproject commit 25cf020ab307cb2d66826b0d1ddac8bc89241e27 diff --git a/dhall/dhall.cabal b/dhall/dhall.cabal index 172ae526e..1594444e2 100644 --- a/dhall/dhall.cabal +++ b/dhall/dhall.cabal @@ -1,6 +1,6 @@ Cabal-Version: 2.4 Name: dhall -Version: 1.41.2 +Version: 1.42.0 Build-Type: Simple License: BSD-3-Clause License-File: LICENSE