diff options
Diffstat (limited to 'libraries/template-haskell/changelog.md')
-rw-r--r-- | libraries/template-haskell/changelog.md | 47 |
1 files changed, 43 insertions, 4 deletions
diff --git a/libraries/template-haskell/changelog.md b/libraries/template-haskell/changelog.md index 8eddedce3d..c3d6c252e7 100644 --- a/libraries/template-haskell/changelog.md +++ b/libraries/template-haskell/changelog.md @@ -1,14 +1,53 @@ # 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 `addForeignFile`, 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. + + * Add a `ViaStrategy` constructor to `DerivStrategy`. + + * Add support for `-XImplicitParams` via `ImplicitParamT`, + `ImplicitParamVarE`, and `ImplicitParamBindD`. + + * Add support for `-XRecursiveDo` via `MDoE` and `RecS`. + +## 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. * Add support for overloaded labels. Introduces `labelE :: String -> ExpQ`. -## 2.12.0.0 *TBA* + * Add `KindQ`, `TyVarBndrQ`, and `FamilyResultSigQ` aliases to + `Language.Haskell.TH.Lib`. + + * Add `Language.Haskell.TH.Lib.Internal` module, which exposes some + additional functionality that is used internally in GHC's integration + with Template Haskell. This is not a part of the public API, and as + such, there are no API guarantees for this module from version to version. + + * `MonadIO` is now a superclass of `Quasi`, `qRunIO` has a default + implementation `qRunIO = liftIO` + + * Add `MonadIO Q` instance + +## 2.12.0.0 *July 2017* - * Bundled with GHC *TBA* + * Bundled with GHC 8.2.1 * Add support for pattern synonyms. This introduces one new constructor to `Info` (`PatSynI`), two new constructors to `Dec` (`PatSynD` and |