# HG changeset patch # User Yaroslav Zhuravlev # Date 1522777128 -10800 # Node ID 302fbdd94a042d11936dd1c7fe8b8e160d11230b # Parent 4212f4520070d68c9d70416b20414d5bcc912c95 Added njs changes. diff -r 4212f4520070 -r 302fbdd94a04 xml/en/GNUmakefile --- a/xml/en/GNUmakefile Tue Apr 03 20:38:25 2018 +0300 +++ b/xml/en/GNUmakefile Tue Apr 03 20:38:48 2018 +0300 @@ -122,6 +122,7 @@ stream/stream_processing \ ngx_google_perftools_module \ dev/development_guide \ + njs/njs_changes \ TOP = \ download \ diff -r 4212f4520070 -r 302fbdd94a04 xml/en/docs/njs/njs_changes.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/en/docs/njs/njs_changes.xml Tue Apr 03 20:38:48 2018 +0300 @@ -0,0 +1,576 @@ + + + + + + +
+ +
+ + +Release Date: +3 Apr 2018 + + + + + + + +Feature: +reporting njs version by CLI. + + + + + +Feature: +textual description for type converting exceptions. + + + + +Feature: +setTimeout() and +clearTimeout() methods. + + + + +Feature: +Byte string to +hex, +base64, +base64url encodings. + + + + + +Feature: +Node.js style +Crypto methods. + + + + + +Feature: +HTTP and stream +warn() and +error() methods. + + + + + +Feature: +HTTP subrequest() method. + + + + + +Feature: +HTTP return() method. + + + + + +Bugfix: +miscellaneous bugs have been fixed in the core and +interactive shell. + + + + + + +
+ +
+ + +Release Date: +20 Nov 2017 + + + + + + + +Feature: +Error, +EvalError, +InternalError, +RangeError, +ReferenceError, +SyntaxError, +TypeError, +URIError objects. + + + + + +Feature: +octal literals support. + + + + + +Feature: +File system access +(Node.js style) +fs.readFile(), +fs.readFileSync(), +fs.appendFile(), +fs.appendFileSync(), +fs.writeFile(), +fs.writeFileSync() +methods. + + + + + +Feature: +nginx modules print backtrace on exception. + + + + + +Bugfix: +miscellaneous bugs have been fixed. + + + + + + +
+ + +
+ + +Release Date: +09 Oct 2017 + + + + + + + +Feature: +JSON object. + + + + + +Feature: +object level completions in interactive shell. + + + + + +Feature: +various configure improvements. + + + + + +Bugfix: +miscellaneous bugs have been fixed in the core and +interactive shell. + + + + + + +
+ + +
+ + +Release Date: +31 Aug 2017 + + + + + + + +Feature: +console.log() and +console.help() +methods in interactive shell. + + + + + +Feature: +interactive shell prints backtrace on exception. + + + + + +Feature: +interactive shell by default +if libedit is available. + + + + + +Bugfix: +processing of large files from +stdin in command line mode. + + + + + +Bugfix: +improved editline detection. + + + + + + +
+ + +
+ + +Release Date: +08 Aug 2017 + + + + + + + +Feature: +Interactive shell. + + + + + +Bugfix: +in Object.isSealed(). + + + + + + +
+ + +
+ + +Release Date: +27 Jun 2017 + + + + + + + +Feature: +Object.keys(), +Object.prototype.hasOwnProperty() +methods. + + + + + +Feature: +Object.defineProperty(), +Object.defineProperties(), +Object.getOwnPropertyDescriptor() +methods. + + + + + +Feature: +Object.getPrototypeOf(), +Object.prototype.isPrototypeOf() +methods. + + + + + +Feature: +Object.preventExtensions(), +Object.isExtensible(), +Object.freeze(), +Object.isFrozen(), +Object.seal(), +Object.isSealed() +methods. + + + + + +Feature: +scientific notation literals support. + + + + + +Feature: +hexadecimal literals support. + + + + + +Bugfix: +processing of large array indexes. + + + + + +Bugfix: +in parseInt() and +Date.parse(). + + + + + + +
+ + +
+ + +Release Date: +04 Apr 2017 + + + + + + + +Feature: +nested functions and function closures. + + + + + +Feature: +Array.of(), +Array.prototype.fill(), +Array.prototype.find(), +Array.prototype.findIndex() +methods. + + + + + +Bugfix: +miscellaneous bugs and segmentation faults have been fixed. + + + + + + +
+ + +
+ + +Release Date: +01 Feb 2017 + + + + + + + +Bugfix: +global variables were not initialized when nJScript was used +in nginx. + + + + + + +
+ + +
+ + +Release Date: +24 Jan 2017 + + + + + + + +Change: +the strict mode is enforced, +variables must be explicitly declared. + + + + + + +Feature: +for and +for-in loops support variable declaration. + + + + + +Bugfix: +global and function scopes have been fixed. + + + + + +Bugfix: +now for-in loop does not discard the last value +of property variable. + + + + + +Bugfix: +miscellaneous bugs and segmentation faults have been fixed. + + + + + + +
+ + +
+ + +Release Date: +27 Dec 2016 + + + + + + + +Change: +the directive +has been disabled at server and location levels. + + + + + +Feature: +exponentiation operators. + + + + + +Bugfix: +miscellaneous bugs and segmentation faults have been fixed. + + + + + + +
+ + +
+ + +Release Date: +13 Dec 2016 + + + + + + + +Change: +the directive +has been disabled at server and location levels. + + + + + +Feature: +ES6 Math methods. + + + + + +Bugfix: +miscellaneous bugs and segmentation faults have been fixed. + + + + + + +
+ +
diff -r 4212f4520070 -r 302fbdd94a04 xml/en/docs/njs_about.xml --- a/xml/en/docs/njs_about.xml Tue Apr 03 20:38:25 2018 +0300 +++ b/xml/en/docs/njs_about.xml Tue Apr 03 20:38:48 2018 +0300 @@ -9,7 +9,7 @@
+ rev="16">
@@ -237,6 +237,15 @@
+
+ + +The complete list of njs changes is available +here. + +
+ +
diff -r 4212f4520070 -r 302fbdd94a04 xml/ru/docs/njs_about.xml --- a/xml/ru/docs/njs_about.xml Tue Apr 03 20:38:25 2018 +0300 +++ b/xml/ru/docs/njs_about.xml Tue Apr 03 20:38:48 2018 +0300 @@ -9,7 +9,7 @@
+ rev="16">
@@ -236,6 +236,15 @@
+
+ + +Полная история изменений njs доступна +здесь. + +
+ +