OpenResty Scalable Web Platform by Extending NGINX with Lua

ChangeLog 1.0.10

Yichun Zhang , 02 Feb 2012 (created 16 Nov 2011)

Stable Release 1.0.10.48 - 1 February 2012

Components bundled with this release:

  • LuaJIT-2.0.0-beta9
  • array-var-nginx-module-0.03rc1
  • auth-request-nginx-module-0.2
  • drizzle-nginx-module-0.1.2rc6
  • echo-nginx-module-0.38rc1
  • encrypted-session-nginx-module-0.02
  • form-input-nginx-module-0.07rc5
  • headers-more-nginx-module-0.17rc1
  • iconv-nginx-module-0.10rc5
  • lua-5.1.4
  • lua-cjson-1.0.3
  • lua-rds-parser-0.04
  • lua-redis-parser-0.09rc5
  • memc-nginx-module-0.13rc3
  • nginx-1.0.10
  • ngx_devel_kit-0.2.17
  • ngx_lua-0.4.1
  • ngx_postgres-0.9rc2
  • rds-csv-nginx-module-0.04
  • rds-json-nginx-module-0.12rc7
  • redis2-nginx-module-0.08rc2
  • set-misc-nginx-module-0.22rc5
  • srcache-nginx-module-0.13rc3
  • upstream-keepalive-nginx-module-0.7
  • xss-nginx-module-0.03rc8

Mainline Version 1.0.10.47 - 29 January 2012

  • upgraded Lua Nginx Module to 0.4.1rc4.
    • bugfix: ngx_http_lua_header_filter_init was called with an argument which actually accepts none. this could cause compilation errors at least with gcc 4.3.4 as reported in github issue #80. thanks bigplum (Simon).

Mainline Version 1.0.10.45 - 19 January 2012

Stable Release 1.0.10.44 - 16 January 2012

Components bundled with this release:

  • LuaJIT-2.0.0-beta9
  • array-var-nginx-module-0.03rc1
  • auth-request-nginx-module-0.2
  • drizzle-nginx-module-0.1.2rc4
  • echo-nginx-module-0.37
  • encrypted-session-nginx-module-0.02
  • form-input-nginx-module-0.07rc5
  • headers-more-nginx-module-0.16
  • iconv-nginx-module-0.10rc5
  • lua-5.1.4
  • lua-cjson-1.0.3
  • lua-rds-parser-0.04
  • lua-redis-parser-0.09rc5
  • memc-nginx-module-0.13rc2
  • nginx-1.0.10
  • ngx_devel_kit-0.2.17
  • ngx_lua-0.4.0
  • ngx_postgres-0.9rc2
  • rds-csv-nginx-module-0.04
  • rds-json-nginx-module-0.12rc7
  • redis2-nginx-module-0.08rc2
  • set-misc-nginx-module-0.22rc4
  • srcache-nginx-module-0.13rc3
  • upstream-keepalive-nginx-module-0.7
  • xss-nginx-module-0.03rc8

Mainline Version 1.0.10.43 - 12 January 2012

  • upgraded Lua Nginx Module to 0.4.0.
  • upgraded Encrypted Session Nginx Module to 0.02.
    • bugfix: the -lssl option broke nginx linking when --with-openssl=DIR is specified. thanks charlieyang for reporting this issue.
  • bugfix: fixed issues with relative path DIR in the --with-openssl=DIR option for ./configure.

Mainline Version 1.0.10.41 - 9 January 2012

  • upgraded Upstream Keepalive Nginx Module to 0.7.
    • Bugfix: unbuffered connection might not be kept alive under Linux.
    • Bugfix: module could not be built on Windows.
    • Bugfix: module could not be built without the ngx_http_ssl_module.
    • Feature: https connections support (requires patches).
    • Bugfix: invalid connections might be cached.
    • Bugfix: the "[alert] ... open socket ... left in connection ..." messages were logged on nginx worker process gracefull exit for each cached connection; the bug had appeared in version 0.3.
  • upgraded Echo Nginx Module to 0.37rc8.
    • bugfix: fixed two spots that we did not check null pointers returned by the memory allocator.
    • bugfix: attempt to fix places where ngx_time_update might not be compiled properly.

Mainline Version 1.0.10.39 - 4 January 2012

  • upgraded Lua Nginx Module to v0.3.1rc45.
    • bugfix: ngx.req.get_uri_args and ngx.req.get_post_args now only parse up to 100 arguments by default. but one can specify the optional argument to these two methods to specify a custom maximum number of args. thanks Tzury Bar Yochay for reporting this.
    • bugfix: ngx.req.get_headers now only parse up to 100 request headers by default. but one can specify the optional argument to this method to specify a custom maximum number of headers.

Mainline Version 1.0.10.37 - 30 December 2011

  • upgraded Lua Nginx Module to v0.3.1rc43.
    • bugfix: removing builtin headers via ngx.req.clear_header and its equivalent in huge request headers with 20+ entries could result in data loss. thanks Chris Dumoulin for the patch in github issue #6.
    • bugfix: could not compile with Nginx 1.1.12+ because Nginx 1.1.12 changed its regex API. now we call PCRE API directly and require at least PCRE 8.21 for the PCRE JIT support in our ngx.re API (since PCRE 8.20 had a bug in its JIT engine that it did not honor pcre_malloc and pcre_free at all).

Mainline Version 1.0.10.35 - 30 December 2011

  • upgraded Headers More Nginx Module to v0.16rc7.
    • bugfix: removing builtin headers in huge request headers with 20+ entries could result in data loss. thanks Chris Dumoulin for the patch in github issue #6.
  • bugfix: the install phony target did not depend on the all phony target in the Makefile generated by ./configure. thanks 姚伟斌 for reporting this issue.

Mainline Version 1.0.10.33 - 29 December 2011

  • bugfix: the ./configure script's --add-module option did not accept relative path values. thanks 姚伟斌 for the patch.

Mainline Version 1.0.10.31 - 25 December 2011

Mainline Version 1.0.10.29 - 17 December 2011

Mainline Version 1.0.10.27 - 16 December 2011

  • upgraded Lua Nginx Module to v0.3.1rc40.
    • bugfix: ngx.flush(true) could not be used before I/O calls like ngx.location.capture. this bug had appeared in v0.3.1rc34.
    • bugfix: ngx.var.VARIABLE did not evaluate to nil when the Nginx variable's valid flag is 0.
    • docs: various documentation improvements. thanks Nginx User.
    • bugfix: there were various places where we did not check the pointer returned by the memory allocator.
  • upgraded Set Misc Nginx Module to v0.22rc4.
    • bugfix: fixed one place that does not check the pointer returned by the memory allocator.
    • src: converted CRLF in the source files and test files to LF.
  • bugfix: some old version of shell cp command does not support trailing slashes in the destination argument and could break our ./configure script. thanks 姚伟斌 for reporting it.

Mainline Version 1.0.10.25 - 14 December 2011

  • upgraded Srcache Nginx Module to v0.13rc3.
    • bugfix: fixed a regression with Xss Nginx Module for cache hits. this bug had appeared in v0.13rc1. thanks 万珣新.
    • bugfix: we did not cache the Location response header at all for 301/302 responses.
    • bugfix: we should not blindly cache the Accept-Ranges: bytes response headers regardless of the actual current requests.
  • upgraded Xss Nginx Module to v0.03rc8.
    • bugfix: fixed a few debug-level log messages; the old text was misleading.

Stable Release 1.0.10.24 - 11 December 2011

Same as the devel version 1.0.10.23.

Components bundled with this release:

  • LuaJIT-2.0.0-beta8
  • array-var-nginx-module-0.03rc1
  • auth-request-nginx-module-0.2
  • drizzle-nginx-module-0.1.2rc4
  • echo-nginx-module-0.37rc7
  • encrypted-session-nginx-module-0.01
  • form-input-nginx-module-0.07rc5
  • headers-more-nginx-module-0.16rc4
  • iconv-nginx-module-0.10rc5
  • lua-5.1.4
  • lua-cjson-1.0.3
  • lua-rds-parser-0.04
  • lua-redis-parser-0.09rc5
  • memc-nginx-module-0.13rc2
  • nginx-1.0.10
  • ngx_devel_kit-0.2.17
  • ngx_lua-0.3.1rc38
  • ngx_postgres-0.9rc2
  • rds-csv-nginx-module-0.04
  • rds-json-nginx-module-0.12rc7
  • redis2-nginx-module-0.08rc2
  • set-misc-nginx-module-0.22rc3
  • srcache-nginx-module-0.13rc2
  • upstream-keepalive-nginx-module-0.3
  • xss-nginx-module-0.03rc7

Mainline Version 1.0.10.23 - 5 December 2011

  • upgraded Rds Json Nginx Module to v0.12rc7.
    • added more debug level error log outputs to ease debugging (as discussed in github issue #2).
  • upgraded Xss Nginx Module to v0.03rc7.
    • now we use the ngx_log_debugN macros to emit debugging outputs instead of info level error logging because the latter is costly in production.
  • upgraded Lua Nginx Module to 0.3.1rc38.
    • added constant ngx.HTTP_GATEWAY_TIMEOUT (504) per Fry-kun in github issue #73.

Mainline Version 1.0.10.21 - 30 November 2011

Mainline Version 1.0.10.19 - 29 November 2011

  • upgraded Lua Nginx Module to 0.3.1rc37.
    • bugfix: use of the ngx.re API might lead to errors like pcre_compile() failed: failed to get memory in ... due to incorrect pcre_malloc and pcre_free handling. thanks Vittly for reporting this as github issue #72.
    • docs: massive documentation improvements. thanks Nginx User.

Mainline Version 1.0.10.17 - 26 November 2011

  • upgraded Lua Nginx Module to 0.3.1rc36.
    • bugfix: fixed the ngx_log_debugN macros which failed to compile without --with-debug. thanks @ldmiao for reporting it.

Mainline Version 1.0.10.15 - 26 November 2011

  • upgraded Lua Nginx Module to 0.3.1rc35.
    • bugfix: now we check timed out downstream connections in our write event handler.

Mainline Version 1.0.10.13 - 25 November 2011

  • upgraded Lua Nginx Module to 0.3.1rc34.
    • feature: added wait boolean argument to ngx.flush() to support synchronous flushing; ngx.flush(true) will not return until all the data has been flushed into the system send buffer or the send timeout has expired.

Mainline Version 1.0.10.11 - 24 November 2011

  • upgraded Lua Nginx Module to 0.3.1rc33.
    • feature: added new Lua API ngx.now to return the current time (including the ms part as the decimal part). thanks 林青.
    • feature: added new Lua API ngx.update_time to forcibly updating nginx's time cache.
    • docs: massive documentation improvement done by Nginx User.

Mainline Version 1.0.10.9 - 24 November 2011

  • upgraded Xss Nginx Module to 0.03rc6.
    • bugfix: now we use signed char explicitly instead of the vague char type which could be unsigned by default in certain systems like PowerPC. thanks Dmitry E. Oboukhov.
  • upgraded Memc Nginx Module to 0.13rc2.
    • bugfix: now we use signed char explicitly instead of the vague char type which could be unsigned by default in certain systems like PowerPC. thanks Dmitry E. Oboukhov.
  • upgraded Redis2 Nginx Module to 0.08rc2.
    • bugfix: when char defaults to unsigned char, the Ragel-based Redis response parser could not accept non-ascci bytes. thanks Dmitry E. Oboukhov.

Mainline Version 1.0.10.7 - 23 November 2011

Mainline Version 1.0.10.5 - 21 November 2011

Mainline Version 1.0.10.3 - 17 November 2011

Mainline Version 1.0.10.1 - 16 November 2011

  • upgraded the Nginx core to 1.0.10.

See ChangeLog1000009 for change log for ngx_openresty 1.0.9.x.