For future releases, see https://github.com/Pylons/pyramid_openapi3/releases
- Fix
multipart/form-data
support, refs #225. [am-on]
-
Update the supported version of Python to 3.12, Pyramid to 2.0.2. Drop support for Python 3.8. [zupo]
-
Update the supported version of
openapi-core
to 0.19.0, refs #220. Drop support for all older versions ofopenapi-core
. [miketheman, Wim-De-Clercq, zupo] -
Update Swagger UI version to 4.18.3, refs #210. [kskarthik]
-
Add support for specifying the protocol and port for getting the openapi3 spec file, fixes running behind a reverse proxy, refs #176. [vpet98, zupo]
- Add support for setting a prefix for auto-generated routes. [zupo]
-
Update Swagger UI version to 4.15.3, refs #185. [kskarthik]
-
Upgrade
openapi-core dependency
to0.16
, refs #173.[BREAKING CHANGE]
request.openapi_validated.parameters
will now be a dataclass instead of a dict. For example: if you wanted to get a query parameter calledlimit
:- before:
request.openapi_validated.parameters["query"]["limit"]
- after:
request.openapi_validated.parameters.query["limit"]
[damonhook]
- before:
request.openapi_validated
no longer breaks non-opeanpi views, refs #172. [grinspins, zupo]
- Remove openapi-schema-validator as a dependency, as it is already pulled in by openapi-core. [zupo]
- Cleanup and modernization of dev env, added support for Python 3.10 and 3.11. [zupo]
- Upgrade Swagger UI to latest version to get security fixes missing in the old release. [am-on]
- Add support for Pyramid 2.0 refs #133, #142. [lkuchenb, zupo]
-
Basic support for multipart requests, refs #122. [Wim-De-Clercq]
-
Automatic route registration via
x-pyramid-route-name
extension, refs #46. [gjo] -
Support for Python 3.9, refs #115. [stevepiercy, zupo]
-
Cleanup old relative OpenAPI server URL workaround. Drop support for
openapi-core 0.13.1
, refs #127, #129, #131. [sevanteri, zupo] -
Fix
KeyError
when having multiple routes for a single path, refs #118. [damonhook]
-
Allow setting permission for explorer and spec view. [sweh]
-
Allow multiple OpenApis in one pyramid application. [sweh]
-
Fix for route validation when used with pyramid route_prefix_context. [damonhook]
- Support for endpoint validation of prefixed routes. [zupo]
- Support disabling of endpoint validation via INI files. [zupo]
-
Allow relative file
$ref
links in OpenApi spec, refs #93. [damonhook] -
Validate that all endpoints in the spec have a registered route, refs #21. [phrfpeixoto]
-
Add support for openapi-core 0.13.4. [sjiekak]
-
Add the ability to toggle request/response validation independently through registry settings. [damonhook]
- Brown-bag release. [zupo]
-
Raise a warning when a bad API spec causes validation errors to be discarded. [matthewwilkes]
-
Fix
custom_formatters
support in latest openapi-core 0.13.3. [simondale00] -
Declare a minimal supported version of openapi-core. [zupo]
- Fix extract_errors to support lists, refs #75. [zupo]
-
Log Response validation errors as errors, instead of warnings. [zupo]
-
Log Request validation errors as warnings, instead of infos. [zupo]
-
Better support for handling apps mounted at subpaths. [mmerickel]
-
Pass the response into the response validation exception to support use-cases where we can return the response but log the errors. [mmerickel]
-
Reload development server also when YAML file changes. [mmerickel]
- Better support for custom formatters and a test showcasing how to use them. [zupo]
- Bad JWT tokens should result in 401 instead of 400. [zupo]
- Fix a regression with relative
servers
entries inopenapi.yaml
. Refs python-openapi/openapi-core#218. [zupo]
-
[BREAKING CHANGE] Move
openapi_validation_error
fromexamples/todoapp
into the main package so it becomes a first-class citizen and people can use it without copy/pasting. If you need custom JSON rendering, you can provide your ownextract_errors
function viapyramid_openapi3_extract_errors
config setting. [zupo] -
Upgrade
openapi-core
to0.13.x
which brings a complete rewrite of the validation mechanism that is now based onjsonschema
library. This manifests as different validation error messages.[BREAKING CHANGE] By default,
openapi-core
no longer creates models from validated data, but returnsdict
s. More info on python-openapi/openapi-core#205 [zupo]
- Pin openapi-core dependency to a sub 0.12.0 version, to avoid regressions with validation. Details on python-openapi/openapi-core#160 [zupo]
-
Fix handling parameters in Headers and Cookies. [gweis]
-
Introduce RequestValidationError and ResponseValidationError exceptions in favor of pyramid_openapi3_validation_error_view directive. [gweis]
- Added type hints. [zupo]
- Added additional references to other packages covering the same problem-space. [zupo]
- Moved repo to Pylons GitHub organization. [stevepiercy, zupo]
- Added a more built-out TODO-app example. [zupo]
- Fix for double-registering views. [zupo]
- Added a single-file example. [zupo]
- Tweaking the release process. [zupo]
- Added a bunch of tests. [zupo]
- Automatic releases via CircleCI. [zupo]
- Initial release. [zupo]