o-clock 1.4.0 → 1.4.0.1
raw patch · 3 files changed
+17/−6 lines, 3 filesdep ~doctestdep ~hedgehogPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: doctest, hedgehog
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- o-clock.cabal +9/−6
- src/Time/Units.hs +2/−0
CHANGELOG.md view
@@ -9,6 +9,12 @@ o'clock uses [PVP Versioning][1]. The change log is available [on GitHub][2]. +1.4.0.1+=======+* [#145](https://github.com/serokell/o-clock/pull/145)+ + Bump some upper bounds.+ + Get rid of warnings with GHC-9.12.+ 1.4.0 =====
o-clock.cabal view
@@ -4,7 +4,7 @@ -- SPDX-License-Identifier: MPL-2.0 name: o-clock-version: 1.4.0+version: 1.4.0.1 synopsis: Type-safe time library. description: See README.md for details. homepage: https://github.com/serokell/o-clock@@ -22,8 +22,11 @@ , README.lhs tested-with: GHC == 9.0.2 , GHC == 9.2.8- , GHC == 9.4.5- , GHC == 9.6.2+ , GHC == 9.4.8+ , GHC == 9.6.6+ , GHC == 9.8.4+ , GHC == 9.10.1+ , GHC == 9.12.1 source-repository head type: git@@ -73,7 +76,7 @@ Test.Time.Units build-depends: o-clock- , hedgehog >= 0.6 && < 1.4+ , hedgehog >= 0.6 && < 1.6 , hspec-expectations ^>= 0.8 , tasty >= 0.12 && < 1.6 , tasty-hedgehog >= 0.1 && < 1.5.0@@ -94,7 +97,7 @@ main-is: Doctest.hs build-tool-depends: doctest:doctest- build-depends: doctest >= 0.16 && < 0.23+ build-depends: doctest >= 0.16 && < 0.24 , Glob >= 0.9 && < 0.11 ghc-options: -threaded -rtsopts -with-rtsopts=-N @@ -109,7 +112,7 @@ build-tool-depends: markdown-unlit:markdown-unlit build-depends: o-clock , markdown-unlit >= 0.5 && < 0.7- ghc-options: -threaded -rtsopts -with-rtsopts=-N -pgmL markdown-unlit+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -pgmL markdown-unlit -Wno-orphans benchmark o-clock-benchmark import: common-options
src/Time/Units.hs view
@@ -72,7 +72,9 @@ import Data.Char (isDigit, isLetter) import Data.Coerce (coerce) import Data.Data (Data)+#if !(MIN_VERSION_base(4,20,0)) import Data.Foldable (foldl')+#endif import Data.Proxy (Proxy (..)) import Data.Semigroup (Semigroup (..)) import GHC.Generics (Generic)