Unit 1.29. released

Timo Stark t.stark at f5.com
Thu Dec 15 21:51:48 UTC 2022


Hi, NGINX Unit community,

We are happy to announce Unit 1.29.0! This release sets the first milestone
for NGINX's JavaScript runtime, njs, on Unit and also introduces the first
version of a Unit-specific CLI.

Now you can use njs to define JavaScript-based template literals in the
configuration; evaluated at run time, they can be anywhere that supports
variables to customize Unit's behavior. This is only the beginning of a
new feature series based on the NGINX JavaScript project.

Next, we introduce the very first of Unit-related tools to assist new users.
If you want to fast-track to get your first configuration up and running or
use Unit’s control API as intended, the “curl wrapper” command-line
script, unitc, will surely help. 

In addition, version 1.29.0 also adds:

*) per-application cgroups; now, you can place each app into a separate cgroup
   or tie them together.
   
*) new "prefix" attribute for Python applications.

*) new $request_time variable.

*) fixes for a few community-reported bugs.

For more information about the new features, visit:
https://unit.nginx.org/news/2022/unit-1.29.0-released/

Changes with Unit 1.29.0                                         15 Dec 2022

*) Change: removed $uri auto-append for "share" when loading
   configuration.

*) Change: prefer system crypto policy instead of hardcoding a default.

*) Feature: njs support with the basic syntax of JS template literals.

*) Feature: support per-application cgroups on Linux.

*) Feature: the $request_time variable contains the request processing
   time.

*) Feature: "prefix" option in Python applications to set WSGI
   "SCRIPT_NAME" and ASGI root-path variables.

*) Feature: compatibility with Python 3.11.

*) Feature: compatibility with OpenSSL 3.

*) Feature: compatibility with PHP 8.2.

*) Feature: compatibility with Node.js 19.0.

*) Feature: Ruby Rack v3 support.

*) Bugfix: fix error in connection statistics when using proxy.

*) Bugfix: fix HTTP cookie parsing when the value contains an equals
   sign.

*) Bugfix: PHP directory URLs without a trailing '/' would give a 503
   error (fixed with a 301 re-direct).

*) Bugfix: missing error checks in the C API.

*) Bugfix: report the regex status in configure summary.
    
Platform Updates

*) Added support for Ubuntu 22.10

*) Added support for Fedora 37

Wbr, Timo & the Unit team


More information about the unit mailing list