acme-year 2019 → 2024
raw patch · 3 files changed
+21/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Acme/Year.hs +1/−1
- acme-year.cabal +9/−3
- changelog.md +11/−0
Acme/Year.hs view
@@ -5,7 +5,7 @@ import Data.Version import Paths_acme_year --- | The current year (e.g. @2014@)+-- | The current year (e.g. @2024@) currentYear :: Int currentYear = case versionBranch version of
acme-year.cabal view
@@ -1,5 +1,5 @@ name: acme-year-version: 2019+version: 2024 synopsis: Get the current year -- description: license: PublicDomain@@ -9,9 +9,10 @@ -- copyright: category: Acme build-type: Simple-cabal-version: >=1.8+cabal-version: >=1.10 homepage: http://github.com/joeyadams/hs-acme-year bug-reports: http://github.com/joeyadams/hs-acme-year/issues+extra-source-files: changelog.md source-repository head type: git@@ -22,6 +23,7 @@ other-modules: Paths_acme_year build-depends: base < 6 ghc-options: -Wall -fwarn-tabs+ default-language: Haskell2010 test-suite test type: exitcode-stdio-1.0@@ -35,14 +37,18 @@ , acme-year , time + default-language: Haskell2010+ benchmark bench type: exitcode-stdio-1.0 hs-source-dirs: bench main-is: Main.hs - ghc-options: -Wall -fwarn-tabs -O2+ ghc-options: -Wall -fwarn-tabs build-depends: base , acme-year , criterion++ default-language: Haskell2010
+ changelog.md view
@@ -0,0 +1,11 @@+# Changelog for [`acme-year` package](https://hackage.haskell.org/package/acme-year)++## 2024++* [#7](https://github.com/joeyadams/hs-acme-year/pull/7)+ * Hotfix to patch a Y2023 issue.+* Minor adjustment for better accuracy in 2024.+* Update cabal version to 1.10 for compatibility with Hackage.+* Remove `-O2`, which appears to have no impact on performance.+* Update the example year to 2024 as well.+* Add changelog.