Rouver

Latest version: v2.6.3

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

Scan your dependencies

Page 3 of 10

2.2.2

Bug Fixes

- Import ABCs from `collections.abc` instead of `collections`. Fixes
a `DeprecationWarning`.

2.2.1

Improvements

- `rouver.test`: Use build-in `assert` statements instead of assertions
from the `asserts` package.

2.2.0

API Additions

- Sub-routers now have access to WSGI environment variable
called `rouver.original_path_info` that contains the original
`PATH_INFO` value.

2.1.0

API Additions

- `rouver.args`: Add `"file-or-str"` argument value type.

Improvements

- `rouver.args`: Use `Literal`s for `ArgumentValueType`.

2.0.0

Incompatible Changes

- Drop support for Python 3.5 and 3.6.
- Rework `TestRequest` argument handling.
- Remove `TestRequest.prepare_for_arguments()`.
- `TestRequest.content_type` will not be set when calling
`add_argument()`.
- `ArgumentParser` and `parse_args()` will not raise a
`BadRequest` if request has wrong content type. Instead,
they will treat it as if no arguments were given.

API Additions

- Add `TestRequest.add_file_argument()`.

1.1.0

API Additions

- Add `absolute_url()` utility function.

Improvements

- URL constructing functions, such as `created_as_json()` now encode
special characters in the path instead of throwing a `ValueError`.

Page 3 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.