comparison xml/en/docs/njs/changes.xml @ 2446:32b945768dea

njs-0.3.6
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 22 Oct 2019 18:29:36 +0300
parents 02b3f97df446
children de4f8f3d1fd6
comparison
equal deleted inserted replaced
2445:192d136633b5 2446:32b945768dea
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="22" 12 rev="23"
13 toc="no"> 13 toc="no">
14
15 <section id="njs0.3.6" name="Changes with 0.3.6">
16
17 <para>
18 Release Date:
19 22 October 2019
20 </para>
21
22 <para>
23 nginx modules:
24 <list type="bullet">
25
26 <listitem>
27 <para>
28 Improvement:
29 getting special headers from
30 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>.
31 </para>
32 </listitem>
33
34 </list>
35 </para>
36
37 <para>
38 Core:
39 <list type="bullet">
40
41 <listitem>
42 <para>
43 Feature:
44 added new <literal>Function()</literal> support.
45 </para>
46 </listitem>
47
48 <listitem>
49 <para>
50 Feature:
51 added <literal>Number.prototype.toFixed()</literal>.
52 </para>
53 </listitem>
54
55 <listitem>
56 <para>
57 Feature:
58 added <literal>Number.prototype.toPrecision()</literal>.
59 </para>
60 </listitem>
61
62 <listitem>
63 <para>
64 Feature:
65 added <literal>Number.prototype.toExponential()</literal>.
66 </para>
67 </listitem>
68
69 <listitem>
70 <para>
71 Improvement:
72 making <literal>prototype</literal> property of function instances writable.
73 </para>
74 </listitem>
75
76 <listitem>
77 <para>
78 Improvement:
79 limiting recursion depth while compiling.
80 </para>
81 </listitem>
82
83 <listitem>
84 <para>
85 Improvement:
86 moving global functions to the global object.
87 </para>
88 </listitem>
89
90 <listitem>
91 <para>
92 Bugfix:
93 fixed prototype mutation for object literals.
94 </para>
95 </listitem>
96
97 <listitem>
98 <para>
99 Bugfix:
100 fixed heap-buffer-overflow while parsing regexp literals.
101 </para>
102 </listitem>
103
104 <listitem>
105 <para>
106 Bugfix:
107 fixed integer-overflow while parsing exponent of number literals.
108 </para>
109 </listitem>
110
111 <listitem>
112 <para>
113 Bugfix:
114 fixed <literal>parseFloat()</literal>.
115 </para>
116 </listitem>
117
118 <listitem>
119 <para>
120 Bugfix:
121 fixed <literal>Array.prototype</literal> functions
122 according to the specification.
123 The following functions were fixed:
124 <literal>every</literal>,
125 <literal>includes</literal>,
126 <literal>indexOf</literal>,
127 <literal>filter</literal>,
128 <literal>find</literal>,
129 <literal>findIndex</literal>,
130 <literal>forEach</literal>,
131 <literal>lastIndexOf</literal>,
132 <literal>map</literal>,
133 <literal>pop</literal>,
134 <literal>push</literal>,
135 <literal>reduce</literal>,
136 <literal>reduceRight</literal>,
137 <literal>shift</literal>,
138 <literal>some</literal>,
139 <literal>unshift</literal>.
140 </para>
141 </listitem>
142
143 <listitem>
144 <para>
145 Bugfix:
146 fixed handing of accessor descriptors in <literal>Object.freeze()</literal>.
147 </para>
148 </listitem>
149
150 <listitem>
151 <para>
152 Bugfix:
153 fixed
154 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link>
155 when first argument is not a string.
156 </para>
157 </listitem>
158
159 <listitem>
160 <para>
161 Bugfix:
162 fixed stack-use-after-scope in <literal>Array.prototype.map()</literal>.
163 </para>
164 </listitem>
165
166 <listitem>
167 <para>
168 Bugfix:
169 <literal>Date.prototype.toUTCString()</literal>
170 format was aligned to ES9.
171 </para>
172 </listitem>
173
174 <listitem>
175 <para>
176 Bugfix:
177 fixed buffer overflow in
178 <literal>Number.prototype.toString(radix)</literal>.
179 </para>
180 </listitem>
181
182 <listitem>
183 <para>
184 Bugfix:
185 fixed
186 <literal>Regexp.prototype.test()</literal>
187 for regexps with backreferences.
188 </para>
189 </listitem>
190
191 <listitem>
192 <para>
193 Bugfix:
194 fixed
195 <literal>Array.prototype.map()</literal>
196 for objects with nonexistent values.
197 </para>
198 </listitem>
199
200 <listitem>
201 <para>
202 Bugfix:
203 fixed
204 <literal>Array.prototype.pop()</literal> and
205 <literal>shift()</literal> for sparse objects.
206 </para>
207 </listitem>
208
209 <listitem>
210 <para>
211 Bugfix:
212 fixed <literal>Date.UTC()</literal> according to the specification.
213 </para>
214 </listitem>
215
216 <listitem>
217 <para>
218 Bugfix:
219 fixed <literal>Date()</literal> constructor according to the specification.
220 </para>
221 </listitem>
222
223 <listitem>
224 <para>
225 Bugfix:
226 fixed type of <literal>Date.prototype</literal>.
227 Thanks to Artem S. Povalyukhin.
228 </para>
229 </listitem>
230
231 <listitem>
232 <para>
233 Bugfix:
234 fixed <literal>Date.prototype.setTime()</literal>.
235 Thanks to Artem S. Povalyukhin.
236 </para>
237 </listitem>
238
239 <listitem>
240 <para>
241 Bugfix:
242 fixed default number of arguments expected by built-in functions.
243 </para>
244 </listitem>
245
246 <listitem>
247 <para>
248 Bugfix:
249 fixed <literal>caller</literal> and <literal>arguments</literal>
250 properties of a function instance.
251 Thanks to Artem S. Povalyukhin.
252 </para>
253 </listitem>
254
255 </list>
256 </para>
257
258 </section>
259
14 260
15 <section id="njs0.3.5" name="Changes with 0.3.5"> 261 <section id="njs0.3.5" name="Changes with 0.3.5">
16 262
17 <para> 263 <para>
18 Release Date: 264 Release Date: