Releases: playpauseandstop/rororo
Releases · playpauseandstop/rororo
2.0.0rc1 Release
Performance:
- Use
yaml.CSafeLoader
instead ofyaml.SafeLoader
when possible, allow to
pass custom schema loader for loading OpenAPI schema from JSON file - Use
yaml.CSafeDumper
instead ofyaml.Dumper
on dumping OpenAPI Schema in
YAML format - Allow to cache create schema and spec call, which is useful for tests
Docs:
- Use
sphinx-autobuild
for building docs at local env
2.0.0rc0 Release
Breaking Changes:
- Use
environ-config
for settings needs, instead of providing extra sugar toattrs
Features:
- Upgrade to latest
openapi-core==0.13.3
- Support class based views
- Deprecate old approach of validating OpenAPI requests via
openapi_operation
decorator in favor ofopenapi_middleware
. Improvements to error middleware, validate error responses against OpenAPI schema as well - Valid request data is freezed with
pyrsistent.freeze
call. Parameters and security data wrapped intopyrsistent.pmap
for immutability needs - Use
email-validator
to supportformat: "email"
- Ensure TZ aware date times works as expected
- Ensure support of optional security schemes
Chores:
- Provide
Todo-Backend
example to illustrate how to use class based views
Build, CI & Style updates:
- Update pre-commit hooks, integrate
blacken-docs
&commitizen
pre-commit hooks - Speed up CI exec time, by not waiting on build to start test job
- Add more badges to README
2.0.0b3 Release
- feature: Provide human readable security, request & response validation errors
- feature: Support free form objects in request body
- feature: Allow to enable CORS / error middleware on setting up OpenAPI support for
aiohttp.web
application - feature: Provide
BaseSettings
andenv_factory
helpers to work with settings withinaiohttp.web
applications. Cover how to work with settings at docs as well - chore: Stricter
mypy
config to ensure@operations.register
is a typed decorator
2.0.0b2 Release
- chore:
setup_openapi
function returnsweb.Applicaiton
instead of None - chore: Provide
ACCESS_LOG_FORMAT
foraiohttp
applications
2.0.0b1 Release
- fix: Fix type annotation for
add_resource_context
context manager
2.0.0b0 Release
- feature: Ensure Python 3.8 support, move
2.0.0
release into beta phase
2.0.0a4 Release
- feature: Parse API Key & HTTP security data for OpenAPI operation
- chore: Cover
rororo.openapi
with non-machine docs - chore: Provide another example on using OpenAPI schema inside aiohttp web application
- feature: Allow to remove root handlers on setting up logging config
2.0.0a3 Release
- feature: Support
type: array
request bodies as well - feature: Allow to validate response data against OpenAPI schema as well
- chore: Do not directlry depend on
jsonschema
2.0.0a2 Release
- fix: Depend on
aiohttp>=3.5,<4.0
2.0.0a1 Release
- feature: Add
rororo.get_openapi_context
shortcut - chore: Update API docs for
rororo.openapi
public functions & classes