Wsgirouter3

Latest version: v0.8.4

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

Scan your dependencies

Page 2 of 3

0.7.1

Features

* defaults for handler parameters are type-checked
* defaults are only allowed for handler parameters which do not get values from path/query string/body
* handler parameter types can wrapped with Annotated

0.7.0

Features

* removed WsgiAppConfig.logger configuration. Override error_handler to change unhandled exception logging behaviour
* removed WsgiAppConfig.json_result_handler configuration

Refactoring

* do not concatenate compressed result parts

0.6.1

Features

* added more typing info
* binding tests/examples using marshmallow and pydantic

0.6.0

Features

* configurable compression level. Lowered default level from 6 to 2.
* route paths must always start with /
* made route options again accessible in before_request hook (broken in 0.3.0)

Refactoring

* pass dataclass object to json serializer, do not convert it to dict too early. Possible performance gain with serializers which support native dataclass serialization.

0.5.0

Features

* added compression support for responses. By default enabled for application/json
* Accept header negotiation now uses quality value too (type with q=0 is ignored)
* fixed handling of Body and Query annotated parameters when PEP-563 is enabled

Refactoring

* renamed configuration parameter max_content_length to max_request_content_length

0.4.0

Features

* shortcut route decorators for HTTP methods DELETE, GET, PATCH, POST, PUT

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.