# HG changeset patch # User Yaroslav Zhuravlev # Date 1688663573 -3600 # Node ID 1f672755959a64aec3f0aeceab1dbdc13cb36414 # Parent 7e83ebfac8ca055ccd66341f340616a65a0adb4e njs-0.8.0. diff -r 7e83ebfac8ca -r 1f672755959a xml/en/docs/njs/changes.xml --- a/xml/en/docs/njs/changes.xml Thu Jul 06 12:31:31 2023 +0100 +++ b/xml/en/docs/njs/changes.xml Thu Jul 06 18:12:53 2023 +0100 @@ -9,9 +9,226 @@
+
+ + +Release Date: +06 July 2023 + + + +nginx modules: + + + + +Change: +removed special treatment of forbidden headers in +Fetch API +introduced in 0.7.10. + + + + + +Change: +removed deprecated since 0.5.0 +r.requestBody() +and +r.responseBody() +in +http +module. + + + + + +Change: +throwing an exception in +r.internalRedirect() +while filtering in +http +module. + + + + + +Feature: +introduced global nginx properties: +ngx.build, +ngx.conf_file_path, +ngx.error_log_path, +ngx.prefix, +ngx.version, +ngx.version_number, +and +ngx.worker_id. + + + + + +Feature: +introduced the js_shared_dict_zone directive for +http +and +stream +that allows declaring a dictionary shared between worker processes. + + + + + +Improvement: +added compile-time options to disable njs modules. +For example, to disable libxslt-related code: + +NJS_LIBXSLT=NO ./configure .. --add-module=/path/to/njs/module + + + + + + +Bugfix: +fixed +r.status +setter when filtering in +http +module. + + + + + +Bugfix: +fixed setting of Location header in +http +module. + + + + + + + +Core: + + + + +Change: +native methods are provided with retval argument. +This change breaks compatibility with C extension for njs +requiring the modification of the code. + + + + + +Change: +non-compliant deprecated String methods were removed. +The following methods were removed: +String.bytesFrom(), +String.prototype.fromBytes(), +String.prototype.fromUTF8(), +String.prototype.toBytes(), +String.prototype.toUTF8(), +String.prototype.toString(encoding). + + + + + +Change: +removed support for building with GNU readline. + + + + + +Feature: +added ES13-compliant Array methods: +Array.from(), +Array.prototype.toSorted(), +Array.prototype.toSpliced(), +Array.prototype.toReversed(). + + + + + +Feature: +added ES13-compliant TypedArray methods: +%TypedArray%.prototype.toSorted(), +%TypedArray%.prototype.toSpliced(), +%TypedArray%.prototype.toReversed(). + + + + + +Feature: +added +CryptoKey +properties in +WebCrypto API. +The following properties were added: +algorithm, +extractable, +type, +usages. + + + + + +Bugfix: +fixed retval of +сrypto.getRandomValues(). + + + + + +Bugfix: +fixed evaluation of computed property names with function expressions. + + + + + +Bugfix: +fixed implicit name for a function expression declared in arrays. + + + + + +Bugfix: +fixed parsing of for-in loops. + + + + + +Bugfix: +fixed +Date.parse() with ISO-8601 format and UTC time offset. + + + + + + +
+ +
diff -r 7e83ebfac8ca -r 1f672755959a xml/index.xml --- a/xml/index.xml Thu Jul 06 12:31:31 2023 +0100 +++ b/xml/index.xml Thu Jul 06 18:12:53 2023 +0100 @@ -7,6 +7,20 @@ + + +njs-0.8.0 +version has been +released, +featuring shared dictionary for +http +and +stream +and global +ngx properties. + + + nginx-1.25.1