Supercell

Latest version: v0.12.0

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

Scan your dependencies

Page 1 of 5

0.12.0

-------------------------

New Features
~~~~~~~~~~~~

* support of Python 3.9
* support of tornado < 6.3

Development Changes
~~~~~~~~~~~~~~~~~~~

* removal of Python 2 support

0.11.0

-------------------------

New Features
~~~~~~~~~~~~

* support of Python 3.8

Development Changes
~~~~~~~~~~~~~~~~~~~

* use `html.escape` instead of `cgi.escape` if available

0.10.0

-------------------------

Development Changes
~~~~~~~~~~~~~~~~~~~

* removed statistics collection logic and default statistics
handler (`/_system/stats`)
* set the Server header to `Supercell` (was `TornadoServer` and tornado version
before)

0.9.0

-------------------------

New Features
~~~~~~~~~~~~

* added a flag `validate` to the consumer decorator
`supercell.decorators.consumes` that is True by default and controls whether
the input model is validated
* introduced new command line argument `--logformat` to customize the logging
format, the default logging format was changed to:
`%(asctime)s [%(levelname)s] %(hostname)s %(name)s: %(message)s`

Migration
~~~~~~~~~

* set the `validate` flag of the `supercell.decorators.consumes` decorator to
False in case input model validation should not be done before passing the
model to the handler

0.8.4

-------------------------

New Features
~~~~~~~~~~~~

* official Python 3.7 support

Bugfixes / Improvements
~~~~~~~~~~~~~~~~~~~~~~~

* require pytest-cov < 2.6.0 to ensure that travis CI pipeline works

0.8.3

-------------------------

New Features
~~~~~~~~~~~~

* introduced Python 3.7 compatibility

Bugfixes / Improvements
~~~~~~~~~~~~~~~~~~~~~~~

* return default content-type for wild-card accept type (`*.*`) instead
of raising a 406 HTTP response status


Development Changes
~~~~~~~~~~~~~~~~~~~

* renamed the `async` decorator form supercell.api to `coroutine` because
async will be a reserved keyword in Python 3.7


Migration
~~~~~~~~~

* rename all occurrences of `supercell.api.async` to `supercell.api.coroutine`

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.