Welcome! Log In Create A New Profile

Advanced

[njs] Version 0.5.0.

Igor Ippolitov
December 01, 2020 10:02AM
details: https://hg.nginx.org/njs/rev/69f07c615162
branches:
changeset: 1579:69f07c615162
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Tue Dec 01 12:32:31 2020 +0000
description:
Version 0.5.0.

diffstat:

CHANGES | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 77 insertions(+), 0 deletions(-)

diffs (84 lines):

diff -r 5e29ce36383e -r 69f07c615162 CHANGES
--- a/CHANGES Wed Nov 25 00:12:04 2020 +0100
+++ b/CHANGES Tue Dec 01 12:32:31 2020 +0000
@@ -1,3 +1,80 @@
+
+Changes with njs 0.5.0 01 Dec 2020
+
+ nginx modules:
+
+ *) Feature: introduced global "ngx" object.
+ The following methods were added:
+ ngx.log(level, msg)
+
+ The following properties were added:
+ ngx.INFO,
+ ngx.WARN,
+ ngx.ERR.
+
+ *) Feature: added support for Buffer object where string
+ is expected.
+
+ *) Feature: added Buffer version of existing properties.
+ The following properties were added:
+ r.requestBuffer (r.requestBody),
+ r.responseBuffer (r.responseBody),
+ r.rawVariables (r.variables),
+ s.rawVariables (s.variables).
+
+ The following events were added in stream module:
+ upstream (upload),
+ downstream (download).
+
+ *) Improvement: added aliases to existing properties.
+ The following properties were added:
+ r.requestText (r.requestBody),
+ r.responseText (r.responseBody).
+
+ *) Improvement: throwing an exception in r.internalRedirect()
+ for a subrequest.
+
+ *) Bugfix: fixed promise r.subrequest() with error_page redirect.
+
+ *) Bugfix: fixed promise events handling.
+
+ Core:
+
+ *) Feature: added TypeScript definitions for built-in
+ modules.
+ Thanks to Jakub Jirutka.
+
+ *) Feature: tracking unhandled promise rejection.
+
+ *) Feature: added initial iterator support.
+ Thanks to Artem S. Povalyukhin.
+
+ *) Improvement: TypeScript definitions are refactored.
+ Thanks to Jakub Jirutka.
+
+ *) Improvement: added forgotten support for
+ Object.prototype.valueOf() in Buffer.from().
+
+ *) Bugfix: fixed heap-use-after-free in JSON.parse().
+
+ *) Bugfix: fixed heap-use-after-free in JSON.stringify().
+
+ *) Bugfix: fixed JSON.stringify() for arrays resizable via
+ getters.
+
+ *) Bugfix: fixed heap-buffer-overflow for
+ RegExp.prototype[Symbol.replace].
+
+ *) Bugfix: fixed returned value for Buffer.prototype.write*
+ functions.
+
+ *) Bugfix: fixed querystring.stringify().
+ Thanks to Artem S. Povalyukhin.
+
+ *) Bugfix: fixed the catch handler for
+ Promise.prototype.finally().
+
+ *) Bugfix: fixed querystring.parse().

Changes with njs 0.4.4 29 Sep 2020

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

[njs] Version 0.5.0.

Igor Ippolitov 410 December 01, 2020 10:02AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready