Get the most out of your Centmin Mod LEMP stack
Become a Member

Nginx [nginx-announce] njs-0.8.8

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Dec 11, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:52 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Hello,

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

    This release introduced shared dictionary 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.8 10 Dec 2024

    nginx modules:

    *) Feature: implemented shared dictionary for QuickJS engine.

    *) Improvement: js_preload_object is refactored.

    *) Bugfix: fixed rate-limited output.

    *) Bugfix: optimized use of SSL contexts for
    js_fetch_trusted_certificate directive.

    Core:


    *) Feature: implemented process object for QuickJS engine.

    *) Feature: implemented process.kill() method.

    *) Bugfix: fixed tests with libxml2 2.13 and later.

    *) Bugfix: fixed promise resolving when Promise is inherited.

    *) Bugfix: fixed absolute scope in cloned VMs.

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

    Continue reading...