# HG changeset patch # User Yaroslav Zhuravlev # Date 1601400137 -3600 # Node ID 5528961da54d23ea4b9cf5e75e3edbf460306180 # Parent 2fd28cd4f2f825f3dfcdcbb5589c0096298e9bbb njs-0.4.4. diff --git a/xml/en/docs/njs/changes.xml b/xml/en/docs/njs/changes.xml --- a/xml/en/docs/njs/changes.xml +++ b/xml/en/docs/njs/changes.xml @@ -9,9 +9,194 @@
+
+ + +Release Date: +29 September 2020 + + + +nginx modules: + + + + +Bugfix: +fixed location merge. + + + + + +Bugfix: +fixed +r.httpVersion +for HTTP/2. + + + + + + + +Core: + + + + +Feature: +added support for numeric separators (ES12). + + + + + +Feature: +added remaining methods for +%TypedArray%.prototype. +The following methods were added: +every(), +filter(), +find(), +findIndex(), +forEach(), +includes(), +indexOf(), +lastIndexOf(), +map(), +reduce(), +reduceRight(), +reverse(), +some(). + + + + + +Feature: +added %TypedArray% remaining methods. +The following methods were added: +from(), +of(). + + + + + +Feature: +added DataView object. + + + + +Feature: +added Buffer object implementation. + + + + + +Feature: +added support for ArrayBuffer in +TextDecoder.prototype.decode() + + + + + +Feature: +added support for Buffer object in +crypto +methods. + + + + + +Feature: +added support for Buffer object in +fs +methods. + + + + + +Change: +Hash.prototype.digest() +and +Hmac.prototype.digest() +now return a Buffer instance instead of a byte string when +encoding is not provided. + + + + + +Change: +fs.readFile() +and friends now return a Buffer instance +instead of a byte string when encoding is not provided. + + + + + +Bugfix: +fixed function prototype property handler while setting. + + + + + +Bugfix: +fixed function constructor property handler while setting. + + + + + +Bugfix: +fixed String.prototype.indexOf() +for byte strings. + + + + + +Bugfix: +fixed RegExpBuiltinExec() +with a global flag and byte strings. + + + + + +Bugfix: +fixed RegExp.prototype[Symbol.replace] +the when replacement value is a function. + + + + + +Bugfix: +fixed +TextDecoder.prototype.decode() +with non-zero TypedArray offset. + + + + + + +
+ +
diff --git a/xml/en/docs/njs/reference.xml b/xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml +++ b/xml/en/docs/njs/reference.xml @@ -9,7 +9,7 @@
+ rev="54">
@@ -910,12 +910,12 @@ The algorithm can be -hash.update(data) +hash.update(data) Updates the hash content with the given data. -hash.digest([encoding]) +hash.digest([encoding]) Calculates the digest of all of the data passed using hash.update(). @@ -947,12 +947,12 @@ undefined -hmac.update(data) +hmac.update(data) Updates the HMAC content with the given data. -hmac.digest([encoding]) +hmac.digest([encoding]) Calculates the HMAC digest of all of the data passed using hmac.update(). diff --git a/xml/index.xml b/xml/index.xml --- a/xml/index.xml +++ b/xml/index.xml @@ -9,6 +9,15 @@ +njs-0.4.4 +version has been +released, +featuring Buffer object. + + + + + nginx-1.19.3 mainline version has been released.