Schemathesis

Latest version: v3.39.11

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 39 of 53

2.2.1

Not secure
:version:`2.2.1 <v2.2.0...v2.2.1>` - 2020-07-22
-----------------------------------------------

**Fixed**

- Possible ``UnicodeEncodeError`` during generation of ``Authorization`` header values for endpoints with ``basic`` security scheme. :issue:`656`

2.2.0

Not secure
:version:`2.2.0 <v2.1.0...v2.2.0>` - 2020-07-14
-----------------------------------------------

**Added**

- ``schemathesis.graphql.from_dict`` loader allows you to use GraphQL schemas represented as a dictionary for testing.
- ``before_load_schema`` hook for GraphQL schemas.

**Fixed**

- Serialization of non-string parameters. :issue:`651`

2.1.0

Not secure
:version:`2.1.0 <v2.0.0...v2.1.0>` - 2020-07-06
-----------------------------------------------

**Added**

- Support for property-level examples. :issue:`467`

**Fixed**

- Content-type conformance check for cases when Open API 3.0 schemas contain "default" response definitions. :issue:`641`
- Handling of multipart requests for Open API 3.0 schemas. :issue:`640`
- Sending non-file form fields in multipart requests. :issue:`647`

**Removed**

- Deprecated ``skip_validation`` argument to ``HookDispatcher.apply``.
- Deprecated ``_accepts_context`` internal function.

2.0.0

Not secure
:version:`2.0.0 <v1.10.0...v2.0.0>` - 2020-07-01
------------------------------------------------

**Changed**

- **BREAKING**. Base URL handling. ``base_url`` now is treated as one with a base path included.
You should pass a full base URL now instead:

.. code:: bash

schemathesis run --base-url=http://127.0.0.1:8080/api/v2 ...

This value will override ``basePath`` / ``servers[0].url`` defined in your schema if you use
Open API 2.0 / 3.0 respectively. Previously if you pass a base URL like the one above, it
was concatenated with the base path defined in the schema, which leads to a lack of ability
to redefine the base path. :issue:`511`

**Fixed**

- Show the correct URL in CLI progress when the base URL is overridden, including the path part. :issue:`511`
- Construct valid URL when overriding base URL with base path. :issue:`511`

**Example**:

.. code:: bash

Base URL in the schema : http://0.0.0.0:8081/api/v1
`--base-url` value in CLI : http://0.0.0.0:8081/api/v2
Full URLs before this change : http://0.0.0.0:8081/api/v2/api/v1/users/ # INVALID!
Full URLs after this change : http://0.0.0.0:8081/api/v2/users/ # VALID!

**Removed**

- Support for hooks without `context` argument in the first position.
- Hooks registration by name and function. Use ``register`` decorators instead. For more details, see the "Customization" section in our documentation.
- ``BaseSchema.with_hook`` and ``BaseSchema.register_hook``. Use ``BaseSchema.hooks.apply`` and ``BaseSchema.hooks.register`` instead.

1.10.0

Not secure
:version:`1.10.0 <v1.9.1...v1.10.0>` - 2020-06-28
--------------------------------------------------

**Added**

- ``loaders.from_asgi`` supports making calls to ASGI-compliant application (For example: FastAPI). :issue:`521`
- Support for GraphQL strategies.

**Fixed**

- Passing custom headers to schema loader for WSGI / ASGI apps. :issue:`631`

1.9.1

Not secure
:version:`1.9.1 <v1.9.0...v1.9.1>` - 2020-06-21
-----------------------------------------------

**Fixed**

- Schema validation error on schemas containing numeric values in scientific notation without a dot. :issue:`629`

Page 39 of 53

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.