njs-0.7.2

Dmitry Volyntsev xeioex at nginx.com
Tue Jan 25 15:51:59 UTC 2022


Hello,

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

This release focuses on stabilization of recently released features
including async/await 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:
     https://youtu.be/Jc_L6UffFOs
- Extending NGINX with Custom Code: https://youtu.be/0CVhq4AUU7M
- Using node modules with njs:
https://nginx.org/en/docs/njs/node_modules.html
- Writing njs code using TypeScript definition files:
    https://nginx.org/en/docs/njs/typescript.html

We are hiring:

If you are a C programmer, passionate about Open Source and you
love what we do, consider the following career opportunity:
https://ffive.wd5.myworkdayjobs.com/NGINX/job/Ireland-Homebase/Software-Engineer-III---NGNIX-NJS_RP1022237

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


Changes with njs 0.7.2                                     25 Jan 2022

     Core:

     *) Bugfix: fixed Array.prototype.join() when array is changed
        while iterating.

     *) Bugfix: fixed Array.prototype.slice() when array is changed
        while iterating.

     *) Bugfix: fixed Array.prototype.concat() when array is changed
        while iterating.

     *) Bugfix: fixed Array.prototype.reverse() when array is changed
        while iterating.

     *) Bugfix: fixed Buffer.concat() with subarrays.
        Thanks to Sylvain Etienne.

     *) Bugfix: fixed type confusion bug while resolving promises.

     *) Bugfix: fixed Function.prototype.apply() with large array
        arguments.

     *) Bugfix: fixed recursive async function calls.

     *) Bugfix: fixed function redeclaration. The bug was introduced
        in 0.7.0.



More information about the nginx mailing list