Releases: two-go-testing/Two-Go
Release list
v1.1.0
Adds request-level conveniences and CI/BDD tooling on top of 1.0.0.
- GraphQL helper: client.graphql(query, variables, { path }).
- Request retry/backoff: .retry({ attempts, delay, factor, on }).
- Cookie jar: go({ cookies: true }) carries Set-Cookie across requests.
- Reporters: toJUnit / toJSON and a CLI --reporter junit|json [--out file].
- BDD layer (two-go/bdd): runner-agnostic given/when/then.
- Extended HTTP assertions are now chainable on the request builder too.
Still zero runtime dependencies, ESM, Node 18+, types included. See CHANGELOG.md.
v1.0.0
First stable release.
Everything since 0.1.0 is now considered stable: the fluent HTTP client and inline checks, the Jest-style expect(), soft assertions, polling (eventually/pollUntil), snapshots, session chaining, faker, async helpers, the ~170 function utility belt, JSON schema validate/infer, curl export and logging, OpenAPI and Postman importers, the optional AI layer (test generation, failure explanation, response review and fuzzing), and an MCP server so agents can drive two-go.
Still zero runtime dependencies, ESM, Node 18+, with TypeScript types included. See CHANGELOG.md for the full history.
v0.4.1
v0.4.0 - TypeScript types, CI & Docker
TypeScript support and tooling on top of the v0.3.0 feature set.
Added
- TypeScript types: hand-checked .d.ts for the entire public API (core, assertions, ~170 utils, and every feature), wired via the
typesfield and per-subpathexportsconditions. Full editor autocomplete, still zero runtime dependencies. - GitHub Actions CI on Node 18/20/22.
- Dockerfile + .dockerignore for containerized test runs.
prepublishOnly(test gate) andtypecheckscripts.
597 unit tests + e2e self test, all green. See CHANGELOG.md for full history.