packages feed

microlens-th 0.4.3.12 → 0.4.3.13

raw patch · 3 files changed

+10/−3 lines, 3 filesdep ~th-abstractionPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: th-abstraction

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,10 +1,14 @@+# 0.4.3.13++* [#167](https://github.com/stevenfontanella/microlens/issues/167) Support th-abstraction 0.5.+ # 0.4.3.12  * [#164](https://github.com/stevenfontanella/microlens/pull/164), [#165](https://github.com/stevenfontanella/microlens/issues/165) Support template-haskell 2.19 (and GHC 9.6 by extension).  # 0.4.3.11 -* [#161](https://github.com/stevenfontanella/microlens/pull/161) Fix GHC 9.4 warning for using `~` without TypeOperators+* [#161](https://github.com/stevenfontanella/microlens/pull/161) Fix GHC 9.4 warning for using `~` without TypeOperators.  # 0.4.3.10 
microlens-th.cabal view
@@ -1,5 +1,5 @@ name:                microlens-th-version:             0.4.3.12+version:             0.4.3.13 synopsis:            Automatic generation of record lenses for microlens description:   This package lets you automatically generate lenses for data types; code was extracted from the lens package, and therefore generated lenses are fully compatible with ones generated by lens (and can be used both from lens and microlens).@@ -44,7 +44,7 @@                      , containers >=0.5 && <0.7                      , transformers                      , template-haskell >=2.8 && <2.21-                     , th-abstraction >=0.4.1 && <0.5+                     , th-abstraction >=0.4.1 && <0.6    ghc-options:     -Wall -fwarn-tabs
src/Lens/Micro/TH/Internal.hs view
@@ -294,6 +294,9 @@ isDataFamily D.Newtype         = False isDataFamily D.DataInstance    = True isDataFamily D.NewtypeInstance = True+#if MIN_VERSION_th_abstraction(0,5,0)+isDataFamily D.TypeData        = False+#endif  ---------------------------------------------------------------------------- -- Lens functions which would've been in Lens.Micro if it wasn't “micro”