Rororo

Latest version: v3.2.0

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

Scan your dependencies

Page 4 of 8

2.0.0rc2

---------------------

**Fixes:**

- When possible pass request body as string to ``OpenAPIRequest``, not as bytes

**Other:**

- Update pre-commit hooks, integrate ``flake8-variable-names`` check

2.0.0rc1

---------------------

**Performance:**

- Use ``yaml.CSafeLoader`` instead of ``yaml.SafeLoader`` when possible. Allow
to supply schema loader function to use custom loader, for example
``ujson.loads`` instead of ``json.loads``
- Use ``yaml.CSadeDumper`` instead of ``yaml.Dumper`` when possible on dumping
OpenAPI schema when it is requested in YAML format
- Allow to cache create schema and spec call, usable for speeding up tests

**Other:**

- Use ``sphinx-autobuild`` for building docs at local env

2.0.0rc0

---------------------

**Breaking Changes:**

- Use `environ-config <https://pypi.org/project/environ-config/>`_ for settings
needs, instead of providing extra sugar to `attrs <https://www.attrs.org>`_

**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 of ``openapi_middleware``.
Improvements to error middleware, validate error responses against OpenAPI
schema as well
- Valid request data is freezed with
`pyrsistent.freeze <https://pyrsistent.readthedocs.io/en/latest/api.html#pyrsistent.freeze>`_
call. Parameters and security data now wrapped into
`pyrsistent.pmap <https://pyrsistent.readthedocs.io/en/latest/api.html#pyrsistent.pmap>`_
for immutability needs
- Use `email-validator <https://pypi.org/project/email-validator/>`_ to support
``format: "email"``
- Ensure TZ aware date times works as expected
- Ensure support of optional security schemes

**Other:**

- Provide ``Todo-Backend`` example to illustrate how to use class based views
- 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

--------------------

**Features:**

- Provide human readable security, request & response validation
errors
- Support free form objects in request body
- Allow to enable CORS / error middleware on setting up OpenAPI support for
``aiohttp.web`` application
- Provide ``BaseSettings`` and ``env_factory`` helpers to work with settings
within ``aiohttp.web`` applications. Cover how to work with settings at docs
as well

**Other:**

- Stricter ``mypy`` config to ensure ``operations.register`` is a typed
decorator

2.0.0b2

--------------------

**Other:**

- ``setup_openapi`` function returns ``web.Applicaiton`` instead of ``None``
- Provide ``ACCESS_LOG_FORMAT`` for ``aiohttp`` applications

2.0.0b1

--------------------

**Fixes:**

- Fix type annotation for ``add_resource_context`` context manager

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.