Roll

Latest version: v0.13.1

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

Scan your dependencies

Page 2 of 4

0.11.0

- **Breaking change**:
* Removed python 3.5 support ([81](https://github.com/pyrates/roll/pull/81))
- Added support for class-based views ([80](https://github.com/pyrates/roll/pull/80))
- Added support for chunked response ([81](https://github.com/pyrates/roll/pull/81))

0.10.0

- python 3.7 compatibility (bump websockets and biscuits packages)
([69](https://github.com/pyrates/roll/pull/69))
- uvloop is not a dependency anymore (but you should still use it!): need was
to allow installing Roll without uvloop is some envs, and to let the users
define the uvloop version they want to use
([68](https://github.com/pyrates/roll/pull/68))
- `Request.method` is `None` by default ([67](https://github.com/pyrates/roll/pull/67))
- allow to use `methods=*` in `cors` extension
([65](https://github.com/pyrates/roll/pull/65))

0.9.1

* Do not try to write on a closed transport
([58](https://github.com/pyrates/roll/pull/58))

0.9.0

* **Breaking changes**:
* `Request.route` is now always set, but `Request.route.payload` is `None`
when path is not found. This allows to catch a not found request in the
`request` hook. Note: if the `request` hook does not return a response,
a 404 is still automatically raised.
([45](https://github.com/pyrates/roll/pull/45))
* Added `request.host` shortcut ([43](https://github.com/pyrates/roll/pull/43))
* Introduced protocol upgrade and protocol configuration for routes. Two
protocols are shipped by default : HTTP and Websocket
([54](https://github.com/pyrates/roll/pull/54)).
* The route is now resolved as soon as the URL has been parsed. In addition, the
route lookup method has been split up from the application `__call__`method,
to allow easy override
([54](https://github.com/pyrates/roll/pull/54)).
* Testing: now build a proper request instead of calling callbacks by hand
([54](https://github.com/pyrates/roll/pull/54)).

0.8.0

* **Breaking changes**:
* `Request` and `Response` classes now take `app` as init parameter. It
allows lazy parsing of the query while keeping the `Query` class reference
on `Roll` application.
([35](https://github.com/pyrates/roll/pull/35))
* Added support for request body parsing through multifruits
([38](https://github.com/pyrates/roll/pull/38))

0.7.0

* **Breaking changes**:
* `Query`, `Request` and `Response` are not anymore attached to the
`Protocol` class. They are now declared at the `Roll` class level.
It allows easier subclassing and customization of these parts.
([30](https://github.com/pyrates/roll/pull/30))
* Removed Request.kwargs in favor of inheriting from dict, to store user
data in a separate space
([33](https://github.com/pyrates/roll/pull/33))
* Request headers are now normalized in upper case, to work around
inconsistent casing in clients
([24](https://github.com/pyrates/roll/pull/24))
* Only set the body and Content-Length header when necessary
([31](https://github.com/pyrates/roll/pull/31))
* Added `cookies` support ([28](https://github.com/pyrates/roll/pull/28))

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.