Commit 48f55e76 authored by Ryan Scott's avatar Ryan Scott
Browse files

Bump template-haskell to

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-`.

Test Plan: ./validate

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: thomie, carter

Differential Revision:
parent b14c0373
......@@ -59,7 +59,7 @@ Library
containers >= 0.5 && < 0.6,
array >= 0.1 && < 0.6,
filepath >= 1 && < 1.5,
template-haskell == 2.13.*,
template-haskell == 2.14.*,
hpc == 0.6.*,
transformers == 0.5.*,
ghc-boot == @ProjectVersionMunged@,
......@@ -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)
# Changelog for [`template-haskell` package](
## *TBA*
## *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.
## *March 2018*
* Bundled with GHC 8.4.1
* `Language.Haskell.TH.FamFlavour`, which was deprecated in 2.11,
has been removed.
name: template-haskell
-- NOTE: Don't forget to update ./
license: BSD3
license-file: LICENSE
......@@ -6,7 +6,7 @@ COERCION AXIOMS
Dependent modules: []
Dependent packages: [array-, base-, deepseq-,
ghc-boot-th-8.3, ghc-prim-, integer-gmp-,
pretty-, template-haskell-]
pretty-, template-haskell-]
==================== Typechecker ====================
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment