Mercurial > hg > nginx-site
changeset 2785:64d030947d40
njs-0.7.0.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 19 Oct 2021 15:12:08 +0100 |
parents | 65591dd31d64 |
children | 6b3a80a735bf |
files | xml/en/docs/njs/changes.xml xml/index.xml |
diffstat | 2 files changed, 100 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/njs/changes.xml +++ b/xml/en/docs/njs/changes.xml @@ -9,9 +9,93 @@ <article name="Changes" link="/en/docs/njs/changes.html" lang="en" - rev="46" + rev="47" toc="no"> +<section id="njs0.7.0" name="Changes with njs 0.7.0"> + +<para> +Release Date: +19 October 2021 +</para> + +<para> +nginx modules: +<list type="bullet"> + +<listitem> +<para> +Feature: +Added +<link doc="../http/ngx_http_js_module.xml" id="js_fetch_protocols">HTTPS</link> +support for +<link doc="reference.xml" id="ngx_fetch">Fetch API</link>. +</para> +</listitem> + +<listitem> +<para> +Feature: +Added +<literal>setReturnValue()</literal> method for +<link doc="reference.xml" id="r_set_return_value">http</link> and +<link doc="reference.xml" id="s_set_return_value">stream</link>. +</para> +</listitem> + +</list> +</para> + +<para> +Core: +<list type="bullet"> + +<listitem> +<para> +Feature: +introduced <literal>Async/Await</literal> implementation. +</para> +</listitem> + +<listitem> +<para> +Feature: +added +<link doc="reference.xml" id="builtin_crypto">WebCrypto API</link> +implementation. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed copying of closures for declared functions. +The bug was introduced in +<link id="njs0.6.0">0.6.0</link>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed unhandled <literal>promise</literal> rejection in handle events. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed Response.headers getter in Fetch API. +</para> +</listitem> + +</list> + +</para> + +</section> + + <section id="njs0.6.2" name="Changes with njs 0.6.2"> <para>
--- a/xml/index.xml +++ b/xml/index.xml @@ -7,6 +7,21 @@ <news name="nginx news" link="/" lang="en"> +<event date="2021-10-19"> +<para> +<link doc="en/docs/njs/index.xml">njs-0.7.0</link> +version has been +<link doc="en/docs/njs/changes.xml" id="njs0.7.0">released</link>, +featuring +Async/Await support, +<link doc="en/docs/njs/reference.xml" id="builtin_crypto">WebCrypto API</link>, +and +<link doc="en/docs/http/ngx_http_js_module.xml" id="js_fetch_protocols">HTTPS</link> +support in +<link doc="en/docs/njs/reference.xml" id="ngx_fetch">ngx.fetch()</link>. +</para> +</event> + <event date="2021-09-07"> <para> <link doc="en/download.xml">nginx-1.21.3</link>