njs-0.7.4 (fixed formatting)

Dmitry Volyntsev xeioex at nginx.com
Tue May 24 17:01:49 UTC 2022


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

This release focuses on stabilization of recently released features
including WebCrypto API and fixing bugs found by various fuzzers.

Learn more about njs:

- Overview and introduction: https://nginx.org/en/docs/njs/
- NGINX JavaScript in Your Web Server Configuration:
- Extending NGINX with Custom Code: https://youtu.be/0CVhq4AUU7M
- Using node modules with njs:
- Writing njs code using TypeScript definition files:

We are hiring:

If you are a C programmer, passionate about Open Source and you
love what we do, consider the following career opportunity:

Feel free to try it and give us feedback on:

- Github: https://github.com/nginx/njs/issues
- Mailing list: https://mailman.nginx.org/mailman/listinfo/nginx-devel

Additional examples and howtos can be found here:

- Github: https://github.com/nginx/njs-examples

Changes with njs 0.7.4                                      24 May 2022

     nginx modules:

     *) Feature: added extended directive to configure Fetch API.
        The following directives were added: “js_fetch_timeout”,
        “js_fetch_verify”, “js_fetch_buffer_size”,

     *) Change: r.internalRedirect() now accepts escaped URIs.

     *) Bugfix: fixed Response parsing with more than 8 headers
        in Fetch API.


     *) Feature: added njs.version_number property.

     *) Feature: added compatibility with BoringSSL for
        WebCrypto API.

     *) Bugfix: fixed Array.prototype.sort() when arr size is changed
        in a comparator.

     *) Bugfix: fixed Array.prototype.slice() with slow “this” argument.

     *) Bugfix: fixed aggregation methods of Promise ctor with
        array-like object.

     *) Bugfix: fixed Array.prototype.lastIndexOf() with unicode
        string as “this”.

     *) Bugfix: fixed JSON.parse() when reviver function is provided.

     *) Bugfix: fixed Object.defineProperty() when a recursive descriptor
        is provided.

     *) Bugfix: fixed Array.prototype.fill() for typed-arrays.

     *) Bugfix: making function expression binding immutable according
        the specs.

     *) Bugfix: fixed redefinition of special props in

More information about the nginx mailing list