Skip to content

Commit

Permalink
Cleanup dependencies (#377)
Browse files Browse the repository at this point in the history
* remove upper bounds on text and bytestring
* remove dep on transformers-compat
* update CI to test against 9.8.2 as well

---------

Co-authored-by: Marco Zocca <[email protected]>
  • Loading branch information
ocramz and Marco Zocca authored Mar 9, 2024
1 parent d376f43 commit 00a8e3b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.0.2" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.2.8" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.4.6" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.6.2" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.6.3" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.6.4" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.8.2" }
fail-fast: false

steps:
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
### Fixes
* Path parameters with value matching the parameter name prefixed by colon will properly populate `pathParams` with their literal value : `/:param` will match `/:param` and add a `Param` with value `("param", ":param")` (#301)
* Accept text-2.1 (#364)
* Remove dependency upper bounds on `text` and `bytestring` (#371)


### Breaking changes
* some ActionT API functions have now a MonadIO or MonadUnliftIO constraint rather than Monad reflecting that there is where request reading takes place. (#369)
Expand Down
9 changes: 4 additions & 5 deletions scotty.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ tested-with: GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.6
, GHC == 9.6.2
, GHC == 9.6.3
, GHC == 9.6.4
, GHC == 9.8.2
Extra-source-files:
README.md
changelog.md
Expand All @@ -73,7 +73,7 @@ Library
build-depends: aeson >= 0.6.2.1 && < 2.3,
base >= 4.14 && < 5,
blaze-builder >= 0.3.3.0 && < 0.5,
bytestring >= 0.10.0.2 && < 0.13,
bytestring >= 0.10.0.2 ,
case-insensitive >= 1.0.0.1 && < 1.3,
cookie >= 0.4,
data-default-class >= 0.1,
Expand All @@ -85,11 +85,10 @@ Library
regex-compat >= 0.95.1 && < 0.96,
resourcet,
stm,
text >= 0.11.3.1 && < 2.2,
text >= 0.11.3.1 ,
time >= 1.8,
transformers >= 0.3.0.0 && < 0.7,
transformers-base >= 0.4.1 && < 0.5,
transformers-compat >= 0.4 && < 0.8,
unliftio >= 0.2,
wai >= 3.0.0 && < 3.3,
wai-extra >= 3.1.14,
Expand Down

0 comments on commit 00a8e3b

Please sign in to comment.