Mercurial > hg > nginx-site
changeset 2172:65fc7e90b849
Added release notes for njs 0.2.1.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 06 Jun 2018 15:03:48 +0300 |
parents | b37374af4099 |
children | 434c1961f5ed |
files | xml/en/docs/njs/njs_changes.xml |
diffstat | 1 files changed, 167 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/njs/njs_changes.xml +++ b/xml/en/docs/njs/njs_changes.xml @@ -9,9 +9,175 @@ <article name="njs Changes" link="/en/docs/njs/njs_changes.html" lang="en" - rev="2" + rev="3" toc="no"> +<section id="njs0.2.1" name="Changes with 0.2.1"> + +<para> +Release Date: +31 May 2018 +</para> + +<para> +nginx modules: +<list type="bullet"> + +<listitem> +<para> +Feature: +HTTP request body getter. +</para> +</listitem> + +<listitem> +<para> +Improvement: +moved njs vm to the <literal>main</literal> configuration. +</para> +</listitem> + +<listitem> +<para> +Improvement: +improved logging for +<link doc="../http/ngx_http_js_module.xml" id="js_set"/> and +<link doc="../http/ngx_http_js_module.xml" id="js_content"/> directives. +</para> +</listitem> + +<listitem> +<para> +Improvement: +setting status code to 500 by default in the +<link doc="../http/ngx_http_js_module.xml" id="js_content"/> handler +</para> +</listitem> + +<listitem> +<para> +Improvement: +added the debug for the returned status code in +<link doc="../http/ngx_http_js_module.xml" id="js_content"/> handler +</para> +</listitem> + +<listitem> +<para> +Bugfix: fixed error logging in +<link doc="../http/ngx_http_js_module.xml" id="js_include"/>. +</para> +</listitem> + +</list> +</para> + +<para> +Core: +<list type="bullet"> + +<listitem> +<para> +Feature: +added array length setter. +</para> +</listitem> + +<listitem> +<para> +Improvement: +public header <literal>cleanup. njscript.h</literal> is renamed to +<literal>njs.h</literal>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed crypto <literal>update()</literal> method after +<literal>digest()</literal> is called. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed <literal>crypto.createHmac()</literal> for keys with size <= alg size +and > 64. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed <literal>JSON.stringify()</literal> for arrays with empty cells. +</para> +</listitem> + +<listitem> +<para> + Bugfix: +fixed exception type for unsupported types in +<literal>JSON.stringify()</literal>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed handling of undefined arguments of functions. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed handling of missing <literal>arg</literal> of +<literal>Object.getOwnPropertyDescriptor()</literal>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed handling of properties in +<literal>Object.getOwnPropertyDescriptor()</literal>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed the writeable flag of <literal>Array.length</literal> property. +</para> +</listitem> + +<listitem> +<para> +Bugfix: fixed return value type of <literal>clearTimeout()</literal>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed <literal>njs_vm_external_bind()</literal>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +miscellaneous additional bugs have been fixed. +</para> +</listitem> + +</list> +</para> + +</section> + + <section id="njs0.2.0" name="Changes with 0.2.0"> <para>