Skip to content

Commit f885731

Browse files
Prepare 0.1.1.2 release.
Use new .github workflows. Restore import statement for liftA2 to fix build for GHC 9.4. Bump text upper bound to 2.2 to fix build for GHC 9.8.
1 parent ba785df commit f885731

File tree

5 files changed

+24
-16
lines changed

5 files changed

+24
-16
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 3 deletions
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: base62.cabal

.github/workflows/release.yaml

Lines changed: 1 addition & 3 deletions
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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Revision history for base62
22

3+
## 0.1.1.2 -- 2024-02-06
4+
5+
* Restore import statement for `liftA2` to fix build for GHC 9.4.
6+
* Bump `text` upper bound to 2.2 to fix build for GHC 9.8.
7+
38
## 0.1.1.1 -- 2024-02-01
49

510
* Update package metadata.

base62.cabal

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: base62
3-
version: 0.1.1.1
3+
version: 0.1.1.2
44
synopsis: Base62 encoding and decoding
55
description: Encode and decode using the base62 encoding scheme.
66
homepage: https://github.com/byteverse/base62
@@ -12,29 +12,34 @@ maintainer: amartin@layer3com.com
1212
copyright: 2019 Andrew Martin
1313
category: Data
1414
extra-doc-files: CHANGELOG.md
15+
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
16+
17+
common build-settings
18+
default-language: Haskell2010
19+
ghc-options: -Wall -Wunused-packages
1520

1621
library
17-
exposed-modules: Data.Word.Base62
22+
import: build-settings
23+
exposed-modules: Data.Word.Base62
1824
build-depends:
1925
, base >=4.17 && <5
2026
, bytebuild >=0.3.4 && <0.4
2127
, byteslice >=0.2 && <0.3
2228
, bytestring >=0.11.4 && <0.12
2329
, natural-arithmetic >=0.1 && <0.2
2430
, primitive >=0.7 && <0.10
25-
, text >=2.0.2 && <2.1
31+
, text >=2.0.2 && <2.2
2632
, text-short >=0.1.5 && <0.2
2733
, wide-word >=0.1.0.8 && <0.2
2834

29-
hs-source-dirs: src
30-
default-language: Haskell2010
31-
ghc-options: -Wall -O2
35+
hs-source-dirs: src
36+
ghc-options: -O2
3237

3338
test-suite test
34-
default-language: Haskell2010
35-
type: exitcode-stdio-1.0
36-
hs-source-dirs: test
37-
main-is: Main.hs
39+
import: build-settings
40+
type: exitcode-stdio-1.0
41+
hs-source-dirs: test
42+
main-is: Main.hs
3843
build-depends:
3944
, base >=4.12.0.0 && <5
4045
, base62

test/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{-# LANGUAGE LambdaCase #-}
22
{-# OPTIONS_GHC -fno-warn-orphans #-}
33

4+
-- liftA2 is needed by GHC 9.4
45
import Control.Applicative (liftA2)
56
import Data.Bits ((.&.))
67
import Data.Char (chr)

0 commit comments

Comments
 (0)