Next | Query returned 39 messages, browsing 11 to 20 | Previous

History of commit frequency

CVS Commit History:


   2022-01-27 10:57:08 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-sanic: unrestrict multidict

Add some test dependencies while here, more to do
   2022-01-13 19:23:57 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-sanic: updated to 21.12.1

Version 21.12.1
* Only display MOTD on startup
* Add config.update support for all config values
* Ignore name argument in Python 3.7

Version 21.12.0
Features

* Allow early Blueprint registrations to still apply later added objects
* Noisy exceptions - force logging of all exceptions
* Optional uvloop by configuration
* Vhost support using multiple TLS certificates
* Change signal routing for increased consistency
BREAKING CHANGE: If you were manually routing signals there is a breaking \ 
change. The signal router's get is no longer 100% determinative. There is now an \ 
additional step to loop thru the returned signals for proper matching on the \ 
requirements. If signals are being dispatched using app.dispatch or bp.dispatch, \ 
there is no change.
* Add contextual exceptions
* Increase join concat performance
* Restructure of CLI and application state with new displays and more command \ 
parity with app.run
* Add route context at definition time
* Named tasks and new API for managing background tasks
* On app auto-reload, provide insight of changed files
* Auto extend application with Sanic Extensions if it is installed, and provide \ 
first class support for accessing the extensions
* Builtin signals changed to Enum
* Support additional config implementation use case
* Refactor environment variable hydration logic
* Prevent sending multiple or mixed responses on a single request
* Custom type casting on environment variables
* Make all deprecation notices consistent
* Allow underscore to start instance names

Bugfixes

* Replace assignation by typing for websocket_handshake
* Fix IPv6 display in startup logs
* Dispatch http.lifecyle.response from exception handler

Deprecations and Removals

* Removal of deprecated items
Sanic and Blueprint may no longer have arbitrary properties attached to them
Sanic and Blueprint forced to have compliant names
alphanumeric + _ + -
must start with letter or _
load_env keyword argument of Sanic
sanic.exceptions.abort
sanic.views.CompositionView
sanic.response.StreamingHTTPResponse
NOTE: the stream() response method (where you pass a callable streaming \ 
function) has been deprecated and will be removed in v22.6. You should upgrade \ 
all streaming responses to the new style: \ 
https://sanicframework.org/en/guide/advanced/streaming.html#response-streaming
* Remove app instance from Config for error handler setting

Developer infrastructure

* Change dev install command
* Change codeclimate complexity threshold from 5 to 10
* Update host test function names so they are not overwritten
* Fail CI on error
* Do not run tests for draft PRs
* Remove paths from coverage checks
* Cleanup ports on tests

Improved Documentation

* Cleanup typos and fix language

Miscellaneous

* Add Python 3.10 support
* Add/correct missing type annotations
* Fix examples to use modern implementations

Version 21.9.2
* Make HTTP connections start in IDLE stage, avoiding delays and error messages
* More consistent config setting with post-FALLBACK_ERROR_FORMAT apply

Version 21.9.1
* Allow non-conforming ErrorHandlers

Version 21.9.0

Features

* Complete overhaul of I/O to websockets
* Add new 17 signals into server and request lifecycles
* Smarter auto fallback formatting upon exception
* Introduce implementation for copying a Blueprint
* Accept header parsing
* Log remote address if available
* Add convenience methods to BP groups
* Add default messages to SanicExceptions
* Type annotation convenience for annotated handlers with path parameters
* Allow Falsey (but not-None) responses from route handlers
* Add exception decorator to Blueprint Groups
* Explicit static directive for serving file or dir (ex: static(..., \ 
resource_type="file"))
* Close HTTP loop when connection task cancelled

Bugfixes

* Fix the handling of the end of a chunked request
* Resolve unexpected error handling on static requests
* Make blueprint-based exceptions attach and trigger in a more intuitive manner
* Fixed for handling exceptions of asgi app call
* Fix bug where ws exceptions not being logged
* Cleaner closing of tasks by using abort() in strategic places to avoid \ 
dangling sockets
* Fix logging of auto-reload status in debug mode
* Account for BP with exception handler but no routes

Developer infrastructure

* HTTP unit tests with raw client
* Switch to codeclimate
* Try Reopening Windows Tests
* Refactor HttpProtocol into a base class
* Refactor server.py into multi-file module

Miscellaneous

* Remove Duplicated Dependencies and PEP 517 Support
* Type annotation changes
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-30 14:05:42 by Adam Ciarcinski | Files touched by this commit (125)
Log message:
Forget about Python 3.6
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2021-08-05 20:37:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sanic: updated to 21.6.2

Version 21.6.2
Bugfixes
* Fix handling of exceptions in ASGI app call
   2021-07-28 14:14:16 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-sanic: updated to 21.6.1

Version 21.6.1

Bugfixes

Update sanic-routing to allow for better splitting of complex URI templates
Proper handling of chunked request bodies to resolve phantom 503 in logs
Resolve regression in exception logging
Cleanup request info in pipelined requests
Version 21.6.0

Features

Add response.eof() method for closing a stream in a handler

Allow case-insensitive HTTP Upgrade header

Explicit usage of CIMultiDict getters

Consistent use of error loggers

New client_ip access of connection info instance

Alternatate classes on instantiation for Config and Sanic.ctx

Implement new version of AST router

Proper differentiation between alpha and string param types
Adds a slug param type, example: <foo:slug>
Deprecates <foo:string> in favor of <foo:str>
Deprecates <foo:number> in favor of <foo:float>
Adds a route.uri accessor
CLI improvements with new optional params

Add version_prefix to URL builders

Event autoregistration with EVENT_AUTOREGISTER

Require stricter names on Sanic() and Blueprint()

Infinitely reusable and nestable Blueprint and BlueprintGroup

Upgrade websockets dependency to min version

Allow for maximum header sizes to be increased: REQUEST_MAX_HEADER_SIZE

Allow app factory pattern in CLI

Change HTTP methods to enums

Allow auto-reloading on additional directories

Add simple HTTP server to CLI

Additional methods for attaching HTTPMethodView

Bugfixes

Fix UserWarning in ASGI mode for missing __slots__
Fix static request handler logging exception on 404
Fix request.args.pop removes parameters inconsistently
Fix type hinting for load_env
Make sure ASGI ws subprotocols is a list
Fix issue where Blueprint exception handlers do not consistently route to proper \ 
handler
Deprecations and Removals

Remove config value REQUEST_BUFFER_QUEUE_SIZE
CompositionView deprecated and marked for removal in 21.12
Deprecate StreamingHTTPResponse
Developer infrastructure

Remove Travis CI in favor of GitHub Actions
Improved Documentation

Fix typo in documentation
Remove documentation for non-existent arguments
Version 21.3.2

Bugfixes

Disable response timeout on websocket connections
Make sure that blueprints with no slash is maintained when applied
Version 21.3.1

Bugfixes

Static files inside subfolders are not accessible (404)
Version 21.3.0

Release Notes

Features

Unified streaming server
New Request.id property
Allow Pathlib Path objects to be passed to app.static() helper
New startup-optimized router
Listeners for main server process
Add raw header info to request object
Introduce Signals API
Add __str__ and __repr__ to Sanic and Blueprint
Enable versioning and strict slash on BlueprintGroup
Make get_app name argument optional
JSON encoder change via app
App and connection level context objects
Bugfixes and issues resolved

Resolve 1420 url_for where strict_slashes are on for a path ending in /
Resolve 1525 Routing is incorrect with some special characters
Resolve 1653 ASGI headers in body
Resolve 1722 Using curl in chunk mode
Resolve 1730 Extra content in ASGI streaming response
Resolve 1749 Restore broken middleware edge cases
Resolve 1785 1804 Synchronous error handlers
Resolve 1790 Protocol errors did not support async error handlers
Resolve 1824 Timeout on specific methods
Resolve 1875 Response timeout error from all routes after returning several \ 
timeouts from a specific route
Resolve 1988 Handling of safe methods with body
Raise ValueError when cookie max-age is not an integer
Deprecations and Removals

Config using from_envvar
Config using from_pyfile
Config using from_object
Remove Sanic test client to its own package
Drop Python 3.6 support
Request.endpoint deprecated in favor of Request.name
handler type name prefixes removed (static, websocket, etc)
Developer infrastructure

Create FUNDING.yml
Add codeql to CI pipeline
Codecov configuration updates
Updated setup.py to use find_packages
Improved Documentation

Documentation for sanic.log.* is missing
Add documentation on calver and LTS
Support mounting application elsewhere than at root path
Upgraded type annotations and improved docstrings and API documentation
Fix some examples and docs
Miscellaneous

Request.route property
Better websocket subprotocols support
Resolve bug with middleware in Blueprint Group when passed callable
Moves common logic between Blueprint and Sanic into mixins
Route naming changed to be more consistent
request endpoint is the route name
route names are fully namespaced
Some new convenience decorators:
@app.main_process_start
@app.main_process_stop
@app.before_server_start
@app.after_server_start
@app.before_server_stop
@app.after_server_stop
@app.on_request
@app.on_response
Fixes Allow header that did not include HEAD
Using "name" keyword in url_for for a "static" route where \ 
name does not exist
Cannot have multiple app.static() without using the named param
Using "filename" keyword in url_for on a file route
unquote in route def (not automatic)
routes_all is tuples
Handler arguments are kwarg only
request.match_info is now a cached (and not computed) property
Unknown static file mimetype is sent as application/octet-stream
_host keyword in url_for
Add charset default to utf-8 for text and js content types if not specified
Version for a route can be str, float, or int
Route has ctx property
App has routes_static, routes_dynamic, routes_regex
Code cleanup and refactoring
Remove BaseSanic metaclass
Performance adjustments in handle_request_
   2021-02-16 19:56:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sanic: updated to 20.12.2

Version 20.12.2

Dependencies

Fix uvloop to 0.14 because 0.15 drops Python 3.6 support
Remove old chardet requirement, add in hard multidict requirement

Next | Query returned 39 messages, browsing 11 to 20 | Previous