comparison xml/en/docs/njs/changes.xml @ 2466:d4be176c6345

njs-0.3.7
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 19 Nov 2019 17:37:00 +0300
parents de4f8f3d1fd6
children 9bf87153b1b3
comparison
equal deleted inserted replaced
2465:07c4f2c66c97 2466:d4be176c6345
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
8 8
9 <article name="Changes" 9 <article name="Changes"
10 link="/en/docs/njs/changes.html" 10 link="/en/docs/njs/changes.html"
11 lang="en" 11 lang="en"
12 rev="24" 12 rev="25"
13 toc="no"> 13 toc="no">
14
15 <section id="njs0.3.7" name="Changes with njs 0.3.7">
16
17 <para>
18 Release Date:
19 19 November 2019
20 </para>
21
22 <para>
23 nginx modules:
24 <list type="bullet">
25
26 <listitem>
27 <para>
28 Improvement:
29 refactored iteration over external objects.
30 </para>
31 </listitem>
32
33 </list>
34 </para>
35
36 <para>
37 Core:
38 <list type="bullet">
39
40 <listitem>
41 <para>
42 Feature:
43 added <literal>Object.assign()</literal>.
44 </para>
45 </listitem>
46
47 <listitem>
48 <para>
49 Feature:
50 added <literal>Array.prototype.copyWithin()</literal>.
51 </para>
52 </listitem>
53
54 <listitem>
55 <para>
56 Feature:
57 added support for labels in <literal>console.time()</literal>.
58 </para>
59 </listitem>
60
61 <listitem>
62 <para>
63 Change:
64 removed <literal>console.help()</literal> from CLI.
65 </para>
66 </listitem>
67
68 <listitem>
69 <para>
70 Improvement:
71 moved constructors and top-level objects to global object.
72 </para>
73 </listitem>
74
75 <listitem>
76 <para>
77 Improvement:
78 arguments validation for configure script.
79 </para>
80 </listitem>
81
82 <listitem>
83 <para>
84 Improvement:
85 refactored JSON methods.
86 </para>
87 </listitem>
88
89 <listitem>
90 <para>
91 Bugfix:
92 fixed heap-buffer-overflow in
93 <literal>njs_array_reverse_iterator()</literal> function.
94 The following functions were affected:
95 <literal>Array.prototype.lastIndexOf()</literal>,
96 <literal>Array.prototype.reduceRight()</literal>.
97 </para>
98 </listitem>
99
100 <listitem>
101 <para>
102 Bugfix:
103 fixed
104 <literal>[[Prototype]]</literal> slot of <literal>NativeErrors</literal>.
105 </para>
106 </listitem>
107
108 <listitem>
109 <para>
110 Bugfix:
111 fixed
112 <literal>NativeError.prototype.message</literal> properties.
113 </para>
114 </listitem>
115
116 <listitem>
117 <para>
118 Bugfix:
119 added conversion of
120 <literal>this</literal> value to object in
121 <literal>Array.prototype functions</literal>.
122 </para>
123 </listitem>
124
125 <listitem>
126 <para>
127 Bugfix:
128 fixed iterator for
129 <literal>Array.prototype.find()</literal> and
130 <literal>Array.prototype.findIndex()</literal>
131 functions.
132 </para>
133 </listitem>
134
135 <listitem>
136 <para>
137 Bugfix:
138 fixed
139 <literal>Array.prototype.includes()</literal> and
140 <literal>Array.prototype.join()</literal> with
141 <literal>undefined</literal> argument.
142 </para>
143 </listitem>
144
145 <listitem>
146 <para>
147 Bugfix:
148 fixed <literal>constructor</literal> property of
149 <literal>Hash</literal> and
150 <literal>Hmac</literal>
151 objects.
152 </para>
153 </listitem>
154
155 <listitem>
156 <para>
157 Bugfix:
158 fixed <literal>__proto__</literal> property of getters and setters.
159 </para>
160 </listitem>
161
162 <listitem>
163 <para>
164 Bugfix:
165 fixed <literal>Date</literal> object string formatting.
166 </para>
167 </listitem>
168
169 <listitem>
170 <para>
171 Bugfix:
172 fixed handling of
173 <literal>NaN</literal> and <literal>-0</literal> arguments in
174 <literal>Math.min()</literal> and
175 <literal>Math.max()</literal>.
176 </para>
177 </listitem>
178
179 <listitem>
180 <para>
181 Bugfix:
182 fixed <literal>Math.round()</literal>
183 according to the specification.
184 </para>
185 </listitem>
186
187 <listitem>
188 <para>
189 Bugfix:
190 reimplemented <literal>bound</literal> functions
191 according to the specification.
192 </para>
193 </listitem>
194
195 </list>
196 </para>
197
198 </section>
199
14 200
15 <section id="njs0.3.6" name="Changes with njs 0.3.6"> 201 <section id="njs0.3.6" name="Changes with njs 0.3.6">
16 202
17 <para> 203 <para>
18 Release Date: 204 Release Date: