packages feed

optics 0.4.1 → 0.4.2

raw patch · 2 files changed

+14/−4 lines, 2 filesdep ~mtldep ~optics-extradep ~transformers

Dependency ranges changed: mtl, optics-extra, transformers

Files

CHANGELOG.md view
@@ -1,3 +1,13 @@+# optics-0.4.2 (2022-05-19)+* Allow `transformers-0.6` and `mtl-2.3`++  Note that `optics-extra` no longer defines `Zoom` instances for `ErrorT` or `ListT` when+  building with `mtl-2.3` or later. This is because `MonadState` is a superclass of+  `Zoom`, and the `MonadState` instances for `ErrorT` and `ListT` were removed in+  `mtl-2.3`. Be watchful of this if you build `optics-extra` with `mtl-2.3` (or+  later) combined with an older version of `transformers` (pre-0.6) that defines+  `ErrorT` or `ListT`.  Similarly for `Magnify` and `MagnifyMany`.+ # optics-0.4.1 (2022-03-22) * Add support for GHC-9.2 * Add `is` ([#410](https://github.com/well-typed/optics/pull/410))
optics.cabal view
@@ -1,6 +1,6 @@ cabal-version:   2.2 name:            optics-version:         0.4.1+version:         0.4.2 license:         BSD-3-Clause license-file:    LICENSE build-type:      Simple@@ -72,11 +72,11 @@   build-depends: base                   >= 4.10      && <5                , array                  >= 0.5.2.0   && <0.6                , containers             >= 0.5.10.2  && <0.7-               , mtl                    >= 2.2.2     && <2.3+               , mtl                    >= 2.2.2     && <2.4                , optics-core            >= 0.4.1     && <0.4.2-               , optics-extra           >= 0.4.1     && <0.4.2+               , optics-extra           >= 0.4.2     && <0.4.3                , optics-th              >= 0.4.1     && <0.4.2-               , transformers           >= 0.5       && <0.6+               , transformers           >= 0.5       && <0.7    -- main module to land with repl   exposed-modules:    Optics