Mercurial > hg > nginx-site
changeset 3010:758e2e1dfd22
njs-0.8.1.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 12 Sep 2023 21:32:57 +0100 |
parents | 2e8c1384d211 |
children | 55d49eb065ac |
files | xml/en/docs/njs/changes.xml xml/index.xml |
diffstat | 2 files changed, 88 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/njs/changes.xml Tue Sep 12 21:32:51 2023 +0100 +++ b/xml/en/docs/njs/changes.xml Tue Sep 12 21:32:57 2023 +0100 @@ -9,9 +9,84 @@ <article name="Changes" link="/en/docs/njs/changes.html" lang="en" - rev="63" + rev="64" toc="no"> +<section id="njs0.8.1" name="Changes with njs 0.8.1"> + +<para> +Release Date: +12 September 2023 +</para> + +<para> +nginx modules: +<list type="bullet"> + +<listitem> +<para> +Feature: +introduced the <literal>js_periodic</literal> directive for +<link doc="../http/ngx_http_js_module.xml" id="js_periodic">http</link> +and +<link doc="../stream/ngx_stream_js_module.xml" id="js_periodic">stream</link> +that allows specifying a JS handler to run at regular intervals. +</para> +</listitem> + +<listitem> +<para> +Feature: +implemented +<link doc="reference.xml" id="dict_items"><literal>items()</literal></link> +method of a +<link doc="reference.xml" id="ngx_shared">shared dictionary</link>. +The method returns all the non-expired key-value pairs. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed +<link doc="reference.xml" id="dict_size"><literal>size()</literal></link> +and +<link doc="reference.xml" id="dict_keys"><literal>keys()</literal></link> +methods of a +<link doc="reference.xml" id="ngx_shared">shared dictionary</link>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed erroneous exception in +<link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> +introduced in <link id="njs0.8.0">0.8.0</link>. +</para> +</listitem> + +</list> +</para> + +<para> +Core: +<list type="bullet"> + +<listitem> +<para> +Bugfix: +fixed incorrect order of keys in +<literal>Object.getOwnPropertyNames()</literal>. +</para> +</listitem> + +</list> +</para> + +</section> + + <section id="njs0.8.0" name="Changes with njs 0.8.0"> <para>
--- a/xml/index.xml Tue Sep 12 21:32:51 2023 +0100 +++ b/xml/index.xml Tue Sep 12 21:32:57 2023 +0100 @@ -7,6 +7,18 @@ <news name="nginx news" link="/" lang="en"> +<event date="2023-09-12"> +<para> +<link doc="en/docs/njs/index.xml">njs-0.8.1</link> +version has been +<link doc="en/docs/njs/changes.xml" id="njs0.8.1">released</link>, +featuring the <literal>js_periodic</literal> directive for +<link doc="en/docs/http/ngx_http_js_module.xml" id="js_periodic">http</link> +and +<link doc="en/docs/stream/ngx_stream_js_module.xml" id="js_periodic">stream</link>. +</para> +</event> + <event date="2023-08-31"> <para> <link url="https://unit.nginx.org/">unit-1.31.0</link> version has been