Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 12, 2025

Bumps schemathesis from 3.39.16 to 4.0.0.

Release notes

Sourced from schemathesis's releases.

Release 4.0.0

Schemathesis 4.0 is a major rewrite of the core engine, Python API, and pytest integration. This release includes extensive breaking changes - see the migration guide for upgrading from v3.x.

🏎️ Performance Improvements

  • 3x faster test execution
  • 15x lower memory usage

🚀 New Features

Configuration system:

Added schemathesis.toml with operation-specific settings, environment variable substitution, and multi-project support:

headers = { Authorization = "Bearer ${API_TOKEN}" }
[[operations]]
include-name = "GET /users"
request-timeout = 5.0
generation.max-examples = 200

Improved testing:

  • Better defaults: run all available checks and all data generation modes
  • Enhanced stateful testing with better OpenAPI link handling
  • New phase system for separate control over examples, fuzzing, stateful, and coverage testing
  • Stabilized experimental features (new response checks, more configuration options)

Updated CLI:

  • Completely new output style (progress bars, cleaner output)
  • Cleaner option names (--max-examples, --mode, etc.)
  • Unified reporting system (--report junit,vcr,har)

📄 Documentation

Complete documentation rewrite available at https://schemathesis.readthedocs.io/en/stable/ with new guides, tutorials, and API reference.

💥 Breaking Changes

This is a major release with extensive breaking changes affecting the Python API, CLI options, and supported versions:

  • Minimum requirements: Python 3.9+, pytest 7.0+
  • API reorganization: Most imports, method names, and signatures changed
  • CLI changes: Many options renamed or removed, or replaced with config file
  • Removed features: aiohttp integration, Schemathesis.io, various legacy options

v4.0.0-beta.1

🎉 Schemathesis v4.0.0 Beta 1🎉

... (truncated)

Changelog

Sourced from schemathesis's changelog.

4.0.0 - 2025-06-10

This release only includes documentation & URLs updates.

4.0.0-beta.1 - 2025-06-07

🚀 Added

  • Support for validating requests / httpx / werkzeug responses in Case.validate_response. #1718

🔧 Changed

  • Generate at least one non-NULL character in path parameters. #2790
  • Improved failure messages for unsupported_method and missing_required_header checks.
  • Restore Case.formatted_path.
  • Update serialization error messages.
  • Update documentation links in error messages.
  • Improved failure messages for ignored_auth. #2779
  • Do not show the "Missing test data" warning if stateful testing has non-404 responses. #2795
  • Restore support for validating requests / httpx / werkzeug responses in validate_response and is_response_valid.
  • Rename is_response_valid to is_valid_response for consistency with other functions in the codebase.
  • Change default values for query / path_parameters / headers / cookies to an empty dict instead of None.
  • INTERNAL: Add Case.__slots__.

🐛 Fixed

  • Internal error during negative testing in some cases on Open API 3.1.
  • Pytest: not using all built-in checks by default.
  • Pytest: Ignored headers from config file.
  • Pytest: Ignored basic_auth from config file.
  • Pytest: Ignored Hypothesis settings from config file.
  • Make header overrides case-insensitive.
  • Incorrect auth detection in ignored_auth when it is passed to call or call_and_validate. #2846
  • Incorrect check for cookie and query param based authorization in ignored_auth.
  • Do not include parameters in the error message about missing HTTP method.

🔥 Removed

  • Schema.add_link. Adjust your API schema manually instead.
  • Schema.configure. Use the config file instead. If you used to pass app to Schema.configure, pass it to Case.call or Case.call_and_validate instead.
  • @schema.override. Use parameters configuration option instead.

Change this:

@schema.override(path_parameters={"user_id": 42})

To:

... (truncated)

Commits
  • fed3f41 chore: Release 4.0.0
  • a791889 docs: Update links
  • f4b655b build: Remove docs update workflow
  • ff33c65 docs: Update links to the docs
  • 9d3b4e9 docs: Update guides list
  • 0e45f12 docs: Fix md syntax
  • 17d4188 test: Fix corpus tests
  • 9e42c7e chore: Update pre-commit
  • 94b126f build(deps): Bump github/codeql-action from 3.28.18 to 3.28.19
  • c5f21a5 docs: Update migration guide
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [schemathesis](https://github.com/schemathesis/schemathesis) from 3.39.16 to 4.0.0.
- [Release notes](https://github.com/schemathesis/schemathesis/releases)
- [Changelog](https://github.com/schemathesis/schemathesis/blob/master/CHANGELOG.md)
- [Commits](schemathesis/schemathesis@v3.39.16...v4.0.0)

---
updated-dependencies:
- dependency-name: schemathesis
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jun 12, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 13, 2025

Superseded by #11.

@dependabot dependabot bot closed this Jun 13, 2025
@dependabot dependabot bot deleted the dependabot/uv/schemathesis-4.0.0 branch June 13, 2025 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant