Skip to content

Version Packages#1685

Open
pmcelhaney wants to merge 1 commit intomainfrom
changeset-release/main
Open

Version Packages#1685
pmcelhaney wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@pmcelhaney
Copy link
Copy Markdown
Collaborator

@pmcelhaney pmcelhaney commented Apr 7, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

counterfact@2.7.0

Minor Changes

  • 0043b20: Add support for a counterfact.yaml config file. All CLI options can now be specified in a counterfact.yaml file in the current working directory. Command-line options always take precedence over config file settings. Use --config <path> to load a config file from a non-default location.

Patch Changes

  • 54b866c: add docs/usage-patterns.md documenting seven usage patterns: explore a new API, simulate failures and edge cases, mock APIs with dummy data, fast sandbox for agentic coding, hybrid proxy, API reference implementation, and executable spec
  • 6e0655b: fix type error when returning a response with no body (e.g. $.response[200] or $.response[404] in routes where the spec defines no response body)
  • 754dbbd: add two new usage pattern docs: Automated Integration Tests (programmatic API in test suites) and Custom Middleware (_.middleware.ts for cross-cutting concerns); propose three future patterns as GitHub issues: Record and Replay, Webhook Simulation, and Persistent State
  • f9a9790: Refactor src/counterfact-types/ so that each type lives in its own file with a JSDoc comment explaining its purpose. The index.ts now re-exports all types from the individual files. This is an internal refactor with no change to the public API.
  • 6d50ae6: Updated dependency ajv to 8.18.0.
  • fa25ec3: Updated dependency @swc/core to 1.15.24.
  • cbab929: Updated dependency eslint to 10.2.0.
  • 9c5fc1d: Replace deprecated unescape() with decodeURIComponent() wrapped in a try/catch in requirement.ts. This avoids use of the deprecated global function while preserving the behavior of returning invalid percent-encoded sequences unchanged.

@github-actions github-actions bot force-pushed the changeset-release/main branch 15 times, most recently from 79bf5e1 to 24780df Compare April 8, 2026 18:22
@pmcelhaney pmcelhaney closed this Apr 8, 2026
@pmcelhaney pmcelhaney reopened this Apr 8, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch 13 times, most recently from 8a3e61d to 46244cb Compare April 8, 2026 21:34
@github-actions github-actions bot force-pushed the changeset-release/main branch 9 times, most recently from e563b4d to a236d6f Compare April 10, 2026 00:38
@github-actions github-actions bot force-pushed the changeset-release/main branch from a236d6f to 6869f47 Compare April 10, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant