Commit graph

8 commits

Author SHA1 Message Date
adam
d38868811f py-sanic: updated to 18.12.0
Version 18.12

18.12.0

Changes:
Improved codebase test coverage from 81% to 91%.
Added stream_large_files and host examples in static_file document
Added methods to append and finish body content on Request
Integrated with .appveyor.yml for windows ci support
Added documentation for AF_INET6 and AF_UNIX socket usage
Adopt black/isort for codestyle
Cancel task when connection_lost
Simplify request ip and port retrieval logic
Handle config error in load config file.
Integrate with codecov for CI
Add missed documentation for config section.
Deprecate Handler.log
Pinned httptools requirement to version 0.0.10+

Fixes:
Fix remove_entity_headers helper function
Fix TypeError when use Blueprint.group() to group blueprint with default url_prefix, Use os.path.normpath to avoid invalid url_prefix like api//v1 f8a6af1 Rename the http module to helpers to prevent conflicts with the built-in Python http library
Fix unittests on windows
Fix Namespacing of sanic logger
Fix missing quotes in decorator example
Fix redirect with quoted param
Fix doc for latest blueprint code
Fix build of latex documentation relating to markdown lists
Fix loop exception handling in app.py
Fix content length mismatch in windows and other platform
Fix Range header handling for static files
Fix the logger and make it work
Fix type pikcle->pickle in multiprocessing test
Fix pickling blueprints Change the string passed in the "name" section of the namedtuples in Blueprint to match the name of the Blueprint module attribute name. This allows blueprints to be pickled and unpickled, without errors, which is a requirment of running Sanic in multiprocessing mode in Windows. Added a test for pickling and unpickling blueprints Added a test for pickling and unpickling sanic itself Added a test for enabling multiprocessing on an app with a blueprint (only useful to catch this bug if the tests are run on Windows).
Fix document for logging
2019-01-18 08:15:07 +00:00
adam
062c09df7c py-sanic: updated to 0.8.3
0.8.3:
Bug fixes.
2018-09-14 07:36:46 +00:00
adam
d298007668 py-sanic: updated to 0.8.1
0.8.1:
Unknown changes.
2018-09-07 11:30:47 +00:00
adam
a31bce9748 extend PYTHON_VERSIONS_ for Python 3.7 2018-07-03 05:03:01 +00:00
adam
d79263492d py-sanic: updated to 0.7.0
0.7.0:
Fixed a bug where trigger_events didn't actually trigger events in async create_server
Changed strict_slashes to be True by default
Changed Unauthorized exception __init__ to be more like the rest of the exceptions
Added an option to define a name for a route
Made the prefixes for the environment variables configurable
Fixed windows support where syslog raises an ImportError
Added support for vhosts in static routes
Split RequestTimeout, ResponseTimeout, and KeepAliveTimeout into different timeouts
Fixed Connection lost before response written
SanicTestClient now gets its own port
2017-12-06 12:53:56 +00:00
adam
bd0a5c723d 0.6.0:
Fix error where transport.get_extra_info returned None
Remove uvloop requirement for gunicorn worker
Fix error where request.token() would fail if Authorization headers were not provided
Added an abort function to easily exit out of route handlers
Added a file_stream response handler
Add support for streaming large static files
Added streaming requests
Added websocket max_size and max_queue configuration
Fixed test client not working with HTTP2
Added match_info property to request class
Added support for recycling the gunicorn worker
Added an Unauthorized exception
Added a Forbidden exception
Added a graceful timeout when shutdown
2017-08-03 07:48:52 +00:00
adam
53a3c59452 BUILD_DEPENDS -> DEPENDS 2017-07-07 08:48:27 +00:00
adam
9ad0107a2c Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's
based on the work done by the amazing folks at magicstack.

On top of being Flask-like, Sanic supports async request handlers. This means
you can use the new shiny async/await syntax from Python 3.5, making your code
non-blocking and speedy.
2017-07-07 07:27:15 +00:00