Skip to content

# Changelog - 2016

Note

Please see news for the latest changes

## 19.6.0 / 2016/05/21

### Core & Logging

- improvement of the binary upgrade behaviour using USR2: remove file locking (Issue #1270)
- add the `--capture-output` setting to capture stdout/stderr tot the log file (Issue #1271)
- Allow disabling `sendfile()` via the `SENDFILE` environment variable (Issue #1252)
- fix reload under pycharm (Issue #1129)

### Workers

- fix: make sure to remove the signal from the worker pipe (Issue #1269)
- fix: gthread worker, handle removed socket in the select loop (Issue #1258)

## 19.5.0 / 2016/05/10

### Core

- fix: Ensure response to HEAD request won't have message body
- fix: lock domain socket and remove on last arbiter exit (Issue #1220)
- improvement: use EnvironmentError instead of socket.error (Issue #939)
- add: new `FORWARDED_ALLOW_IPS` environment variable (Issue #1205)
- fix: infinite recursion when destroying sockets (Issue #1219)
- fix: close sockets on shutdown (Issue #922)
- fix: clean up sys.exc_info calls to drop circular refs (Issue #1228)
- fix: do post_worker_init after load_wsgi (Issue #1248)

### Workers

- fix access logging in gaiohttp worker (Issue #1193)
- eventlet: handle QUIT in a new coroutine (Issue #1217)
- gevent: remove obsolete exception clauses in run (Issue #1218)
- tornado: fix extra "Server" response header (Issue #1246)
- fix: unblock the wait loop under python 3.5 in sync worker (Issue #1256)

### Logging

- fix: log message for listener reloading (Issue #1181)
- Let logging module handle traceback printing (Issue #1201)
- improvement: Allow configuring logger_class with statsd_host (Issue #1188)
- fix: traceback formatting (Issue #1235)
- fix: print error logs on stderr and access logs on stdout (Issue #1184)

### Documentation

- Simplify installation instructions in gunicorn.org (Issue #1072)
- Fix URL and default worker type in example_config (Issue #1209)
- update django doc url to 1.8 lts (Issue #1213)
- fix: miscellaneous wording corrections (Issue #1216)
- Add PSF License Agreement of selectors.py to NOTICE (:issue: `1226`)
- document LOGGING overriding (Issue #1051)
- put a note that error logs are only errors from Gunicorn (Issue #1124)
- add a note about the requirements of the threads workers under python 2.x (Issue #1200)
- add access_log_format to config example (Issue #1251)

### Tests

- Use more pytest.raises() in test_http.py

## 19.4.5 / 2016/01/05

- fix: NameError fileno in gunicorn.http.wsgi (Issue #1178)

## 19.4.4 / 2016/01/04

- fix: check if a fileobject can be used with sendfile(2.md) (Issue #1174)
- doc: be more descriptive in errorlog option (Issue #1173)