Mercurial > hg > nginx-site
changeset 2741:4fb1aaad4182
njs-0.6.0.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 16 Jun 2021 13:50:54 +0100 |
parents | c3303f98a246 |
children | 0a37493dda21 |
files | xml/en/docs/njs/changes.xml xml/index.xml |
diffstat | 2 files changed, 90 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,89 @@ <article name="Changes" link="/en/docs/njs/changes.html" lang="en" - rev="42" + rev="43" toc="no"> +<section id="njs0.6.0" name="Changes with njs 0.6.0"> + +<para> +Release Date: +15 June 2021 +</para> + +<para> +Core: +<list type="bullet"> + +<listitem> +<para> +Feature: +added +<literal>let</literal> and +<literal>const</literal> declaration support. +</para> +</listitem> + +<listitem> +<para> +Feature: +added <literal>RegExp.prototype[Symbol.split]</literal>. +</para> +</listitem> + +<listitem> +<para> +Feature: +added sticky flag support for RegExp. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed heap-buffer-overflow in +<literal>String.prototype.lastIndexOf()</literal>. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed +<literal>RegExp.prototype.test()</literal> +according to the specification. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed +<literal>String.prototype.split()</literal> +according to the specification. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed use-of-uninitialized-value while tracking rejected promises. +</para> +</listitem> + +<listitem> +<para> +Bugfix: +fixed <literal>njs.dump()</literal> for objects with circular references. +</para> +</listitem> + +</list> +</para> + +</section> + + <section id="njs0.5.3" name="Changes with njs 0.5.3"> <para>
--- a/xml/index.xml +++ b/xml/index.xml @@ -7,6 +7,15 @@ <news name="nginx news" link="/" lang="en"> +<event date="2021-06-15"> +<para> +<link doc="en/docs/njs/index.xml">njs-0.6.0</link> +version has been +<link doc="en/docs/njs/changes.xml" id="njs0.6.0">released</link>, +featuring let and const variable declaration support. +</para> +</event> + <event date="2021-05-27"> <para> <link url="https://unit.nginx.org/">unit-1.24.0</link> version has been