# HG changeset patch # User Yaroslav Zhuravlev # Date 1558454826 -10800 # Node ID 2df75fb79ca7aefb1d4253cd81f588c519414a64 # Parent 3e31ef06a7e394a68fb53de9118488ea289b485c njs-0.3.2 diff -r 3e31ef06a7e3 -r 2df75fb79ca7 xml/en/docs/njs/changes.xml --- a/xml/en/docs/njs/changes.xml Tue May 21 18:03:46 2019 +0300 +++ b/xml/en/docs/njs/changes.xml Tue May 21 19:07:06 2019 +0300 @@ -9,9 +9,218 @@
+
+ + +Release Date: +21 May 2019 + + + +Core: + + + + +Feature: +added support for template literals. +Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. + + + + + +Feature: +executing command from command line arguments. + + + + + +Feature: +added support for RegExp groups object (ES9). + + + + + +Feature: +added block scoped function definitions support. + + + + + +Feature: +added support for building with GNU Readline library. + + + + + +Feature: +made configurable +length, +name, +and most of built-in methods. + + + + + +Feature: +made all constructor properties configurable. + + + + + +Bugfix: +fixed Regexp.prototype.exec() for Unicode-only regexps. + + + + + +Bugfix: +fixed njs_vm_value_dump() for empty string values. + + + + + +Bugfix: +fixed RegExp constructor for regexp value arguments. + + + + + +Bugfix: +fixed walking over prototypes chain during iteration over an object. + + + + + +Bugfix: +fixed overflow in Array.prototype.concat(). + + + + + +Bugfix: +fixed length calculation for UTF-8 string with escape characters. + + + + + +Bugfix: +fixed parsing surrogate pair presents as UTF-16 escape sequences. + + + + + +Bugfix: +fixed processing the “*” quantifier for +String.prototype.match(). + + + + + +Bugfix: +fixed Date() constructor with one argument. + + + + + +Bugfix: +fixed arrays expansion. + + + + + +Bugfix: +fixed heap-buffer-overflow in +String.prototype.replace(). + + + + + +Bugfix: +fixed heap-buffer-overflow in +String.prototype.lastIndexOf(). + + + + + +Bugfix: +fixed regexp literals parsing with escaped backslash +and backslash in square brackets. + + + + + +Bugfix: +fixed regexp literals with lone closing brackets. + + + + + +Bugfix: +fixed uninitialized-memory-access in +Object.defineProperties(). + + + + + +Bugfix: +fixed processing the “*” quantifier for +String.prototype.replace(). + + + + + +Bugfix: +fixed Array.prototype.slice() for UTF8-invalid byte strings. + + + + + +Bugfix: +fixed String.prototype.split() for UTF8-invalid byte strings. + + + + + +Bugfix: +fixed handling of empty block statements. + + + + + + +
+ +
diff -r 3e31ef06a7e3 -r 2df75fb79ca7 xml/en/docs/njs/compatibility.xml --- a/xml/en/docs/njs/compatibility.xml Tue May 21 18:03:46 2019 +0300 +++ b/xml/en/docs/njs/compatibility.xml Tue May 21 19:07:06 2019 +0300 @@ -9,7 +9,7 @@
@@ -174,8 +174,18 @@ -ES5.1 RegExp methods: -test, exec +RegExp: + + + +ES5.1: methods test, exec + + + +ES9: named capture groups (0.3.2) + + + @@ -245,6 +255,12 @@ (0.3.1) + +Template literals: +multiline strings, expression interpolation, nesting templates +(0.3.2) + + diff -r 3e31ef06a7e3 -r 2df75fb79ca7 xml/index.xml --- a/xml/index.xml Tue May 21 18:03:46 2019 +0300 +++ b/xml/index.xml Tue May 21 19:07:06 2019 +0300 @@ -9,6 +9,14 @@ +njs-0.3.2 +version has been released, featuring template literals support +and more. + + + + + nginx-1.17.0 mainline version has been released. diff -r 3e31ef06a7e3 -r 2df75fb79ca7 xml/ru/docs/njs/compatibility.xml --- a/xml/ru/docs/njs/compatibility.xml Tue May 21 18:03:46 2019 +0300 +++ b/xml/ru/docs/njs/compatibility.xml Tue May 21 19:07:06 2019 +0300 @@ -9,7 +9,7 @@
@@ -174,8 +174,18 @@ -ES5.1 методы RegExp: -test, exec +RegExp: + + + +ES5.1: методы test, exec + + + +ES9: именные группы записи (0.3.2) + + + @@ -247,6 +257,12 @@ (0.3.1) + +Шаблонные строки: +многострочные литералы, интерполяция выражений, вложенные шаблоны +(0.3.2) + +