Welcome! Log In Create A New Profile

Advanced

[nginx-announce] njs-0.8.9

Posted by Dmitry Volyntsev 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Dmitry Volyntsev
[nginx-announce] njs-0.8.9
January 14, 2025 05:44PM
Hello,

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

This release introduced file system module for QuickJS engine.

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

Additional examples and howtos can be found here:

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

Changes with njs 0.8.9                                       14 Jan 2025

    nginx modules:

    *) Bugfix: removed extra VM creation per server.
       Previously, when js_import was declared in http or stream blocks,
       an extra copy of the VM instance was created for each server
       block. This was not needed and consumed a lot of memory for
       configurations with many server blocks.

      This issue was introduced in 9b674412 (0.8.6) and was partially
      fixed for location blocks only in 685b64f0 (0.8.7).

    Core:

    *) Feature: added fs module for QuickJS engine.

_______________________________________________
nginx-announce mailing list
nginx-announce@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-announce

Online Users

Guests: 287
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready