Skip to content

Commit 2ec0de0

Browse files
Prepare 0.2.7.2 release.
Fix build with GHC 9.8. Bumped upper bound on transformers to <0.7. Bumped upper bound on text to <2.2.
1 parent 6cad358 commit 2ec0de0

File tree

5 files changed

+40
-37
lines changed

5 files changed

+40
-37
lines changed

.github/workflows/build.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66

77
jobs:
88
call-workflow:
9-
uses: byteverse/.github/.github/workflows/build.yaml@main
10-
secrets: inherit
9+
uses: byteverse/.github/.github/workflows/build-matrix.yaml@main
1110
with:
12-
release: false
11+
cabal-file: json-syntax.cabal

.github/workflows/release.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ on:
66

77
jobs:
88
call-workflow:
9-
uses: byteverse/.github/.github/workflows/build.yaml@main
9+
uses: byteverse/.github/.github/workflows/release.yaml@main
1010
secrets: inherit
11-
with:
12-
release: true

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Revision history for json-syntax
22

3+
## 0.2.7.2 -- 2024-02-07
4+
5+
* Fix build with GHC 9.8.
6+
* Bumped upper bound on `transformers` to <0.7.
7+
* Bumped upper bound on `text` to <2.2.
8+
39
## 0.2.7.1 -- 2024-01-29
410

511
* Update package metadata.

Setup.hs

-3
This file was deleted.

json-syntax.cabal

+31-28
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: json-syntax
3-
version: 0.2.7.1
3+
version: 0.2.7.2
44
synopsis: High-performance JSON parser and encoder
55
description:
66
This library parses JSON into a @Value@ type that is consistent with the
@@ -24,9 +24,18 @@ maintainer: [email protected]
2424
copyright: 2019 Andrew Martin
2525
category: Data
2626
build-type: Simple
27-
extra-doc-files: CHANGELOG.md
27+
extra-doc-files:
28+
CHANGELOG.md
29+
README.md
30+
31+
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
32+
33+
common build-settings
34+
default-language: Haskell2010
35+
ghc-options: -Wall -Wunused-packages
2836

2937
library
38+
import: build-settings
3039
exposed-modules:
3140
Json
3241
Json.Flatten
@@ -45,50 +54,46 @@ library
4554
, primitive >=0.7 && <0.10
4655
, run-st >=0.1.1 && <0.2
4756
, scientific-notation >=0.1.6 && <0.2
48-
, text >=2.0.2 && <2.1
57+
, text >=2.0.2 && <2.2
4958
, text-short >=0.1.3 && <0.2
50-
, transformers >=0.5.6 && <0.6
59+
, transformers >=0.5.6 && <0.7
5160
, word-compat >=0.0.6 && <0.1
5261
, zigzag >=0.0.1 && <0.1
5362

54-
hs-source-dirs: src
55-
default-language: Haskell2010
56-
ghc-options: -Wall -O2
63+
hs-source-dirs: src
64+
ghc-options: -O2
5765

5866
test-suite test
59-
default-language: Haskell2010
60-
type: exitcode-stdio-1.0
61-
hs-source-dirs: test common
62-
main-is: Main.hs
67+
import: build-settings
68+
type: exitcode-stdio-1.0
69+
hs-source-dirs: test common
70+
main-is: Main.hs
6371
other-modules:
6472
Person
6573
Twitter100
6674

67-
ghc-options: -Wall -O2
6875
build-depends:
6976
, aeson >=2.0.2
70-
, array-chunks
7177
, base >=4.12.0.0 && <5
7278
, bytebuild
7379
, byteslice >=0.1.3
7480
, bytestring
75-
, containers
7681
, json-syntax
7782
, neat-interpolation >=0.3.2
7883
, primitive
7984
, QuickCheck >=2.14.2
8085
, scientific
8186
, scientific-notation >=0.1.1
82-
, tasty >=1.2.3 && <1.3
83-
, tasty-golden >=2.0 && <2.4
84-
, tasty-hunit >=0.10.0.2 && <0.11
85-
, tasty-quickcheck >=0.10.1.2 && <0.11
86-
, text >=2.0.2 && <2.1
87+
, tasty >=1.2.3
88+
, tasty-golden >=2.0
89+
, tasty-hunit >=0.10.0.2
90+
, tasty-quickcheck >=0.10.1.2
91+
, text >=2.0.2
8792
, text-short
88-
, vector
8993

9094
benchmark bench
91-
type: exitcode-stdio-1.0
95+
import: build-settings
96+
type: exitcode-stdio-1.0
9297
build-depends:
9398
, aeson
9499
, base
@@ -97,15 +102,13 @@ benchmark bench
97102
, bytestring
98103
, gauge
99104
, json-syntax
100-
, neat-interpolation >=0.3.2
105+
, neat-interpolation >=0.3.2
101106
, primitive
102-
, scientific-notation >=0.1.1
103-
, text >=2.0.2 && <2.1
107+
, text >=2.0.2
104108

105-
ghc-options: -Wall -O2
106-
default-language: Haskell2010
107-
hs-source-dirs: bench common
108-
main-is: Main.hs
109+
ghc-options: -O2
110+
hs-source-dirs: bench common
111+
main-is: Main.hs
109112
other-modules:
110113
Metrics1024
111114
Twitter100

0 commit comments

Comments
 (0)