Release Notes: This release fixes some warnings. It adds setCookie() and getCookie() for setting and getting cookie values.
Release Notes: The Makefile script will now properly clean up when `make clean` is called. The getEnv() function will now report a Server-Version value as well (major.minor.patch). Directives are now only permissable within the main Apache configuration. The include() function now supports including plain Lua files, as set by the pLuaRaw directive.
Release Notes: Modules built with apxs should now run on Unix platforms with Lua 5.2. mod_pLua now supports the PUT and DELETE methods. This release adds getRequestBody([filename]) for reading the request body and optionally writing it to a file.
Release Notes: This release fixes a bug (presumably) which could allow db:close() to cause a segfault when using a mod_dbd handle, removes forced output flushing at 20KB data (as it doesn't seem to be needed), adds support for disabling shorthand opening tags ("<?") via the pLuaShortHand directive, and fixes an issue which caused "<?lua" tags in a script to cause the shorthand "<?" tags to be overlooked.
Release Notes: This release adds support for mod_dbd; see the wiki for further information. General code cleanup. A fix for a bug where dbclose and the database gc would clean up differently. A fix for a bad include in mod_plua.h that was halting compilations on some systems. Binary packages for Lua 5.2 are now also available for Linux and Apache 2.2.
Release Notes: The APXS system is now used for compiling and installing mod_pLua. Setting header("Location", ...) will no longer trigger an automatic 302 response by httpd - use httpError() or setReturnCode() for this instead.
Release Notes: Some thread checks, which were not needed in Lua C function calls, have been removed. Pushing the Lua thread onto the registry when acquiring the state has been reinstated to avoid having to resort to the backup list. The Lua function httpError(N) has been added for calling the internal Apache error handler with return code N. setReturnCode now only sets the return code; it does not call the Apache error handler (use httpError instead).
Release Notes: This release addresses issues with certain external modules emptying the registry stack, breaking certain calls to internal mod_pLua functions. In such cases, mod_pLua will now make use of a backup list of thread/state pairs to ensure no errors come of this.
Release Notes: The default values of some directives have been changed. header() will now accept numbers as its second argument. Any shebang (#!) encountered on line 1 of raw lua files will now be ignored.
Release Notes: Releasing a Lua state no longer requires a mutex lock. Garbage collection is now done less frequently, to boost performance. Various small performance tweaks. getPWD() now returns "." on failure instead of just 0. In the event of a Lua panic, errors will be copied to stderr as well. The script cache handler will now consider file size as well as time of modification to determine if an update is required.