Skip to content

Commit

Permalink
Switch from cryptonite to crypton, dropping support for GHC 8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfmpe committed Jan 24, 2025
1 parent c83e70f commit d8a41be
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
build:
strategy:
matrix:
ghc: ['8.6.5', '8.8.4', '9.8.1', '9.10.1', '9.12.1']
ghc: ['8.8', '8.10', '9.0', '9.2', '9.4', '9.6', '9.8', '9.10', '9.12']
os: ['ubuntu-latest', 'macos-latest']
runs-on: ${{ matrix.os }}

name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v2
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
- name: Cache
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Revision history for haveibeenpwned

## Unreleased

* Switch from cryptonite to crypton
* Drop support for GHC 8.6

## 0.2.0.3

* Support for GHC 9.12
Expand Down
4 changes: 2 additions & 2 deletions haveibeenpwned.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ copyright: 2019 Obsidian Systems LLC
category: Web
extra-source-files: CHANGELOG.md
README.md
tested-with: GHC ==8.6.5 || ==8.8.4 || ==9.8.1 || ==9.10.1 || ==9.12.1
tested-with: GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.1 || ==9.12.1

library
exposed-modules: HaveIBeenPwned
build-depends:
, base >=4.11.0 && <4.22
, bytestring >=0.10 && <0.13
, cryptonite >=0.24 && <0.31
, crypton >=0.32 && <1.1
, data-default >=0.7.1 && <0.9
, http-client >=0.5.13.1 && <0.8
, http-types ^>=0.12.1
Expand Down
2 changes: 1 addition & 1 deletion src/HaveIBeenPwned.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
-- get some means for rejecting very weak or just leaked passwords.
module HaveIBeenPwned where

import "cryptonite" Crypto.Hash
import Crypto.Hash
import Control.Exception
import Control.Monad.Logger
import Control.Monad.Reader
Expand Down

0 comments on commit d8a41be

Please sign in to comment.