njs-0.8.3

Dmitry Volyntsev xeioex at nginx.com
Wed Feb 7 23:18:08 UTC 2024


Hello,

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:
       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

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.8.3                                       07 Feb 2024

     nginx modules:

     *) Bugfix: fixed Headers.set().

     *) Bugfix: fixed js_set with Buffer values.

     *) Bugfix: fixed clear() method of a shared dictionary when
        timeout is not specified.

     *) Bugfix: fixed stub_status statistic when js_periodic is
        enabled.

     Core:

     *) Bugfix: fixed building with libxml2 2.12 and later.

     *) Bugfix: fixed Date constructor for overflows and with
        NaN values.

     *) Bugfix: fixed underflow in querystring.parse().

     *) Bugfix: fixed potential buffer overread in
        String.prototype.match().

     *) Bugfix: fixed parsing of for-in loops.

     *) Bugfix: fixed parsing of hexadecimal, octal, and binary
        literals with no digits.


More information about the nginx mailing list