[nginx-announce] njs-0.7.5

Dmitry Volyntsev xeioex at nginx.com
Tue Jun 21 19:00: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
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.5                                      21 Jun 2022

     nginx modules:

     *) Change: adapting to changes in nginx header structures.

     *) Bugfix: fixed r.headersOut special getters when value
        is absent.

     *) Change: returning undefined value instead of an empty string
        for Content-Type when the header is absent.


     *) Bugfix: fixed catching of the exception thrown from an
        awaited function.

     *) Bugfix: fixed function value initialization.

     *) Bugfix: fixed interpreter when await fails.

     *) Bugfix: fixed typed-array constructor when source array
        is changed while iterating.

     *) Bugfix: fixed String.prototype.replace() with byte strings.

     *) Bugfix: fixed template literal from producing byte-strings.

     *) Bugfix: fixed array iterator with sparse arrays.

     *) Bugfix: fixed memory free while converting a flat array to
        a slow array.

     *) Bugfix: properly handling NJS_DECLINE in promise native

     *) Bugfix: fixed working with an array-like object in Promise.all()
        and friends.
nginx-announce mailing list -- nginx-announce at nginx.org
To unsubscribe send an email to nginx-announce-leave at nginx.org

More information about the nginx-announce mailing list