diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a26bf1..cdbe7cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ -For the package version policy (PVP), see http://pvp.haskell.org/faq . +### 1.3.2.3 + +_2025-03-02 Andreas Abel_ + +- Drop support for GHC 7 +- Allow `containers < 1` +- Tested with GHC 8.0 - 9.12.1 ### 1.3.2.2 diff --git a/README.md b/README.md index be61244..e7c5029 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +[![Hackage version](https://img.shields.io/hackage/v/regex-tdfa.svg?label=Hackage&color=informational)](http://hackage.haskell.org/package/regex-tdfa) +[![Stackage Nightly](http://stackage.org/package/regex-tdfa/badge/nightly)](http://stackage.org/nightly/package/regex-tdfa) +[![Stackage LTS](http://stackage.org/package/regex-tdfa/badge/lts)](http://stackage.org/lts/package/regex-tdfa) +[![Haskell-CI](https://github.com/haskell-hvr/regex-tdfa/actions/workflows/haskell-ci.yml/badge.svg?branch=master&event=push)](https://github.com/haskell-hvr/regex-tdfa/actions/workflows/haskell-ci.yml) +[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) # regex-tdfa This is [`regex-tdfa`](http://hackage.haskell.org/package/regex-tdfa) which is a pure Haskell regular expression library (for POSIX extended regular expressions) originally written by Christopher Kuklewicz. diff --git a/regex-tdfa.cabal b/regex-tdfa.cabal index cf0c927..2e947fc 100644 --- a/regex-tdfa.cabal +++ b/regex-tdfa.cabal @@ -1,7 +1,6 @@ -cabal-version: 1.12 +cabal-version: 1.24 name: regex-tdfa -version: 1.3.2.2 -x-revision: 3 +version: 1.3.2.3 build-Type: Simple license: BSD3 @@ -20,9 +19,11 @@ description: Please consult the "Text.Regex.TDFA" module for API documentation including a tutorial with usage examples; see also for general information about regular expression support in Haskell. -extra-source-files: +extra-doc-files: CHANGELOG.md README.md + +extra-source-files: test/cases/*.txt tested-with: @@ -47,7 +48,7 @@ source-repository head source-repository this type: git location: https://github.com/haskell-hvr/regex-tdfa.git - tag: v1.3.2.2-r3 + tag: v1.3.2.3 flag force-O2 default: False @@ -93,21 +94,10 @@ library other-modules: Paths_regex_tdfa - -- Support Semigroup instances uniformly - -- - -- See also - -- https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid#RecommendedVariant - -- - -- NB: This is the same logic `parsec.cabal` uses, so this doesn't - -- add any new dependency that isn't already incurred by - -- `regex-tdfa`'s transitive deps - if !impl(ghc >= 8.0) - build-depends: fail == 4.9.* - , semigroups == 0.18.* || == 0.19.* - build-depends: array >= 0.4 && < 0.6 - , base >= 4.5 && < 5 - , bytestring >= 0.9.2 && < 0.13 - , containers >= 0.4.2 && < 0.8 + build-depends: array >= 0.5 && < 0.6 + , base >= 4.9 && < 5 + , bytestring >= 0.10 && < 0.13 + , containers >= 0.5 && < 1 , mtl >= 2.1.3 && < 2.4 , parsec == 3.1.* , regex-base == 0.94.* @@ -131,13 +121,16 @@ library UnliftedFFITypes other-extensions: CPP - ghc-options: -Wall -funbox-strict-fields -fspec-constr-count=10 -fno-warn-orphans - - if impl(ghc >= 8.0) - ghc-options: -Wcompat + ghc-options: + -funbox-strict-fields + -fspec-constr-count=10 + -Wall + -Wno-orphans + -Wcompat if flag(force-O2) - ghc-options: -O2 + ghc-options: + -O2 test-suite regex-tdfa-unittest @@ -150,9 +143,6 @@ test-suite regex-tdfa-unittest build-depends: regex-tdfa -- dependencies whose version constraints are inherited via intra-package 'regex-tdfa' dependency - if !impl(ghc >= 8.0) - build-depends: fail - , semigroups build-depends: array , base , bytestring