nginx Released “nginx-1.19.1” along with the latest script language njs

July 7, nginx released “nginx-1.19.1”, the latest mainline version of an HTTP server and reverse proxy. They also released the latest version of the JavaScript subset and script language “njs”.

nginx-1.19.1 is a point release of the nginx-1.19 series, released at the end of May. nginx is offered in two types of versions, which are mainline and stable. The one that develops new features is mainline. As a side note, the current stable version is the 1.18 series released in April.

Now lingering_close, lingering_time, and lingering_timeout directives work when using HTTP/2. Connection with a FastCGI server is improved. When it receives a response with incorrect length from gRPC backend, nginx now stops response processing with an error. It also includes bug fixes.

njs is a subset of the JavaScript language. It extends the nginx functionality and is compliant with ECMAScript 5.1. As to the use cases, it is used for complex access and security checks before a request reaches an upstream server, manipulating response header, writing flexible asynchronous content handlers and filters, and more.

njs 0.4.2 introduces line level backtrace feature. It has also added %TypedArray%.prototype.sort(), an ECMAScrip standard method for numerically sorting the elements of a typed array. File system (fs) module is extended, and now mkdir(), readdir(), rmdir(), and more are added.

This release has improved parser refactoring, and it includes many bug fixes like the one found in TypeScript API description.

Both nginx and njs are available for download from the project website.

nginx
https://nginx.org