Dmitry Volyntsev
[nginx-announce] njs-0.6.2
August 31, 2021 11:56AM

I'm glad to announce a new release of NGINX JavaScript module (njs).

This release proceeds to extend the coverage of ECMAScript

Notable new features:
- Advanced Promise constructor methods
: Promise.all( => ngx.fetch(u)))
: .then(responses => r.return(200, JSON.stringify(responses)))

Learn more about njs:

- Overview and introduction:
- NGINX JavaScript in Your Web Server Configuration:
- Extending NGINX with Custom Code:
- Using node modules with njs:
- Writing njs code using TypeScript definition files:

Feel free to try it and give us feedback on:

- Github:
- Mailing list:

Changes with njs 0.6.2 31 Aug 2021

nginx modules:

*) Bugfix: fixed CPU hog when js_filter is registered
in both directions.


*) Feature: introduced AggregateError implementation.

*) Feature: added remaining Promise constructor methods.
The following methods were added: Promise.all(),
Promise.allSettled(), Promise.any(), Promise.race().

*) Improvement: removed recursion from code generator.

*) Bugfix: fixed rest parameter parsing without binding

*) Bugfix: fixed resolve/reject callback for

*) Bugfix: fixed %TypedArray%.prototype.join() with
detached buffer.

*) Bugfix: fixed memory leak in interactive shell.

nginx-announce mailing list
Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 113
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready