Release History¶
2.4.0 (16 Mar 2022)¶
Add support for Python 3.10
Change the default access log format
2.3.0 (03 Feb 2022)¶
Added optional Sentry integration
2.2.0 (28 Sep 2020)¶
Change xheaders option to default to
True
2.1.2 (15 Sep 2020)¶
Updated to support Python 3.9.
asyncio.Task.all_tasks
was removed so I switched toasyncio.all_tasks
if it exists.Deprecate calling
sprockets.http.run
with anything that isn’t asprockets.app.Application
instance.
2.1.1 (19 Feb 2020)¶
sprockets.http.app.CallbackManager.stop()
no longer requires the event loop to be running (fixes #34)
2.1.0 (9 Oct 2019)¶
Make shutdown timings configurable.
Deprecate calling
sprockets.http.run()
without a specified logging configuration.
2.0.1 (5 Mar 2019)¶
Include Tornado 6 in pin
2.0.0 (27 Nov 2018)¶
Add support for Tornado 5.0
Drop support for Tornado versions earlier than 5.0
Drop support for Python versions earlier than 3.5
Remove logging from the signal handler. Logger’s cannot safely be used from within signal handlers. See Thread Safety in the logging module documentation for details.
1.5.0 (29 Jan 2018)¶
Enable port reuse for Tornado versions newer than 4.3.
1.4.2 (25 Jan 2018)¶
Allow max_body_size and max_buffer_size to be specified on the http server.
1.4.1 (3 Jan 2018)¶
Workaround https://bitbucket.org/birkenfeld/sphinx-contrib/issues/184/ by pinning sphinx in the development environment.
1.4.0 (29 Sep 2017)¶
Separate the concerns of running the application from the callback chains. The latter has been refactored into
sprockets.http.app
. This change is completely invisible to the outside world.Officially deprecated the
runner_callbacks
application attribute.
1.3.3 (20 Sept 2016)¶
Include correlation-id in the structured log data when logging.
1.3.2 (19 Sept 2016)¶
Include the service and environment (if set) in the structured log data.
1.3.1 (16 Sept 2016)¶
Change the non-DEBUG log format to include structured data and a leading first byte for log level.
1.3.0 (11 Mar 2016)¶
Add
httprun
setup.py command.Use
declare_namespace
to declare the sprockets namespace package.Remove
JSONRequestFormatter
logging when not in debug modeRemove sprockets.logging dependency
1.2.0 (11 Mar 2016)¶
Add support for the
on_start
callback.Add support to wait for the completion of
shutdown
callbacks that return a future.Adds new init params to runner.Runner for the three callback types
1.1.2 (23 Feb 2016)¶
Allow xheaders to be set in the application.settings.
1.1.1 (15 Feb 2016)¶
Delay grabbing the
IOLoop
instance until after fork.
1.1.0 (11 Feb 2016)¶
Add support for the
before_run
callback set.
1.0.2 (10 Dec 2015)¶
Add
log_config
parameter tosprockets.http.run
1.0.1 (20 Nov 2015)¶
Add support for
sprockets.mixins.mediatype
insprockets.http.mixins.ErrorWriter
1.0.0 (20 Nov 2015)¶
Add
sprockets.http.mixins.LoggingHandler
Add
sprockets.http.mixins.ErrorLogger
Add
sprockets.http.mixins.ErrorWriter
0.4.0 (24 Sep 2015)¶
Run callbacks from
application.runner_callbacks['shutdown']
when the application is shutting down.Add
number_of_procs
parameter tosprockets.http
.
0.3.0 (28 Aug 2015)¶
Install
sprockets.logging.tornado_log_function()
as the logging function when we are running in release mode
0.2.2 (23 Jul 2015)¶
Fixed requirements management… why is packaging so hard?!
0.2.1 (23 Jul 2015)¶
Corrected packaging metadata