quickcheck-silent 0.11.0.13 → 0.11.0.14
raw patch · 5 files changed
+78/−12 lines, 5 filessetup-changedPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +40/−4
- README.md +24/−4
- Setup.hs +1/−1
- quickcheck-silent.cabal +11/−1
- src/Test/QuickCheck/Silent.hs +2/−2
CHANGELOG.md view
@@ -1,8 +1,44 @@ # Revision history for quickcheck-silent +## 0.11.0.14 -- 2026-08-19++* Based on feedback from `#haskell` on [Libera](https://libera.chat/), we have+ replaced the pragma `OPTIONS_GHC` headers in Haskell files:+ + ```haskell+ {-# OPTIONS_GHC -Wall -Werror #-}+ ```+ + with+ + ```haskell+ {-# OPTIONS_GHC -Wall #-}+ ```+ + as once `-Werror` is set in a file, it can't be overridden/removed:+ + ```+ ↓ pragma ..........: {-# OPTIONS_GHC -Wall -Werror #-}+ ↓ command line ....: --ghc-option="-Wall -Werror"+ ↓ local project ...: ghc-options: [ -Wall, -Werror ]+ ↓ main project ...: ghc-options: [ -Wall, -Werror ]+ ↓ cabal file ...: ghc-options: [ -Wall, -Werror ]+ ```+ + > **NOTE**: «cabal turns both ghc-options: and --ghc-option into ghc command+ > line parameters, with --ghc-option listed after and therefore overriding+ > ghc-options» -- `geekosaur`+ +* In order to ensure that builds live up to `-Wall -Werror`, both `basic.sh` and+ `build.sh` have been to pass the missing flags:+ + ```sh+ cabal build … --ghc-option="-Werror"+ ```+ ## 0.11.0.13 -- 2026-08-19 -* Expanded the `Result` product type: `numShrinks`, `numShrinkTries`,+* Expanded the `Result` product type with: `numShrinks`, `numShrinkTries`, `numShrinkFinal`, `usedSeed`, `usedSize` and `theException` fields. ## 0.11.0.12 -- 2026-08-18@@ -106,19 +142,19 @@ ## 0.11.0.6 -- 2026-08-08 -* Implementations, based on feedack from `#haskell` on+* Implementations, based on feedback from `#haskell` on [Libera](https://libera.chat/) did not work, therefore, `withNumTests` logic will be removed until fixed. ## 0.11.0.5 -- 2026-08-07 -* Updated `build.sh` based on feedack from `#haskell` on+* Updated `build.sh` based on feedback from `#haskell` on [Libera](https://libera.chat/). ```irc 14:16 < comerijn> gentauro: At any rate to reproduce your hackage error I would try: cabal sdist, then copy the tarball to a new directory, unzip the tarball, try and build in that new directory, see if it works ``` -* Adding, `withNumTests` based on feedack from `#haskell` on+* Adding, `withNumTests` based on feedback from `#haskell` on [Libera](https://libera.chat/). ```irc 14:46 < tomsmeding> gentauro: or too narrow, or something; in particular, Test.QuickCheck.Property.withNumTests is new since QuickCheck-2.18.0.0
README.md view
@@ -13,6 +13,22 @@ ```sh ├── src+│ ├── Internal+│ │ ├── GaloisInc+│ │ │ └── Text+│ │ │ ├── JSON+│ │ │ │ ├── Generic.hs+│ │ │ │ ├── String.hs+│ │ │ │ └── Types.hs+│ │ │ ├── JSON.hs+│ │ │ ├── LICENSE+│ │ │ └── NOTES.md+│ │ └── GlasgowUniversity+│ │ ├── Data+│ │ │ └── Generics+│ │ │ └── Aliases.hs+│ │ ├── LICENSE+│ │ └── NOTES.md │ └── Test │ └── QuickCheck │ └── Silent.hs@@ -29,7 +45,7 @@ ## Tree ```-quickcheck-silent-0.11.0.9+quickcheck-silent-0.11.0.13 ├─ QuickCheck-2.18.0.0 │ ├─ base-4.19.2.0 │ │ ├─ ghc-bignum-1.3@@ -72,22 +88,26 @@ │ ├─ splitmix-0.1.3.2 ┄┄ │ ├─ template-haskell-2.21.0.0 ┄┄ │ └─ transformers-0.6.1.0 ┄┄- └─ base-4.19.2.0 ┄┄+ ├─ base-4.19.2.0 ┄┄+ ├─ containers-0.6.8 ┄┄+ └─ mtl-2.3.1 ┄┄ ``` ## Direct deps ```-PkgId (PkgName "quickcheck-silent") (Ver [0,11,0,9])+PkgId (PkgName "quickcheck-silent") (Ver [0,11,0,13]) CompNameLib QuickCheck-2.18.0.0 base-4.19.2.0+ containers-0.6.8+ mtl-2.3.1 ``` ## Topological sort ```-quickcheck-silent-0.11.0.9+quickcheck-silent-0.11.0.13 QuickCheck-2.18.0.0 random-1.2.1.3 splitmix-0.1.3.2
Setup.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -Wall -Werror #-}+{-# OPTIONS_GHC -Wall #-} --------------------------------------------------------------------------------
quickcheck-silent.cabal view
@@ -10,7 +10,7 @@ build-type: Simple name: quickcheck-silent-version: 0.11.0.13+version: 0.11.0.14 synopsis: Testing with QuickCheck in silence description: Testing with QuickCheck in silence. For more info see README.md@@ -91,7 +91,17 @@ -------------------------------------------------------------------------- -Wno-orphans -- Makes any warning into a fatal error.+ -- -- -Werror+ --+ -- NOTE: The following errors will cause portability problems on other+ -- environments: Error: [werror] 'ghc-options: -Werror' makes the package+ -- easy to break with future GHC versions because new GHC versions often+ -- add new warnings. Alternatively, if you want to use this, make it+ -- conditional based on a Cabal configuration flag (with 'manual: True'+ -- and 'default: False') and enable that flag during development.+ --+ -- Error: Hackage would reject this package. -------------------------------------------------------------------------- -- Deterministic builds (Uniques): -- * https://gitlab.haskell.org/ghc/ghc/wikis/deterministic-builds#progress
src/Test/QuickCheck/Silent.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -Wall -Werror #-}+{-# OPTIONS_GHC -Wall #-} {-# LANGUAGE NoGeneralizedNewtypeDeriving #-} {-# LANGUAGE Safe #-}@@ -126,7 +126,7 @@ -- | A 'JSON' payload string that represents the test 'Result' with its -- respective 'Label' ----- > { "label": "…", "result": { "status": "…", …, "reason": "…" } }+-- > { "label": "…", "result": { "status": "…", …, "theException": "…" } } type JSON = String --------------------------------------------------------------------------------