summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2018-04-09 12:56:51 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2018-04-09 12:56:52 -0400
commit48f55e764bb41848cff759fbea3211d8a0bbfd5b (patch)
tree8a9647a877790968309f30d1638a38395c781a12 /libraries
parentb14c03737574895718eed786a60dfdfd42ab49ce (diff)
downloadhaskell-48f55e764bb41848cff759fbea3211d8a0bbfd5b.tar.gz
Bump template-haskell to 2.14.0.0
Summary: There has been at least one breaking change to `template-haskell` (the removal of `qAddForeignFile`) which is causing packages like `th-orphans` and `singletons` to fail to build with GHC HEAD. Let's bump `template-haskell`'s major version number so that these packages can properly guard against these changes. While I was in town, I also started a `changelog` section for the next major version of `template-haskell`, and copied over finishing touches for `template-haskell-2.13.0.0`. Test Plan: ./validate Reviewers: bgamari Reviewed By: bgamari Subscribers: thomie, carter Differential Revision: https://phabricator.haskell.org/D4558
Diffstat (limited to 'libraries')
-rw-r--r--libraries/ghci/ghci.cabal.in2
-rw-r--r--libraries/template-haskell/changelog.md20
-rw-r--r--libraries/template-haskell/template-haskell.cabal2
3 files changed, 20 insertions, 4 deletions
diff --git a/libraries/ghci/ghci.cabal.in b/libraries/ghci/ghci.cabal.in
index c22f6052d1..595f8deb76 100644
--- a/libraries/ghci/ghci.cabal.in
+++ b/libraries/ghci/ghci.cabal.in
@@ -77,7 +77,7 @@ library
filepath == 1.4.*,
ghc-boot == @ProjectVersionMunged@,
ghc-boot-th == @ProjectVersionMunged@,
- template-haskell == 2.13.*,
+ template-haskell == 2.14.*,
transformers == 0.5.*
if !os(windows)
diff --git a/libraries/template-haskell/changelog.md b/libraries/template-haskell/changelog.md
index b4728329d1..41b7eea26c 100644
--- a/libraries/template-haskell/changelog.md
+++ b/libraries/template-haskell/changelog.md
@@ -1,8 +1,24 @@
# Changelog for [`template-haskell` package](http://hackage.haskell.org/package/template-haskell)
-## 2.13.0.0 *TBA*
+## 2.14.0.0 *TBA*
- * Bundled with GHC *TBA*
+ * Introduce an `addForeignFilePath` function, as well as a corresponding
+ `qAddForeignFile` class method to `Quasi`. Unlike `addForeingFile`, which
+ takes the contents of the file as an argument, `addForeignFilePath` takes
+ as an argument a path pointing to a foreign file. A new `addForeignSource`
+ function has also been added which takes a file's contents as an argument.
+
+ The old `addForeignFile` function is now deprecated in favor of
+ `addForeignSource`, and the `qAddForeignFile` method of `Quasi` has been
+ removed entirely.
+
+ * Introduce an `addTempFile` function, as well as a corresponding
+ `qAddTempFile` method to `Quasi`, which requests a temporary file of
+ a given suffix.
+
+## 2.13.0.0 *March 2018*
+
+ * Bundled with GHC 8.4.1
* `Language.Haskell.TH.FamFlavour`, which was deprecated in 2.11,
has been removed.
diff --git a/libraries/template-haskell/template-haskell.cabal b/libraries/template-haskell/template-haskell.cabal
index 7770a38405..b0bc10ec9f 100644
--- a/libraries/template-haskell/template-haskell.cabal
+++ b/libraries/template-haskell/template-haskell.cabal
@@ -1,5 +1,5 @@
name: template-haskell
-version: 2.13.0.0
+version: 2.14.0.0
-- NOTE: Don't forget to update ./changelog.md
license: BSD3
license-file: LICENSE