Apispec

Latest version: v6.7.1

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

Scan your dependencies

Page 3 of 20

6.0.0

******************

Features:

- Support ``fields.Enum`` (:pr:`802`).
- *Backwards-incompatible*: Change ``MarshmallowPlugin.map_to_openapi_type``
from a decorator to a classic function, taking a field as first argument
(:pr:`804`).
- *Backwards-incompatible*: Remove ``validate_spec`` from public API. Users may
call their validator of choice directly (:pr:`803`).

Other changes:

- Drop support for marshmallow < 3.18.0 (:pr:`802`).

6.0.0b1

********************

Features:

- Add ``OpenAPIConverter.add_parameter_attribute_function`` to allow
documentation of custom list fields such as webargs ``DelimitedList``
(:pr:`778`).
- *Backwards-incompatible*: Remove ``OpenAPIVersion`` and use ``packaging.Version``
instead (:pr:`801`).

5.2.2

******************

Bug fixes:

- Fix schema property ordering regression in ``ApiSpec.to_yaml()`` (:issue:`768`).
Thanks :user:`vorticity` for the PR.

5.2.1

******************

Bug fixes:

- Fix type hints for ``APISpec.path`` and ``BasePlugin`` methods (:pr:`765`).

5.2.0

******************

Features:

- Use ``raise from`` whenever possible (:pr:`763`).

Refactoring:

- Use a ``tuple`` rather than a ``namedtuple`` for "schema key" (:pr:`725`).

Other changes:

- Add type hints (:pr:`747`). Thanks :user:`kasium` for the PR.
- Test against Python 3.10 (:pr:`724`).
- Drop support for Python 3.6 (:pr:`727`).
- Switch to Github Actions for CI (:pr:`751`).

5.1.1

******************

Bug fixes:

- Fix field ordering in "ordered" schema classes documentation (:issue:`714`).

Other changes:

- Don't build universal wheels. We don't support Python 2 anymore.
(:pr:`705`)
- Make the build reproducible (:pr:`669`).

Page 3 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.