hspec 2.10.10 → 2.11.0
raw patch · 5 files changed
+21/−6 lines, 5 filesdep ~hspec-coredep ~hspec-discoverPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hspec-core, hspec-discover
API changes (from Hackage documentation)
Files
- CHANGES.markdown +13/−0
- hspec.cabal +3/−3
- src/Test/Hspec/Discover.hs +1/−0
- src/Test/Hspec/Formatters.hs +3/−2
- version.yaml +1/−1
CHANGES.markdown view
@@ -1,3 +1,16 @@+## Changes in 2.11.0 (2023-04-21)+ - Drop support for GHC < 7.10.3+ - Improve coloring of whitespace-only segments on `--diff`+ - Add `ColorizedReason` constructor to `FailureReason`+ - Provide a new package `hspec-api`, a stable API that can be used to extend+ Hspec's functionality.+ - Deprecate `Test.Hspec.Core.Formatters.V1` in favor of+ `Test.Hspec.Api.Formatters.V1`+ - Add `--fail-on=empty-description`+ - Print slow spec items to `stderr` instead of `stdout`+ - Handle quoting/escaping in `.hspec` files+ - Flush output handle after reporting progress on `-fprogress`+ ## Changes in 2.10.10 (2023-03-07) - Re-export `sequential` from `Test.Hspec` - Rerun `beforeAll` / `afterAll` on `--rerun-all-on-success` (#768)
hspec.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: hspec-version: 2.10.10+version: 2.11.0 license: MIT license-file: LICENSE copyright: (c) 2011-2023 Simon Hengel,@@ -45,8 +45,8 @@ build-depends: QuickCheck >=2.12 , base ==4.*- , hspec-core ==2.10.10- , hspec-discover ==2.10.10+ , hspec-core ==2.11.0+ , hspec-discover ==2.11.0 , hspec-expectations ==0.8.2.* exposed-modules: Test.Hspec
src/Test/Hspec/Discover.hs view
@@ -1,3 +1,4 @@+{-# OPTIONS_GHC -fno-warn-deprecations #-} {-# LANGUAGE FlexibleInstances #-} module Test.Hspec.Discover {-# WARNING "This module is used by @hspec-discover@. It is not part of the public API and may change at any time."
src/Test/Hspec/Formatters.hs view
@@ -1,7 +1,8 @@+{-# OPTIONS_GHC -fno-warn-deprecations #-} -- |--- Deprecated\: Use "Test.Hspec.Core.Formatters.V1" instead.+-- Stability: deprecated module Test.Hspec.Formatters--- {-# DEPRECATED "Use \"Test.Hspec.Core.Formatters.V1\" instead." #-}+{-# DEPRECATED "Use [Test.Hspec.Api.Formatters.V1](https://hackage.haskell.org/package/hspec-api/docs/Test-Hspec-Api-Formatters-V1.html) instead." #-} (module Test.Hspec.Core.Formatters.V1) where import Test.Hspec.Core.Formatters.V1
version.yaml view
@@ -1,1 +1,1 @@-&version 2.10.10+&version 2.11.0