Hug

Latest version: v2.6.1

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

Scan your dependencies

Page 8 of 10

1.8.1

Not secure
- Added `json` as a built in hug type to handle urlencoded json data in a request
- Added `multi` as a built in hug type that will allow a single field to be one of multiple types

1.8.0

Not secure
- Added a `middleware` module make it easier to bundle generally useful middlewares going forward
- Added a generic / reusable `SessionMiddleware` (Thanks vortec!)

1.7.1

Not secure
- Fix a bug that caused error messages sourced from exceptions to be double quoted

1.7.0

Not secure
- Auto supply `response` and `request` to output transformations and formats when they are taken as arguments
- Improved the `smart_boolean` type even further, to allow 0, 1, t, f strings as input
- Enabled normal boolean type to easily work with cli apps, by having it interact via 'store_true'

1.6.5

Not secure
- Fixed a small spelling error on the `smart_boolean` type

1.6.2

Not secure
- Added a `mapping` type that allows users to quikly map string values to Python types
- Added a `smart_boolean` type that respects explicit true/false in string values

Page 8 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.