Skip to content

Commit 7a79808

Browse files
committed
update changeslog
1 parent 6fd97b9 commit 7a79808

File tree

3 files changed

+210
-111
lines changed

3 files changed

+210
-111
lines changed

docs/source/2019-news.rst

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
================
2+
Changelog - 2019
3+
================
4+
5+
.. note::
6+
7+
Please see :doc:`news` for the latest changes
8+
9+
20.0.4 / 2019/11/26
10+
===================
11+
12+
- fix binding a socket using the file descriptor
13+
- remove support for the `bdist_rpm` build
14+
15+
20.0.3 / 2019/11/24
16+
===================
17+
18+
- fixed load of a config file without a Python extension
19+
- fixed `socketfromfd.fromfd` when defaults are not set
20+
21+
.. note:: we now warn when we load a config file without Python Extension
22+
23+
20.0.2 / 2019/11/23
24+
===================
25+
26+
- fix changelog
27+
28+
20.0.1 / 2019/11/23
29+
===================
30+
31+
- fixed the way the config module is loaded. `__file__` is now available
32+
- fixed `wsgi.input_terminated`. It is always true.
33+
- use the highest protocol version of openssl by default
34+
- only support Python >= 3.5
35+
- added `__repr__` method to `Config` instance
36+
- fixed support of AIX platform and musl libc in `socketfromfd.fromfd` function
37+
- fixed support of applications loaded from a factory function
38+
- fixed chunked encoding support to prevent any `request smuggling <https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn>`_
39+
- Capture os.sendfile before patching in gevent and eventlet workers.
40+
fix `RecursionError`.
41+
- removed locking in reloader when adding new files
42+
- load the WSGI application before the loader to pick up all files
43+
44+
.. note:: this release add official support for applications loaded from a factory function
45+
as documented in Flask and other places.
46+
47+
48+
19.10.0 / 2019/11/23
49+
====================
50+
51+
- unblock select loop during reload of a sync worker
52+
- security fix: http desync attack
53+
- handle `wsgi.input_terminated`
54+
- added support for str and bytes in unix socket addresses
55+
- fixed `max_requests` setting
56+
- headers values are now encoded as LATN1, not ASCII
57+
- fixed `InotifyReloadeder`: handle `module.__file__` is None
58+
- fixed compatibility with tornado 6
59+
- fixed root logging
60+
- Prevent removalof unix sockets from `reuse_port`
61+
- Clear tornado ioloop before os.fork
62+
- Miscellaneous fixes and improvement for linting using Pylint
63+
64+
20.0 / 2019/10/30
65+
=================
66+
67+
- Fixed `fdopen` `RuntimeWarning` in Python 3.8
68+
- Added check and exception for str type on value in Response process_headers method.
69+
- Ensure WSGI header value is string before conducting regex search on it.
70+
- Added pypy3 to list of tested environments
71+
- Grouped `StopIteration` and `KeyboardInterrupt` exceptions with same body together in Arbiter.run()
72+
- Added `setproctitle` module to `extras_require` in setup.py
73+
- Avoid unnecessary chown of temporary files
74+
- Logging: Handle auth type case insensitively
75+
- Removed `util.import_module`
76+
- Removed fallback for `types.SimpleNamespace` in tests utils
77+
- Use `SourceFileLoader` instead instead of `execfile_`
78+
- Use `importlib` instead of `__import__` and eval`
79+
- Fixed eventlet patching
80+
- Added optional `datadog <https://www.datadoghq.com>`_ tags for statsd metrics
81+
- Header values now are encoded using latin-1, not ascii.
82+
- Rewritten `parse_address` util added test
83+
- Removed redundant super() arguments
84+
- Simplify `futures` import in gthread module
85+
- Fixed worker_connections` setting to also affects the Gthread worker type
86+
- Fixed setting max_requests
87+
- Bump minimum Eventlet and Gevent versions to 0.24 and 1.4
88+
- Use Python default SSL cipher list by default
89+
- handle `wsgi.input_terminated` extension
90+
- Simplify Paste Deployment documentation
91+
- Fix root logging: root and logger are same level.
92+
- Fixed typo in ssl_version documentation
93+
- Documented systemd deployement unit examples
94+
- Added systemd sd_notify support
95+
- Fixed typo in gthread.py
96+
- Added `tornado <https://www.tornadoweb.org/>`_ 5 and 6 support
97+
- Declare our setuptools dependency
98+
- Added support to `--bind` to open file descriptors
99+
- Document how to serve WSGI app modules from Gunicorn
100+
- Provide guidance on X-Forwarded-For access log in documentation
101+
- Add support for named constants in the `--ssl-version` flag
102+
- Clarify log format usage of header & environment in documentation
103+
- Fixed systemd documentation to properly setup gunicorn unix socket
104+
- Prevent removal unix socket for reuse_port
105+
- Fix `ResourceWarning` when reading a Python config module
106+
- Remove unnecessary call to dict keys method
107+
- Support str and bytes for UNIX socket addresses
108+
- fixed `InotifyReloadeder`: handle `module.__file__` is None
109+
- `/dev/shm` as a convenient alternative to making your own tmpfs mount in fchmod FAQ
110+
- fix examples to work on python3
111+
- Fix typo in `--max-requests` documentation
112+
- Clear tornado ioloop before os.fork
113+
- Miscellaneous fixes and improvement for linting using Pylint
114+
115+
Breaking Change
116+
+++++++++++++++
117+
118+
- Removed gaiohttp worker
119+
- Drop support for Python 2.x
120+
- Drop support for EOL Python 3.2 and 3.3
121+
- Drop support for Paste Deploy server blocks

docs/source/2020-news.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
================
2+
Changelog - 2020
3+
================
4+
5+
.. note::
6+
7+
Please see :doc:`news` for the latest changes
8+
9+
Unreleased
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+

docs/source/news.rst

Lines changed: 35 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -2,125 +2,47 @@
22
Changelog
33
=========
44

5-
Unreleased
6-
==========
5+
21.0 - Unreleased
6+
=================
77

8+
- document WEB_CONCURRENCY is set by, at least, Heroku
9+
- capture peername from accept: Avoid calls to getpeername by capturing the peer name returned by
10+
accept
11+
- log a warning when a worker was terminated due to a signal
12+
- fix tornado usage with latest versions of Django
13+
- add support for python -m gunicorn
14+
- fix systemd socket activation example
15+
- allows to set wsgi application in configg file using `wsgi_app`
16+
- document `--timeout = 0`
17+
- always close a connection when the number of requests exceeds the max requests
18+
- Disable keepalive during graceful shutdown
19+
- kill tasks in the gthread workers during upgrade
20+
- fix latency in gevent worker when accepting new requests
21+
- fix file watcher: handle errors when new worker reboot and ensure the list of files is kept
22+
- document the default name and path of the configuration file
23+
- document how variable impact configuration
24+
- document the `$PORT` environment variable
25+
- added milliseconds option to request_time in access_log
26+
- added PIP requirements to be used for example
27+
- remove version from the Server header
28+
- fix sendfile: use `socket.sendfile` instead of `os.sendfile`
29+
- reloader: use absolute path to prevent empty to prevent0 `InotifyError` when a file
30+
is added to the working directory
31+
- Add --print-config option to print the resolved settings at startup.
832
- remove the `--log-dict-config` CLI flag because it never had a working format
933
(the `logconfig_dict` setting in configuration files continues to work)
1034

11-
20.0.4 / 2019/11/26
12-
===================
13-
14-
- fix binding a socket using the file descriptor
15-
- remove support for the `bdist_rpm` build
16-
17-
20.0.3 / 2019/11/24
18-
===================
19-
20-
- fixed load of a config file without a Python extension
21-
- fixed `socketfromfd.fromfd` when defaults are not set
22-
23-
.. note:: we now warn when we load a config file without Python Extension
24-
25-
20.0.2 / 2019/11/23
26-
===================
27-
28-
- fix changelog
2935

30-
20.0.1 / 2019/11/23
31-
===================
32-
33-
- fixed the way the config module is loaded. `__file__` is now available
34-
- fixed `wsgi.input_terminated`. It is always true.
35-
- use the highest protocol version of openssl by default
36-
- only support Python >= 3.5
37-
- added `__repr__` method to `Config` instance
38-
- fixed support of AIX platform and musl libc in `socketfromfd.fromfd` function
39-
- fixed support of applications loaded from a factory function
40-
- fixed chunked encoding support to prevent any `request smuggling <https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn>`_
41-
- Capture os.sendfile before patching in gevent and eventlet workers.
42-
fix `RecursionError`.
43-
- removed locking in reloader when adding new files
44-
- load the WSGI application before the loader to pick up all files
45-
46-
.. note:: this release add official support for applications loaded from a factory function
47-
as documented in Flask and other places.
48-
49-
50-
19.10.0 / 2019/11/23
51-
====================
52-
53-
- unblock select loop during reload of a sync worker
54-
- security fix: http desync attack
55-
- handle `wsgi.input_terminated`
56-
- added support for str and bytes in unix socket addresses
57-
- fixed `max_requests` setting
58-
- headers values are now encoded as LATN1, not ASCII
59-
- fixed `InotifyReloadeder`: handle `module.__file__` is None
60-
- fixed compatibility with tornado 6
61-
- fixed root logging
62-
- Prevent removalof unix sockets from `reuse_port`
63-
- Clear tornado ioloop before os.fork
64-
- Miscellaneous fixes and improvement for linting using Pylint
65-
66-
20.0 / 2019/10/30
67-
=================
36+
** Breaking changes **
6837

69-
- Fixed `fdopen` `RuntimeWarning` in Python 3.8
70-
- Added check and exception for str type on value in Response process_headers method.
71-
- Ensure WSGI header value is string before conducting regex search on it.
72-
- Added pypy3 to list of tested environments
73-
- Grouped `StopIteration` and `KeyboardInterrupt` exceptions with same body together in Arbiter.run()
74-
- Added `setproctitle` module to `extras_require` in setup.py
75-
- Avoid unnecessary chown of temporary files
76-
- Logging: Handle auth type case insensitively
77-
- Removed `util.import_module`
78-
- Removed fallback for `types.SimpleNamespace` in tests utils
79-
- Use `SourceFileLoader` instead instead of `execfile_`
80-
- Use `importlib` instead of `__import__` and eval`
81-
- Fixed eventlet patching
82-
- Added optional `datadog <https://www.datadoghq.com>`_ tags for statsd metrics
83-
- Header values now are encoded using latin-1, not ascii.
84-
- Rewritten `parse_address` util added test
85-
- Removed redundant super() arguments
86-
- Simplify `futures` import in gthread module
87-
- Fixed worker_connections` setting to also affects the Gthread worker type
88-
- Fixed setting max_requests
89-
- Bump minimum Eventlet and Gevent versions to 0.24 and 1.4
90-
- Use Python default SSL cipher list by default
91-
- handle `wsgi.input_terminated` extension
92-
- Simplify Paste Deployment documentation
93-
- Fix root logging: root and logger are same level.
94-
- Fixed typo in ssl_version documentation
95-
- Documented systemd deployement unit examples
96-
- Added systemd sd_notify support
97-
- Fixed typo in gthread.py
98-
- Added `tornado <https://www.tornadoweb.org/>`_ 5 and 6 support
99-
- Declare our setuptools dependency
100-
- Added support to `--bind` to open file descriptors
101-
- Document how to serve WSGI app modules from Gunicorn
102-
- Provide guidance on X-Forwarded-For access log in documentation
103-
- Add support for named constants in the `--ssl-version` flag
104-
- Clarify log format usage of header & environment in documentation
105-
- Fixed systemd documentation to properly setup gunicorn unix socket
106-
- Prevent removal unix socket for reuse_port
107-
- Fix `ResourceWarning` when reading a Python config module
108-
- Remove unnecessary call to dict keys method
109-
- Support str and bytes for UNIX socket addresses
110-
- fixed `InotifyReloadeder`: handle `module.__file__` is None
111-
- `/dev/shm` as a convenient alternative to making your own tmpfs mount in fchmod FAQ
112-
- fix examples to work on python3
113-
- Fix typo in `--max-requests` documentation
114-
- Clear tornado ioloop before os.fork
115-
- Miscellaneous fixes and improvement for linting using Pylint
38+
- minimum version is Python 3.5
39+
- remove version from the Server header
11640

117-
Breaking Change
118-
+++++++++++++++
41+
** Others **
11942

120-
- Removed gaiohttp worker
121-
- Drop support for Python 2.x
122-
- Drop support for EOL Python 3.2 and 3.3
123-
- Drop support for Paste Deploy server blocks
43+
- miscellaneous changes in the code base to be a better citizen with Python 3
44+
- remove dead code
45+
- fix documentation generation
12446

12547

12648
History
@@ -129,6 +51,8 @@ History
12951
.. toctree::
13052
:titlesonly:
13153

54+
2020-news
55+
2019-news
13256
2018-news
13357
2017-news
13458
2016-news

0 commit comments

Comments
 (0)