Mercurial > hg > nginx-site
changeset 2331:5eba0f7b24a9
njs-0.2.8
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 26 Feb 2019 18:11:41 +0300 |
parents | 2efd714bb10a |
children | 9d502d4305ac |
files | xml/en/docs/njs/changes.xml xml/en/docs/njs/reference.xml xml/index.xml |
diffstat | 3 files changed, 180 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/njs/changes.xml Thu Feb 07 20:14:13 2019 +0300 +++ b/xml/en/docs/njs/changes.xml Tue Feb 26 18:11:41 2019 +0300 @@ -9,9 +9,178 @@ <article name="Changes" link="/en/docs/njs/changes.html" lang="en" - rev="13" + rev="14" toc="no"> +<section id="njs0.2.8" name="Changes with 0.2.8"> + +<para> +Release Date: +26 February 2019 +</para> + +<para> +nginx modules: +<list type="bullet"> + +<listitem> +<para> +Change: +properties of HTTP request deprecated in <link id="njs0.2.2">0.2.2</link> +are removed. +</para> +</listitem> + +<listitem> +<para> +Feature: +added support for delete operation in +<link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. +</para> +</listitem> + +<listitem> +<para> +Feature: +added support for setting nginx variables. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed +<link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> +for empty body value. +</para> +</listitem> + +<listitem> +<para> +Improvement: +setting special response headers in +<link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. +</para> +</listitem> + +</list> +</para> + +<para> +Core: +<list type="bullet"> + +<listitem> +<para> +Feature: +added labels support. +</para> +</listitem> + +<listitem> +<para> +Feature: +added <literal>setImmediate()</literal> method. +</para> +</listitem> + +<listitem> +<para> +Feature: +added support for shorthand property names for Object literals. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed <literal>Function.prototype.bind()</literal>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed parsing of string literals containing newline characters. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed line number in reporting variable reference errors. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed creation of long UTF8 strings. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed +setting special response headers in +<link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link> +for Unicode strings. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed heap-buffer-overflow in +<link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed <literal>Array.prototype.fill()</literal>. +Thanks to Artem S. Povalyukhin. +</para> +</listitem> + +<listitem> +<para> +Improvement: +code related to function invocation is refactored. +Thanks to 洪志道 (Hong Zhi Dao). +</para> +</listitem> + +<listitem> +<para> +Improvement: +code related to variables is refactored. +Thanks to 洪志道 (Hong Zhi Dao). +</para> +</listitem> + +<listitem> +<para> +Improvement: parser is refactored. +Thanks to 洪志道 (Hong Zhi Dao). +</para> +</listitem> + +<listitem> +<para> +Improvement: +reporting filenames in exceptions. +</para> +</listitem> + +</list> +</para> + +</section> + + <section id="njs0.2.7" name="Changes with 0.2.7"> <para>
--- a/xml/en/docs/njs/reference.xml Thu Feb 07 20:14:13 2019 +0300 +++ b/xml/en/docs/njs/reference.xml Tue Feb 26 18:11:41 2019 +0300 @@ -9,7 +9,7 @@ <article name="Reference" link="/en/docs/njs/reference.html" lang="en" - rev="19"> + rev="20"> <section id="summary"> @@ -59,7 +59,7 @@ </para> </tag-desc> -<tag-name><literal>r.headersOut{}</literal></tag-name> +<tag-name id="r_headers_out"><literal>r.headersOut{}</literal></tag-name> <tag-desc> outgoing headers object, writable. <para>
--- a/xml/index.xml Thu Feb 07 20:14:13 2019 +0300 +++ b/xml/index.xml Tue Feb 26 18:11:41 2019 +0300 @@ -7,6 +7,14 @@ <news name="nginx news" link="/" lang="en"> +<event date="2018-12-25"> +<para> +<link doc="en/docs/njs/index.xml">njs-0.2.8</link> +version has been released, featuring support for setting nginx variables +and <link doc="en/docs/njs/changes.xml" id="njs0.2.8">more</link>. +</para> +</event> + <event date="2019-02-07"> <para> <link url="https://unit.nginx.org/">unit-1.7.1</link>