Sanic-plugin-toolkit

Latest version: v1.2.1

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

Scan your dependencies

Page 6 of 8

0.5.0.dev20171225

-----------------
- Merry Christmas!
- Sanic version 0.7.0 has been out for a couple of weeks now. It is now our minimum required version.
- Fixed a bug related to deleting shared context when app is a Blueprint. Thanks huangxinping!

0.4.5.dev20171113

-----------------
- Fixed error in plugin.log helper. It now calls the correct context .log function.

0.4.4.dev20171107

-----------------
- Bump to version 0.4.4 because 0.4.3 broke, and PyPI wouldn't let me re-upload it with the same version.

0.4.3.dev20171107

-----------------
- Fixed ContextDict to no longer be derived from ``dict``, while at the same time act more like a dictionary.
- Added ability for the request context to hold more than one request at once. Use ``id(request)`` to get the correct request context from the request-specific context dict.

0.4.2.dev20171106

-----------------
- Added a new namedtuple that represents a plugin registration association.
- It is simply a tuple of the plugin instance, and a matching PluginRegistration.

- This is needed in the Sanic-Restplus port.

- Allow plugins to choose their own PluginAssociated class.

0.4.1.dev20171103

-----------------
- Ensure each SPF registers only one 'before_server_start' listener, no matter how many time the SPF is used, and how many plugins are registered on the SPF.
- Added a test to ensure logging works, when got the function from the context object.

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.