[nginx-announce] njs-0.4.2

Dmitry Volyntsev xeioex at nginx.com
Tue Jul 7 19:26:31 UTC 2020


Hello,

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

This release proceeds to extend the coverage of ECMAScript
specification.

You can learn more about njs:

- Overview and introduction: http://nginx.org/en/docs/njs/
- Presentation: https://youtu.be/Jc_L6UffFOs
- Using node modules with njs: http://nginx.org/en/docs/njs/node_modules.html
- Writing njs code using TypeScript definition files:
   http://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: http://mailman.nginx.org/mailman/listinfo/nginx-devel


Changes with njs 0.4.2                                         07 Jul 2020

     Core:

     *) Feature: added RegExp.prototype[Symbol.replace].

     *) Feature: introduced line level backtrace.

     *) Feature: added %TypedArray%.prototype.sort().

     *) Feature: extended "fs" module. Added mkdir(), readdir(), rmdir()
        and friends.
        Thanks to Artem S. Povalyukhin.

     *) Improvement: parser refactoring.

     *) Bugfix: fixed TypedScript API description for HTTP headers.

     *) Bugfix: fixed TypedScript API description for NjsByteString type.

     *) Bugfix: fixed String.prototype.repeat() according to the
        specification.

     *) Bugfix: fixed parsing of flags for regexp literals.

     *) Bugfix: fixed index generation for global objects in generator.

     *) Bugfix: fixed String.prototype.replace() according to the
        specification.

     *) Bugfix: fixed %TypedArray%.prototype.copyWithin() with nonzero
        byte offset.

     *) Bugfix: fixed Array.prototype.splice() for sparse arrays.

     *) Bugfix: fixed Array.prototype.reverse() for sparse arrays.

     *) Bugfix: fixed Array.prototype.sort() for sparse arrays.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-announce/attachments/20200707/c9848139/attachment.htm>


More information about the nginx-announce mailing list