Skip to content

Commit 0392ea0

Browse files
committed
v1.3.2.3: Drop support for GHC 7, allow latest containers
1 parent ecb645f commit 0392ea0

File tree

3 files changed

+30
-29
lines changed

3 files changed

+30
-29
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
For the package version policy (PVP), see http://pvp.haskell.org/faq .
1+
### 1.3.2.3
2+
3+
_2025-03-02 Andreas Abel_
4+
5+
- Drop support for GHC 7
6+
- Allow `containers < 1`
7+
- Tested with GHC 8.0 - 9.12.1
28

39
### 1.3.2.2
410

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[![Hackage version](https://img.shields.io/hackage/v/regex-tdfa.svg?label=Hackage&color=informational)](http://hackage.haskell.org/package/regex-tdfa)
2+
[![Stackage Nightly](http://stackage.org/package/regex-tdfa/badge/nightly)](http://stackage.org/nightly/package/regex-tdfa)
3+
[![Stackage LTS](http://stackage.org/package/regex-tdfa/badge/lts)](http://stackage.org/lts/package/regex-tdfa)
4+
[![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)
5+
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
16
# regex-tdfa
27

38
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.

regex-tdfa.cabal

+18-28
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
cabal-version: 1.12
1+
cabal-version: 1.24
22
name: regex-tdfa
3-
version: 1.3.2.2
4-
x-revision: 3
3+
version: 1.3.2.3
54

65
build-Type: Simple
76
license: BSD3
@@ -20,9 +19,11 @@ description:
2019
Please consult the "Text.Regex.TDFA" module for API documentation including a tutorial with usage examples;
2120
see also <https://wiki.haskell.org/Regular_expressions> for general information about regular expression support in Haskell.
2221

23-
extra-source-files:
22+
extra-doc-files:
2423
CHANGELOG.md
2524
README.md
25+
26+
extra-source-files:
2627
test/cases/*.txt
2728

2829
tested-with:
@@ -47,7 +48,7 @@ source-repository head
4748
source-repository this
4849
type: git
4950
location: https://github.com/haskell-hvr/regex-tdfa.git
50-
tag: v1.3.2.2-r3
51+
tag: v1.3.2.3
5152

5253
flag force-O2
5354
default: False
@@ -93,21 +94,10 @@ library
9394

9495
other-modules: Paths_regex_tdfa
9596

96-
-- Support Semigroup instances uniformly
97-
--
98-
-- See also
99-
-- https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid#RecommendedVariant
100-
--
101-
-- NB: This is the same logic `parsec.cabal` uses, so this doesn't
102-
-- add any new dependency that isn't already incurred by
103-
-- `regex-tdfa`'s transitive deps
104-
if !impl(ghc >= 8.0)
105-
build-depends: fail == 4.9.*
106-
, semigroups == 0.18.* || == 0.19.*
107-
build-depends: array >= 0.4 && < 0.6
108-
, base >= 4.5 && < 5
109-
, bytestring >= 0.9.2 && < 0.13
110-
, containers >= 0.4.2 && < 0.8
97+
build-depends: array >= 0.5 && < 0.6
98+
, base >= 4.9 && < 5
99+
, bytestring >= 0.10 && < 0.13
100+
, containers >= 0.5 && < 1
111101
, mtl >= 2.1.3 && < 2.4
112102
, parsec == 3.1.*
113103
, regex-base == 0.94.*
@@ -131,13 +121,16 @@ library
131121
UnliftedFFITypes
132122
other-extensions: CPP
133123

134-
ghc-options: -Wall -funbox-strict-fields -fspec-constr-count=10 -fno-warn-orphans
135-
136-
if impl(ghc >= 8.0)
137-
ghc-options: -Wcompat
124+
ghc-options:
125+
-funbox-strict-fields
126+
-fspec-constr-count=10
127+
-Wall
128+
-Wno-orphans
129+
-Wcompat
138130

139131
if flag(force-O2)
140-
ghc-options: -O2
132+
ghc-options:
133+
-O2
141134

142135

143136
test-suite regex-tdfa-unittest
@@ -150,9 +143,6 @@ test-suite regex-tdfa-unittest
150143
build-depends: regex-tdfa
151144

152145
-- dependencies whose version constraints are inherited via intra-package 'regex-tdfa' dependency
153-
if !impl(ghc >= 8.0)
154-
build-depends: fail
155-
, semigroups
156146
build-depends: array
157147
, base
158148
, bytestring

0 commit comments

Comments
 (0)