|
| 1 | +================ |
| 2 | +Changelog - 2021 |
| 3 | +================ |
| 4 | + |
| 5 | +.. note:: |
| 6 | + |
| 7 | + Please see :doc:`news` for the latest changes |
| 8 | + |
| 9 | +20.1.0 - 2021-02-12 |
| 10 | +=================== |
| 11 | + |
| 12 | +- document WEB_CONCURRENCY is set by, at least, Heroku |
| 13 | +- capture peername from accept: Avoid calls to getpeername by capturing the peer name returned by |
| 14 | +accept |
| 15 | +- log a warning when a worker was terminated due to a signal |
| 16 | +- fix tornado usage with latest versions of Django |
| 17 | +- add support for python -m gunicorn |
| 18 | +- fix systemd socket activation example |
| 19 | +- allows to set wsgi application in configg file using `wsgi_app` |
| 20 | +- document `--timeout = 0` |
| 21 | +- always close a connection when the number of requests exceeds the max requests |
| 22 | +- Disable keepalive during graceful shutdown |
| 23 | +- kill tasks in the gthread workers during upgrade |
| 24 | +- fix latency in gevent worker when accepting new requests |
| 25 | +- fix file watcher: handle errors when new worker reboot and ensure the list of files is kept |
| 26 | +- document the default name and path of the configuration file |
| 27 | +- document how variable impact configuration |
| 28 | +- document the `$PORT` environment variable |
| 29 | +- added milliseconds option to request_time in access_log |
| 30 | +- added PIP requirements to be used for example |
| 31 | +- remove version from the Server header |
| 32 | +- fix sendfile: use `socket.sendfile` instead of `os.sendfile` |
| 33 | +- reloader: use absolute path to prevent empty to prevent0 `InotifyError` when a file |
| 34 | + is added to the working directory |
| 35 | +- Add --print-config option to print the resolved settings at startup. |
| 36 | +- remove the `--log-dict-config` CLI flag because it never had a working format |
| 37 | + (the `logconfig_dict` setting in configuration files continues to work) |
| 38 | + |
| 39 | + |
| 40 | +** Breaking changes ** |
| 41 | + |
| 42 | +- minimum version is Python 3.5 |
| 43 | +- remove version from the Server header |
| 44 | + |
| 45 | +** Documentation ** |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +** Others ** |
| 50 | + |
| 51 | +- miscellaneous changes in the code base to be a better citizen with Python 3 |
| 52 | +- remove dead code |
| 53 | +- fix documentation generation |
| 54 | + |
0 commit comments