From 378f0d04ec390a754cb819f095bf65bfcc04ed99 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Mon, 10 Jul 2023 22:09:23 +0000 Subject: [PATCH] bump to 21.0.0 --- LICENSE | 2 +- docs/source/news.rst | 40 ++-------------------------------------- gunicorn/__init__.py | 2 +- 3 files changed, 4 insertions(+), 40 deletions(-) diff --git a/LICENSE b/LICENSE index 65865a92..b244a2ed 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -2009-2018 (c) Benoît Chesneau +2009-2023 (c) Benoît Chesneau 2009-2015 (c) Paul J. Davis Permission is hereby granted, free of charge, to any person diff --git a/docs/source/news.rst b/docs/source/news.rst index 0fb99613..0f018345 100644 --- a/docs/source/news.rst +++ b/docs/source/news.rst @@ -2,46 +2,10 @@ Changelog ========= -20.1.0 - 2021-02-12 +21.0.0 - 2023-07-11 =================== -- document WEB_CONCURRENCY is set by, at least, Heroku -- capture peername from accept: Avoid calls to getpeername by capturing the peer name returned by accept -- log a warning when a worker was terminated due to a signal -- fix tornado usage with latest versions of Django -- add support for python -m gunicorn -- fix systemd socket activation example -- allows to set wsgi application in configg file using ``wsgi_app`` -- document ``--timeout = 0`` -- always close a connection when the number of requests exceeds the max requests -- Disable keepalive during graceful shutdown -- kill tasks in the gthread workers during upgrade -- fix latency in gevent worker when accepting new requests -- fix file watcher: handle errors when new worker reboot and ensure the list of files is kept -- document the default name and path of the configuration file -- document how variable impact configuration -- document the ``$PORT`` environment variable -- added milliseconds option to request_time in access_log -- added PIP requirements to be used for example -- remove version from the Server header -- fix sendfile: use ``socket.sendfile`` instead of ``os.sendfile`` -- reloader: use absolute path to prevent empty to prevent0 ``InotifyError`` when a file - is added to the working directory -- Add --print-config option to print the resolved settings at startup. -- remove the ``--log-dict-config`` CLI flag because it never had a working format - (the ``logconfig_dict`` setting in configuration files continues to work) - -** Breaking changes ** - -- minimum version is Python 3.5 -- remove version from the Server header - -** Others ** - -- miscellaneous changes in the code base to be a better citizen with Python 3 -- remove dead code -- fix documentation generation - +- TBD History ======= diff --git a/gunicorn/__init__.py b/gunicorn/__init__.py index 29edada5..684c8abe 100644 --- a/gunicorn/__init__.py +++ b/gunicorn/__init__.py @@ -3,7 +3,7 @@ # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. -version_info = (20, 1, 0) +version_info = (21, 0, 0) __version__ = ".".join([str(v) for v in version_info]) SERVER = "gunicorn" SERVER_SOFTWARE = "%s/%s" % (SERVER, __version__)