Mercurial > hg > nginx-site
annotate xml/en/docs/njs/changes.xml @ 2544:33347df1da9c
Relocated sentence in r.headers.Out, added dot, corrected quotes.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 19 May 2020 15:05:49 +0100 |
parents | 140a8a9f1dac |
children | baf8cbfa3df1 |
rev | line source |
---|---|
2130 | 1 <?xml version="1.0"?> |
2 | |
3 <!-- | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | |
8 | |
2246
32ba43abf9cd
Renamed njs API, njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2237
diff
changeset
|
9 <article name="Changes" |
32ba43abf9cd
Renamed njs API, njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2237
diff
changeset
|
10 link="/en/docs/njs/changes.html" |
2130 | 11 lang="en" |
2535 | 12 rev="31" |
2130 | 13 toc="no"> |
14 | |
2535 | 15 <section id="njs0.4.0" name="Changes with njs 0.4.0"> |
16 | |
17 <para> | |
18 Release Date: | |
19 23 April 2020 | |
20 </para> | |
21 | |
22 <para> | |
23 nginx modules: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 added support for multi-value headers in | |
30 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
31 </para> | |
32 </listitem> | |
33 | |
34 <listitem> | |
35 <para> | |
36 Feature: | |
37 added <literal>js_import</literal> directive for | |
38 <link doc="../http/ngx_http_js_module.xml" id="js_import">http</link> and | |
39 <link doc="../stream/ngx_stream_js_module.xml" id="js_import">stream</link>. | |
40 </para> | |
41 </listitem> | |
42 | |
43 <listitem> | |
44 <para> | |
45 Improvement: | |
46 improved iteration over | |
47 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
48 with special headers. | |
49 </para> | |
50 </listitem> | |
51 | |
52 <listitem> | |
53 <para> | |
54 Improvement: | |
55 improved iteration over | |
56 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
57 with duplicates. | |
58 </para> | |
59 </listitem> | |
60 | |
61 <listitem> | |
62 <para> | |
63 Change: | |
64 <link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link> | |
65 property handler now returns | |
66 <literal>undefined</literal> | |
67 instead of throwing an exception if the response body is not available. | |
68 </para> | |
69 </listitem> | |
70 | |
71 </list> | |
72 </para> | |
73 | |
74 <para> | |
75 Core: | |
76 <list type="bullet"> | |
77 | |
78 <listitem> | |
79 <para> | |
80 Feature: | |
81 added script arguments support in CLI. | |
82 </para> | |
83 </listitem> | |
84 | |
85 <listitem> | |
86 <para> | |
87 Feature: | |
88 converting externals values to native js objects. | |
89 </para> | |
90 </listitem> | |
91 | |
92 <listitem> | |
93 <para> | |
94 Bugfix: | |
95 fixed NULL-pointer dereference | |
96 in <literal>__proto__</literal> property handler. | |
97 </para> | |
98 </listitem> | |
99 | |
100 <listitem> | |
101 <para> | |
102 Bugfix: | |
103 fixed handling of no-newline at the end of the script. | |
104 </para> | |
105 </listitem> | |
106 | |
107 <listitem> | |
108 <para> | |
109 Bugfix: | |
110 fixed <literal>RegExp()</literal> constructor | |
111 with empty pattern and non-empty flags. | |
112 </para> | |
113 </listitem> | |
114 | |
115 <listitem> | |
116 <para> | |
117 Bugfix: | |
118 fixed | |
119 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
120 when function returns non-string. | |
121 </para> | |
122 </listitem> | |
123 | |
124 <listitem> | |
125 <para> | |
126 Bugfix: | |
127 fixed reading of pseudofiles in | |
128 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>. | |
129 </para> | |
130 </listitem> | |
131 | |
132 </list> | |
133 </para> | |
134 | |
135 </section> | |
136 | |
137 | |
2507 | 138 <section id="njs0.3.9" name="Changes with njs 0.3.9"> |
139 | |
140 <para> | |
141 Release Date: | |
142 03 March 2020 | |
143 </para> | |
144 | |
145 <para> | |
146 nginx modules: | |
147 <list type="bullet"> | |
148 | |
149 <listitem> | |
150 <para> | |
151 Feature: | |
152 added detached mode for | |
153 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
154 Responses to detached subrequests are ignored. | |
155 Unlike ordinary subrequests, | |
156 a detached subrequest can be created inside a variable handler. | |
157 </para> | |
158 </listitem> | |
159 | |
160 </list> | |
161 </para> | |
162 | |
163 <para> | |
164 Core: | |
165 <list type="bullet"> | |
166 | |
167 <listitem> | |
168 <para> | |
169 Feature: | |
170 added <literal>promises</literal> API for | |
171 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
172 Thanks to Artem S. Povalyukhin. | |
173 </para> | |
174 </listitem> | |
175 | |
176 <listitem> | |
177 <para> | |
178 Feature: | |
179 extended <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
180 module. | |
181 Added | |
182 <link doc="reference.xml" id="fs_accesssync"><literal>access()</literal></link>, | |
183 <link doc="reference.xml" id="fs_symlinksync"><literal>symlink()</literal></link>, | |
184 <link doc="reference.xml" id="fs_unlinksync"><literal>unlink()</literal></link>, | |
185 <link doc="reference.xml" id="fs_realpathsync"><literal>realpath()</literal></link>, | |
186 and friends. | |
187 Thanks to Artem S. Povalyukhin. | |
188 </para> | |
189 </listitem> | |
190 | |
191 <listitem> | |
192 <para> | |
193 Improvement: | |
194 introduced memory-efficient ordinary arrays. | |
195 </para> | |
196 </listitem> | |
197 | |
198 <listitem> | |
199 <para> | |
200 Improvement: | |
201 lexer refactoring. | |
202 </para> | |
203 </listitem> | |
204 | |
205 <listitem> | |
206 <para> | |
207 Bugfix: | |
208 fixed matching of native functions in backtraces. | |
209 </para> | |
210 </listitem> | |
211 | |
212 <listitem> | |
213 <para> | |
214 Bugfix: | |
215 fixed callback invocations in | |
216 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
217 Thanks to Artem S. Povalyukhin. | |
218 </para> | |
219 </listitem> | |
220 | |
221 <listitem> | |
222 <para> | |
223 Bugfix: | |
224 fixed <literal>Object.getOwnPropertySymbols()</literal>. | |
225 </para> | |
226 </listitem> | |
227 | |
228 <listitem> | |
229 <para> | |
230 Bugfix: | |
231 fixed heap-buffer-overflow in | |
232 <literal>njs_json_append_string()</literal>. | |
233 </para> | |
234 </listitem> | |
235 | |
236 <listitem> | |
237 <para> | |
238 Bugfix: | |
239 fixed | |
240 <link doc="reference.xml" id="encodeuri"><literal>encodeURI()</literal></link> | |
241 and | |
242 <link doc="reference.xml" id="decodeuri"><literal>decodeURI()</literal></link> | |
243 according to the specification. | |
244 </para> | |
245 </listitem> | |
246 | |
247 <listitem> | |
248 <para> | |
249 Bugfix: | |
250 fixed <literal>Number.prototype.toPrecision()</literal>. | |
251 </para> | |
252 </listitem> | |
253 | |
254 <listitem> | |
255 <para> | |
256 Bugfix: | |
257 fixed handling of space argument in | |
258 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>. | |
259 </para> | |
260 </listitem> | |
261 | |
262 <listitem> | |
263 <para> | |
264 Bugfix: | |
265 fixed | |
266 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> | |
267 with | |
268 <literal>Number()</literal> and | |
269 <literal>String()</literal> | |
270 objects. | |
271 </para> | |
272 </listitem> | |
273 | |
274 <listitem> | |
275 <para> | |
276 Bugfix: | |
277 fixed Unicode Escaping in | |
278 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> | |
279 according to specification. | |
280 </para> | |
281 </listitem> | |
282 | |
283 <listitem> | |
284 <para> | |
285 Bugfix: | |
286 fixed non-native module importing. | |
287 Thanks to 洪志道 (Hong Zhi Dao). | |
288 </para> | |
289 </listitem> | |
290 | |
291 <listitem> | |
292 <para> | |
293 Bugfix: | |
294 fixed | |
295 <literal>njs.dump()</literal> with the | |
296 <literal>Date()</literal> | |
297 instance in a container. | |
298 </para> | |
299 </listitem> | |
300 | |
301 </list> | |
302 </para> | |
303 | |
304 </section> | |
305 | |
306 | |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
307 <section id="njs0.3.8" name="Changes with njs 0.3.8"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
308 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
309 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
310 Release Date: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
311 21 January 2020 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
312 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
313 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
314 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
315 nginx modules: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
316 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
317 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
318 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
319 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
320 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
321 added <literal>Promise</literal> support for |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
322 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
323 If a callback is not provided, |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
324 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
325 returns an ordinary |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
326 <literal>Promise</literal> object |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
327 that resolves to a subrequest response object. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
328 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
329 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
330 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
331 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
332 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
333 Change: |
2514
da5355b68ddd
Removed brackets from r.parent in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2510
diff
changeset
|
334 <link doc="reference.xml" id="r_parent"><literal>r.parent</literal></link> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
335 property handler now returns |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
336 <literal>undefined</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
337 instead of throwing an exception if a parent object is not available. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
338 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
339 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
340 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
341 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
342 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
343 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
344 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
345 Core: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
346 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
347 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
348 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
349 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
350 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
351 added <literal>Promise</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
352 Implemented according to the specification without: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
353 <literal>Promise.all()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
354 <literal>Promise.allSettled()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
355 <literal>Promise.race()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
356 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
357 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
358 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
359 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
360 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
361 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
362 added initial Typed-arrays support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
363 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
364 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
365 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
366 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
367 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
368 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
369 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
370 added <literal>ArrayBuffer</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
371 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
372 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
373 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
374 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
375 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
376 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
377 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
378 added initial <literal>Symbol</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
379 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
380 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
381 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
382 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
383 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
384 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
385 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
386 added externals support for |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
387 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
388 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
389 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
390 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
391 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
392 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
393 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
394 added <literal>Object.is()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
395 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
396 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
397 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
398 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
399 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
400 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
401 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
402 added <literal>Object.setPrototypeOf()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
403 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
404 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
405 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
406 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
407 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
408 <para> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
409 Feature: |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
410 introduced nullish coalescing operator. |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
411 </para> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
412 </listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
413 |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
414 <listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
415 <para> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
416 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
417 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
418 <literal>Object.getPrototypeOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
419 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
420 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
421 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
422 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
423 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
424 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
425 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
426 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
427 <literal>Object.prototype.valueOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
428 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
429 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
430 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
431 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
432 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
433 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
434 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
435 fixed |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
436 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
437 with unprintable values and replacer function. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
438 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
439 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
440 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
441 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
442 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
443 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
444 fixed operator <literal>in</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
445 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
446 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
447 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
448 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
449 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
450 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
451 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
452 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
453 <literal>Object.defineProperties()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
454 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
455 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
456 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
457 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
458 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
459 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
460 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
461 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
462 <literal>Object.create()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
463 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
464 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
465 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
466 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
467 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
468 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
469 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
470 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
471 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
472 <literal>Number.prototype.toString(radix)</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
473 when fast-math is enabled. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
474 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
475 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
476 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
477 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
478 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
479 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
480 fixed <literal>RegExp()</literal> instance properties. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
481 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
482 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
483 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
484 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
485 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
486 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
487 fixed import segfault. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
488 Thanks to 洪志道 (Hong Zhi Dao). |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
489 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
490 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
491 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
492 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
493 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
494 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
495 </section> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
496 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
497 |
2466 | 498 <section id="njs0.3.7" name="Changes with njs 0.3.7"> |
499 | |
500 <para> | |
501 Release Date: | |
502 19 November 2019 | |
503 </para> | |
504 | |
505 <para> | |
506 nginx modules: | |
507 <list type="bullet"> | |
508 | |
509 <listitem> | |
510 <para> | |
511 Improvement: | |
512 refactored iteration over external objects. | |
513 </para> | |
514 </listitem> | |
515 | |
516 </list> | |
517 </para> | |
518 | |
519 <para> | |
520 Core: | |
521 <list type="bullet"> | |
522 | |
523 <listitem> | |
524 <para> | |
525 Feature: | |
526 added <literal>Object.assign()</literal>. | |
527 </para> | |
528 </listitem> | |
529 | |
530 <listitem> | |
531 <para> | |
532 Feature: | |
533 added <literal>Array.prototype.copyWithin()</literal>. | |
534 </para> | |
535 </listitem> | |
536 | |
537 <listitem> | |
538 <para> | |
539 Feature: | |
540 added support for labels in <literal>console.time()</literal>. | |
541 </para> | |
542 </listitem> | |
543 | |
544 <listitem> | |
545 <para> | |
546 Change: | |
547 removed <literal>console.help()</literal> from CLI. | |
548 </para> | |
549 </listitem> | |
550 | |
551 <listitem> | |
552 <para> | |
553 Improvement: | |
554 moved constructors and top-level objects to global object. | |
555 </para> | |
556 </listitem> | |
557 | |
558 <listitem> | |
559 <para> | |
560 Improvement: | |
561 arguments validation for configure script. | |
562 </para> | |
563 </listitem> | |
564 | |
565 <listitem> | |
566 <para> | |
567 Improvement: | |
568 refactored JSON methods. | |
569 </para> | |
570 </listitem> | |
571 | |
572 <listitem> | |
573 <para> | |
574 Bugfix: | |
575 fixed heap-buffer-overflow in | |
576 <literal>njs_array_reverse_iterator()</literal> function. | |
577 The following functions were affected: | |
578 <literal>Array.prototype.lastIndexOf()</literal>, | |
579 <literal>Array.prototype.reduceRight()</literal>. | |
580 </para> | |
581 </listitem> | |
582 | |
583 <listitem> | |
584 <para> | |
585 Bugfix: | |
586 fixed | |
587 <literal>[[Prototype]]</literal> slot of <literal>NativeErrors</literal>. | |
588 </para> | |
589 </listitem> | |
590 | |
591 <listitem> | |
592 <para> | |
593 Bugfix: | |
594 fixed | |
595 <literal>NativeError.prototype.message</literal> properties. | |
596 </para> | |
597 </listitem> | |
598 | |
599 <listitem> | |
600 <para> | |
601 Bugfix: | |
602 added conversion of | |
603 <literal>this</literal> value to object in | |
604 <literal>Array.prototype functions</literal>. | |
605 </para> | |
606 </listitem> | |
607 | |
608 <listitem> | |
609 <para> | |
610 Bugfix: | |
611 fixed iterator for | |
612 <literal>Array.prototype.find()</literal> and | |
613 <literal>Array.prototype.findIndex()</literal> | |
614 functions. | |
615 </para> | |
616 </listitem> | |
617 | |
618 <listitem> | |
619 <para> | |
620 Bugfix: | |
621 fixed | |
622 <literal>Array.prototype.includes()</literal> and | |
623 <literal>Array.prototype.join()</literal> with | |
624 <literal>undefined</literal> argument. | |
625 </para> | |
626 </listitem> | |
627 | |
628 <listitem> | |
629 <para> | |
630 Bugfix: | |
631 fixed <literal>constructor</literal> property of | |
632 <literal>Hash</literal> and | |
633 <literal>Hmac</literal> | |
634 objects. | |
635 </para> | |
636 </listitem> | |
637 | |
638 <listitem> | |
639 <para> | |
640 Bugfix: | |
641 fixed <literal>__proto__</literal> property of getters and setters. | |
642 </para> | |
643 </listitem> | |
644 | |
645 <listitem> | |
646 <para> | |
647 Bugfix: | |
648 fixed <literal>Date</literal> object string formatting. | |
649 </para> | |
650 </listitem> | |
651 | |
652 <listitem> | |
653 <para> | |
654 Bugfix: | |
655 fixed handling of | |
656 <literal>NaN</literal> and <literal>-0</literal> arguments in | |
657 <literal>Math.min()</literal> and | |
658 <literal>Math.max()</literal>. | |
659 </para> | |
660 </listitem> | |
661 | |
662 <listitem> | |
663 <para> | |
664 Bugfix: | |
665 fixed <literal>Math.round()</literal> | |
666 according to the specification. | |
667 </para> | |
668 </listitem> | |
669 | |
670 <listitem> | |
671 <para> | |
672 Bugfix: | |
673 reimplemented <literal>bound</literal> functions | |
674 according to the specification. | |
675 </para> | |
676 </listitem> | |
677 | |
678 </list> | |
679 </para> | |
680 | |
681 </section> | |
682 | |
683 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
684 <section id="njs0.3.6" name="Changes with njs 0.3.6"> |
2446 | 685 |
686 <para> | |
687 Release Date: | |
688 22 October 2019 | |
689 </para> | |
690 | |
691 <para> | |
692 nginx modules: | |
693 <list type="bullet"> | |
694 | |
695 <listitem> | |
696 <para> | |
697 Improvement: | |
698 getting special headers from | |
699 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
700 </para> | |
701 </listitem> | |
702 | |
703 </list> | |
704 </para> | |
705 | |
706 <para> | |
707 Core: | |
708 <list type="bullet"> | |
709 | |
710 <listitem> | |
711 <para> | |
712 Feature: | |
713 added new <literal>Function()</literal> support. | |
714 </para> | |
715 </listitem> | |
716 | |
717 <listitem> | |
718 <para> | |
719 Feature: | |
720 added <literal>Number.prototype.toFixed()</literal>. | |
721 </para> | |
722 </listitem> | |
723 | |
724 <listitem> | |
725 <para> | |
726 Feature: | |
727 added <literal>Number.prototype.toPrecision()</literal>. | |
728 </para> | |
729 </listitem> | |
730 | |
731 <listitem> | |
732 <para> | |
733 Feature: | |
734 added <literal>Number.prototype.toExponential()</literal>. | |
735 </para> | |
736 </listitem> | |
737 | |
738 <listitem> | |
739 <para> | |
740 Improvement: | |
741 making <literal>prototype</literal> property of function instances writable. | |
742 </para> | |
743 </listitem> | |
744 | |
745 <listitem> | |
746 <para> | |
747 Improvement: | |
748 limiting recursion depth while compiling. | |
749 </para> | |
750 </listitem> | |
751 | |
752 <listitem> | |
753 <para> | |
754 Improvement: | |
755 moving global functions to the global object. | |
756 </para> | |
757 </listitem> | |
758 | |
759 <listitem> | |
760 <para> | |
761 Bugfix: | |
762 fixed prototype mutation for object literals. | |
763 </para> | |
764 </listitem> | |
765 | |
766 <listitem> | |
767 <para> | |
768 Bugfix: | |
769 fixed heap-buffer-overflow while parsing regexp literals. | |
770 </para> | |
771 </listitem> | |
772 | |
773 <listitem> | |
774 <para> | |
775 Bugfix: | |
776 fixed integer-overflow while parsing exponent of number literals. | |
777 </para> | |
778 </listitem> | |
779 | |
780 <listitem> | |
781 <para> | |
782 Bugfix: | |
783 fixed <literal>parseFloat()</literal>. | |
784 </para> | |
785 </listitem> | |
786 | |
787 <listitem> | |
788 <para> | |
789 Bugfix: | |
790 fixed <literal>Array.prototype</literal> functions | |
791 according to the specification. | |
792 The following functions were fixed: | |
793 <literal>every</literal>, | |
794 <literal>includes</literal>, | |
795 <literal>indexOf</literal>, | |
796 <literal>filter</literal>, | |
797 <literal>find</literal>, | |
798 <literal>findIndex</literal>, | |
799 <literal>forEach</literal>, | |
800 <literal>lastIndexOf</literal>, | |
801 <literal>map</literal>, | |
802 <literal>pop</literal>, | |
803 <literal>push</literal>, | |
804 <literal>reduce</literal>, | |
805 <literal>reduceRight</literal>, | |
806 <literal>shift</literal>, | |
807 <literal>some</literal>, | |
808 <literal>unshift</literal>. | |
809 </para> | |
810 </listitem> | |
811 | |
812 <listitem> | |
813 <para> | |
814 Bugfix: | |
815 fixed handing of accessor descriptors in <literal>Object.freeze()</literal>. | |
816 </para> | |
817 </listitem> | |
818 | |
819 <listitem> | |
820 <para> | |
821 Bugfix: | |
822 fixed | |
823 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
824 when first argument is not a string. | |
825 </para> | |
826 </listitem> | |
827 | |
828 <listitem> | |
829 <para> | |
830 Bugfix: | |
831 fixed stack-use-after-scope in <literal>Array.prototype.map()</literal>. | |
832 </para> | |
833 </listitem> | |
834 | |
835 <listitem> | |
836 <para> | |
837 Bugfix: | |
838 <literal>Date.prototype.toUTCString()</literal> | |
839 format was aligned to ES9. | |
840 </para> | |
841 </listitem> | |
842 | |
843 <listitem> | |
844 <para> | |
845 Bugfix: | |
846 fixed buffer overflow in | |
847 <literal>Number.prototype.toString(radix)</literal>. | |
848 </para> | |
849 </listitem> | |
850 | |
851 <listitem> | |
852 <para> | |
853 Bugfix: | |
854 fixed | |
855 <literal>Regexp.prototype.test()</literal> | |
856 for regexps with backreferences. | |
857 </para> | |
858 </listitem> | |
859 | |
860 <listitem> | |
861 <para> | |
862 Bugfix: | |
863 fixed | |
864 <literal>Array.prototype.map()</literal> | |
865 for objects with nonexistent values. | |
866 </para> | |
867 </listitem> | |
868 | |
869 <listitem> | |
870 <para> | |
871 Bugfix: | |
872 fixed | |
873 <literal>Array.prototype.pop()</literal> and | |
874 <literal>shift()</literal> for sparse objects. | |
875 </para> | |
876 </listitem> | |
877 | |
878 <listitem> | |
879 <para> | |
880 Bugfix: | |
881 fixed <literal>Date.UTC()</literal> according to the specification. | |
882 </para> | |
883 </listitem> | |
884 | |
885 <listitem> | |
886 <para> | |
887 Bugfix: | |
888 fixed <literal>Date()</literal> constructor according to the specification. | |
889 </para> | |
890 </listitem> | |
891 | |
892 <listitem> | |
893 <para> | |
894 Bugfix: | |
895 fixed type of <literal>Date.prototype</literal>. | |
896 Thanks to Artem S. Povalyukhin. | |
897 </para> | |
898 </listitem> | |
899 | |
900 <listitem> | |
901 <para> | |
902 Bugfix: | |
903 fixed <literal>Date.prototype.setTime()</literal>. | |
904 Thanks to Artem S. Povalyukhin. | |
905 </para> | |
906 </listitem> | |
907 | |
908 <listitem> | |
909 <para> | |
910 Bugfix: | |
911 fixed default number of arguments expected by built-in functions. | |
912 </para> | |
913 </listitem> | |
914 | |
915 <listitem> | |
916 <para> | |
917 Bugfix: | |
918 fixed <literal>caller</literal> and <literal>arguments</literal> | |
919 properties of a function instance. | |
920 Thanks to Artem S. Povalyukhin. | |
921 </para> | |
922 </listitem> | |
923 | |
924 </list> | |
925 </para> | |
926 | |
927 </section> | |
928 | |
929 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
930 <section id="njs0.3.5" name="Changes with njs 0.3.5"> |
2420 | 931 |
932 <para> | |
933 Release Date: | |
934 15 August 2019 | |
935 </para> | |
936 | |
937 <para> | |
938 Core: | |
939 <list type="bullet"> | |
940 | |
941 <listitem> | |
942 <para> | |
943 Bugfix: | |
944 fixed module importing using <literal>require()</literal>. | |
945 The bug was introduced in <link id="0.3.4"/>. | |
946 </para> | |
947 </listitem> | |
948 | |
949 <listitem> | |
950 <para> | |
951 Bugfix: | |
952 fixed <literal>[[SetPrototypeOf]]</literal>. | |
953 </para> | |
954 </listitem> | |
955 | |
956 </list> | |
957 </para> | |
958 | |
959 </section> | |
960 | |
961 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
962 <section id="njs0.3.4" name="Changes with njs 0.3.4"> |
2414 | 963 |
964 <para> | |
965 Release Date: | |
966 13 August 2019 | |
967 </para> | |
968 | |
969 <para> | |
970 Core: | |
971 <list type="bullet"> | |
972 | |
973 <listitem> | |
974 <para> | |
975 Feature: | |
976 added <literal>Object</literal> shorthand methods and computed property names. | |
977 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
978 </para> | |
979 </listitem> | |
980 | |
981 <listitem> | |
982 <para> | |
983 Feature: | |
984 added getter/setter literal support. | |
985 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
986 </para> | |
987 </listitem> | |
988 | |
989 <listitem> | |
990 <para> | |
991 Feature: | |
992 added | |
2507 | 993 <link doc="reference.xml" id="fs_renamesync"><literal>fs.renameSync()</literal></link>. |
2414 | 994 </para> |
995 </listitem> | |
996 | |
997 <listitem> | |
998 <para> | |
999 Feature: | |
1000 added | |
1001 <link doc="reference.xml" id="string_trimend"><literal>String.prototype.trimEnd()</literal></link> | |
1002 and | |
1003 <link doc="reference.xml" id="string_trimstart"><literal>String.prototype.trimStart()</literal></link>. | |
1004 </para> | |
1005 </listitem> | |
1006 | |
1007 <listitem> | |
1008 <para> | |
1009 Improvement: | |
1010 added memory-sanitizer support. | |
1011 </para> | |
1012 </listitem> | |
1013 | |
1014 <listitem> | |
1015 <para> | |
1016 Improvement: | |
1017 Unicode case tables updated to version 12.1. | |
1018 </para> | |
1019 </listitem> | |
1020 | |
1021 <listitem> | |
1022 <para> | |
1023 Improvement: | |
1024 added UTF8 validation for string literals. | |
1025 </para> | |
1026 </listitem> | |
1027 | |
1028 <listitem> | |
1029 <para> | |
1030 Bugfix: | |
1031 fixed reading files with zero size in | |
1032 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
1033 </para> | |
1034 </listitem> | |
1035 | |
1036 <listitem> | |
1037 <para> | |
1038 Bugfix: | |
1039 extended the list of space separators in | |
1040 <link doc="reference.xml" id="string_trim"><literal>String.prototype.trim()</literal></link>. | |
1041 </para> | |
1042 </listitem> | |
1043 | |
1044 <listitem> | |
1045 <para> | |
1046 Bugfix: | |
1047 fixed using of uninitialized value in | |
1048 <link doc="reference.xml" id="string_padstart"><literal>String.prototype.padStart()</literal></link>. | |
1049 </para> | |
1050 </listitem> | |
1051 | |
1052 <listitem> | |
1053 <para> | |
1054 Bugfix: | |
1055 fixed | |
1056 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> for <literal>$0</literal> and <literal>$&</literal> replacement string. | |
1057 </para> | |
1058 </listitem> | |
1059 | |
1060 <listitem> | |
1061 <para> | |
1062 Bugfix: | |
1063 fixed | |
1064 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
1065 for byte strings with regex argument. | |
1066 </para> | |
1067 </listitem> | |
1068 | |
1069 <listitem> | |
1070 <para> | |
1071 Bugfix: | |
1072 fixed global match in | |
1073 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
1074 with regexp argument. | |
1075 </para> | |
1076 </listitem> | |
1077 | |
1078 <listitem> | |
1079 <para> | |
1080 Bugfix: | |
1081 fixed | |
1082 <literal>Array.prototype.slice()</literal> | |
1083 for primitive types. | |
1084 </para> | |
1085 </listitem> | |
1086 | |
1087 <listitem> | |
1088 <para> | |
1089 Bugfix: | |
1090 fixed heap-buffer-overflow while importing module. | |
1091 </para> | |
1092 </listitem> | |
1093 | |
1094 <listitem> | |
1095 <para> | |
1096 Bugfix: | |
1097 fixed UTF-8 character escaping. | |
1098 </para> | |
1099 </listitem> | |
1100 | |
1101 <listitem> | |
1102 <para> | |
1103 Bugfix: | |
1104 fixed | |
1105 <link doc="reference.xml" id="object_values"><literal>Object.values()</literal></link> | |
1106 and | |
1107 <link doc="reference.xml" id="object_entries"><literal>Object.entries()</literal></link> | |
1108 for shared objects. | |
1109 </para> | |
1110 </listitem> | |
1111 | |
1112 <listitem> | |
1113 <para> | |
1114 Bugfix: | |
1115 fixed uninitialized memory access in | |
1116 <link doc="reference.xml" id="string_match"><literal>String.prototype.match()</literal></link>. | |
1117 </para> | |
1118 </listitem> | |
1119 | |
1120 <listitem> | |
1121 <para> | |
1122 Bugfix: | |
1123 fixed | |
1124 <link doc="reference.xml" id="string_match"><literal>String.prototype.match()</literal></link> | |
1125 for byte strings with regex argument. | |
1126 </para> | |
1127 </listitem> | |
1128 | |
1129 <listitem> | |
1130 <para> | |
1131 Bugfix: | |
1132 fixed | |
1133 <literal>Array.prototype.lastIndexOf()</literal> | |
1134 with undefined arguments. | |
1135 </para> | |
1136 </listitem> | |
1137 | |
1138 <listitem> | |
1139 <para> | |
1140 Bugfix: | |
1141 fixed | |
1142 <link doc="reference.xml" id="string_substring"><literal>String.prototype.substring()</literal></link> | |
1143 with empty substring. | |
1144 </para> | |
1145 </listitem> | |
1146 | |
1147 <listitem> | |
1148 <para> | |
1149 Bugfix: | |
1150 fixed invalid memory access in | |
1151 <link doc="reference.xml" id="string_substring"><literal>String.prototype.substring()</literal></link>. | |
1152 </para> | |
1153 </listitem> | |
1154 | |
1155 <listitem> | |
1156 <para> | |
1157 Bugfix: | |
1158 fixed | |
1159 <link doc="reference.xml" id="string_fromcharcode"><literal>String.fromCharCode()</literal></link> | |
1160 for code points more than <literal>65535</literal> and <literal>NaN</literal>. | |
1161 </para> | |
1162 </listitem> | |
1163 | |
1164 <listitem> | |
1165 <para> | |
1166 Bugfix: | |
1167 fixed | |
1168 <link doc="reference.xml" id="string_tolowercase"><literal>String.prototype.toLowerCase()</literal></link> | |
1169 and | |
1170 <link doc="reference.xml" id="string_touppercase"><literal>String.prototype.toUpperCase()</literal></link>. | |
1171 </para> | |
1172 </listitem> | |
1173 | |
1174 <listitem> | |
1175 <para> | |
1176 Bugfix: | |
1177 fixed <literal>Error()</literal> constructor with no arguments. | |
1178 </para> | |
1179 </listitem> | |
1180 | |
1181 <listitem> | |
1182 <para> | |
1183 Bugfix: | |
1184 fixed <literal>in</literal> operator for values with accessor descriptors. | |
1185 </para> | |
1186 </listitem> | |
1187 | |
1188 <listitem> | |
1189 <para> | |
1190 Bugfix: | |
1191 fixed | |
1192 <literal>Object.defineProperty()</literal> | |
1193 for non-boolean descriptor props. | |
1194 </para> | |
1195 </listitem> | |
1196 | |
1197 <listitem> | |
1198 <para> | |
1199 Bugfix: | |
1200 fixed | |
1201 <literal>Error.prototype.toString()</literal> | |
1202 with UTF8 string properties. | |
1203 </para> | |
1204 </listitem> | |
1205 | |
1206 <listitem> | |
1207 <para> | |
1208 Bugfix: | |
1209 fixed | |
1210 <literal>Error.prototype.toString()</literal> | |
1211 with non-string values for <literal>name</literal> and <literal>message</literal>. | |
1212 </para> | |
1213 </listitem> | |
1214 | |
1215 </list> | |
1216 </para> | |
1217 | |
1218 </section> | |
1219 | |
1220 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1221 <section id="njs0.3.3" name="Changes with njs 0.3.3"> |
2402 | 1222 |
1223 <para> | |
1224 Release Date: | |
1225 25 June 2019 | |
1226 </para> | |
1227 | |
1228 <para> | |
1229 nginx modules: | |
1230 <list type="bullet"> | |
1231 | |
1232 <listitem> | |
1233 <para> | |
1234 Improvement: | |
1235 getting of special response headers in | |
1236 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
1237 </para> | |
1238 </listitem> | |
1239 | |
1240 <listitem> | |
1241 <para> | |
1242 Improvement: | |
1243 working with unknown methods in | |
1244 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
1245 </para> | |
1246 </listitem> | |
1247 | |
1248 <listitem> | |
1249 <para> | |
1250 Improvement: | |
1251 added support for null as a second argument of | |
1252 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
1253 </para> | |
1254 </listitem> | |
1255 | |
1256 <listitem> | |
1257 <para> | |
1258 Bugfix: | |
1259 fixed processing empty output chain in stream body filter. | |
1260 </para> | |
1261 </listitem> | |
1262 | |
1263 </list> | |
1264 </para> | |
1265 | |
1266 <para> | |
1267 Core: | |
1268 <list type="bullet"> | |
1269 | |
1270 <listitem> | |
1271 <para> | |
1272 Feature: | |
1273 added runtime support for property getter/setter. | |
1274 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1275 </para> | |
1276 </listitem> | |
1277 | |
1278 <listitem> | |
1279 <para> | |
1280 Feature: | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
1281 added |
2414 | 1282 <link doc="reference.xml" id="process"><literal>process</literal></link> |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
1283 global object. |
2402 | 1284 </para> |
1285 </listitem> | |
1286 | |
1287 <listitem> | |
1288 <para> | |
1289 Feature: | |
1290 writable most of built-in properties and methods. | |
1291 </para> | |
1292 </listitem> | |
1293 | |
1294 <listitem> | |
1295 <para> | |
1296 Feature: | |
1297 added generic implementation of | |
1298 <literal>Array.prototype.fill()</literal>. | |
1299 </para> | |
1300 </listitem> | |
1301 | |
1302 <listitem> | |
1303 <para> | |
1304 Bugfix: | |
1305 fixed integer-overflow in | |
1306 <link doc="reference.xml" id="string_concat"><literal>String.prototype.concat()</literal></link>. | |
1307 </para> | |
1308 </listitem> | |
1309 | |
1310 <listitem> | |
1311 <para> | |
1312 Bugfix: | |
1313 fixed setting of object properties. | |
1314 </para> | |
1315 </listitem> | |
1316 | |
1317 <listitem> | |
1318 <para> | |
1319 Bugfix: | |
1320 fixed | |
1321 <literal>Array.prototype.toString()</literal>. | |
1322 </para> | |
1323 </listitem> | |
1324 | |
1325 <listitem> | |
1326 <para> | |
1327 Bugfix: | |
1328 fixed | |
1329 <literal>Date.prototype.toJSON()</literal>. | |
1330 </para> | |
1331 </listitem> | |
1332 | |
1333 <listitem> | |
1334 <para> | |
1335 Bugfix: | |
1336 fixed overwriting “constructor” property of built-in prototypes. | |
1337 </para> | |
1338 </listitem> | |
1339 | |
1340 <listitem> | |
1341 <para> | |
1342 Bugfix: | |
1343 fixed processing of invalid surrogate pairs in strings. | |
1344 </para> | |
1345 </listitem> | |
1346 | |
1347 <listitem> | |
1348 <para> | |
1349 Bugfix: | |
1350 fixed processing of invalid surrogate pairs in JSON strings. | |
1351 </para> | |
1352 </listitem> | |
1353 | |
1354 <listitem> | |
1355 <para> | |
1356 Bugfix: | |
1357 fixed heap-buffer-overflow in | |
1358 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase()</literal></link> | |
1359 and | |
1360 <link doc="reference.xml" id="string_touppercase"><literal>toLowerCase()</literal></link>. | |
1361 </para> | |
1362 </listitem> | |
1363 | |
1364 <listitem> | |
1365 <para> | |
1366 Bugfix: | |
1367 fixed escaping lone closing square brackets in | |
1368 <literal>RegExp()</literal> constructor. | |
1369 </para> | |
1370 </listitem> | |
1371 | |
1372 <listitem> | |
1373 <para> | |
1374 Bugfix: | |
1375 fixed handling zero byte characters inside RegExp pattern strings. | |
1376 </para> | |
1377 </listitem> | |
1378 | |
1379 <listitem> | |
1380 <para> | |
1381 Bugfix: | |
1382 fixed | |
1383 <link doc="reference.xml" id="string_tobytes"><literal>String.prototype.toBytes()</literal></link> | |
1384 for ASCII strings. | |
1385 </para> | |
1386 </listitem> | |
1387 | |
1388 <listitem> | |
1389 <para> | |
1390 Bugfix: | |
1391 fixed truth value of JSON numbers in | |
1392 <link doc="reference.xml" id="core_json_parse"><literal>JSON.parse()</literal></link>. | |
1393 </para> | |
1394 </listitem> | |
1395 | |
1396 <listitem> | |
1397 <para> | |
1398 Bugfix: | |
1399 fixed use-of-uninitialized-value in | |
1400 <literal>njs_string_replace_join()</literal>. | |
1401 </para> | |
1402 </listitem> | |
1403 | |
1404 <listitem> | |
1405 <para> | |
1406 Bugfix: | |
1407 fixed <literal>parseInt('-0')</literal>. | |
1408 Thanks to Artem S. Povalyukhin. | |
1409 </para> | |
1410 </listitem> | |
1411 | |
1412 </list> | |
1413 </para> | |
1414 | |
1415 </section> | |
1416 | |
1417 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1418 <section id="njs0.3.2" name="Changes with njs 0.3.2"> |
2387 | 1419 |
1420 <para> | |
1421 Release Date: | |
1422 21 May 2019 | |
1423 </para> | |
1424 | |
1425 <para> | |
1426 Core: | |
1427 <list type="bullet"> | |
1428 | |
1429 <listitem> | |
1430 <para> | |
1431 Feature: | |
1432 added support for template literals. | |
1433 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1434 </para> | |
1435 </listitem> | |
1436 | |
1437 <listitem> | |
1438 <para> | |
1439 Feature: | |
1440 executing command from command line arguments. | |
1441 </para> | |
1442 </listitem> | |
1443 | |
1444 <listitem> | |
1445 <para> | |
1446 Feature: | |
1447 added support for RegExp <literal>groups</literal> object (ES9). | |
1448 </para> | |
1449 </listitem> | |
1450 | |
1451 <listitem> | |
1452 <para> | |
1453 Feature: | |
1454 added block scoped function definitions support. | |
1455 </para> | |
1456 </listitem> | |
1457 | |
1458 <listitem> | |
1459 <para> | |
1460 Feature: | |
1461 added support for building with GNU Readline library. | |
1462 </para> | |
1463 </listitem> | |
1464 | |
1465 <listitem> | |
1466 <para> | |
1467 Feature: | |
1468 made configurable | |
1469 <literal>length</literal>, | |
1470 <literal>name</literal>, | |
1471 and most of built-in methods. | |
1472 </para> | |
1473 </listitem> | |
1474 | |
1475 <listitem> | |
1476 <para> | |
1477 Feature: | |
1478 made all constructor properties configurable. | |
1479 </para> | |
1480 </listitem> | |
1481 | |
1482 <listitem> | |
1483 <para> | |
1484 Bugfix: | |
1485 fixed <literal>Regexp.prototype.exec()</literal> for Unicode-only regexps. | |
1486 </para> | |
1487 </listitem> | |
1488 | |
1489 <listitem> | |
1490 <para> | |
1491 Bugfix: | |
1492 fixed <literal>njs_vm_value_dump()</literal> for empty string values. | |
1493 </para> | |
1494 </listitem> | |
1495 | |
1496 <listitem> | |
1497 <para> | |
1498 Bugfix: | |
1499 fixed RegExp constructor for regexp value arguments. | |
1500 </para> | |
1501 </listitem> | |
1502 | |
1503 <listitem> | |
1504 <para> | |
1505 Bugfix: | |
1506 fixed walking over prototypes chain during iteration over an object. | |
1507 </para> | |
1508 </listitem> | |
1509 | |
1510 <listitem> | |
1511 <para> | |
1512 Bugfix: | |
1513 fixed overflow in <literal>Array.prototype.concat()</literal>. | |
1514 </para> | |
1515 </listitem> | |
1516 | |
1517 <listitem> | |
1518 <para> | |
1519 Bugfix: | |
1520 fixed length calculation for UTF-8 string with escape characters. | |
1521 </para> | |
1522 </listitem> | |
1523 | |
1524 <listitem> | |
1525 <para> | |
1526 Bugfix: | |
1527 fixed parsing surrogate pair presents as UTF-16 escape sequences. | |
1528 </para> | |
1529 </listitem> | |
1530 | |
1531 <listitem> | |
1532 <para> | |
1533 Bugfix: | |
1534 fixed processing the “*” quantifier for | |
1535 <literal>String.prototype.match()</literal>. | |
1536 </para> | |
1537 </listitem> | |
1538 | |
1539 <listitem> | |
1540 <para> | |
1541 Bugfix: | |
1542 fixed <literal>Date()</literal> constructor with one argument. | |
1543 </para> | |
1544 </listitem> | |
1545 | |
1546 <listitem> | |
1547 <para> | |
1548 Bugfix: | |
1549 fixed arrays expansion. | |
1550 </para> | |
1551 </listitem> | |
1552 | |
1553 <listitem> | |
1554 <para> | |
1555 Bugfix: | |
1556 fixed heap-buffer-overflow in | |
1557 <literal>String.prototype.replace()</literal>. | |
1558 </para> | |
1559 </listitem> | |
1560 | |
1561 <listitem> | |
1562 <para> | |
1563 Bugfix: | |
1564 fixed heap-buffer-overflow in | |
1565 <literal>String.prototype.lastIndexOf()</literal>. | |
1566 </para> | |
1567 </listitem> | |
1568 | |
1569 <listitem> | |
1570 <para> | |
1571 Bugfix: | |
1572 fixed regexp literals parsing with escaped backslash | |
1573 and backslash in square brackets. | |
1574 </para> | |
1575 </listitem> | |
1576 | |
1577 <listitem> | |
1578 <para> | |
1579 Bugfix: | |
1580 fixed regexp literals with lone closing brackets. | |
1581 </para> | |
1582 </listitem> | |
1583 | |
1584 <listitem> | |
1585 <para> | |
1586 Bugfix: | |
1587 fixed uninitialized-memory-access in | |
1588 <literal>Object.defineProperties()</literal>. | |
1589 </para> | |
1590 </listitem> | |
1591 | |
1592 <listitem> | |
1593 <para> | |
1594 Bugfix: | |
1595 fixed processing the “*” quantifier for | |
1596 <literal>String.prototype.replace()</literal>. | |
1597 </para> | |
1598 </listitem> | |
1599 | |
1600 <listitem> | |
1601 <para> | |
1602 Bugfix: | |
1603 fixed <literal>Array.prototype.slice()</literal> for UTF8-invalid byte strings. | |
1604 </para> | |
1605 </listitem> | |
1606 | |
1607 <listitem> | |
1608 <para> | |
1609 Bugfix: | |
1610 fixed <literal>String.prototype.split()</literal> for UTF8-invalid byte strings. | |
1611 </para> | |
1612 </listitem> | |
1613 | |
1614 <listitem> | |
1615 <para> | |
1616 Bugfix: | |
1617 fixed handling of empty block statements. | |
1618 </para> | |
1619 </listitem> | |
1620 | |
1621 </list> | |
1622 </para> | |
1623 | |
1624 </section> | |
1625 | |
1626 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1627 <section id="njs0.3.1" name="Changes with njs 0.3.1"> |
2369 | 1628 |
1629 <para> | |
1630 Release Date: | |
1631 16 April 2019 | |
1632 </para> | |
1633 | |
1634 <para> | |
1635 Core: | |
1636 <list type="bullet"> | |
1637 | |
1638 <listitem> | |
1639 <para> | |
1640 Feature: | |
1641 added arrow functions support. | |
1642 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1643 </para> | |
1644 </listitem> | |
1645 | |
1646 <listitem> | |
1647 <para> | |
1648 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1649 added <literal>Object.getOwnPropertyNames()</literal>. |
2369 | 1650 Thanks to Artem S. Povalyukhin. |
1651 </para> | |
1652 </listitem> | |
1653 | |
1654 <listitem> | |
1655 <para> | |
1656 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1657 added <literal>Object.getOwnPropertyDescriptors()</literal>. |
2369 | 1658 Thanks to Artem S. Povalyukhin. |
1659 </para> | |
1660 </listitem> | |
1661 | |
1662 <listitem> | |
1663 <para> | |
1664 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1665 making <literal>__proto__</literal> accessor descriptor |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1666 of <literal>Object</literal> instances mutable. |
2369 | 1667 </para> |
1668 </listitem> | |
1669 | |
1670 <listitem> | |
1671 <para> | |
1672 Feature: | |
1673 added shebang support in CLI. | |
1674 </para> | |
1675 </listitem> | |
1676 | |
1677 <listitem> | |
1678 <para> | |
1679 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1680 added support for module mode execution in CLI. |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1681 In module mode global, this is unavailable. |
2369 | 1682 </para> |
1683 </listitem> | |
1684 | |
1685 <listitem> | |
1686 <para> | |
1687 Bugfix: | |
1688 fixed editline detection. | |
1689 </para> | |
1690 </listitem> | |
1691 | |
1692 <listitem> | |
1693 <para> | |
1694 Bugfix: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1695 fixed <literal>Function.prototype.bind()</literal>. |
2369 | 1696 Thanks to 洪志道 (Hong Zhi Dao). |
1697 </para> | |
1698 </listitem> | |
1699 | |
1700 <listitem> | |
1701 <para> | |
1702 Bugfix: | |
1703 fixed checking of duplication of parameters for functions. | |
1704 Thanks to 洪志道 (Hong Zhi Dao). | |
1705 </para> | |
1706 </listitem> | |
1707 | |
1708 <listitem> | |
1709 <para> | |
1710 Bugfix: | |
1711 fixed function declaration with the same name as a variable. | |
1712 Thanks to 洪志道 (Hong Zhi Dao). | |
1713 </para> | |
1714 </listitem> | |
1715 | |
1716 <listitem> | |
1717 <para> | |
1718 Improvement: | |
1719 code related to parsing of objects, variables and | |
1720 functions is refactored. | |
1721 Thanks to 洪志道 (Hong Zhi Dao). | |
1722 </para> | |
1723 </listitem> | |
1724 | |
1725 <listitem> | |
1726 <para> | |
1727 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1728 large-value output improved in <literal>console.log()</literal>. |
2369 | 1729 </para> |
1730 </listitem> | |
1731 | |
1732 <listitem> | |
1733 <para> | |
1734 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1735 string output improved in <literal>console.log()</literal> |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1736 in a compliant way (without escaping and quotes). |
2369 | 1737 </para> |
1738 </listitem> | |
1739 | |
1740 <listitem> | |
1741 <para> | |
1742 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1743 using ES6 version of |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1744 <literal>ToInt32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1745 <literal>ToUint32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1746 <literal>ToLength()</literal>. |
2369 | 1747 </para> |
1748 </listitem> | |
1749 | |
1750 </list> | |
1751 </para> | |
1752 | |
1753 </section> | |
1754 | |
1755 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1756 <section id="njs0.3.0" name="Changes with njs 0.3.0"> |
2353 | 1757 |
1758 <para> | |
1759 Release Date: | |
1760 26 March 2019 | |
1761 </para> | |
1762 | |
1763 <para> | |
1764 nginx modules: | |
1765 <list type="bullet"> | |
1766 | |
1767 <listitem> | |
1768 <para> | |
1769 Feature: | |
1770 added the <literal>js_path</literal> directive for | |
1771 <link doc="../http/ngx_http_js_module.xml" id="js_path">http</link> and | |
1772 <link doc="../stream/ngx_stream_js_module.xml" id="js_path">stream</link>. | |
1773 </para> | |
1774 </listitem> | |
1775 | |
1776 <listitem> | |
1777 <para> | |
1778 Change: | |
1779 returning undefined value instead of empty strings | |
1780 for absent properties in the following objects: | |
1781 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>, | |
1782 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>, | |
1783 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>, | |
1784 <link doc="reference.xml" id="r_variables"><literal>r.variables{}</literal></link>, | |
1785 <link doc="reference.xml" id="s_variables"><literal>s.variables{}</literal></link>. | |
1786 </para> | |
1787 </listitem> | |
1788 | |
1789 <listitem> | |
1790 <para> | |
1791 Change: | |
1792 returning undefined value instead of throwing an exception for | |
1793 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> | |
1794 when request body is unavailable. | |
1795 </para> | |
1796 </listitem> | |
1797 | |
1798 <listitem> | |
1799 <para> | |
1800 Bugfix: | |
1801 fixed crash while iterating over | |
1802 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> | |
1803 when a value is absent in a key-value pair. | |
1804 </para> | |
1805 </listitem> | |
1806 | |
1807 </list> | |
1808 </para> | |
1809 | |
1810 <para> | |
1811 Core: | |
1812 <list type="bullet"> | |
1813 | |
1814 <listitem> | |
1815 <para> | |
1816 Feature: | |
1817 added initial ES6 modules support. | |
1818 Default import and default export statements are supported. | |
1819 Thanks to 洪志道 (Hong Zhi Dao). | |
1820 </para> | |
1821 </listitem> | |
1822 | |
1823 <listitem> | |
1824 <para> | |
1825 Feature: | |
1826 added <literal>Object.prototype.propertyIsEnumerable()</literal>. | |
1827 </para> | |
1828 </listitem> | |
1829 | |
1830 <listitem> | |
1831 <para> | |
1832 Feature: | |
1833 reporting file name and function name in disassembler output. | |
1834 </para> | |
1835 </listitem> | |
1836 | |
1837 <listitem> | |
1838 <para> | |
1839 Bugfix: | |
1840 fixed function redeclarations in interactive shell. | |
1841 Thanks to 洪志道 (Hong Zhi Dao). | |
1842 </para> | |
1843 </listitem> | |
1844 | |
1845 <listitem> | |
1846 <para> | |
1847 Bugfix: | |
1848 fixed RegExp literals parsing. | |
1849 </para> | |
1850 </listitem> | |
1851 | |
1852 <listitem> | |
1853 <para> | |
1854 Bugfix: | |
1855 fixed setting length of UTF8 string in | |
1856 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
1857 </para> | |
1858 </listitem> | |
1859 | |
1860 <listitem> | |
1861 <para> | |
1862 Bugfix: | |
1863 fixed <literal>nxt_file_dirname()</literal> for paths with no dir component. | |
1864 </para> | |
1865 </listitem> | |
1866 | |
1867 </list> | |
1868 </para> | |
1869 | |
1870 </section> | |
1871 | |
1872 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1873 <section id="njs0.2.8" name="Changes with njs 0.2.8"> |
2331 | 1874 |
1875 <para> | |
1876 Release Date: | |
1877 26 February 2019 | |
1878 </para> | |
1879 | |
1880 <para> | |
1881 nginx modules: | |
1882 <list type="bullet"> | |
1883 | |
1884 <listitem> | |
1885 <para> | |
1886 Change: | |
1887 properties of HTTP request deprecated in <link id="njs0.2.2">0.2.2</link> | |
1888 are removed. | |
1889 </para> | |
1890 </listitem> | |
1891 | |
1892 <listitem> | |
1893 <para> | |
1894 Feature: | |
1895 added support for delete operation in | |
1896 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
1897 </para> | |
1898 </listitem> | |
1899 | |
1900 <listitem> | |
1901 <para> | |
1902 Feature: | |
1903 added support for setting nginx variables. | |
1904 </para> | |
1905 </listitem> | |
1906 | |
1907 <listitem> | |
1908 <para> | |
1909 Bugfix: | |
1910 fixed | |
1911 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> | |
1912 for empty body value. | |
1913 </para> | |
1914 </listitem> | |
1915 | |
1916 <listitem> | |
1917 <para> | |
1918 Improvement: | |
1919 setting special response headers in | |
1920 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
1921 </para> | |
1922 </listitem> | |
1923 | |
1924 </list> | |
1925 </para> | |
1926 | |
1927 <para> | |
1928 Core: | |
1929 <list type="bullet"> | |
1930 | |
1931 <listitem> | |
1932 <para> | |
1933 Feature: | |
1934 added labels support. | |
1935 </para> | |
1936 </listitem> | |
1937 | |
1938 <listitem> | |
1939 <para> | |
1940 Feature: | |
1941 added <literal>setImmediate()</literal> method. | |
1942 </para> | |
1943 </listitem> | |
1944 | |
1945 <listitem> | |
1946 <para> | |
1947 Feature: | |
1948 added support for shorthand property names for Object literals. | |
1949 </para> | |
1950 </listitem> | |
1951 | |
1952 <listitem> | |
1953 <para> | |
1954 Bugfix: | |
1955 fixed <literal>Function.prototype.bind()</literal>. | |
1956 </para> | |
1957 </listitem> | |
1958 | |
1959 <listitem> | |
1960 <para> | |
1961 Bugfix: | |
1962 fixed parsing of string literals containing newline characters. | |
1963 </para> | |
1964 </listitem> | |
1965 | |
1966 <listitem> | |
1967 <para> | |
1968 Bugfix: | |
1969 fixed line number in reporting variable reference errors. | |
1970 </para> | |
1971 </listitem> | |
1972 | |
1973 <listitem> | |
1974 <para> | |
1975 Bugfix: | |
1976 fixed creation of long UTF8 strings. | |
1977 </para> | |
1978 </listitem> | |
1979 | |
1980 <listitem> | |
1981 <para> | |
1982 Bugfix: | |
1983 fixed | |
1984 setting special response headers in | |
1985 <link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link> | |
1986 for Unicode strings. | |
1987 </para> | |
1988 </listitem> | |
1989 | |
1990 <listitem> | |
1991 <para> | |
1992 Bugfix: | |
1993 fixed heap-buffer-overflow in | |
1994 <link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link>. | |
1995 </para> | |
1996 </listitem> | |
1997 | |
1998 <listitem> | |
1999 <para> | |
2000 Bugfix: | |
2001 fixed <literal>Array.prototype.fill()</literal>. | |
2002 Thanks to Artem S. Povalyukhin. | |
2003 </para> | |
2004 </listitem> | |
2005 | |
2006 <listitem> | |
2007 <para> | |
2008 Improvement: | |
2009 code related to function invocation is refactored. | |
2010 Thanks to 洪志道 (Hong Zhi Dao). | |
2011 </para> | |
2012 </listitem> | |
2013 | |
2014 <listitem> | |
2015 <para> | |
2016 Improvement: | |
2017 code related to variables is refactored. | |
2018 Thanks to 洪志道 (Hong Zhi Dao). | |
2019 </para> | |
2020 </listitem> | |
2021 | |
2022 <listitem> | |
2023 <para> | |
2024 Improvement: parser is refactored. | |
2025 Thanks to 洪志道 (Hong Zhi Dao). | |
2026 </para> | |
2027 </listitem> | |
2028 | |
2029 <listitem> | |
2030 <para> | |
2031 Improvement: | |
2032 reporting filenames in exceptions. | |
2033 </para> | |
2034 </listitem> | |
2035 | |
2036 </list> | |
2037 </para> | |
2038 | |
2039 </section> | |
2040 | |
2041 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2042 <section id="njs0.2.7" name="Changes with njs 0.2.7"> |
2312 | 2043 |
2044 <para> | |
2045 Release Date: | |
2046 25 December 2018 | |
2047 </para> | |
2048 | |
2049 <para> | |
2050 Core: | |
2051 <list type="bullet"> | |
2052 | |
2053 <listitem> | |
2054 <para> | |
2055 Feature: | |
2056 rest parameters syntax (destructuring is not supported). | |
2057 Thanks to Alexander Pyshchev. | |
2058 </para> | |
2059 </listitem> | |
2060 | |
2061 <listitem> | |
2062 <para> | |
2063 Feature: | |
2064 added | |
2065 <link doc="reference.xml" id="object_entries"><literal>Object.entries()</literal></link> | |
2066 method. | |
2067 </para> | |
2068 </listitem> | |
2069 | |
2070 <listitem> | |
2071 <para> | |
2072 Feature: | |
2073 added | |
2074 <link doc="reference.xml" id="object_values"><literal>Object.values()</literal></link> | |
2075 method. | |
2076 </para> | |
2077 </listitem> | |
2078 | |
2079 <listitem> | |
2080 <para> | |
2081 Improvement: | |
2082 code generator refactored and simplified. | |
2083 </para> | |
2084 </listitem> | |
2085 | |
2086 <listitem> | |
2087 <para> | |
2088 Bugfix: | |
2089 fixed automatic semicolon insertion. | |
2090 </para> | |
2091 </listitem> | |
2092 | |
2093 <listitem> | |
2094 <para> | |
2095 Bugfix: | |
2096 fixed assignment expression from compound assignment. | |
2097 </para> | |
2098 </listitem> | |
2099 | |
2100 <listitem> | |
2101 <para> | |
2102 Bugfix: | |
2103 fixed comparison of Byte and UTF8 strings. | |
2104 </para> | |
2105 </listitem> | |
2106 | |
2107 <listitem> | |
2108 <para> | |
2109 Bugfix: | |
2110 fixed type of iteration variable in for-in with array values. | |
2111 </para> | |
2112 </listitem> | |
2113 | |
2114 <listitem> | |
2115 <para> | |
2116 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2117 fixed building on platforms without librt. |
2312 | 2118 </para> |
2119 </listitem> | |
2120 | |
2121 <listitem> | |
2122 <para> | |
2123 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2124 miscellaneous bugs have been fixed. |
2312 | 2125 </para> |
2126 </listitem> | |
2127 | |
2128 </list> | |
2129 </para> | |
2130 | |
2131 </section> | |
2132 | |
2133 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2134 <section id="njs0.2.6" name="Changes with njs 0.2.6"> |
2285 | 2135 |
2136 <para> | |
2137 Release Date: | |
2138 27 November 2018 | |
2139 </para> | |
2140 | |
2141 <para> | |
2142 Core: | |
2143 <list type="bullet"> | |
2144 | |
2145 <listitem> | |
2146 <para> | |
2147 Feature: | |
2148 making built-in prototypes mutable. | |
2149 </para> | |
2150 </listitem> | |
2151 | |
2152 <listitem> | |
2153 <para> | |
2154 Feature: | |
2155 making global object mutable. | |
2156 </para> | |
2157 </listitem> | |
2158 | |
2159 <listitem> | |
2160 <para> | |
2161 Feature: | |
2162 <literal>console.time()</literal> and | |
2163 <literal>console.timeEnd()</literal> methods. | |
2164 </para> | |
2165 </listitem> | |
2166 | |
2167 <listitem> | |
2168 <para> | |
2169 Feature: | |
2170 allowing variables and functions to be redeclared. | |
2171 </para> | |
2172 </listitem> | |
2173 | |
2174 <listitem> | |
2175 <para> | |
2176 Feature: | |
2177 extending <literal>Object.defineProperty()</literal> spec conformance. | |
2178 </para> | |
2179 </listitem> | |
2180 | |
2181 <listitem> | |
2182 <para> | |
2183 Feature: | |
2184 introduced quiet mode for CLI to handle simple expressions from stdin. | |
2185 </para> | |
2186 </listitem> | |
2187 | |
2188 <listitem> | |
2189 <para> | |
2190 Feature: | |
2191 introduced compact form of backtraces to handle stack overflows. | |
2192 </para> | |
2193 </listitem> | |
2194 | |
2195 <listitem> | |
2196 <para> | |
2197 Improvement: | |
2198 improved wording for various exceptions. | |
2199 </para> | |
2200 </listitem> | |
2201 | |
2202 <listitem> | |
2203 <para> | |
2204 Bugfix: | |
2205 fixed closure values handling. | |
2206 </para> | |
2207 </listitem> | |
2208 | |
2209 <listitem> | |
2210 <para> | |
2211 Bugfix: | |
2212 fixed equality operator for various value types. | |
2213 </para> | |
2214 </listitem> | |
2215 | |
2216 <listitem> | |
2217 <para> | |
2218 Bugfix: | |
2219 fixed handling of “this” keyword in various scopes. | |
2220 </para> | |
2221 </listitem> | |
2222 | |
2223 <listitem> | |
2224 <para> | |
2225 Bugfix: | |
2226 fixed handling non-object values in <literal>Object.keys()</literal>. | |
2227 </para> | |
2228 </listitem> | |
2229 | |
2230 <listitem> | |
2231 <para> | |
2232 Bugfix: | |
2233 fixed parsing of throw statement inside <literal>if</literal> statement. | |
2234 </para> | |
2235 </listitem> | |
2236 | |
2237 <listitem> | |
2238 <para> | |
2239 Bugfix: | |
2240 fixed parsing of newline after throw statement. | |
2241 </para> | |
2242 </listitem> | |
2243 | |
2244 <listitem> | |
2245 <para> | |
2246 Bugfix: | |
2247 fixed parsing of statements in if statement without newline. | |
2248 </para> | |
2249 </listitem> | |
2250 | |
2251 <listitem> | |
2252 <para> | |
2253 Bugfix: | |
2254 fixed size <literal>uint32_t</literal> overflow | |
2255 in <literal>njs_array_expand()</literal>. | |
2256 </para> | |
2257 </listitem> | |
2258 | |
2259 <listitem> | |
2260 <para> | |
2261 Bugfix: | |
2262 fixed <literal>typeof</literal> operator | |
2263 for <literal>object_value</literal> type. | |
2264 </para> | |
2265 </listitem> | |
2266 | |
2267 <listitem> | |
2268 <para> | |
2269 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2270 miscellaneous bugs have been fixed. |
2285 | 2271 </para> |
2272 </listitem> | |
2273 | |
2274 </list> | |
2275 </para> | |
2276 | |
2277 </section> | |
2278 | |
2279 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2280 <section id="njs0.2.5" name="Changes with njs 0.2.5"> |
2264 | 2281 |
2282 <para> | |
2283 Release Date: | |
2284 30 October 2018 | |
2285 </para> | |
2286 | |
2287 <para> | |
2288 nginx modules: | |
2289 <list type="bullet"> | |
2290 | |
2291 <listitem> | |
2292 <para> | |
2293 Bugfix: | |
2294 fixed counting pending events in stream module. | |
2295 </para> | |
2296 </listitem> | |
2297 | |
2298 <listitem> | |
2299 <para> | |
2300 Bugfix: | |
2301 fixed <literal>s.off()</literal> in stream module. | |
2302 </para> | |
2303 </listitem> | |
2304 | |
2305 <listitem> | |
2306 <para> | |
2307 Bugfix: | |
2308 fixed processing of data chunks in <literal>js_filter</literal> in stream module. | |
2309 </para> | |
2310 </listitem> | |
2311 | |
2312 <listitem> | |
2313 <para> | |
2314 Bugfix: | |
2315 fixed http <literal>status</literal> and | |
2316 <literal>contentType</literal> getter in http module. | |
2317 </para> | |
2318 </listitem> | |
2319 | |
2320 <listitem> | |
2321 <para> | |
2322 Bugfix: | |
2323 fixed http response and parent getters in http module. | |
2324 </para> | |
2325 </listitem> | |
2326 | |
2327 </list> | |
2328 </para> | |
2329 | |
2330 <para> | |
2331 Core: | |
2332 <list type="bullet"> | |
2333 | |
2334 <listitem> | |
2335 <para> | |
2336 Feature: | |
2337 arguments object support. | |
2338 </para> | |
2339 </listitem> | |
2340 | |
2341 <listitem> | |
2342 <para> | |
2343 Feature: | |
2344 non-integer fractions support. | |
2345 </para> | |
2346 </listitem> | |
2347 | |
2348 <listitem> | |
2349 <para> | |
2350 Improvement: | |
2351 handling non-array values in <literal>Array.prototype.slice()</literal>. | |
2352 </para> | |
2353 </listitem> | |
2354 | |
2355 <listitem> | |
2356 <para> | |
2357 Bugfix: | |
2358 fixed <literal>Array.prototype.length</literal> setter | |
2359 </para> | |
2360 </listitem> | |
2361 | |
2362 <listitem> | |
2363 <para> | |
2364 Bugfix: | |
2365 fixed <literal>njs_array_alloc()</literal> for length > 2**31. | |
2366 </para> | |
2367 </listitem> | |
2368 | |
2369 <listitem> | |
2370 <para> | |
2371 Bugfix: | |
2372 handling int overflow in <literal>njs_array_alloc()</literal> on 32bit archs. | |
2373 </para> | |
2374 </listitem> | |
2375 | |
2376 <listitem> | |
2377 <para> | |
2378 Bugfix: | |
2379 fixed code size mismatch error message. | |
2380 </para> | |
2381 </listitem> | |
2382 | |
2383 <listitem> | |
2384 <para> | |
2385 Bugfix: | |
2386 fixed delete operator in a loop. | |
2387 </para> | |
2388 </listitem> | |
2389 | |
2390 <listitem> | |
2391 <para> | |
2392 Bugfix: | |
2393 fixed <literal>Object.getOwnPropertyDescriptor()</literal> for complex object | |
2394 (inherited from <literal>Array</literal> and <literal>string</literal> values). | |
2395 </para> | |
2396 </listitem> | |
2397 | |
2398 <listitem> | |
2399 <para> | |
2400 Bugfix: | |
2401 fixed <literal>Object.prototype.hasOwnProperty()</literal> | |
2402 for non-object properties | |
2403 </para> | |
2404 </listitem> | |
2405 | |
2406 <listitem> | |
2407 <para> | |
2408 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2409 miscellaneous bugs have been fixed. |
2264 | 2410 </para> |
2411 </listitem> | |
2412 | |
2413 </list> | |
2414 </para> | |
2415 | |
2416 </section> | |
2417 | |
2418 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2419 <section id="njs0.2.4" name="Changes with njs 0.2.4"> |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2420 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2421 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2422 Release Date: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2423 18 September 2018 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2424 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2425 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2426 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2427 nginx modules: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2428 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2429 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2430 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2431 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2432 Change: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2433 stream module handlers refactored. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2434 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2435 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2436 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2437 New methods and properties: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2438 <link doc="reference.xml" id="s_on">s.on()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2439 <link doc="reference.xml" id="s_off">s.off()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2440 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2441 <link doc="reference.xml" id="s_done">s.done()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2442 <link doc="reference.xml" id="s_decline">s.decline()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2443 <link doc="reference.xml" id="s_deny">s.deny()</link>. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2444 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2445 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2446 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2447 Removed properties of the |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2448 <link doc="reference.xml" id="stream">Stream</link> object: |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2449 <literal>s.OK</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2450 <literal>s.ABORT</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2451 <literal>s.AGAIN</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2452 <literal>s.DECLINED</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2453 <literal>s.ERROR</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2454 (replaced with |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2455 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2456 <link doc="reference.xml" id="s_done">s.done()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2457 <link doc="reference.xml" id="s_deny">s.deny()</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2458 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2459 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2460 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2461 <literal>s.buffer</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2462 (for reading replaced with data argument of |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2463 the corresponding callback, for writing use |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2464 <link doc="reference.xml" id="s_send">s.send()</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2465 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2466 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2467 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2468 <literal>s.fromUpstream</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2469 (replaced with a callback for a corresponding event). |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2470 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2471 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2472 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2473 <literal>s.eof</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2474 (replaced with <literal></literal> |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2475 <link doc="reference.xml" id="s_on_callback_last">flags.last</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2476 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2477 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2478 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2479 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2480 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2481 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2482 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2483 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2484 Core: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2485 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2486 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2487 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2488 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2489 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2490 added <literal>Function.prototype.length</literal>. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2491 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2492 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2493 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2494 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2495 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2496 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2497 introduced sandboxing mode. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2498 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2499 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2500 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2501 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2502 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2503 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2504 added exception strings where appropriate. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2505 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2506 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2507 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2508 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2509 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2510 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2511 improved wording for primitive type conversion exception. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2512 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2513 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2514 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2515 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2516 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2517 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2518 throwing <literal>TypeError</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2519 for attempts to change frozen properties. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2520 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2521 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2522 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2523 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2524 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2525 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2526 fixed <literal>Object.defineProperty()</literal> for existing properties. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2527 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2528 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2529 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2530 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2531 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2532 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2533 respecting the enumerable attribute while iterating by for in. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2534 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2535 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2536 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2537 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2538 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2539 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2540 respecting writable attribute for property handlers. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2541 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2542 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2543 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2544 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2545 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2546 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2547 fixed exception handling in arguments of a function. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2548 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2549 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2550 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2551 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2552 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2553 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2554 fixed <literal>Object.prototype.toString</literal> for different value types. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2555 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2556 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2557 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2558 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2559 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2560 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2561 fixed <literal>Object()</literal> constructor for object types arguments. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2562 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2563 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2564 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2565 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2566 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2567 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2568 fixed comparison of objects and strings. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2569 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2570 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2571 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2572 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2573 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2574 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2575 fixed <literal>String.slice()</literal> for undefined arguments. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2576 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2577 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2578 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2579 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2580 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2581 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2582 miscellaneous bugs have been fixed. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2583 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2584 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2585 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2586 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2587 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2588 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2589 </section> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2590 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2591 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2592 <section id="njs0.2.3" name="Changes with njs 0.2.3"> |
2213 | 2593 |
2594 <para> | |
2595 Release Date: | |
2596 31 July 2018 | |
2597 </para> | |
2598 | |
2599 <para> | |
2600 nginx modules: | |
2601 <list type="bullet"> | |
2602 | |
2603 <listitem> | |
2604 <para> | |
2605 Bugfix: | |
2606 making a subrequest from a <literal>Reply</literal> object caused | |
2607 a segmentation fault. | |
2608 </para> | |
2609 </listitem> | |
2610 | |
2611 <listitem> | |
2612 <para> | |
2613 Bugfix: | |
2614 getting the parent property of the main | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2615 <link doc="reference.xml" id="http">HTTP Request</link> |
2213 | 2616 object caused a segmentation fault. |
2617 </para> | |
2618 </listitem> | |
2619 | |
2620 </list> | |
2621 </para> | |
2622 | |
2623 <para> | |
2624 Core: | |
2625 <list type="bullet"> | |
2626 | |
2627 <listitem> | |
2628 <para> | |
2629 Feature: | |
2630 added the pretty string representation for values. | |
2631 </para> | |
2632 </listitem> | |
2633 | |
2634 <listitem> | |
2635 <para> | |
2636 Feature: | |
2637 correctly printing floating point numbers. | |
2638 </para> | |
2639 </listitem> | |
2640 | |
2641 <listitem> | |
2642 <para> | |
2643 Feature: | |
2644 correctly parsing floating point numbers. | |
2645 </para> | |
2646 </listitem> | |
2647 | |
2648 <listitem> | |
2649 <para> | |
2650 Feature: | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2651 <link doc="reference.xml" id="string_bytesfrom">String.bytesFrom()</link> method |
2213 | 2652 (decoding <literal>hex</literal>, |
2653 <literal>base64</literal>, | |
2654 <literal>base64url</literal> into a byte string). | |
2655 </para> | |
2656 </listitem> | |
2657 | |
2658 <listitem> | |
2659 <para> | |
2660 Feature: | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2661 <link doc="reference.xml" id="string_padstart">String.padStart()</link> and |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2662 <link doc="reference.xml" id="string_padend">String.padEnd()</link> methods. |
2213 | 2663 </para> |
2664 </listitem> | |
2665 | |
2666 <listitem> | |
2667 <para> | |
2668 Feature: | |
2669 added support of binary literals. | |
2670 </para> | |
2671 </listitem> | |
2672 | |
2673 <listitem> | |
2674 <para> | |
2675 Improvement: | |
2676 added information about illegal token in number parsing. | |
2677 </para> | |
2678 </listitem> | |
2679 | |
2680 <listitem> | |
2681 <para> | |
2682 Improvement: | |
2683 allowed uppercased <literal>O</literal> in octal literal values. | |
2684 </para> | |
2685 </listitem> | |
2686 | |
2687 <listitem> | |
2688 <para> | |
2689 Improvement: | |
2690 added support for multiple arguments in <literal>console.log()</literal>. | |
2691 </para> | |
2692 </listitem> | |
2693 | |
2694 <listitem> | |
2695 <para> | |
2696 Bugfix: | |
2697 fixed applying <literal>call()</literal> to methods of external values. | |
2698 </para> | |
2699 </listitem> | |
2700 | |
2701 <listitem> | |
2702 <para> | |
2703 Bugfix: | |
2704 fixed addition operator applied to an object. | |
2705 </para> | |
2706 </listitem> | |
2707 | |
2708 <listitem> | |
2709 <para> | |
2710 Bugfix: | |
2711 fixed exception handling in <literal>njs_vm_value_to_ext_string()</literal>. | |
2712 </para> | |
2713 </listitem> | |
2714 | |
2715 <listitem> | |
2716 <para> | |
2717 Bugfix: | |
2718 fixed <literal>Number()</literal> with boolean, null and undefined arguments. | |
2719 </para> | |
2720 </listitem> | |
2721 | |
2722 <listitem> | |
2723 <para> | |
2724 Bugfix: | |
2725 fixed error handling of setting non-numeric <literal>Array.length</literal>. | |
2726 </para> | |
2727 </listitem> | |
2728 | |
2729 <listitem> | |
2730 <para> | |
2731 Bugfix: | |
2732 fixed autocompletion for global objects. | |
2733 </para> | |
2734 </listitem> | |
2735 | |
2736 <listitem> | |
2737 <para> | |
2738 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2739 miscellaneous bugs have been fixed. |
2213 | 2740 </para> |
2741 </listitem> | |
2742 | |
2743 </list> | |
2744 </para> | |
2745 | |
2746 </section> | |
2747 | |
2748 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2749 <section id="njs0.2.2" name="Changes with njs 0.2.2"> |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2750 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2751 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2752 Release Date: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2753 19 June 2018 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2754 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2755 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2756 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2757 nginx modules: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2758 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2759 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2760 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2761 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2762 Change: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2763 merged HTTP <literal>Response</literal> and <literal>Reply</literal> |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2764 into <link doc="reference.xml" id="http">HTTP Request</link>. |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2765 New members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2766 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2767 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2768 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2769 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2770 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2771 <literal>req.status</literal> (<literal>res.status</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2772 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2773 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2774 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2775 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2776 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2777 <literal>req.parent</literal> (<literal>reply.parent</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2778 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2779 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2780 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2781 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2782 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2783 <literal>req.requestBody</literal> (<literal>req.body</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2784 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2785 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2786 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2787 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2788 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2789 <literal>req.responseBody</literal> (<literal>reply.body</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2790 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2791 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2792 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2793 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2794 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2795 <literal>req.headersIn</literal> (<literal>req.headers</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2796 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2797 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2798 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2799 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2800 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2801 <literal>req.headersOut</literal> (<literal>res.headers</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2802 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2803 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2804 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2805 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2806 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2807 <literal>req.sendHeader()</literal> (<literal>res.sendHeader()</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2808 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2809 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2810 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2811 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2812 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2813 <literal>req.send()</literal> (<literal>res.send()</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2814 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2815 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2816 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2817 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2818 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2819 <literal>req.finish()</literal> (<literal>res.finish()</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2820 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2821 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2822 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2823 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2824 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2825 <literal>req.return()</literal> (<literal>res.return()</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2826 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2827 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2828 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2829 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2830 Deprecated members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2831 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2832 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2833 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2834 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2835 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2836 <literal>req.body</literal> (use <literal>req.requestBody</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2837 or <literal>req.responseBody</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2838 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2839 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2840 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2841 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2842 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2843 <literal>req.headers</literal> (use <literal>req.headersIn</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2844 or <literal>req.headersOut</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2845 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2846 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2847 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2848 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2849 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2850 <literal>req.response</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2851 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2852 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2853 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2854 </list> |
2363
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2855 Deprecated members of <literal>Response</literal>: |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2856 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2857 <list type="bullet"> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2858 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2859 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2860 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2861 <literal>res.contentLength</literal> (use |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2862 <link doc="reference.xml" id="r_headers_out"><literal>req.headersOut</literal></link><literal>['Content-Length']</literal>) |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2863 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2864 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2865 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2866 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2867 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2868 <literal>res.contentType</literal> (use <link doc="reference.xml" id="r_headers_out"><literal>req.headersOut</literal></link><literal>['Content-Type']</literal>) |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2869 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2870 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2871 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2872 </list> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2873 The deprecated properties will be removed in |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2874 <link id="njs0.2.8">next</link> releases. |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2875 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2876 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2877 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2878 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2879 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2880 Feature: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2881 HTTP <link doc="reference.xml" id="r_internal_redirect">internalRedirect()</link> |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2882 method. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2883 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2884 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2885 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2886 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2887 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2888 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2889 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2890 Core: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2891 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2892 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2893 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2894 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2895 Bugfix: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2896 fixed heap-buffer-overflow in <literal>crypto.createHmac()</literal>. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2897 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2898 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2899 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2900 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2901 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2902 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2903 </section> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2904 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2905 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2906 <section id="njs0.2.1" name="Changes with njs 0.2.1"> |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2907 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2908 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2909 Release Date: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2910 31 May 2018 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2911 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2912 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2913 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2914 nginx modules: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2915 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2916 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2917 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2918 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2919 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2920 HTTP request body getter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2921 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2922 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2923 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2924 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2925 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2926 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2927 moved njs vm to the <literal>main</literal> configuration. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2928 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2929 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2930 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2931 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2932 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2933 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2934 improved logging for |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2935 <link doc="../http/ngx_http_js_module.xml" id="js_set"/> and |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2936 <link doc="../http/ngx_http_js_module.xml" id="js_content"/> directives. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2937 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2938 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2939 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2940 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2941 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2942 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2943 setting status code to 500 by default in the |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2944 <link doc="../http/ngx_http_js_module.xml" id="js_content"/> handler |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2945 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2946 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2947 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2948 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2949 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2950 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2951 added the debug for the returned status code in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2952 <link doc="../http/ngx_http_js_module.xml" id="js_content"/> handler |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2953 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2954 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2955 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2956 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2957 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2958 Bugfix: fixed error logging in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2959 <link doc="../http/ngx_http_js_module.xml" id="js_include"/>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2960 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2961 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2962 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2963 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2964 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2965 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2966 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2967 Core: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2968 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2969 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2970 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2971 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2972 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2973 added array length setter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2974 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2975 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2976 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2977 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2978 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2979 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2980 public header <literal>cleanup. njscript.h</literal> is renamed to |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2981 <literal>njs.h</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2982 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2983 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2984 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2985 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2986 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2987 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2988 fixed crypto <literal>update()</literal> method after |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2989 <literal>digest()</literal> is called. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2990 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2991 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2992 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2993 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2994 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2995 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2996 fixed <literal>crypto.createHmac()</literal> for keys with size <= alg size |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2997 and > 64. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2998 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2999 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3000 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3001 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3002 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3003 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3004 fixed <literal>JSON.stringify()</literal> for arrays with empty cells. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3005 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3006 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3007 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3008 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3009 <para> |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3010 Bugfix: |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3011 fixed exception type for unsupported types in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3012 <literal>JSON.stringify()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3013 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3014 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3015 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3016 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3017 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3018 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3019 fixed handling of undefined arguments of functions. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3020 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3021 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3022 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3023 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3024 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3025 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3026 fixed handling of missing <literal>arg</literal> of |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3027 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3028 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3029 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3030 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3031 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3032 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3033 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3034 fixed handling of properties in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3035 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3036 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3037 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3038 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3039 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3040 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3041 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3042 fixed the writeable flag of <literal>Array.length</literal> property. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3043 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3044 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3045 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3046 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3047 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3048 Bugfix: fixed return value type of <literal>clearTimeout()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3049 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3050 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3051 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3052 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3053 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3054 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3055 fixed <literal>njs_vm_external_bind()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3056 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3057 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3058 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3059 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3060 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3061 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
3062 miscellaneous bugs have been fixed. |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3063 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3064 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3065 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3066 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3067 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3068 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3069 </section> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3070 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3071 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3072 <section id="njs0.2.0" name="Changes with njs 0.2.0"> |
2130 | 3073 |
3074 <para> | |
3075 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3076 03 April 2018 |
2130 | 3077 </para> |
3078 | |
3079 <para> | |
3080 <list type="bullet"> | |
3081 | |
3082 <listitem> | |
3083 <para> | |
3084 Feature: | |
3085 reporting njs version by CLI. | |
3086 </para> | |
3087 </listitem> | |
3088 | |
3089 <listitem> | |
3090 <para> | |
3091 Feature: | |
3092 textual description for type converting exceptions. | |
3093 </para> | |
3094 </listitem> | |
3095 | |
3096 <listitem> | |
3097 Feature: | |
3098 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3099 <literal>clearTimeout()</literal> methods. |
2130 | 3100 </listitem> |
3101 | |
3102 <listitem> | |
3103 <para> | |
3104 Feature: | |
3105 Byte string to | |
3106 <literal>hex</literal>, | |
3107 <literal>base64</literal>, | |
3108 <literal>base64url</literal> encodings. | |
3109 </para> | |
3110 </listitem> | |
3111 | |
3112 <listitem> | |
3113 <para> | |
3114 Feature: | |
3115 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
3116 <literal>Crypto</literal> methods. | |
3117 </para> | |
3118 </listitem> | |
3119 | |
3120 <listitem> | |
3121 <para> | |
3122 Feature: | |
3123 HTTP and stream | |
3124 <literal>warn()</literal> and | |
3125 <literal>error()</literal> methods. | |
3126 </para> | |
3127 </listitem> | |
3128 | |
3129 <listitem> | |
3130 <para> | |
3131 Feature: | |
3132 HTTP <literal>subrequest()</literal> method. | |
3133 </para> | |
3134 </listitem> | |
3135 | |
3136 <listitem> | |
3137 <para> | |
3138 Feature: | |
3139 HTTP <literal>return()</literal> method. | |
3140 </para> | |
3141 </listitem> | |
3142 | |
3143 <listitem> | |
3144 <para> | |
3145 Bugfix: | |
3146 miscellaneous bugs have been fixed in the core and | |
3147 interactive shell. | |
3148 </para> | |
3149 </listitem> | |
3150 | |
3151 </list> | |
3152 </para> | |
3153 | |
3154 </section> | |
3155 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3156 <section id="njs0.1.15" name="Changes with njs 0.1.15"> |
2130 | 3157 |
3158 <para> | |
3159 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3160 20 November 2017 |
2130 | 3161 </para> |
3162 | |
3163 <para> | |
3164 <list type="bullet"> | |
3165 | |
3166 <listitem> | |
3167 <para> | |
3168 Feature: | |
3169 <literal>Error</literal>, | |
3170 <literal>EvalError</literal>, | |
3171 <literal>InternalError</literal>, | |
3172 <literal>RangeError</literal>, | |
3173 <literal>ReferenceError</literal>, | |
3174 <literal>SyntaxError</literal>, | |
3175 <literal>TypeError</literal>, | |
3176 <literal>URIError</literal> objects. | |
3177 </para> | |
3178 </listitem> | |
3179 | |
3180 <listitem> | |
3181 <para> | |
3182 Feature: | |
3183 octal literals support. | |
3184 </para> | |
3185 </listitem> | |
3186 | |
3187 <listitem> | |
3188 <para> | |
3189 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3190 <link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link> |
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3191 <literal>File system</literal> access methods: |
2130 | 3192 <literal>fs.readFile()</literal>, |
3193 <literal>fs.readFileSync()</literal>, | |
3194 <literal>fs.appendFile()</literal>, | |
3195 <literal>fs.appendFileSync()</literal>, | |
3196 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3197 <literal>fs.writeFileSync()</literal>. |
2130 | 3198 </para> |
3199 </listitem> | |
3200 | |
3201 <listitem> | |
3202 <para> | |
3203 Feature: | |
3204 nginx modules print backtrace on exception. | |
3205 </para> | |
3206 </listitem> | |
3207 | |
3208 <listitem> | |
3209 <para> | |
3210 Bugfix: | |
3211 miscellaneous bugs have been fixed. | |
3212 </para> | |
3213 </listitem> | |
3214 | |
3215 </list> | |
3216 </para> | |
3217 | |
3218 </section> | |
3219 | |
3220 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3221 <section id="njs0.1.14" name="Changes with njs 0.1.14"> |
2130 | 3222 |
3223 <para> | |
3224 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3225 09 October 2017 |
2130 | 3226 </para> |
3227 | |
3228 <para> | |
3229 <list type="bullet"> | |
3230 | |
3231 <listitem> | |
3232 <para> | |
3233 Feature: | |
3234 JSON object. | |
3235 </para> | |
3236 </listitem> | |
3237 | |
3238 <listitem> | |
3239 <para> | |
3240 Feature: | |
3241 object level completions in interactive shell. | |
3242 </para> | |
3243 </listitem> | |
3244 | |
3245 <listitem> | |
3246 <para> | |
3247 Feature: | |
3248 various configure improvements. | |
3249 </para> | |
3250 </listitem> | |
3251 | |
3252 <listitem> | |
3253 <para> | |
3254 Bugfix: | |
3255 miscellaneous bugs have been fixed in the core and | |
3256 interactive shell. | |
3257 </para> | |
3258 </listitem> | |
3259 | |
3260 </list> | |
3261 </para> | |
3262 | |
3263 </section> | |
3264 | |
3265 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3266 <section id="njs0.1.13" name="Changes with njs 0.1.13"> |
2130 | 3267 |
3268 <para> | |
3269 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3270 31 August 2017 |
2130 | 3271 </para> |
3272 | |
3273 <para> | |
3274 <list type="bullet"> | |
3275 | |
3276 <listitem> | |
3277 <para> | |
3278 Feature: | |
3279 <literal>console.log()</literal> and | |
3280 <literal>console.help()</literal> | |
3281 methods in interactive shell. | |
3282 </para> | |
3283 </listitem> | |
3284 | |
3285 <listitem> | |
3286 <para> | |
3287 Feature: | |
3288 interactive shell prints backtrace on exception. | |
3289 </para> | |
3290 </listitem> | |
3291 | |
3292 <listitem> | |
3293 <para> | |
3294 Feature: | |
3295 interactive shell by default | |
3296 if <literal>libedit</literal> is available. | |
3297 </para> | |
3298 </listitem> | |
3299 | |
3300 <listitem> | |
3301 <para> | |
3302 Bugfix: | |
3303 processing of large files from | |
3304 <literal>stdin</literal> in command line mode. | |
3305 </para> | |
3306 </listitem> | |
3307 | |
3308 <listitem> | |
3309 <para> | |
3310 Bugfix: | |
3311 improved <literal>editline</literal> detection. | |
3312 </para> | |
3313 </listitem> | |
3314 | |
3315 </list> | |
3316 </para> | |
3317 | |
3318 </section> | |
3319 | |
3320 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3321 <section id="njs0.1.12" name="Changes with njs 0.1.12"> |
2130 | 3322 |
3323 <para> | |
3324 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3325 08 August 2017 |
2130 | 3326 </para> |
3327 | |
3328 <para> | |
3329 <list type="bullet"> | |
3330 | |
3331 <listitem> | |
3332 <para> | |
3333 Feature: | |
3334 Interactive shell. | |
3335 </para> | |
3336 </listitem> | |
3337 | |
3338 <listitem> | |
3339 <para> | |
3340 Bugfix: | |
3341 in <literal>Object.isSealed()</literal>. | |
3342 </para> | |
3343 </listitem> | |
3344 | |
3345 </list> | |
3346 </para> | |
3347 | |
3348 </section> | |
3349 | |
3350 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3351 <section id="njs0.1.11" name="Changes with njs 0.1.11"> |
2130 | 3352 |
3353 <para> | |
3354 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3355 27 June 2017 |
2130 | 3356 </para> |
3357 | |
3358 <para> | |
3359 <list type="bullet"> | |
3360 | |
3361 <listitem> | |
3362 <para> | |
3363 Feature: | |
3364 <literal>Object.keys()</literal>, | |
3365 <literal>Object.prototype.hasOwnProperty()</literal> | |
3366 methods. | |
3367 </para> | |
3368 </listitem> | |
3369 | |
3370 <listitem> | |
3371 <para> | |
3372 Feature: | |
3373 <literal>Object.defineProperty()</literal>, | |
3374 <literal>Object.defineProperties()</literal>, | |
3375 <literal>Object.getOwnPropertyDescriptor()</literal> | |
3376 methods. | |
3377 </para> | |
3378 </listitem> | |
3379 | |
3380 <listitem> | |
3381 <para> | |
3382 Feature: | |
3383 <literal>Object.getPrototypeOf()</literal>, | |
3384 <literal>Object.prototype.isPrototypeOf()</literal> | |
3385 methods. | |
3386 </para> | |
3387 </listitem> | |
3388 | |
3389 <listitem> | |
3390 <para> | |
3391 Feature: | |
3392 <literal>Object.preventExtensions()</literal>, | |
3393 <literal>Object.isExtensible()</literal>, | |
3394 <literal>Object.freeze()</literal>, | |
3395 <literal>Object.isFrozen()</literal>, | |
3396 <literal>Object.seal()</literal>, | |
3397 <literal>Object.isSealed()</literal> | |
3398 methods. | |
3399 </para> | |
3400 </listitem> | |
3401 | |
3402 <listitem> | |
3403 <para> | |
3404 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3405 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 3406 </para> |
3407 </listitem> | |
3408 | |
3409 <listitem> | |
3410 <para> | |
3411 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3412 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 3413 </para> |
3414 </listitem> | |
3415 | |
3416 <listitem> | |
3417 <para> | |
3418 Bugfix: | |
3419 processing of large array indexes. | |
3420 </para> | |
3421 </listitem> | |
3422 | |
3423 <listitem> | |
3424 <para> | |
3425 Bugfix: | |
3426 in <literal>parseInt()</literal> and | |
3427 <literal>Date.parse()</literal>. | |
3428 </para> | |
3429 </listitem> | |
3430 | |
3431 </list> | |
3432 </para> | |
3433 | |
3434 </section> | |
3435 | |
3436 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3437 <section id="njs0.1.10" name="Changes with njs 0.1.10"> |
2130 | 3438 |
3439 <para> | |
3440 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3441 04 April 2017 |
2130 | 3442 </para> |
3443 | |
3444 <para> | |
3445 <list type="bullet"> | |
3446 | |
3447 <listitem> | |
3448 <para> | |
3449 Feature: | |
3450 nested functions and function closures. | |
3451 </para> | |
3452 </listitem> | |
3453 | |
3454 <listitem> | |
3455 <para> | |
3456 Feature: | |
3457 <literal>Array.of()</literal>, | |
3458 <literal>Array.prototype.fill()</literal>, | |
3459 <literal>Array.prototype.find()</literal>, | |
3460 <literal>Array.prototype.findIndex()</literal> | |
3461 methods. | |
3462 </para> | |
3463 </listitem> | |
3464 | |
3465 <listitem> | |
3466 <para> | |
3467 Bugfix: | |
3468 miscellaneous bugs and segmentation faults have been fixed. | |
3469 </para> | |
3470 </listitem> | |
3471 | |
3472 </list> | |
3473 </para> | |
3474 | |
3475 </section> | |
3476 | |
3477 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3478 <section id="njs0.1.9" name="Changes with njs 0.1.9"> |
2130 | 3479 |
3480 <para> | |
3481 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3482 01 February 2017 |
2130 | 3483 </para> |
3484 | |
3485 <para> | |
3486 <list type="bullet"> | |
3487 | |
3488 <listitem> | |
3489 <para> | |
3490 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3491 global variables were not initialized when njs was used |
2130 | 3492 in nginx. |
3493 </para> | |
3494 </listitem> | |
3495 | |
3496 </list> | |
3497 </para> | |
3498 | |
3499 </section> | |
3500 | |
3501 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3502 <section id="njs0.1.8" name="Changes with njs 0.1.8"> |
2130 | 3503 |
3504 <para> | |
3505 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3506 24 January 2017 |
2130 | 3507 </para> |
3508 | |
3509 <para> | |
3510 <list type="bullet"> | |
3511 | |
3512 <listitem> | |
3513 <para> | |
3514 Change: | |
3515 the <literal>strict</literal> mode is enforced, | |
3516 variables must be explicitly declared. | |
3517 </para> | |
3518 </listitem> | |
3519 | |
3520 | |
3521 <listitem> | |
3522 <para> | |
3523 Feature: | |
3524 <literal>for</literal> and | |
3525 <literal>for-in</literal> loops support variable declaration. | |
3526 </para> | |
3527 </listitem> | |
3528 | |
3529 <listitem> | |
3530 <para> | |
3531 Bugfix: | |
3532 global and function scopes have been fixed. | |
3533 </para> | |
3534 </listitem> | |
3535 | |
3536 <listitem> | |
3537 <para> | |
3538 Bugfix: | |
3539 now <literal>for-in</literal> loop does not discard the last value | |
3540 of property variable. | |
3541 </para> | |
3542 </listitem> | |
3543 | |
3544 <listitem> | |
3545 <para> | |
3546 Bugfix: | |
3547 miscellaneous bugs and segmentation faults have been fixed. | |
3548 </para> | |
3549 </listitem> | |
3550 | |
3551 </list> | |
3552 </para> | |
3553 | |
3554 </section> | |
3555 | |
3556 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3557 <section id="njs0.1.7" name="Changes with njs 0.1.7"> |
2130 | 3558 |
3559 <para> | |
3560 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3561 27 December 2016 |
2130 | 3562 </para> |
3563 | |
3564 <para> | |
3565 <list type="bullet"> | |
3566 | |
3567 <listitem> | |
3568 <para> | |
3569 Change: | |
3570 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
3571 has been disabled at server and location levels. | |
3572 </para> | |
3573 </listitem> | |
3574 | |
3575 <listitem> | |
3576 <para> | |
3577 Feature: | |
3578 exponentiation operators. | |
3579 </para> | |
3580 </listitem> | |
3581 | |
3582 <listitem> | |
3583 <para> | |
3584 Bugfix: | |
3585 miscellaneous bugs and segmentation faults have been fixed. | |
3586 </para> | |
3587 </listitem> | |
3588 | |
3589 </list> | |
3590 </para> | |
3591 | |
3592 </section> | |
3593 | |
3594 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3595 <section id="njs0.1.6" name="Changes with njs 0.1.6"> |
2130 | 3596 |
3597 <para> | |
3598 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3599 13 December 2016 |
2130 | 3600 </para> |
3601 | |
3602 <para> | |
3603 <list type="bullet"> | |
3604 | |
3605 <listitem> | |
3606 <para> | |
3607 Change: | |
3608 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
3609 has been disabled at server and location levels. | |
3610 </para> | |
3611 </listitem> | |
3612 | |
3613 <listitem> | |
3614 <para> | |
3615 Feature: | |
3616 ES6 <literal>Math</literal> methods. | |
3617 </para> | |
3618 </listitem> | |
3619 | |
3620 <listitem> | |
3621 <para> | |
3622 Bugfix: | |
3623 miscellaneous bugs and segmentation faults have been fixed. | |
3624 </para> | |
3625 </listitem> | |
3626 | |
3627 </list> | |
3628 </para> | |
3629 | |
3630 </section> | |
3631 | |
3632 </article> |