Hug

Latest version: v2.6.1

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

Scan your dependencies

Page 7 of 10

1.9.5

Not secure
- Improved cli output, to output nothing if None is returned

1.9.3

Not secure
- Enabled `hug.types.multiple` to be exposed as nargs `*`
- Fixed a bug that caused a CLI argument when adding an argument starting with `help`
- Fixed a bug that caused CLI arguments that used `hug.types.multiple` to be parsed as nested lists

1.9.2

Not secure
- Improved boolean type behavior on CLIs

1.9.1

Not secure
- Fixes a bug that caused hug cli clients to occasionally incorrectly require additional arguments
- Added support for automatically converting non utf8 bytes to base64 during json output

1.9.0

Not secure
- Added initial built-in support for video output formats (Thanks arpesenti!)
- Added built-in automatic support for range-requests when streaming files (such as videos)
- Output formatting functions are now called, even if a stream is returned.
- Input formatting functions now need to be responsible for dealing with text encoding and streaming
- Added additional default input format for `text/plain` and a few other common text based formats
- If no input format is available, but the body parameter is requested - the body stream is now returned
- Added support for a generic `file` output formatter that automatically determines the content type for the file

1.8.2

Not secure
- Drastically improved hug performance when dealing with a large number of requests in wsgi mode

Page 7 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.