packages feed

tasty-bdd-0.2.0.0: CHANGELOG.md

# Changelog

## 0.2.0.0 — published 2026-10-01

- Breaking: `Test.BDD.Language` exports the lens over the action of `BDDTest` as `whenAction` instead of `when`, with the same type, so the module can be imported unqualified next to `Control.Monad`. The record field `_when` is unchanged.
- Release every resource acquired with `GivenAndAfter`, `givenAndAfter` or `givenAndAfter_` when a scenario fails by any exception, in reverse acquisition order. A constructor scenario whose acquisition throws releases the resources acquired before it.
- Run the remaining teardowns when one throws. A failed scenario keeps its own failure as the reported reason; a scenario whose steps pass but whose teardown throws is reported failed.
- Fail-fast is unchanged: with it on, a failed constructor scenario still skips teardown.

Migrating from 0.1: replace each use of the lens `when` with `whenAction`, for example `view when test` becomes `view whenAction test`. A module that hid the lens to use `Control.Monad.when`, such as `import Test.BDD.Language hiding (when)`, can drop the `hiding` clause.

## 0.1.0.2 — published

- Verify GHC 9.12.3 support and migrate development from Stack/hpack to Cabal 3.0 and a locked Nix build.
- Point package homepage, source repository and issue links to `lambdasistemi/tasty-bdd` following the repository transfer.
- Bound dependencies and add executable build, package, formatting, lint, documentation and source-archive checks.
- Add regression tests for recursive decorators over Tasty dependencies, including blocked tests after a failed prerequisite.
- Add a compiled example, contributor documentation and Spec Kit records.
- Enforce the published 0.1.0.1 source API and Hackage-quality archive/Haddock checks in CI. Document all exported lenses explicitly and test `onEach` across every Tasty wrapper.
- Deploy MkDocs to GitHub Pages and verify the served commit and generated bytes.
- Preserve the public API and published 0.1.0.1 behavior, including the `Succeded` spelling and dependency-wrapper traversal fix.

Uploaded to [Hackage](https://hackage.haskell.org/package/tasty-bdd-0.1.0.2) with documentation on 2026-10-01 and tagged `v0.1.0.2`. Fresh compiler evidence covers GHC 9.12.3; older compilers allowed by dependency bounds have not been revalidated.

## 0.1.0.1 — published

The published library and test sources match GitLab master. This release includes the recursive Tasty dependency-wrapper traversal fix; 0.1.0.2 preserves that behavior.