Changelog for base-compat-batteries-0.14.0
Changes in 0.14.0 [2024.04.30]
- This coincides with the
base-compat-batteries-0.14.0release. Refer to thebase-compat-batterieschangelog for more details.
Changes in 0.13.1 [2023.10.11]
- This coincides with the
base-compat-batteries-0.13.1release. Refer to thebase-compat-batterieschangelog for more details.
Changes in 0.13.0 [2023.03.10]
- This coincides with the
base-compat-0.13.0release. Refer to thebase-compatchangelog for more details. - Require
OneTuple-0.4or later on GHC 7.4+, as that is the firstOneTuplerelease to backport theMkSolodata constuctor forSolo. SeeData.Tuple.Compat. - Introduce
Data.Foldable1.CompatandData.Bifoldable1.Compatmodules, which correspond to changes made inbase-4.18.0.0.base-compat-batteriesuses thefoldable1-classes-compatlibrary to backport this code to older versions ofbase. - Depend on
bifunctor-classes-compatto backport theBifunctor,Bifoldable, andBitraversableclasses instead of thebifunctorslibrary, which has more dependencies.
Changes in 0.12.3 [2023.07.12]
- Allow building with
OneTuple-0.4.*.
Changes in 0.12.2 [2022.08.11]
- This coincides with the
base-compat-0.12.2release. Refer to thebase-compatchangelog for more details.
Changes in 0.12.1 [2021.10.30]
-
Backport
Soloto theData.Tuple.Compatmodule. If usingghc-prim-0.7.0or later,Solois taken fromghc-prim. If using an older version ofghc-prim,Solois taken from theOneTuplecompatibility library. -
This coincides with the
base-compat-0.12.1release. Refer to thebase-compatchangelog for more details.
Changes in 0.12.0 [2021.08.29]
-
Data.Semigroup.Compat{.Repl.Batteries}no longer re-exports theOptiondata type or theoptionfunction, as both have been removed inbase-4.16. -
This coincides with the
base-compat-0.12.0release. Refer to thebase-compatchangelog for more details.
Changes in 0.11.2 [2020.09.30]
- This coincides with the
base-compat-0.11.2release. Refer to thebase-compatchangelog for more details.
Changes in 0.11.1 [2020.01.27]
- This coincides with the
base-compat-0.11.1release. Refer to thebase-compatchangelog for more details.
Changes in 0.11.0 [2019.09.06]
-
Reexport
MonadFail(fail)fromPrelude.CompatandControl.Monad.Compat.Because
Prelude.Compat.failnow corresponds to thefailfromMonadFailinstead ofMonad, some care is required to implementMonad.failon pre-8.8 versions of GHC. The following template is recommended:import Prelude.Compat import qualified Control.Monad as Monad import qualified Control.Monad.Fail as Fail data Blah a = ... instance Functor Blah where ... instance Applicative Blah where ... instance Monad.Monad Blah where (>>=) = ... #if !(MIN_VERSION_base(4,13,0)) fail = Fail.fail #endif instance Fail.MonadFail Blah where fail = ...This approach is also backwards-compatible with previous releases of
base-compat-batteries. -
Introduce the
Data.Type.Equality.Compatmodule, which reexportsData.Type.Equalityfrombase(if using a sufficiently recent version of GHC) or thetype-equalitylibrary (if using an old GHC). -
This coincides with the
base-compat-0.11.0release. Refer to thebase-compatchangelog for more details.
Changes in 0.10.5 [2018.10.18]
- This coincides with the
base-compat-0.10.5release. Refer to thebase-compatchangelog for more details.
Changes in 0.10.4 [2018.07.03]
- Add a
SafeHaskellSpectest which ensures that certain modules (such asPrelude.Compat) can be imported in the presence ofSafe. - This coincides with the
base-compat-0.10.4release. Refer to thebase-compatchangelog for more details.
Changes in 0.10.3 [2018.07.02]
- This coincides with the
base-compat-0.10.3release. Refer to thebase-compatchangelog for more details.
Changes in 0.10.2 [2018.07.02]
- Sync with
base-4.12/GHC 8.6 - Introduce the
Data.Functor.Contravariant.Compatmodule, which reexportsData.Functor.Contravariantfrombase(if using GHC 8.6 or later) or thecontravariantlibrary (if using an earlier version of GHC). - This coincides with the
base-compat-0.10.2release. Refer to thebase-compatchangelog for more details.
Changes in 0.10.1 [2018.04.10]
- Add
Data.List.NonEmpty.Compat. - Reexport
(Data.Semigroup.<>)fromData.Monoid.Compat. - Tighten lower bounds of compat package dependencies.
- This coincides with the
base-compat-0.10.1release. Refer to thebase-compatchangelog for more details.
Changes in 0.10.0 [2018.04.05]
- Sync with
base-4.11/GHC 8.4 - This coincides with the
base-compat-0.10release. Refer to thebase-compatchangelog for more details.