Dmitry Volyntsev
July 07, 2020 03:28PM
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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

njs-0.4.2

Dmitry Volyntsev July 07, 2020 03:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready