Welcome! Log In Create A New Profile

Advanced

[nginx-announce] njs-0.2.8

Posted by Dmitry Volyntsev 
Dmitry Volyntsev
[nginx-announce] njs-0.2.8
February 26, 2019 11:14AM
Hello,

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

This release proceeds to extend the coverage of ECMAScript
specifications and modules functionality.

- Added support for setting nginx variables.

- Added support for delete operation in r.headersOut.

- Properties of HTTP request deprecated in 0.2.2 were removed.

- Added labels support.

- Added support for shorthand property names for Object literals.
: > var a = 1, b = 2
: undefined
: > ({a, b})
: {
: a: 1,
: b: 2
: }

You can learn more about njs:

- Overview and introduction: http://nginx.org/en/docs/njs/
- Presentation: https://youtu.be/Jc_L6UffFOs

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.2.8 26 Feb 2019

nginx modules:

*) Change: properties of HTTP request deprecated in 0.2.2 are
removed.

*) Feature: added support for delete operation in r.headersOut.

*) Feature: added support for setting nginx variables.

*) Bugfix: fixed r.subrequest() for empty body value.

*) Improvement: setting special response headers in r.headersOut.

Core:

*) Feature: added labels support.

*) Feature: added setImmediate() method.

*) Feature: added support for shorthand property names for Object
literals.

*) Bugfix: fixed Function.prototype.bind().

*) Bugfix: fixed parsing of string literals containing newline
characters.

*) Bugfix: fixed line number in reporting variable reference errors.

*) Bugfix: fixed creation of long UTF8 strings.

*) Bugfix: fixed String.prototype.split() for unicode strings.

*) Bugfix: fixed heap-buffer-overflow in String.prototype.split().

*) Bugfix: fixed Array.prototype.fill().
Thanks to Artem S. Povalyukhin.

*) Improvement: code related to function invocation is refactored.
Thanks to 洪志道 (Hong Zhi Dao).

*) Improvement: code related to variables is refactored.
Thanks to 洪志道 (Hong Zhi Dao).

*) Improvement: parser is refactored.
Thanks to 洪志道 (Hong Zhi Dao).

*) Improvement: reporting filenames in exceptions.
_______________________________________________
nginx-announce mailing list
nginx-announce@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-announce
Sorry, you do not have permission to post/reply in this forum.

Online Users

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