All notable changes to this project will be documented in this file.
- Support building with
template-haskell-2.22.1
. - Drop support for pre-8.0 versions of GHC.
- Add support for the
FldName
NameSpace
, which was introduced intemplate-haskell-2.21.0.0
(GHC 9.8).
- Support building with
th-abstraction-0.5.*
. - Require
th-abstraction-0.3.0.0
or later.
- Allow building with
template-haskell-2.17.0.0
(GHC 9.0). - Make
deriveLift
work for unlifted newtypes.
- Support GHC 8.10/
template-haskell-2.16
. - Derive implementations of
liftTyped
(in addition tolift
) when usingtemplate-haskell-2.16
or later. - Fix a bug in which derived
Lift
instances for data types containingAddr#
would fail to typecheck.
- Support GHC 8.8/
template-haskell-2.15
.
- Remove
Lift ()
,Ratio
,Identity
andConst ()
instances. These are now provided inth-lift-instances
package
- Use
TemplateHaskellQuotes
where available
- Support for GHC 8.6.
- Add support for data families
Lift
instances forIdentity
andConst
.
- GHC 8.4 compatibility.
- GHC 8.2 compatibility.
- GHC 8.1 compatibility.
- Added
makeLift
, for cases when it's necessary to write the instance manually. (Thanks to Ryan Scott). - Support empty datatypes and unboxed types.
- Support GHC 7.9 and hopefully 7.10, thanks to Richard Eisenberg.
- On versions of GHC that support role inference, don't constrain phantom type variables.
- Get rid of some orphan instances when using GHC >= 7.9.
- Support GHC 7.8, thanks to Michael Snoyberg.
- Support existentially quantified type variables in datatype declarations.
- Handle exotic kinds properly.
- Support older GHCs and Cabal, thanks to Ben Millwood.
- Support for contexts in datatypes, thanks to Ben Millwood.
deriveLiftWith
becomesderiveLift'
and takes anInfo
structure rather than a custom reification function.- Add
deriveLiftMany
to derive manyLift
instances in one go.
- Add support for newtypes and records syntax, thanks to a patch by Ben Millwood.
- Add support for infix constructors.
deriveLift
returns a list of declarations.- New
deriveLiftWith
function with custom reification, following a feature request by Jonas Duregård.
- Port to Template Haskell 2.4.
- Maintainer is now Mathieu Boespflug.
Initial release by Ian Lynagh.