From 954fcae167856fa2b9c09a1cbdebf52be4a9796d Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 24 May 2010 09:08:42 +0200 Subject: [PATCH] bump to 0.9.0, prepare release. --- doc/htdocs/news.html | 20 ++++++++++++++++++++ doc/site/configuration.rst | 5 +++++ doc/site/news.rst | 5 +++-- gunicorn/__init__.py | 2 +- 4 files changed, 29 insertions(+), 3 deletions(-) diff --git a/doc/htdocs/news.html b/doc/htdocs/news.html index ffad827b..fc80afdf 100644 --- a/doc/htdocs/news.html +++ b/doc/htdocs/news.html @@ -49,6 +49,26 @@

News

+
+

0.9.0-dev / 2010-05-17

+
+

System Message: WARNING/2 (<string>, line 5)

+

Title underline too short.

+
+0.9.0-dev / 2010-05-17
+------------------
+
+
+
    +
  • Added preload setting. Load application code before the worker processes +are forked.
  • +
  • Refactored Config
  • +
  • Fix pidfile
  • +
  • Fix QUIT/HUP in async workers
  • +
  • Fix reexec
  • +
  • Documentation improvments
  • +
+

0.8.1 / 2010-04-29

    diff --git a/doc/site/configuration.rst b/doc/site/configuration.rst index 6a466464..06dcb784 100644 --- a/doc/site/configuration.rst +++ b/doc/site/configuration.rst @@ -39,6 +39,8 @@ Example gunicorn.conf.py before_exec=lambda server: server.log.info("Forked child, reexecuting") + when_ready=lambda server: server.log.info("Gunicorn started.") + Parameter Descriptions ---------------------- @@ -107,6 +109,9 @@ umask: user: The user as which worker processes will by launched. + +when_ready(server): + This is called by the arbiter just after Gunicorn started. worker_connections: Number of simultaneous connections a worker can handle when used with diff --git a/doc/site/news.rst b/doc/site/news.rst index 60a6c447..4ff4f565 100644 --- a/doc/site/news.rst +++ b/doc/site/news.rst @@ -4,16 +4,17 @@ title: News News ==== -0.9.0-dev / 2010-05-17 +0.9.0 2010-05-22 ------------------ +- Added *when_ready* hook. Called just after the server is started - Added *preload* setting. Load application code before the worker processes are forked. - Refactored Config - Fix pidfile - Fix QUIT/HUP in async workers - Fix reexec -- Documentation improvments +- Documentation improvements 0.8.1 / 2010-04-29 ------------------ diff --git a/gunicorn/__init__.py b/gunicorn/__init__.py index 23ee4752..95ec059e 100644 --- a/gunicorn/__init__.py +++ b/gunicorn/__init__.py @@ -3,5 +3,5 @@ # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. -version_info = (0, 9, '0-dev') +version_info = (0, 9, 0) __version__ = ".".join(map(str, version_info))