Mercurial > hg > nginx-site
annotate xml/en/docs/njs/changes.xml @ 3010:758e2e1dfd22
njs-0.8.1.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 12 Sep 2023 21:32:57 +0100 |
parents | 3184864bbb3f |
children | 3a85326ed38c |
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" |
3010 | 12 rev="64" |
2130 | 13 toc="no"> |
14 | |
3010 | 15 <section id="njs0.8.1" name="Changes with njs 0.8.1"> |
16 | |
17 <para> | |
18 Release Date: | |
19 12 September 2023 | |
20 </para> | |
21 | |
22 <para> | |
23 nginx modules: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 introduced the <literal>js_periodic</literal> directive for | |
30 <link doc="../http/ngx_http_js_module.xml" id="js_periodic">http</link> | |
31 and | |
32 <link doc="../stream/ngx_stream_js_module.xml" id="js_periodic">stream</link> | |
33 that allows specifying a JS handler to run at regular intervals. | |
34 </para> | |
35 </listitem> | |
36 | |
37 <listitem> | |
38 <para> | |
39 Feature: | |
40 implemented | |
41 <link doc="reference.xml" id="dict_items"><literal>items()</literal></link> | |
42 method of a | |
43 <link doc="reference.xml" id="ngx_shared">shared dictionary</link>. | |
44 The method returns all the non-expired key-value pairs. | |
45 </para> | |
46 </listitem> | |
47 | |
48 <listitem> | |
49 <para> | |
50 Bugfix: | |
51 fixed | |
52 <link doc="reference.xml" id="dict_size"><literal>size()</literal></link> | |
53 and | |
54 <link doc="reference.xml" id="dict_keys"><literal>keys()</literal></link> | |
55 methods of a | |
56 <link doc="reference.xml" id="ngx_shared">shared dictionary</link>. | |
57 </para> | |
58 </listitem> | |
59 | |
60 <listitem> | |
61 <para> | |
62 Bugfix: | |
63 fixed erroneous exception in | |
64 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> | |
65 introduced in <link id="njs0.8.0">0.8.0</link>. | |
66 </para> | |
67 </listitem> | |
68 | |
69 </list> | |
70 </para> | |
71 | |
72 <para> | |
73 Core: | |
74 <list type="bullet"> | |
75 | |
76 <listitem> | |
77 <para> | |
78 Bugfix: | |
79 fixed incorrect order of keys in | |
80 <literal>Object.getOwnPropertyNames()</literal>. | |
81 </para> | |
82 </listitem> | |
83 | |
84 </list> | |
85 </para> | |
86 | |
87 </section> | |
88 | |
89 | |
2991 | 90 <section id="njs0.8.0" name="Changes with njs 0.8.0"> |
91 | |
92 <para> | |
93 Release Date: | |
94 06 July 2023 | |
95 </para> | |
96 | |
97 <para> | |
98 nginx modules: | |
99 <list type="bullet"> | |
100 | |
101 <listitem> | |
102 <para> | |
103 Change: | |
104 removed special treatment of forbidden headers in | |
105 <link doc="reference.xml" id="ngx_fetch">Fetch API</link> | |
106 introduced in <link id="njs0.7.10">0.7.10</link>. | |
107 </para> | |
108 </listitem> | |
109 | |
110 <listitem> | |
111 <para> | |
112 Change: | |
113 removed deprecated since <link id="njs0.5.0">0.5.0</link> | |
2999
0e29ac906426
Removed obsolete brackets in njs changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2991
diff
changeset
|
114 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> |
2991 | 115 and |
2999
0e29ac906426
Removed obsolete brackets in njs changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2991
diff
changeset
|
116 <link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link> |
2991 | 117 in |
118 <link doc="../http/ngx_http_js_module.xml"><literal>http</literal></link> | |
119 module. | |
120 </para> | |
121 </listitem> | |
122 | |
123 <listitem> | |
124 <para> | |
125 Change: | |
126 throwing an exception in | |
127 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> | |
128 while filtering in | |
129 <link doc="../http/ngx_http_js_module.xml"><literal>http</literal></link> | |
130 module. | |
131 </para> | |
132 </listitem> | |
133 | |
134 <listitem> | |
135 <para> | |
136 Feature: | |
3007
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
137 introduced more global |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
138 <link doc="reference.xml" id="ngx"><literal>nginx</literal></link> properties: |
2991 | 139 <link doc="reference.xml" id="ngx_build"><literal>ngx.build</literal></link>, |
140 <link doc="reference.xml" id="ngx_conf_file_path"><literal>ngx.conf_file_path</literal></link>, | |
141 <link doc="reference.xml" id="ngx_error_log_path"><literal>ngx.error_log_path</literal></link>, | |
142 <link doc="reference.xml" id="ngx_prefix"><literal>ngx.prefix</literal></link>, | |
143 <link doc="reference.xml" id="ngx_version"><literal>ngx.version</literal></link>, | |
144 <link doc="reference.xml" id="ngx_version_number"><literal>ngx.version_number</literal></link>, | |
145 and | |
146 <link doc="reference.xml" id="ngx_worker_id"><literal>ngx.worker_id</literal></link>. | |
147 </para> | |
148 </listitem> | |
149 | |
150 <listitem> | |
151 <para> | |
152 Feature: | |
153 introduced the <literal>js_shared_dict_zone</literal> directive for | |
154 <link doc="../http/ngx_http_js_module.xml" id="js_shared_dict_zone">http</link> | |
155 and | |
156 <link doc="../stream/ngx_stream_js_module.xml" id="js_shared_dict_zone">stream</link> | |
157 that allows declaring a dictionary shared between worker processes. | |
158 </para> | |
159 </listitem> | |
160 | |
161 <listitem> | |
162 <para> | |
3007
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
163 Feature: |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
164 introduced global |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
165 <link doc="reference.xml" id="ngx_shared"><literal>nginx.shared</literal></link> |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
166 methods and properties for working with shared dictionaries. |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
167 </para> |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
168 </listitem> |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
169 |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
170 <listitem> |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
171 <para> |
2991 | 172 Improvement: |
173 added compile-time options to disable njs modules. | |
174 For example, to disable libxslt-related code: | |
175 <example> | |
176 NJS_LIBXSLT=NO ./configure .. --add-module=/path/to/njs/module | |
177 </example> | |
178 </para> | |
179 </listitem> | |
180 | |
181 <listitem> | |
182 <para> | |
183 Bugfix: | |
184 fixed | |
185 <link doc="reference.xml" id="r_status"><literal>r.status</literal></link> | |
186 setter when filtering in | |
187 <link doc="../http/ngx_http_js_module.xml"><literal>http</literal></link> | |
188 module. | |
189 </para> | |
190 </listitem> | |
191 | |
192 <listitem> | |
193 <para> | |
194 Bugfix: | |
195 fixed setting of Location header in | |
196 <link doc="../http/ngx_http_js_module.xml"><literal>http</literal></link> | |
197 module. | |
198 </para> | |
199 </listitem> | |
200 | |
201 </list> | |
202 </para> | |
203 | |
204 <para> | |
205 Core: | |
206 <list type="bullet"> | |
207 | |
208 <listitem> | |
209 <para> | |
210 Change: | |
211 native methods are provided with <literal>retval</literal> argument. | |
212 This change breaks compatibility with C extension for njs | |
213 requiring the modification of the code. | |
214 </para> | |
215 </listitem> | |
216 | |
217 <listitem> | |
218 <para> | |
219 Change: | |
220 non-compliant deprecated String methods were removed. | |
221 The following methods were removed: | |
222 <link doc="reference.xml" id="string_bytesfrom"><literal>String.bytesFrom()</literal></link>, | |
223 <link doc="reference.xml" id="string_frombytes"><literal>String.prototype.fromBytes()</literal></link>, | |
224 <link doc="reference.xml" id="string_fromutf8"><literal>String.prototype.fromUTF8()</literal></link>, | |
225 <link doc="reference.xml" id="string_tobytes"><literal>String.prototype.toBytes()</literal></link>, | |
226 <link doc="reference.xml" id="string_toutf8"><literal>String.prototype.toUTF8()</literal></link>, | |
227 <link doc="reference.xml" id="string_toutf8"><literal>String.prototype.toString(<value>encoding</value>)</literal></link>. | |
228 </para> | |
229 </listitem> | |
230 | |
231 <listitem> | |
232 <para> | |
233 Change: | |
234 removed support for building with GNU readline. | |
235 </para> | |
236 </listitem> | |
237 | |
238 <listitem> | |
239 <para> | |
240 Feature: | |
241 added ES13-compliant <literal>Array</literal> methods: | |
242 <literal>Array.from()</literal>, | |
243 <literal>Array.prototype.toSorted()</literal>, | |
244 <literal>Array.prototype.toSpliced()</literal>, | |
245 <literal>Array.prototype.toReversed()</literal>. | |
246 </para> | |
247 </listitem> | |
248 | |
249 <listitem> | |
250 <para> | |
251 Feature: | |
252 added ES13-compliant <literal>TypedArray</literal> methods: | |
253 <literal>%TypedArray%.prototype.toSorted()</literal>, | |
254 <literal>%TypedArray%.prototype.toSpliced()</literal>, | |
255 <literal>%TypedArray%.prototype.toReversed()</literal>. | |
256 </para> | |
257 </listitem> | |
258 | |
259 <listitem> | |
260 <para> | |
261 Feature: | |
262 added | |
263 <link doc="reference.xml" id="cryptokey"><literal>CryptoKey</literal></link> | |
264 properties in | |
265 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link>. | |
266 The following properties were added: | |
267 <link doc="reference.xml" id="cryptokey_alg"><literal>algorithm</literal></link>, | |
268 <link doc="reference.xml" id="cryptokey_extractable"><literal>extractable</literal></link>, | |
269 <link doc="reference.xml" id="cryptokey_type"><literal>type</literal></link>, | |
270 <link doc="reference.xml" id="cryptokey_usages"><literal>usages</literal></link>. | |
271 </para> | |
272 </listitem> | |
273 | |
274 <listitem> | |
275 <para> | |
276 Bugfix: | |
277 fixed <literal>retval</literal> of | |
278 <link doc="reference.xml" id="crypto_get_random_values"><literal>сrypto.getRandomValues()</literal></link>. | |
279 </para> | |
280 </listitem> | |
281 | |
282 <listitem> | |
283 <para> | |
284 Bugfix: | |
285 fixed evaluation of computed property names with function expressions. | |
286 </para> | |
287 </listitem> | |
288 | |
289 <listitem> | |
290 <para> | |
291 Bugfix: | |
292 fixed implicit name for a function expression declared in arrays. | |
293 </para> | |
294 </listitem> | |
295 | |
296 <listitem> | |
297 <para> | |
298 Bugfix: | |
299 fixed parsing of <literal>for-in</literal> loops. | |
300 </para> | |
301 </listitem> | |
302 | |
303 <listitem> | |
304 <para> | |
305 Bugfix: | |
306 fixed | |
307 <literal>Date.parse()</literal> with ISO-8601 format and UTC time offset. | |
308 </para> | |
309 </listitem> | |
310 | |
311 </list> | |
312 </para> | |
313 | |
314 </section> | |
315 | |
316 | |
2953 | 317 <section id="njs0.7.12" name="Changes with njs 0.7.12"> |
318 | |
319 <para> | |
320 Release Date: | |
321 10 April 2023 | |
322 </para> | |
323 | |
324 <para> | |
325 nginx modules: | |
326 <list type="bullet"> | |
327 | |
328 <listitem> | |
329 <para> | |
330 Bugfix: | |
331 fixed <literal>Headers()</literal> constructor in | |
332 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
333 </para> | |
334 </listitem> | |
335 | |
336 </list> | |
337 </para> | |
338 | |
339 <para> | |
340 Core: | |
341 <list type="bullet"> | |
342 | |
343 <listitem> | |
344 <para> | |
345 Feature: | |
346 added | |
347 <link doc="reference.xml" id="crypto_hash_copy"><literal>Hash.copy()</literal></link> | |
348 method in | |
349 <link doc="reference.xml" id="crypto">crypto</link> module. | |
350 </para> | |
351 </listitem> | |
352 | |
353 <listitem> | |
354 <para> | |
355 Feature: | |
356 added | |
357 <link doc="reference.xml" id="zlib">zlib</link> | |
358 module. | |
359 </para> | |
360 </listitem> | |
361 | |
362 <listitem> | |
363 <para> | |
364 Improvement: | |
365 added support for | |
366 <literal>export {name as default}</literal> statement. | |
367 </para> | |
368 </listitem> | |
369 | |
370 <listitem> | |
371 <para> | |
372 Bugfix: | |
373 fixed <literal>Number</literal> constructor according to the spec. | |
374 </para> | |
375 </listitem> | |
376 | |
377 </list> | |
378 </para> | |
379 | |
380 </section> | |
381 | |
382 | |
2943 | 383 <section id="njs0.7.11" name="Changes with njs 0.7.11"> |
384 | |
385 <para> | |
386 Release Date: | |
387 09 March 2023 | |
388 </para> | |
389 | |
390 <para> | |
391 nginx modules: | |
392 <list type="bullet"> | |
393 | |
394 <listitem> | |
395 <para> | |
396 Bugfix: | |
397 added missed linking with | |
398 <link url="https://gitlab.gnome.org/GNOME/libxml2">libxml2</link> | |
399 for the dynamic module. | |
400 The bug was introduced in <link id="njs0.7.10">0.7.10</link>. | |
401 </para> | |
402 </listitem> | |
403 | |
404 </list> | |
405 </para> | |
406 | |
407 <para> | |
408 Core: | |
409 <list type="bullet"> | |
410 | |
411 <listitem> | |
412 <para> | |
413 Feature: | |
414 added | |
415 <link doc="reference.xml" id="xml_node">XMLNode API</link> | |
416 to modify XML documents. | |
417 </para> | |
418 </listitem> | |
419 | |
420 <listitem> | |
421 <para> | |
422 Change: | |
423 removed <literal>XML_PARSE_DTDVALID</literal> during parsing of an XML document | |
424 due to security implications. | |
425 The issue was introduced in <link id="njs0.7.10">0.7.10</link>. | |
426 When <literal>XML_PARSE_DTDVALID</literal> is enabled, | |
427 <link url="https://gitlab.gnome.org/GNOME/libxml2">libxml2</link> | |
428 parses and executes external entities present inside an XML document. | |
429 </para> | |
430 </listitem> | |
431 | |
432 <listitem> | |
433 <para> | |
434 Bugfix: | |
435 fixed the detection of <literal>await</literal> in arguments. | |
436 </para> | |
437 </listitem> | |
438 | |
439 <listitem> | |
440 <para> | |
441 Bugfix: | |
442 fixed <literal>Error()</literal> instance dumping | |
443 when “<literal>name</literal>” prop is not primitive. | |
444 </para> | |
445 </listitem> | |
446 | |
447 <listitem> | |
448 <para> | |
449 Bugfix: | |
450 fixed array instance with a <literal>getter</literal> property dumping. | |
451 </para> | |
452 </listitem> | |
453 | |
454 <listitem> | |
455 <para> | |
456 Bugfix: | |
2946
48a673f43844
Removed trailing whitespace.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2943
diff
changeset
|
457 fixed <literal>njs_object_property()</literal> with |
2943 | 458 <literal>NJS_WHITEOUT</literal> properties. |
459 </para> | |
460 </listitem> | |
461 | |
462 <listitem> | |
463 <para> | |
464 Bugfix: | |
465 fixed <literal>func</literal> instance dumping | |
466 with “<literal>name</literal>” as getter. | |
467 </para> | |
468 </listitem> | |
469 | |
470 <listitem> | |
471 <para> | |
472 Bugfix: | |
473 fixed attaching of a stack to an error object. | |
474 </para> | |
475 </listitem> | |
476 | |
477 <listitem> | |
478 <para> | |
479 Bugfix: | |
480 fixed <literal>String.prototype.replace()</literal> with replacement | |
481 containing “<literal>$'</literal>”, “<literal>$`</literal>”. | |
482 </para> | |
483 </listitem> | |
484 | |
485 </list> | |
486 </para> | |
487 | |
488 </section> | |
489 | |
490 | |
2935 | 491 <section id="njs0.7.10" name="Changes with njs 0.7.10"> |
492 | |
493 <para> | |
494 Release Date: | |
495 07 February 2023 | |
496 </para> | |
497 | |
498 <para> | |
499 nginx modules: | |
500 <list type="bullet"> | |
501 | |
502 <listitem> | |
503 <para> | |
504 Feature: | |
505 added | |
506 <link doc="reference.xml" id="request"><literal>Request</literal></link>, | |
507 <link doc="reference.xml" id="response"><literal>Response</literal></link>, | |
508 and | |
509 <link doc="reference.xml" id="headers"><literal>Headers</literal></link> | |
510 ctors in | |
511 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
512 </para> | |
513 </listitem> | |
514 | |
515 <listitem> | |
516 <para> | |
517 Bugfix: | |
518 fixed nginx logger callback for calls in the master process. | |
519 </para> | |
520 </listitem> | |
521 | |
522 </list> | |
523 </para> | |
524 | |
525 <para> | |
526 Core: | |
527 <list type="bullet"> | |
528 | |
529 <listitem> | |
530 <para> | |
531 Feature: | |
532 added signal support in CLI. | |
533 </para> | |
534 </listitem> | |
535 | |
536 <listitem> | |
537 <para> | |
538 Feature: | |
539 added | |
540 <link doc="reference.xml" id="xml"><literal>xml</literal></link> | |
541 module for working with XML documents. | |
542 </para> | |
543 </listitem> | |
544 | |
545 <listitem> | |
546 <para> | |
547 Feature: | |
548 extended support for symmetric and asymmetric keys in WebCrypto. | |
549 Most notably <literal>JWK</literal> format for | |
550 <link doc="reference.xml" id="crypto_subtle_import_key"><literal>importKey()</literal></link> | |
551 was added. | |
552 </para> | |
553 </listitem> | |
554 | |
555 <listitem> | |
556 <para> | |
557 Feature: | |
558 extended support for symmetric and asymmetric keys in | |
559 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link>. | |
560 Most notably <literal>JWK</literal> format for | |
561 <link doc="reference.xml" id="crypto_subtle_import_key"><literal>importKey()</literal></link> | |
562 was added. | |
563 <link doc="reference.xml" id="crypto_subtle_generate_key"><literal>generateKey()</literal></link> | |
564 and | |
565 <link doc="reference.xml" id="crypto_subtle_export_key"><literal>exportKey()</literal></link> | |
566 were also implemented. | |
567 </para> | |
568 </listitem> | |
569 | |
570 <listitem> | |
571 <para> | |
572 Feature: | |
573 added | |
574 <literal>String.prototype.replaceAll()</literal>. | |
575 </para> | |
576 </listitem> | |
577 | |
578 <listitem> | |
579 <para> | |
580 Bugfix: | |
581 fixed <literal>for(expr1;</literal> conditional syntax error handling. | |
582 </para> | |
583 </listitem> | |
584 | |
585 <listitem> | |
586 <para> | |
587 Bugfix: | |
588 <literal>Object.values()</literal> | |
589 and | |
590 <literal>Object.entries()</literal> | |
591 with external objects. | |
592 </para> | |
593 </listitem> | |
594 | |
595 <listitem> | |
596 <para> | |
597 Bugfix: | |
598 fixed <literal>RegExp.prototype[@@replace]()</literal>. | |
599 </para> | |
600 </listitem> | |
601 | |
602 </list> | |
603 </para> | |
604 | |
605 </section> | |
606 | |
607 | |
2909 | 608 <section id="njs0.7.9" name="Changes with njs 0.7.9"> |
609 | |
610 <para> | |
611 Release Date: | |
612 17 November 2022 | |
613 </para> | |
614 | |
615 <para> | |
616 nginx modules: | |
617 <list type="bullet"> | |
618 | |
619 <listitem> | |
620 <para> | |
621 Bugfix: | |
622 fixed | |
623 <link doc="reference.xml" id="ngx_fetch"><literal>Fetch</literal></link> | |
624 Response prototype reinitialization. | |
625 When at least one <literal>js_import</literal> directive was declared in both | |
626 <link doc="../http/ngx_http_js_module.xml" id="js_import">HTTP</link> | |
627 and | |
628 <link doc="../stream/ngx_stream_js_module.xml" id="js_import">Stream</link>, | |
629 <link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link> | |
630 returned inapproriate response in Stream. | |
631 The bug was introduced in <link id="njs0.7.7">0.7.7</link>. | |
632 </para> | |
633 </listitem> | |
634 | |
635 </list> | |
636 </para> | |
637 | |
638 <para> | |
639 Core: | |
640 <list type="bullet"> | |
641 | |
642 <listitem> | |
643 <para> | |
644 Bugfix: | |
645 fixed <literal>String.prototype.replace(re)</literal> | |
646 if <literal>re.exec()</literal> returns non-flat array. | |
647 </para> | |
648 </listitem> | |
649 | |
650 <listitem> | |
651 <para> | |
652 Bugfix: | |
653 fixed <literal>Array.prototype.fill()</literal> | |
654 when <literal>start</literal> object changes <literal>this</literal>. | |
655 </para> | |
656 </listitem> | |
657 | |
658 <listitem> | |
659 <para> | |
660 Bugfix: | |
661 fixed description for | |
662 <link doc="reference.xml" id="fs_mkdirsync"><literal>fs.mkdir()</literal></link> | |
663 and | |
664 <link doc="reference.xml" id="fs_rmdirsync"><literal>fs.rmdir()</literal></link> | |
665 methods. | |
666 </para> | |
667 </listitem> | |
668 | |
669 <listitem> | |
670 <para> | |
671 Bugfix: | |
672 fixed <literal>%TypedArray%.prototype.set(s)</literal> | |
673 when <literal>s</literal> element changes <literal>this</literal>. | |
674 </para> | |
675 </listitem> | |
676 | |
677 <listitem> | |
678 <para> | |
679 Bugfix: | |
680 fixed <literal>Array.prototype.splice(s,d)</literal> | |
681 when <literal>d</literal> resizes <literal>this</literal> during eval. | |
682 </para> | |
683 </listitem> | |
684 | |
685 <listitem> | |
686 <para> | |
687 Bugfix: | |
688 fixed <literal>for-in</literal> loop with left and right hand side expressions. | |
689 </para> | |
690 </listitem> | |
691 | |
692 </list> | |
693 </para> | |
694 | |
695 </section> | |
696 | |
697 | |
2905 | 698 <section id="njs0.7.8" name="Changes with njs 0.7.8"> |
699 | |
700 <para> | |
701 Release Date: | |
702 25 October 2022 | |
703 </para> | |
704 | |
705 <para> | |
706 nginx modules: | |
707 <list type="bullet"> | |
708 | |
709 <listitem> | |
710 <para> | |
711 Feature: | |
712 added | |
713 <link doc="../http/ngx_http_js_module.xml" id="js_preload_object"/> directive. | |
714 </para> | |
715 </listitem> | |
716 | |
717 <listitem> | |
718 <para> | |
719 Feature: | |
2910
5f1d472f6a97
Documented ngx.conf_prefix property in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2909
diff
changeset
|
720 added |
5f1d472f6a97
Documented ngx.conf_prefix property in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2909
diff
changeset
|
721 <link doc="reference.xml" id="ngx_conf_prefix"><literal>ngx.conf_prefix</literal></link><literal></literal> |
5f1d472f6a97
Documented ngx.conf_prefix property in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2909
diff
changeset
|
722 property. |
2905 | 723 </para> |
724 </listitem> | |
725 | |
726 <listitem> | |
727 <para> | |
728 Feature: | |
729 added | |
730 <link doc="reference.xml" id="s_send_upstream"><literal>s.sendUpstream()</literal></link> | |
731 and | |
732 <link doc="reference.xml" id="s_send_downstream"><literal>s.sendDownstream()</literal></link> | |
733 in | |
734 <link doc="../stream/ngx_stream_js_module.xml">stream</link> module. | |
735 </para> | |
736 </listitem> | |
737 | |
738 <listitem> | |
739 <para> | |
740 Feature: | |
741 added support for <literal>HEAD</literal> method in | |
742 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
743 </para> | |
744 </listitem> | |
745 | |
746 <listitem> | |
747 <para> | |
748 Improvement: | |
749 improved <literal>async</literal> callback support for | |
750 <link doc="reference.xml" id="s_send"><literal>s.send()</literal></link> | |
751 in | |
752 <link doc="../stream/ngx_stream_js_module.xml">stream</link> module. | |
753 </para> | |
754 </listitem> | |
755 | |
756 </list> | |
757 </para> | |
758 | |
759 <para> | |
760 Core: | |
761 <list type="bullet"> | |
762 | |
763 <listitem> | |
764 <para> | |
765 Feature: | |
766 added <literal>name</literal> instance property for a function object. | |
767 </para> | |
768 </listitem> | |
769 | |
770 <listitem> | |
771 <para> | |
772 Feature: | |
773 added | |
774 <link doc="reference.xml" id="njs_memory_stats"><literal>njs.memoryStats</literal></link> | |
775 object. | |
776 </para> | |
777 </listitem> | |
778 | |
779 <listitem> | |
780 <para> | |
781 Bugfix: | |
782 fixed | |
783 <literal>String.prototype.trimEnd()</literal> | |
784 with unicode string. | |
785 </para> | |
786 </listitem> | |
787 | |
788 <listitem> | |
789 <para> | |
790 Bugfix: | |
791 fixed <literal>Object.freeze()</literal> with fast arrays. | |
792 </para> | |
793 </listitem> | |
794 | |
795 <listitem> | |
796 <para> | |
797 Bugfix: | |
798 fixed <literal>Object.defineProperty()</literal> with fast arrays. | |
799 </para> | |
800 </listitem> | |
801 | |
802 <listitem> | |
803 <para> | |
804 Bugfix: | |
805 fixed <literal>async</literal> token as a property name of an object. | |
806 </para> | |
807 </listitem> | |
808 | |
809 <listitem> | |
810 <para> | |
811 Bugfix: | |
812 fixed property set instruction when key modifies base binding. | |
813 </para> | |
814 </listitem> | |
815 | |
816 <listitem> | |
817 <para> | |
818 Bugfix: | |
819 fixed complex assignments. | |
820 </para> | |
821 </listitem> | |
822 | |
823 <listitem> | |
824 <para> | |
825 Bugfix: | |
826 fixed handling of unhandled promise rejection. | |
827 </para> | |
828 </listitem> | |
829 | |
830 <listitem> | |
831 <para> | |
832 Bugfix: | |
833 fixed process.env | |
834 when duplicate environ variables are present. | |
835 </para> | |
836 </listitem> | |
837 | |
838 <listitem> | |
839 <para> | |
840 Bugfix: | |
841 fixed double declaration detection in modules. | |
842 </para> | |
843 </listitem> | |
844 | |
845 <listitem> | |
846 <para> | |
847 Bugfix: | |
848 fixed bound function calls according to the spec. | |
849 </para> | |
850 </listitem> | |
851 | |
852 <listitem> | |
853 <para> | |
854 Bugfix: | |
855 fixed break label for <literal>if</literal> statement. | |
856 </para> | |
857 </listitem> | |
858 | |
859 <listitem> | |
860 <para> | |
861 Bugfix: | |
862 fixed labeled empty statements. | |
863 </para> | |
864 </listitem> | |
865 | |
866 </list> | |
867 </para> | |
868 | |
869 </section> | |
870 | |
871 | |
2889 | 872 <section id="njs0.7.7" name="Changes with njs 0.7.7"> |
873 | |
874 <para> | |
875 Release Date: | |
876 30 August 2022 | |
877 </para> | |
878 | |
879 <para> | |
880 nginx modules: | |
881 <list type="bullet"> | |
882 | |
883 <listitem> | |
884 <para> | |
885 Feature: | |
886 the number of nginx configuration contexts where | |
887 js directives can be specified is extended. | |
888 | |
889 <list type="bullet"> | |
890 | |
891 <listitem id="contexts"> | |
892 <para> | |
893 HTTP: | |
894 the <link doc="../http/ngx_http_js_module.xml" id="js_import"/>, | |
895 <link doc="../http/ngx_http_js_module.xml" id="js_path"/>, | |
896 <link doc="../http/ngx_http_js_module.xml" id="js_set"/>, and | |
897 <link doc="../http/ngx_http_js_module.xml" id="js_var"/> directives | |
898 are allowed in | |
899 <literal>server</literal> and <literal>location</literal> contexts. | |
900 The <link doc="../http/ngx_http_js_module.xml" id="js_content"/>, | |
901 <link doc="../http/ngx_http_js_module.xml" id="js_body_filter"/> and | |
902 <link doc="../http/ngx_http_js_module.xml" id="js_header_filter"/> | |
903 are allowed in | |
904 <link doc="../http/ngx_http_rewrite_module.xml" id="if"/> context. | |
905 </para> | |
906 </listitem> | |
907 | |
908 <listitem> | |
909 <para> | |
910 Stream: | |
911 the <link doc="../http/ngx_http_js_module.xml" id="js_import"/>, | |
912 <link doc="../http/ngx_http_js_module.xml" id="js_path"/>, | |
913 <link doc="../http/ngx_http_js_module.xml" id="js_set"/>, and | |
914 <link doc="../http/ngx_http_js_module.xml" id="js_var"/> | |
915 are allowed in | |
916 <literal>server</literal> context. | |
917 </para> | |
918 </listitem> | |
919 | |
920 </list> | |
921 | |
922 </para> | |
923 </listitem> | |
924 | |
925 <listitem> | |
926 <para> | |
927 Feature: | |
928 added | |
929 <link doc="reference.xml" id="r_internal"><literal>r.internal</literal></link> | |
930 property. | |
931 </para> | |
932 </listitem> | |
933 | |
934 <listitem> | |
935 <para> | |
936 Bugfix: | |
937 fixed reading response body in | |
938 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
939 </para> | |
940 </listitem> | |
941 | |
942 <listitem> | |
943 <para> | |
944 Bugfix: | |
945 fixed | |
946 <link doc="../stream/ngx_stream_js_module.xml" id="js_fetch_timeout"/> | |
947 in <link doc="../stream/ngx_stream_js_module.xml">stream</link>. | |
948 </para> | |
949 </listitem> | |
950 | |
951 <listitem> | |
952 <para> | |
953 Bugfix: | |
954 fixed socket leak with <literal>0</literal> fetch timeout. | |
955 </para> | |
956 </listitem> | |
957 | |
958 </list> | |
959 </para> | |
960 | |
961 <para> | |
962 Core: | |
963 <list type="bullet"> | |
964 | |
965 <listitem> | |
966 <para> | |
967 Feature: | |
968 extended | |
969 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
970 Added | |
971 <link doc="reference.xml" id="fs_opensync"><literal>fs.openSync()</literal></link>, | |
972 <link doc="reference.xml" id="fs_promises_open"><literal>fs.promises.open()</literal></link>, | |
973 <link doc="reference.xml" id="fs_fstatsync"><literal>fs.fstatSync()</literal></link>, | |
974 <link doc="reference.xml" id="fs_readsync"><literal>fs.readSync()</literal></link>, | |
975 <link doc="reference.xml" id="fs_writesync_buf"><literal>fs.writeSync()</literal></link>. | |
976 </para> | |
977 | |
978 <para> | |
979 The following properties of | |
980 <link doc="reference.xml" id="fs_filehandle"><literal>FileHandle</literal></link> | |
981 are implemented: | |
982 <literal>fd</literal>, | |
983 <literal>read()</literal>, | |
984 <literal>stat()</literal>, | |
985 <literal>write()</literal>, | |
986 <literal>close()</literal>. | |
987 </para> | |
988 </listitem> | |
989 | |
990 <listitem> | |
991 <para> | |
992 Bugfix: | |
993 fixed <literal>parseInt()</literal>, | |
994 <literal>parseFloat()</literal>, | |
995 <literal>Symbol.for()</literal> | |
996 with no arguments. | |
997 </para> | |
998 </listitem> | |
999 | |
1000 </list> | |
1001 </para> | |
1002 | |
1003 </section> | |
1004 | |
1005 | |
2874 | 1006 <section id="njs0.7.6" name="Changes with njs 0.7.6"> |
1007 | |
1008 <para> | |
1009 Release Date: | |
1010 19 July 2022 | |
1011 </para> | |
1012 | |
1013 <para> | |
1014 nginx modules: | |
1015 <list type="bullet"> | |
1016 | |
1017 <listitem> | |
1018 <para> | |
1019 Feature: | |
1020 improved | |
1021 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> object. | |
1022 Added support for multiple arguments with the same key. | |
1023 Added case sensitivity for keys. | |
1024 Keys and values are percent-decoded now. | |
1025 </para> | |
1026 </listitem> | |
1027 | |
1028 <listitem> | |
1029 <para> | |
1030 Bugfix: | |
1031 fixed | |
1032 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
1033 setter for special headers. | |
1034 </para> | |
1035 </listitem> | |
1036 | |
1037 </list> | |
1038 </para> | |
1039 | |
1040 <para> | |
1041 Core: | |
1042 <list type="bullet"> | |
1043 | |
1044 <listitem> | |
1045 <para> | |
1046 Feature: | |
1047 added <literal>Symbol.for()</literal> and <literal>Symbol.keyfor()</literal>. | |
1048 </para> | |
1049 </listitem> | |
1050 | |
1051 <listitem> | |
1052 <para> | |
1053 Feature: | |
1054 added | |
1055 <link doc="reference.xml" id="atob"><literal>atob()</literal></link> | |
1056 and | |
1057 <link doc="reference.xml" id="btoa"><literal>btoa()</literal></link> | |
1058 from | |
1059 <link url="https://html.spec.whatwg.org">WHATWG</link> spec. | |
1060 </para> | |
1061 </listitem> | |
1062 | |
1063 <listitem> | |
1064 <para> | |
1065 Bugfix: | |
1066 fixed large non-decimal literals. | |
1067 </para> | |
1068 </listitem> | |
1069 | |
1070 <listitem> | |
1071 <para> | |
1072 Bugfix: | |
1073 fixed Unicode argument trimming in <literal>parseInt()</literal>. | |
1074 </para> | |
1075 </listitem> | |
1076 | |
1077 <listitem> | |
1078 <para> | |
1079 Bugfix: | |
1080 fixed <literal>break</literal> instruction | |
1081 in <literal>try-catch</literal> block. | |
1082 </para> | |
1083 </listitem> | |
1084 | |
1085 <listitem> | |
1086 <para> | |
1087 Bugfix: | |
1088 fixed <literal>async</literal> function declaration in CLI. | |
1089 </para> | |
1090 </listitem> | |
1091 | |
1092 </list> | |
1093 </para> | |
1094 | |
1095 </section> | |
1096 | |
1097 | |
2863 | 1098 <section id="njs0.7.5" name="Changes with njs 0.7.5"> |
1099 | |
1100 <para> | |
1101 Release Date: | |
1102 21 June 2022 | |
1103 </para> | |
1104 | |
1105 <para> | |
1106 nginx modules: | |
1107 <list type="bullet"> | |
1108 | |
1109 <listitem> | |
1110 <para> | |
1111 Change: | |
1112 adapting to changes in nginx header structures. | |
1113 </para> | |
1114 </listitem> | |
1115 | |
1116 <listitem> | |
1117 <para> | |
1118 Bugfix: | |
1119 fixed | |
1120 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
1121 special getters when value is absent. | |
1122 </para> | |
1123 </listitem> | |
1124 | |
1125 <listitem> | |
1126 <para> | |
1127 Change: | |
1128 returning undefined value instead of an empty string for | |
1129 <literal>Content-Type</literal> when the header is absent. | |
1130 </para> | |
1131 </listitem> | |
1132 | |
1133 </list> | |
1134 </para> | |
1135 | |
1136 <para> | |
1137 Core: | |
1138 <list type="bullet"> | |
1139 | |
1140 <listitem> | |
1141 <para> | |
1142 Bugfix: | |
1143 fixed catching of the exception thrown from an awaited function. | |
1144 </para> | |
1145 </listitem> | |
1146 | |
1147 <listitem> | |
1148 <para> | |
1149 Bugfix: | |
1150 fixed function value initialization. | |
1151 </para> | |
1152 </listitem> | |
1153 | |
1154 <listitem> | |
1155 <para> | |
1156 Bugfix: | |
1157 fixed interpreter when await fails. | |
1158 </para> | |
1159 </listitem> | |
1160 | |
1161 <listitem> | |
1162 <para> | |
1163 Bugfix: | |
1164 fixed typed-array constructor when source array is changed while iterating. | |
1165 </para> | |
1166 </listitem> | |
1167 | |
1168 <listitem> | |
1169 <para> | |
1170 Bugfix:fixed | |
1171 <literal>String.prototype.replace()</literal> | |
1172 with byte strings. | |
1173 </para> | |
1174 </listitem> | |
1175 | |
1176 <listitem> | |
1177 <para> | |
1178 Bugfix: | |
1179 fixed template literal from producing byte-strings. | |
1180 </para> | |
1181 </listitem> | |
1182 | |
1183 <listitem> | |
1184 <para> | |
1185 Bugfix: | |
1186 fixed array iterator with sparse arrays. | |
1187 </para> | |
1188 </listitem> | |
1189 | |
1190 <listitem> | |
1191 <para> | |
1192 Bugfix: | |
1193 fixed memory free while converting a flat array to a slow array. | |
1194 </para> | |
1195 </listitem> | |
1196 | |
1197 <listitem> | |
1198 <para> | |
1199 Bugfix: | |
2867
f6f8ade13fcb
Removed trailing whitespace.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2863
diff
changeset
|
1200 properly handling <literal>NJS_DECLINE</literal> in |
2863 | 1201 <literal>promise</literal> native functions. |
1202 </para> | |
1203 </listitem> | |
1204 | |
1205 <listitem> | |
1206 <para> | |
1207 Bugfix: | |
1208 fixed working with an array-like object in | |
1209 <literal>Promise.all()</literal> | |
1210 and friends. | |
1211 </para> | |
1212 </listitem> | |
1213 | |
1214 </list> | |
1215 </para> | |
1216 | |
1217 </section> | |
1218 | |
1219 | |
2855 | 1220 <section id="njs0.7.4" name="Changes with njs 0.7.4"> |
1221 | |
1222 <para> | |
1223 Release Date: | |
1224 24 May 2022 | |
1225 </para> | |
1226 | |
1227 <para> | |
1228 nginx modules: | |
1229 <list type="bullet"> | |
1230 | |
1231 <listitem> | |
1232 <para> | |
1233 Feature: | |
1234 added extended directives for configuring | |
1235 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
1236 The following directives were added for | |
1237 <link doc="../http/ngx_http_js_module.xml">http</link> and | |
1238 <link doc="../stream/ngx_stream_js_module.xml">stream</link>: | |
1239 <list type="bullet"> | |
1240 | |
1241 <listitem> | |
1242 <para> | |
1243 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_timeout"/>, | |
1244 </para> | |
1245 </listitem> | |
1246 | |
1247 <listitem> | |
1248 <para> | |
1249 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_verify"/>, | |
1250 </para> | |
1251 </listitem> | |
1252 | |
1253 <listitem> | |
1254 <para> | |
1255 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_buffer_size"/>, | |
1256 </para> | |
1257 </listitem> | |
1258 | |
1259 <listitem> | |
1260 <para> | |
1261 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_max_response_buffer_size"/>. | |
1262 </para> | |
1263 </listitem> | |
1264 | |
1265 </list> | |
1266 | |
1267 </para> | |
1268 </listitem> | |
1269 | |
1270 <listitem> | |
1271 <para> | |
1272 Change: | |
1273 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> now accepts escaped URIs. | |
1274 </para> | |
1275 </listitem> | |
1276 | |
1277 <listitem> | |
1278 <para> | |
1279 Bugfix: | |
1280 fixed | |
1281 <link doc="reference.xml" id="response">Response</link> parsing | |
1282 with more than 8 headers in | |
1283 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
1284 </para> | |
1285 </listitem> | |
1286 | |
1287 </list> | |
1288 </para> | |
1289 | |
1290 <para> | |
1291 Core: | |
1292 <list type="bullet"> | |
1293 | |
1294 <listitem> | |
1295 <para> | |
1296 Feature: | |
1297 added | |
1298 <link doc="reference.xml" id="njs_version_number"><literal>njs.version_number</literal></link> property. | |
1299 </para> | |
1300 </listitem> | |
1301 | |
1302 <listitem> | |
1303 <para> | |
1304 Feature: | |
1305 added compatibility with BoringSSL for | |
1306 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link>. | |
1307 </para> | |
1308 </listitem> | |
1309 | |
1310 <listitem> | |
1311 <para> | |
1312 Bugfix: | |
1313 fixed | |
1314 <literal>Array.prototype.sort()</literal> | |
1315 when arr size is changed in a comparator. | |
1316 </para> | |
1317 </listitem> | |
1318 | |
1319 <listitem> | |
1320 <para> | |
1321 Bugfix: | |
1322 fixed | |
1323 <literal>Array.prototype.slice()</literal> | |
1324 with slow <literal>this</literal> argument. | |
1325 </para> | |
1326 </listitem> | |
1327 | |
1328 <listitem> | |
1329 <para> | |
1330 Bugfix: | |
1331 fixed aggregation methods of <literal>Promise</literal> ctor | |
1332 with array-like object. | |
1333 </para> | |
1334 </listitem> | |
1335 | |
1336 <listitem> | |
1337 <para> | |
1338 Bugfix: | |
1339 fixed <literal>String.prototype.lastIndexOf()</literal> | |
2874 | 1340 with Unicode string as <literal>this</literal>. |
2855 | 1341 </para> |
1342 </listitem> | |
1343 | |
1344 <listitem> | |
1345 <para> | |
1346 Bugfix: | |
1347 fixed | |
1348 <literal>JSON.parse()</literal> | |
1349 when <literal>reviver</literal> function is provided. | |
1350 </para> | |
1351 </listitem> | |
1352 | |
1353 <listitem> | |
1354 <para> | |
1355 Bugfix: | |
1356 fixed | |
1357 <literal>Object.defineProperty()</literal> | |
1358 when a recursive descriptor is provided. | |
1359 </para> | |
1360 </listitem> | |
1361 | |
1362 <listitem> | |
1363 <para> | |
1364 Bugfix: | |
1365 fixed <literal>Array.prototype.fill()</literal> for typed-arrays. | |
1366 </para> | |
1367 </listitem> | |
1368 | |
1369 <listitem> | |
1370 <para> | |
1371 Bugfix: | |
1372 making function expression binding immutable according to the specs. | |
1373 </para> | |
1374 </listitem> | |
1375 | |
1376 <listitem> | |
1377 <para> | |
1378 Bugfix: | |
1379 fixed redefinition of special props in | |
1380 <literal>Object.defineProperty()</literal>. | |
1381 </para> | |
1382 </listitem> | |
1383 | |
1384 </list> | |
1385 </para> | |
1386 | |
1387 </section> | |
1388 | |
1389 | |
1390 | |
2839 | 1391 <section id="njs0.7.3" name="Changes with njs 0.7.3"> |
1392 | |
1393 <para> | |
1394 Release Date: | |
1395 12 April 2022 | |
1396 </para> | |
1397 | |
1398 <para> | |
1399 Core: | |
1400 <list type="bullet"> | |
1401 | |
1402 <listitem> | |
1403 <para> | |
1404 Feature: | |
1405 added support of module resolution callback. | |
1406 This feature allows the host environment to control | |
1407 how imported modules are loaded. | |
1408 </para> | |
1409 </listitem> | |
1410 | |
1411 <listitem> | |
1412 <para> | |
1413 Bugfix: | |
1414 fixed backtraces while traversing imported user modules. | |
1415 </para> | |
1416 </listitem> | |
1417 | |
1418 <listitem> | |
1419 <para> | |
1420 Bugfix: | |
1421 fixed | |
1422 <literal>Array.prototype.concat()</literal> | |
1423 when <literal>this</literal> is a slow array. | |
1424 </para> | |
1425 </listitem> | |
1426 | |
1427 <listitem> | |
1428 <para> | |
1429 Bugfix: | |
1430 fixed frame allocation from an awaited frame. | |
1431 </para> | |
1432 </listitem> | |
1433 | |
1434 <listitem> | |
1435 <para> | |
1436 Bugfix: | |
1437 fixed allocation of large array literals. | |
1438 </para> | |
1439 </listitem> | |
1440 | |
1441 <listitem> | |
1442 <para> | |
1443 Bugfix: | |
1444 fixed interpreter when <literal>toString</literal> conversion fails. | |
1445 </para> | |
1446 </listitem> | |
1447 | |
1448 </list> | |
1449 </para> | |
1450 | |
1451 </section> | |
1452 | |
1453 | |
2830 | 1454 <section id="njs0.7.2" name="Changes with njs 0.7.2"> |
1455 | |
1456 <para> | |
1457 Release Date: | |
1458 25 January 2022 | |
1459 </para> | |
1460 | |
1461 <para> | |
1462 Core: | |
1463 <list type="bullet"> | |
1464 | |
1465 <listitem> | |
1466 <para> | |
1467 Bugfix: | |
1468 fixed | |
1469 <literal>Array.prototype.join()</literal> | |
1470 when array is changed while iterating. | |
1471 </para> | |
1472 </listitem> | |
1473 | |
1474 <listitem> | |
1475 <para> | |
1476 Bugfix: | |
1477 fixed | |
1478 <literal>Array.prototype.slice()</literal> | |
1479 when array is changed while iterating. | |
1480 </para> | |
1481 </listitem> | |
1482 | |
1483 <listitem> | |
1484 <para> | |
1485 Bugfix: | |
1486 fixed | |
1487 <literal>Array.prototype.concat()</literal> | |
1488 when array is changed while iterating. | |
1489 </para> | |
1490 </listitem> | |
1491 | |
1492 <listitem> | |
1493 <para> | |
1494 Bugfix: | |
1495 fixed | |
1496 <literal>Array.prototype.reverse()</literal> | |
1497 when array is changed while iterating. | |
1498 </para> | |
1499 </listitem> | |
1500 | |
1501 <listitem> | |
1502 <para> | |
1503 Bugfix: | |
1504 fixed | |
1505 <literal>Buffer.concat()</literal> | |
1506 with subarrays. | |
1507 Thanks to Sylvain Etienne. | |
1508 </para> | |
1509 </listitem> | |
1510 | |
1511 <listitem> | |
1512 <para> | |
1513 Bugfix: | |
1514 fixed | |
1515 type confusion bug while resolving promises. | |
1516 </para> | |
1517 </listitem> | |
1518 | |
1519 <listitem> | |
1520 <para> | |
1521 Bugfix: | |
1522 fixed | |
1523 <literal>Function.prototype.apply()</literal> | |
1524 with large array arguments. | |
1525 </para> | |
1526 </listitem> | |
1527 | |
1528 <listitem> | |
1529 <para> | |
1530 Bugfix: | |
1531 fixed recursive <literal>async</literal> function calls. | |
1532 </para> | |
1533 </listitem> | |
1534 | |
1535 <listitem> | |
1536 <para> | |
1537 Bugfix: | |
1538 fixed function redeclaration. | |
1539 The bug was introduced in | |
1540 <link id="njs0.7.0">0.7.0</link>. | |
1541 </para> | |
1542 </listitem> | |
1543 | |
1544 </list> | |
1545 </para> | |
1546 | |
1547 </section> | |
1548 | |
1549 | |
2817 | 1550 <section id="njs0.7.1" name="Changes with njs 0.7.1"> |
1551 | |
1552 <para> | |
1553 Release Date: | |
1554 28 December 2021 | |
1555 </para> | |
1556 | |
1557 <para> | |
1558 nginx modules: | |
1559 <list type="bullet"> | |
1560 | |
1561 <listitem> | |
1562 <para> | |
1563 Change: | |
1564 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
1565 deprecated since <link id="njs0.4.0">0.4.0</link> was removed. | |
1566 </para> | |
1567 </listitem> | |
1568 | |
1569 <listitem> | |
1570 <para> | |
1571 Change: | |
1572 PCRE/PCRE2-specific code was moved to the modules. | |
1573 This ensures that njs uses the same RegExp library as nginx. | |
1574 </para> | |
1575 </listitem> | |
1576 | |
1577 </list> | |
1578 </para> | |
1579 | |
1580 <para> | |
1581 Core: | |
1582 <list type="bullet"> | |
1583 | |
1584 <listitem> | |
1585 <para> | |
1586 Bugfix: | |
1587 fixed | |
1588 <literal>decodeURI()</literal> and | |
1589 <literal>decodeURIComponent()</literal> | |
1590 with invalid byte strings. | |
1591 The bug was introduced in | |
1592 <link id="njs0.4.3">0.4.3</link>. | |
1593 </para> | |
1594 </listitem> | |
1595 | |
1596 <listitem> | |
1597 <para> | |
1598 Bugfix: | |
1599 fixed heap-use-after-free in <literal>await</literal> frame. | |
1600 The bug was introduced in | |
1601 <link id="njs0.7.0">0.7.0</link>. | |
1602 </para> | |
1603 </listitem> | |
1604 | |
1605 <listitem> | |
1606 <para> | |
1607 Bugfix: | |
1608 fixed WebCrypto <literal>sign()</literal> and | |
1609 <literal>verify()</literal> methods with OpenSSL 3.0. | |
1610 </para> | |
1611 </listitem> | |
1612 | |
1613 <listitem> | |
1614 <para> | |
1615 Bugfix: | |
1616 fixed exception throwing when RegExp match fails. | |
1617 The bug was introduced in | |
1618 <link id="njs0.1.15">0.1.15</link>. | |
1619 </para> | |
1620 </listitem> | |
1621 | |
1622 <listitem> | |
1623 <para> | |
1624 Bugfix: | |
1625 fixed catching of exception thrown in <literal>try</literal> block | |
1626 of <literal>async</literal> function. | |
1627 The bug was introduced in | |
1628 <link id="njs0.7.0">0.7.0</link>. | |
1629 </para> | |
1630 </listitem> | |
1631 | |
1632 <listitem> | |
1633 <para> | |
1634 Bugfix: | |
1635 fixed execution of <literal>async</literal> function in synchronous context. | |
1636 The bug was introduced in | |
1637 <link id="njs0.7.0">0.7.0</link>. | |
1638 </para> | |
1639 </listitem> | |
1640 | |
1641 <listitem> | |
1642 <para> | |
1643 Bugfix: | |
1644 fixed function redeclaration in CLI when interactive mode is on. | |
1645 The bug was introduced in | |
1646 <link id="njs0.6.2">0.6.2</link>. | |
1647 </para> | |
1648 </listitem> | |
1649 | |
1650 <listitem> | |
1651 <para> | |
1652 Bugfix: | |
1653 fixed <literal>typeof</literal> operator with | |
1654 <literal>DataView</literal> object. | |
1655 </para> | |
1656 </listitem> | |
1657 | |
1658 <listitem> | |
1659 <para> | |
1660 Bugfix: eliminated information leak in <literal>Buffer.from()</literal>. | |
1661 </para> | |
1662 </listitem> | |
1663 | |
1664 </list> | |
1665 | |
1666 </para> | |
1667 | |
1668 </section> | |
1669 | |
1670 | |
2785 | 1671 <section id="njs0.7.0" name="Changes with njs 0.7.0"> |
1672 | |
1673 <para> | |
1674 Release Date: | |
1675 19 October 2021 | |
1676 </para> | |
1677 | |
1678 <para> | |
1679 nginx modules: | |
1680 <list type="bullet"> | |
1681 | |
1682 <listitem> | |
1683 <para> | |
1684 Feature: | |
1685 Added | |
1686 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_protocols">HTTPS</link> | |
1687 support for | |
1688 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
1689 </para> | |
1690 </listitem> | |
1691 | |
1692 <listitem> | |
1693 <para> | |
1694 Feature: | |
1695 Added | |
1696 <literal>setReturnValue()</literal> method for | |
1697 <link doc="reference.xml" id="r_set_return_value">http</link> and | |
1698 <link doc="reference.xml" id="s_set_return_value">stream</link>. | |
1699 </para> | |
1700 </listitem> | |
1701 | |
1702 </list> | |
1703 </para> | |
1704 | |
1705 <para> | |
1706 Core: | |
1707 <list type="bullet"> | |
1708 | |
1709 <listitem> | |
1710 <para> | |
1711 Feature: | |
1712 introduced <literal>Async/Await</literal> implementation. | |
1713 </para> | |
1714 </listitem> | |
1715 | |
1716 <listitem> | |
1717 <para> | |
1718 Feature: | |
1719 added | |
1720 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link> | |
1721 implementation. | |
1722 </para> | |
1723 </listitem> | |
1724 | |
1725 <listitem> | |
1726 <para> | |
1727 Bugfix: | |
1728 fixed copying of closures for declared functions. | |
1729 The bug was introduced in | |
1730 <link id="njs0.6.0">0.6.0</link>. | |
1731 </para> | |
1732 </listitem> | |
1733 | |
1734 <listitem> | |
1735 <para> | |
1736 Bugfix: | |
1737 fixed unhandled <literal>promise</literal> rejection in handle events. | |
1738 </para> | |
1739 </listitem> | |
1740 | |
1741 <listitem> | |
1742 <para> | |
1743 Bugfix: | |
1744 fixed Response.headers getter in Fetch API. | |
1745 </para> | |
1746 </listitem> | |
1747 | |
1748 </list> | |
1749 | |
1750 </para> | |
1751 | |
1752 </section> | |
1753 | |
1754 | |
2762 | 1755 <section id="njs0.6.2" name="Changes with njs 0.6.2"> |
1756 | |
1757 <para> | |
1758 Release Date: | |
1759 31 August 2021 | |
1760 </para> | |
1761 | |
1762 <para> | |
1763 nginx modules: | |
1764 <list type="bullet"> | |
1765 | |
1766 <listitem> | |
1767 <para> | |
1768 Bugfix: | |
1769 fixed CPU hog when | |
1770 <literal>js_filter</literal> is registered in both directions. | |
1771 </para> | |
1772 </listitem> | |
1773 | |
1774 </list> | |
1775 </para> | |
1776 | |
1777 <para> | |
1778 Core: | |
1779 <list type="bullet"> | |
1780 | |
1781 <listitem> | |
1782 <para> | |
1783 Feature: | |
1784 introduced <literal>AggregateError</literal> implementation. | |
1785 </para> | |
1786 </listitem> | |
1787 | |
1788 <listitem> | |
1789 <para> | |
1790 Feature: | |
1791 added remaining <literal>Promise</literal> constructor methods. | |
1792 The following methods were added: | |
2863 | 1793 <literal>Promise.all()</literal>, |
1794 <literal>Promise.allSettled()</literal>, | |
1795 <literal>Promise.any()</literal>, | |
1796 <literal>Promise.race()</literal>. | |
2762 | 1797 </para> |
1798 </listitem> | |
1799 | |
1800 <listitem> | |
1801 <para> | |
1802 Improvement: | |
1803 removed recursion from code generator. | |
1804 </para> | |
1805 </listitem> | |
1806 | |
1807 <listitem> | |
1808 <para> | |
1809 Bugfix: | |
1810 fixed rest parameter parsing without binding identifier. | |
1811 </para> | |
1812 </listitem> | |
1813 | |
1814 <listitem> | |
1815 <para> | |
1816 Bugfix: | |
1817 fixed resolve/reject callback for | |
2909 | 1818 <literal>Promise.prototype.finally()</literal> . |
1819 </para> | |
1820 </listitem> | |
1821 | |
1822 <listitem> | |
1823 <para> | |
1824 Bugfix: | |
1825 fixed <literal>%TypedArray%.prototype.join()</literal> | |
2762 | 1826 with detached buffer. |
1827 </para> | |
1828 </listitem> | |
1829 | |
1830 <listitem> | |
1831 <para> | |
1832 Bugfix: | |
1833 fixed memory leak in interactive shell. | |
1834 </para> | |
1835 </listitem> | |
1836 </list> | |
1837 | |
1838 </para> | |
1839 | |
1840 </section> | |
1841 | |
1842 | |
2744 | 1843 <section id="njs0.6.1" name="Changes with njs 0.6.1"> |
1844 | |
1845 <para> | |
1846 Release Date: | |
1847 29 June 2021 | |
1848 </para> | |
1849 | |
1850 <para> | |
1851 <list type="bullet"> | |
1852 | |
1853 <listitem> | |
1854 <para> | |
1855 Bugfix: | |
1856 fixed <literal>RegExpBuiltinExec()</literal> with UTF-8 only regexps. | |
1857 The bug was introduced in <link id="njs0.4.2">0.4.2</link>. | |
1858 </para> | |
1859 </listitem> | |
1860 | |
1861 <listitem> | |
1862 <para> | |
1863 Bugfix: | |
1864 fixed parsing of export default declaration with non-assignment expressions. | |
1865 Thanks to Artem S. Povalyukhin. | |
1866 </para> | |
1867 </listitem> | |
1868 | |
1869 </list> | |
1870 </para> | |
1871 | |
1872 </section> | |
1873 | |
1874 | |
2741 | 1875 <section id="njs0.6.0" name="Changes with njs 0.6.0"> |
1876 | |
1877 <para> | |
1878 Release Date: | |
1879 15 June 2021 | |
1880 </para> | |
1881 | |
1882 <para> | |
1883 Core: | |
1884 <list type="bullet"> | |
1885 | |
1886 <listitem> | |
1887 <para> | |
1888 Feature: | |
1889 added | |
1890 <literal>let</literal> and | |
1891 <literal>const</literal> declaration support. | |
1892 </para> | |
1893 </listitem> | |
1894 | |
1895 <listitem> | |
1896 <para> | |
1897 Feature: | |
1898 added <literal>RegExp.prototype[Symbol.split]</literal>. | |
1899 </para> | |
1900 </listitem> | |
1901 | |
1902 <listitem> | |
1903 <para> | |
1904 Feature: | |
1905 added sticky flag support for RegExp. | |
1906 </para> | |
1907 </listitem> | |
1908 | |
1909 <listitem> | |
1910 <para> | |
1911 Bugfix: | |
1912 fixed heap-buffer-overflow in | |
1913 <literal>String.prototype.lastIndexOf()</literal>. | |
1914 </para> | |
1915 </listitem> | |
1916 | |
1917 <listitem> | |
1918 <para> | |
1919 Bugfix: | |
1920 fixed | |
1921 <literal>RegExp.prototype.test()</literal> | |
1922 according to the specification. | |
1923 </para> | |
1924 </listitem> | |
1925 | |
1926 <listitem> | |
1927 <para> | |
1928 Bugfix: | |
1929 fixed | |
1930 <literal>String.prototype.split()</literal> | |
1931 according to the specification. | |
1932 </para> | |
1933 </listitem> | |
1934 | |
1935 <listitem> | |
1936 <para> | |
1937 Bugfix: | |
1938 fixed use-of-uninitialized-value while tracking rejected promises. | |
1939 </para> | |
1940 </listitem> | |
1941 | |
1942 <listitem> | |
1943 <para> | |
1944 Bugfix: | |
1945 fixed <literal>njs.dump()</literal> for objects with circular references. | |
1946 </para> | |
1947 </listitem> | |
1948 | |
1949 </list> | |
1950 </para> | |
1951 | |
1952 </section> | |
1953 | |
1954 | |
2698 | 1955 <section id="njs0.5.3" name="Changes with njs 0.5.3"> |
1956 | |
1957 <para> | |
1958 Release Date: | |
1959 30 March 2021 | |
1960 </para> | |
1961 | |
1962 <para> | |
1963 nginx modules: | |
1964 <list type="bullet"> | |
1965 | |
1966 <listitem> | |
1967 <para> | |
1968 Feature: | |
1969 added the <literal>js_var</literal> directive for | |
1970 <link doc="../http/ngx_http_js_module.xml" id="js_var">http</link> and | |
1971 <link doc="../stream/ngx_stream_js_module.xml" id="js_var">stream</link>. | |
1972 </para> | |
1973 </listitem> | |
1974 | |
1975 </list> | |
1976 </para> | |
1977 | |
1978 </section> | |
1979 | |
1980 | |
2674 | 1981 <section id="njs0.5.2" name="Changes with njs 0.5.2"> |
1982 | |
1983 <para> | |
1984 Release Date: | |
1985 09 March 2021 | |
1986 </para> | |
1987 | |
1988 <para> | |
1989 nginx modules: | |
1990 <list type="bullet"> | |
1991 | |
1992 <listitem> | |
1993 <para> | |
1994 Feature: | |
1995 added the | |
1996 <link doc="../http/ngx_http_js_module.xml" id="js_body_filter"><literal>js_body_filter</literal></link> | |
1997 directive. | |
1998 </para> | |
1999 </listitem> | |
2000 | |
2001 <listitem> | |
2002 <para> | |
2003 Feature: | |
2004 introduced the | |
2005 <link doc="reference.xml" id="s_status"><literal>s.status</literal></link> | |
2006 property for | |
2007 <link doc="reference.xml" id="stream">Stream Session</link> | |
2008 object. | |
2009 </para> | |
2010 </listitem> | |
2011 | |
2743
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2012 </list> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2013 </para> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2014 |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2015 <para> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2016 Core: |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2017 <list type="bullet"> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2018 |
2674 | 2019 <listitem> |
2020 <para> | |
2021 Feature: | |
2022 added | |
2023 <link doc="reference.xml" id="njs_on"><literal>njs.on</literal></link> | |
2024 (<literal>exit</literal>) callback support. | |
2025 </para> | |
2026 </listitem> | |
2027 | |
2028 <listitem> | |
2029 <para> | |
2030 Bugfix: | |
2031 fixed property descriptor reuse for not extensible objects. | |
2032 Thanks to Artem S. Povalyukhin. | |
2033 </para> | |
2034 </listitem> | |
2035 | |
2036 <listitem> | |
2037 <para> | |
2038 Bugfix: | |
2039 fixed <literal>Object.freeze()</literal> and friends | |
2040 according to the specification. | |
2041 Thanks to Artem S. Povalyukhin. | |
2042 </para> | |
2043 </listitem> | |
2044 | |
2045 <listitem> | |
2046 <para> | |
2047 Bugfix: | |
2048 fixed <literal>Function()</literal> in CLI mode. | |
2049 </para> | |
2050 </listitem> | |
2051 | |
2052 <listitem> | |
2053 <para> | |
2054 Bugfix: | |
2909 | 2055 fixed <literal>for-in</literal> iteration of typed array values. |
2674 | 2056 Thanks to Artem S. Povalyukhin. |
2057 </para> | |
2058 </listitem> | |
2059 | |
2060 </list> | |
2061 </para> | |
2062 | |
2063 </section> | |
2064 | |
2065 | |
2656 | 2066 <section id="njs0.5.1" name="Changes with njs 0.5.1"> |
2067 | |
2068 <para> | |
2069 Release Date: | |
2070 16 February 2021 | |
2071 </para> | |
2072 | |
2073 <para> | |
2074 nginx modules: | |
2075 <list type="bullet"> | |
2076 | |
2077 <listitem> | |
2078 <para> | |
2079 Feature: | |
2080 introduced | |
2081 <link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link> | |
2082 method implementing Fetch API. | |
2083 </para> | |
2084 | |
2085 <para> | |
2086 The following properties and methods of | |
2087 <link doc="reference.xml" id="response"><literal>Response</literal></link> | |
2088 object are implemented: | |
2089 <link doc="reference.xml" id="response_arraybuffer"><literal>arrayBuffer()</literal></link>, | |
2090 <link doc="reference.xml" id="response_bodyused"><literal>bodyUsed</literal></link>, | |
2091 <link doc="reference.xml" id="response_json"><literal>json()</literal></link>, | |
2092 <link doc="reference.xml" id="response_headers"><literal>headers</literal></link>, | |
2093 <link doc="reference.xml" id="response_ok"><literal>ok</literal></link>, | |
2094 <link doc="reference.xml" id="response_redirect"><literal>redirect</literal></link>, | |
2095 <link doc="reference.xml" id="response_status"><literal>status</literal></link>, | |
2096 <link doc="reference.xml" id="response_statustext"><literal>statusText</literal></link>, | |
2097 <link doc="reference.xml" id="response_text"><literal>text()</literal></link>, | |
2098 <link doc="reference.xml" id="response_type"><literal>type</literal></link>, | |
2099 <link doc="reference.xml" id="response_url"><literal>url</literal></link>. | |
2100 </para> | |
2101 | |
2102 <para> | |
2103 Notable limitations: | |
2104 only the <literal>http://</literal> scheme is supported, | |
2105 redirects are not handled. | |
2106 </para> | |
2107 | |
2108 <para> | |
2109 In collaboration with 洪志道 (Hong Zhi Dao). | |
2110 </para> | |
2111 </listitem> | |
2112 | |
2113 <listitem> | |
2114 <para> | |
2115 Feature: | |
2116 added the | |
2117 <link doc="../http/ngx_http_js_module.xml" id="js_header_filter"><literal>js_header_filter</literal></link> | |
2118 directive. | |
2119 </para> | |
2120 </listitem> | |
2121 | |
2122 <listitem> | |
2123 <para> | |
2124 Bugfix: | |
2125 fixed processing buffered data in body filter in | |
2126 <link doc="../stream/ngx_stream_js_module.xml">stream</link> module. | |
2127 </para> | |
2128 </listitem> | |
2129 | |
2130 </list> | |
2131 </para> | |
2132 | |
2133 <para> | |
2134 Core: | |
2135 <list type="bullet"> | |
2136 | |
2137 <listitem> | |
2138 <para> | |
2139 Bugfix: | |
2140 fixed safe mode bypass in <literal>Function</literal> constructor. | |
2141 </para> | |
2142 </listitem> | |
2143 | |
2144 <listitem> | |
2145 <para> | |
2146 Bugfix: | |
2147 fixed <literal>Date.prototype.toISOString()</literal> with invalid date values. | |
2148 </para> | |
2149 </listitem> | |
2150 | |
2151 </list> | |
2152 </para> | |
2153 | |
2154 </section> | |
2155 | |
2156 | |
2628 | 2157 <section id="njs0.5.0" name="Changes with njs 0.5.0"> |
2158 | |
2159 <para> | |
2160 Release Date: | |
2161 01 December 2020 | |
2162 </para> | |
2163 | |
2164 <para> | |
2165 nginx modules: | |
2166 <list type="bullet"> | |
2167 | |
2168 <listitem> | |
2169 <para> | |
2170 Feature: | |
2171 introduced global | |
2172 <link doc="reference.xml" id="ngx"><literal>ngx</literal></link> object. | |
2173 </para> | |
2174 | |
2175 <para> | |
2176 The following methods were added: | |
2177 <list type="bullet"> | |
2178 | |
2179 <listitem> | |
2180 <para> | |
2181 <link doc="reference.xml" id="ngx_log"><literal>ngx.log(level, | |
2182 message)</literal></link> | |
2183 </para> | |
2184 </listitem> | |
2185 | |
2186 </list> | |
2187 </para> | |
2188 | |
2189 <para> | |
2190 The following properties were added: | |
2191 <list type="bullet"> | |
2192 | |
2193 <listitem> | |
2194 <para> | |
2195 <literal>ngx.INFO</literal>, | |
2196 <literal>ngx.WARN</literal>, | |
2197 <literal>ngx.ERR</literal>. | |
2198 </para> | |
2199 </listitem> | |
2200 | |
2201 </list> | |
2202 </para> | |
2203 | |
2204 </listitem> | |
2205 | |
2206 <listitem> | |
2207 <para> | |
2208 Feature: | |
2209 added support for | |
2210 <literal>Buffer</literal> object where string is expected. | |
2211 </para> | |
2212 </listitem> | |
2213 | |
2214 <listitem> | |
2215 <para> | |
2216 Feature: | |
2217 added Buffer version of existing properties. | |
2218 </para> | |
2219 | |
2220 <para> | |
2221 The following properties were added: | |
2222 <list type="bullet"> | |
2223 | |
2224 <listitem> | |
2225 <para> | |
2226 <link doc="reference.xml" id="r_request_buffer"><literal>r.requestBuffer</literal></link> | |
2227 (<link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link>), | |
2228 <link doc="reference.xml" id="r_response_buffer"><literal>r.responseBuffer</literal></link> | |
2229 (<link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link>), | |
2230 <link doc="reference.xml" id="r_raw_variables"><literal>r.rawVariables</literal></link> | |
2231 (<link doc="reference.xml" id="r_variables"><literal>r.variables</literal></link>), | |
2232 <link doc="reference.xml" id="s_raw_variables"><literal>s.rawVariables</literal></link> | |
2233 (<link doc="reference.xml" id="s_variables"><literal>s.variables</literal></link>). | |
2234 </para> | |
2235 </listitem> | |
2236 | |
2237 </list> | |
2238 </para> | |
2239 | |
2240 <para> | |
2241 The following events were added in the stream module: | |
2242 <list type="bullet"> | |
2243 | |
2244 <listitem> | |
2245 <para> | |
2246 <link doc="reference.xml" id="s_on"><literal>upstream</literal></link> | |
2247 (upload), | |
2248 <link doc="reference.xml" id="s_on"><literal>downstream</literal></link> | |
2249 (download). | |
2250 </para> | |
2251 </listitem> | |
2252 | |
2253 </list> | |
2254 </para> | |
2255 | |
2256 </listitem> | |
2257 | |
2258 <listitem> | |
2259 <para> | |
2260 Improvement: | |
2261 added aliases to existing properties. | |
2262 </para> | |
2263 | |
2264 <para> | |
2265 The following properties were added: | |
2266 <list type="bullet"> | |
2267 | |
2268 <listitem> | |
2269 <para> | |
2270 <link doc="reference.xml" id="r_request_text"><literal>r.requestText</literal></link> | |
2271 (<link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link>), | |
2272 <link doc="reference.xml" id="r_response_text"><literal>r.responseText</literal></link> | |
2273 (<link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link>). | |
2274 </para> | |
2275 </listitem> | |
2276 | |
2277 </list> | |
2278 </para> | |
2279 | |
2280 </listitem> | |
2281 | |
2282 <listitem> | |
2283 <para> | |
2284 Improvement: | |
2285 throwing an exception in | |
2286 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> | |
2287 for a subrequest. | |
2288 </para> | |
2289 </listitem> | |
2290 | |
2291 <listitem> | |
2292 <para> | |
2293 Bugfix: | |
2294 fixed promise | |
2295 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link> | |
2296 with | |
2297 <link doc="../http/ngx_http_core_module.xml" id="error_page"><literal>error_page</literal></link> | |
2298 redirect. | |
2299 </para> | |
2300 </listitem> | |
2301 | |
2302 <listitem> | |
2303 <para> | |
2304 Bugfix: | |
2305 fixed | |
2306 <literal>promise</literal> events handling. | |
2307 </para> | |
2308 </listitem> | |
2309 | |
2310 </list> | |
2311 </para> | |
2312 | |
2313 <para> | |
2314 Core: | |
2315 <list type="bullet"> | |
2316 | |
2317 <listitem> | |
2318 <para> | |
2319 Feature: | |
2320 added | |
2321 <literal>TypeScript</literal> definitions for built-in modules. | |
2322 Thanks to Jakub Jirutka. | |
2323 </para> | |
2324 </listitem> | |
2325 | |
2326 <listitem> | |
2327 <para> | |
2328 Feature: | |
2329 tracking unhandled <literal>promise</literal> rejection. | |
2330 </para> | |
2331 </listitem> | |
2332 | |
2333 <listitem> | |
2334 <para> | |
2335 Feature: | |
2336 added initial iterator support. | |
2337 Thanks to Artem S. Povalyukhin. | |
2338 </para> | |
2339 </listitem> | |
2340 | |
2341 <listitem> | |
2342 <para> | |
2343 Improvement: | |
2344 <literal>TypeScript</literal> definitions are refactored. | |
2345 Thanks to Jakub Jirutka. | |
2346 </para> | |
2347 </listitem> | |
2348 | |
2349 <listitem> | |
2350 <para> | |
2351 Improvement: | |
2352 added forgotten support for | |
2353 <literal>Object.prototype.valueOf()</literal> | |
2354 in | |
2355 <literal>Buffer.from()</literal>. | |
2356 </para> | |
2357 </listitem> | |
2358 | |
2359 <listitem> | |
2360 <para> | |
2361 Bugfix: | |
2362 fixed heap-use-after-free in | |
2363 <literal>JSON.parse()</literal>. | |
2364 </para> | |
2365 </listitem> | |
2366 | |
2367 <listitem> | |
2368 <para> | |
2369 Bugfix: | |
2370 fixed heap-use-after-free in | |
2371 <literal>JSON.stringify()</literal>. | |
2372 </para> | |
2373 </listitem> | |
2374 | |
2375 <listitem> | |
2376 <para> | |
2377 Bugfix: | |
2378 fixed | |
2379 <literal>JSON.stringify()</literal> for arrays resizable via getters. | |
2380 </para> | |
2381 </listitem> | |
2382 | |
2383 <listitem> | |
2384 <para> | |
2385 Bugfix: | |
2386 fixed heap-buffer-overflow for | |
2387 <literal>RegExp.prototype[Symbol.replace]</literal>. | |
2388 </para> | |
2389 </listitem> | |
2390 | |
2391 <listitem> | |
2392 <para> | |
2393 Bugfix: | |
2394 fixed returned value for | |
2395 <literal>Buffer.prototype.write*</literal> | |
2396 functions. | |
2397 </para> | |
2398 </listitem> | |
2399 | |
2400 <listitem> | |
2401 <para> | |
2402 Bugfix: | |
2403 fixed | |
2404 <link doc="reference.xml" id="querystring_stringify"><literal>querystring.stringify()</literal></link>. | |
2405 Thanks to Artem S. Povalyukhin. | |
2406 </para> | |
2407 </listitem> | |
2408 | |
2409 <listitem> | |
2410 <para> | |
2411 Bugfix: | |
2412 fixed the catch handler for | |
2413 <literal>Promise.prototype.finally()</literal>. | |
2414 </para> | |
2415 </listitem> | |
2416 | |
2417 <listitem> | |
2418 <para> | |
2419 Bugfix: | |
2420 fixed | |
2421 <link doc="reference.xml" id="querystring_parse"><literal>querystring.parse()</literal></link>. | |
2422 </para> | |
2423 </listitem> | |
2424 | |
2425 </list> | |
2426 </para> | |
2427 | |
2428 </section> | |
2429 | |
2430 | |
2601 | 2431 <section id="njs0.4.4" name="Changes with njs 0.4.4"> |
2432 | |
2433 <para> | |
2434 Release Date: | |
2435 29 September 2020 | |
2436 </para> | |
2437 | |
2438 <para> | |
2439 nginx modules: | |
2440 <list type="bullet"> | |
2441 | |
2442 <listitem> | |
2443 <para> | |
2444 Bugfix: | |
2445 fixed location merge. | |
2446 </para> | |
2447 </listitem> | |
2448 | |
2449 <listitem> | |
2450 <para> | |
2451 Bugfix: | |
2452 fixed | |
2453 <link doc="reference.xml" id="r_http_version"><literal>r.httpVersion</literal></link> | |
2454 for HTTP/2. | |
2455 </para> | |
2456 </listitem> | |
2457 | |
2458 </list> | |
2459 </para> | |
2460 | |
2461 <para> | |
2462 Core: | |
2463 <list type="bullet"> | |
2464 | |
2465 <listitem> | |
2466 <para> | |
2467 Feature: | |
2468 added support for numeric separators (ES12). | |
2469 </para> | |
2470 </listitem> | |
2471 | |
2472 <listitem> | |
2473 <para> | |
2474 Feature: | |
2475 added remaining methods for | |
2476 <literal>%TypedArray%.prototype</literal>. | |
2477 The following methods were added: | |
2478 <literal>every()</literal>, | |
2479 <literal>filter()</literal>, | |
2480 <literal>find()</literal>, | |
2481 <literal>findIndex()</literal>, | |
2482 <literal>forEach()</literal>, | |
2483 <literal>includes()</literal>, | |
2484 <literal>indexOf()</literal>, | |
2485 <literal>lastIndexOf()</literal>, | |
2486 <literal>map()</literal>, | |
2487 <literal>reduce()</literal>, | |
2488 <literal>reduceRight()</literal>, | |
2489 <literal>reverse()</literal>, | |
2490 <literal>some()</literal>. | |
2491 </para> | |
2492 </listitem> | |
2493 | |
2494 <listitem> | |
2495 <para> | |
2496 Feature: | |
2497 added <literal>%TypedArray%</literal> remaining methods. | |
2498 The following methods were added: | |
2499 <literal>from()</literal>, | |
2500 <literal>of()</literal>. | |
2501 </para> | |
2502 </listitem> | |
2503 | |
2504 <listitem> | |
2505 <para> | |
2506 Feature: | |
2507 added <literal>DataView</literal> object. | |
2508 </para> | |
2509 </listitem> | |
2510 <listitem> | |
2511 <para> | |
2512 Feature: | |
2513 added <literal>Buffer</literal> object implementation. | |
2514 </para> | |
2515 </listitem> | |
2516 | |
2517 <listitem> | |
2518 <para> | |
2519 Feature: | |
2520 added support for <literal>ArrayBuffer</literal> in | |
2521 <link doc="reference.xml" id="textdecoder_decode"><literal>TextDecoder.prototype.decode()</literal></link> | |
2522 </para> | |
2523 </listitem> | |
2524 | |
2525 <listitem> | |
2526 <para> | |
2527 Feature: | |
2528 added support for <literal>Buffer</literal> object in | |
2529 <link doc="reference.xml" id="crypto"><literal>crypto</literal></link> | |
2530 methods. | |
2531 </para> | |
2532 </listitem> | |
2533 | |
2534 <listitem> | |
2535 <para> | |
2536 Feature: | |
2537 added support for <literal>Buffer</literal> object in | |
2538 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
2539 methods. | |
2540 </para> | |
2541 </listitem> | |
2542 | |
2543 <listitem> | |
2544 <para> | |
2545 Change: | |
2546 <link doc="reference.xml" id="crypto_hash_digest"><literal>Hash.prototype.digest()</literal></link> | |
2547 and | |
2548 <link doc="reference.xml" id="crypto_hmac_digest"><literal>Hmac.prototype.digest()</literal></link> | |
2549 now return a <literal>Buffer</literal> instance instead of a byte string when | |
2550 encoding is not provided. | |
2551 </para> | |
2552 </listitem> | |
2553 | |
2554 <listitem> | |
2555 <para> | |
2556 Change: | |
2557 <link doc="reference.xml" id="readfilesync"><literal>fs.readFile()</literal></link> | |
2558 and friends now return a <literal>Buffer</literal> instance | |
2559 instead of a byte string when encoding is not provided. | |
2560 </para> | |
2561 </listitem> | |
2562 | |
2563 <listitem> | |
2564 <para> | |
2565 Bugfix: | |
2566 fixed function <literal>prototype</literal> property handler while setting. | |
2567 </para> | |
2568 </listitem> | |
2569 | |
2570 <listitem> | |
2571 <para> | |
2572 Bugfix: | |
2573 fixed function <literal>constructor</literal> property handler while setting. | |
2574 </para> | |
2575 </listitem> | |
2576 | |
2577 <listitem> | |
2578 <para> | |
2579 Bugfix: | |
2580 fixed <literal>String.prototype.indexOf()</literal> | |
2581 for byte strings. | |
2582 </para> | |
2583 </listitem> | |
2584 | |
2585 <listitem> | |
2586 <para> | |
2587 Bugfix: | |
2588 fixed <literal>RegExpBuiltinExec()</literal> | |
2589 with a global flag and byte strings. | |
2590 </para> | |
2591 </listitem> | |
2592 | |
2593 <listitem> | |
2594 <para> | |
2595 Bugfix: | |
2596 fixed <literal>RegExp.prototype[Symbol.replace]</literal> | |
2597 the when replacement value is a function. | |
2598 </para> | |
2599 </listitem> | |
2600 | |
2601 <listitem> | |
2602 <para> | |
2603 Bugfix: | |
2604 fixed | |
2605 <link doc="reference.xml" id="textdecoder_decode"><literal>TextDecoder.prototype.decode()</literal></link> | |
2606 with non-zero <literal>TypedArray</literal> offset. | |
2607 </para> | |
2608 </listitem> | |
2609 | |
2610 </list> | |
2611 </para> | |
2612 | |
2613 </section> | |
2614 | |
2615 | |
2584 | 2616 <section id="njs0.4.3" name="Changes with njs 0.4.3"> |
2617 | |
2618 <para> | |
2619 Release Date: | |
2620 11 August 2020 | |
2621 </para> | |
2622 | |
2623 <para> | |
2624 Core: | |
2625 <list type="bullet"> | |
2626 | |
2627 <listitem> | |
2628 <para> | |
2629 Feature: | |
2630 added | |
2631 <link doc="reference.xml" id="querystring"><literal>Query String</literal></link> | |
2632 module. | |
2633 </para> | |
2634 </listitem> | |
2635 | |
2636 <listitem> | |
2637 <para> | |
2638 Feature: | |
2639 improved | |
2640 <link doc="reference.xml" id="fs_mkdirsync"><literal>fs.mkdir()</literal></link> | |
2641 to support recursive directory creation. | |
2642 Thanks to Artem S. Povalyukhin. | |
2643 </para> | |
2644 </listitem> | |
2645 | |
2646 <listitem> | |
2647 <para> | |
2648 Feature: | |
2649 improved | |
2650 <link doc="reference.xml" id="fs_rmdirsync"><literal>fs.rmdir()</literal></link> | |
2651 to support recursive directory removal. | |
2652 Thanks to Artem S. Povalyukhin. | |
2653 </para> | |
2654 </listitem> | |
2655 | |
2656 <listitem> | |
2657 <para> | |
2658 Feature: | |
2659 introduced UTF-8 decoder according to | |
2660 <link url="https://encoding.spec.whatwg.org/">WHATWG</link> encoding spec. | |
2661 </para> | |
2662 </listitem> | |
2663 | |
2664 <listitem> | |
2665 <para> | |
2666 Feature: | |
2585
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
2667 added |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
2668 <link doc="reference.xml" id="textdecoder"><literal>TextDecoder()</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
2669 and |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
2670 <link doc="reference.xml" id="textencoder"><literal>TextEncoder()</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
2671 implementation. |
2584 | 2672 </para> |
2673 </listitem> | |
2674 | |
2675 <listitem> | |
2676 <para> | |
2677 Bugfix: | |
2678 fixed parsing return statement without semicolon. | |
2679 </para> | |
2680 </listitem> | |
2681 | |
2682 <listitem> | |
2683 <para> | |
2684 Bugfix: | |
2685 fixed <literal>njs_number_to_int32()</literal> for big-endian platforms. | |
2686 </para> | |
2687 </listitem> | |
2688 | |
2689 <listitem> | |
2690 <para> | |
2691 Bugfix: | |
2692 fixed unit test on big-endian platforms. | |
2693 </para> | |
2694 </listitem> | |
2695 | |
2696 <listitem> | |
2697 <para> | |
2698 Bugfix: | |
2699 fixed regexp-literals parsing with “<literal>=</literal>” characters. | |
2700 </para> | |
2701 </listitem> | |
2702 | |
2703 <listitem> | |
2704 <para> | |
2705 Bugfix: | |
2706 fixed pre/post increment/decrement in assignment operations. | |
2707 </para> | |
2708 </listitem> | |
2709 | |
2710 </list> | |
2711 </para> | |
2712 | |
2713 </section> | |
2714 | |
2715 | |
2566 | 2716 <section id="njs0.4.2" name="Changes with njs 0.4.2"> |
2717 | |
2718 <para> | |
2719 Release Date: | |
2720 07 July 2020 | |
2721 </para> | |
2722 | |
2723 <para> | |
2724 Core: | |
2725 <list type="bullet"> | |
2726 | |
2727 <listitem> | |
2728 <para> | |
2729 Feature: | |
2730 added <literal>RegExp.prototype[Symbol.replace]</literal>. | |
2731 </para> | |
2732 </listitem> | |
2733 | |
2734 <listitem> | |
2735 <para> | |
2736 Feature: | |
2737 introduced line level backtrace. | |
2738 </para> | |
2739 </listitem> | |
2740 | |
2741 <listitem> | |
2742 <para> | |
2743 Feature: | |
2744 added <literal>%TypedArray%.prototype.sort()</literal>. | |
2745 </para> | |
2746 </listitem> | |
2747 | |
2748 <listitem> | |
2749 <para> | |
2750 Feature: | |
2751 extended | |
2752 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
2753 Added | |
2754 <link doc="reference.xml" id="fs_mkdirsync"><literal>mkdir()</literal></link>, | |
2755 <link doc="reference.xml" id="fs_readdirsync"><literal>readdir()</literal></link>, | |
2756 <link doc="reference.xml" id="fs_rmdirsync"><literal>rmdir()</literal></link>, | |
2757 and friends. | |
2758 </para> | |
2759 </listitem> | |
2760 | |
2761 <listitem> | |
2762 <para> | |
2763 Improvement: | |
2764 parser refactoring. | |
2765 </para> | |
2766 </listitem> | |
2767 | |
2768 <listitem> | |
2769 <para> | |
2770 Bugfix: | |
2771 fixed TypedScript API description for HTTP headers. | |
2772 </para> | |
2773 </listitem> | |
2774 | |
2775 <listitem> | |
2776 <para> | |
2777 Bugfix: | |
2778 fixed TypedScript API description for <literal>NjsByteString</literal> type. | |
2779 </para> | |
2780 </listitem> | |
2781 | |
2782 <listitem> | |
2783 <para> | |
2784 Bugfix: | |
2785 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2786 <literal>String.prototype.repeat()</literal> |
2566 | 2787 according to the specification. |
2788 </para> | |
2789 </listitem> | |
2790 | |
2791 <listitem> | |
2792 <para> | |
2793 Bugfix: | |
2794 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2795 <literal>String.prototype.replace()</literal> |
2566 | 2796 according to the specification. |
2797 </para> | |
2798 </listitem> | |
2799 | |
2800 <listitem> | |
2801 <para> | |
2802 Bugfix: | |
2803 fixed parsing of flags for regexp literals. | |
2804 </para> | |
2805 </listitem> | |
2806 | |
2807 <listitem> | |
2808 <para> | |
2809 Bugfix: | |
2810 fixed index generation for global objects in generator. | |
2811 </para> | |
2812 </listitem> | |
2813 | |
2814 <listitem> | |
2815 <para> | |
2816 Bugfix: | |
2817 fixed <literal>%TypedArray%.prototype.copyWithin()</literal> | |
2818 with nonzero byte offset. | |
2819 </para> | |
2820 </listitem> | |
2821 | |
2822 <listitem> | |
2823 <para> | |
2824 Bugfix: | |
2825 fixed <literal>Array.prototype.splice()</literal> | |
2826 for sparse arrays. | |
2827 </para> | |
2828 </listitem> | |
2829 | |
2830 <listitem> | |
2831 <para> | |
2832 Bugfix: | |
2833 fixed <literal>Array.prototype.reverse()</literal> | |
2834 for sparse arrays. | |
2835 </para> | |
2836 </listitem> | |
2837 | |
2838 <listitem> | |
2839 <para> | |
2840 Bugfix: | |
2841 fixed <literal>Array.prototype.sort()</literal> | |
2842 for sparse arrays. | |
2843 </para> | |
2844 </listitem> | |
2845 | |
2846 </list> | |
2847 </para> | |
2848 | |
2849 </section> | |
2850 | |
2851 | |
2547 | 2852 <section id="njs0.4.1" name="Changes with njs 0.4.1"> |
2853 | |
2854 <para> | |
2855 Release Date: | |
2856 19 May 2020 | |
2857 </para> | |
2858 | |
2859 <para> | |
2860 nginx modules: | |
2861 <list type="bullet"> | |
2862 | |
2863 <listitem> | |
2864 <para> | |
2865 Feature: | |
2866 added support for multi-value headers in | |
2867 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
2868 </para> | |
2869 </listitem> | |
2870 | |
2871 <listitem> | |
2872 <para> | |
2873 Feature: | |
2874 introduced <literal>raw headers</literal> API: | |
2875 <link doc="reference.xml" id="r_raw_headers_in"><literal>r.rawHeadersIn{}</literal></link> | |
2876 and | |
2877 <link doc="reference.xml" id="r_raw_headers_out"><literal>r.rawHeadersOut{}</literal></link>. | |
2878 </para> | |
2879 </listitem> | |
2880 | |
2881 <listitem> | |
2882 <para> | |
2883 Feature: | |
2884 added <link doc="typescript.xml">TypeScript</link> API description. | |
2885 </para> | |
2886 </listitem> | |
2887 | |
2888 </list> | |
2889 </para> | |
2890 | |
2891 <para> | |
2892 Core: | |
2893 <list type="bullet"> | |
2894 | |
2895 <listitem> | |
2896 <para> | |
2897 Bugfix: | |
2898 fixed <literal>Array.prototype.slice()</literal> for sparse arrays. | |
2899 </para> | |
2900 </listitem> | |
2901 | |
2902 </list> | |
2903 </para> | |
2904 | |
2905 </section> | |
2906 | |
2907 | |
2535 | 2908 <section id="njs0.4.0" name="Changes with njs 0.4.0"> |
2909 | |
2910 <para> | |
2911 Release Date: | |
2912 23 April 2020 | |
2913 </para> | |
2914 | |
2915 <para> | |
2916 nginx modules: | |
2917 <list type="bullet"> | |
2918 | |
2919 <listitem> | |
2920 <para> | |
2921 Feature: | |
2922 added support for multi-value headers in | |
2923 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
2924 </para> | |
2925 </listitem> | |
2926 | |
2927 <listitem> | |
2928 <para> | |
2929 Feature: | |
2930 added <literal>js_import</literal> directive for | |
2931 <link doc="../http/ngx_http_js_module.xml" id="js_import">http</link> and | |
2932 <link doc="../stream/ngx_stream_js_module.xml" id="js_import">stream</link>. | |
2933 </para> | |
2934 </listitem> | |
2935 | |
2936 <listitem> | |
2937 <para> | |
2938 Improvement: | |
2939 improved iteration over | |
2940 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
2941 with special headers. | |
2942 </para> | |
2943 </listitem> | |
2944 | |
2945 <listitem> | |
2946 <para> | |
2947 Improvement: | |
2948 improved iteration over | |
2949 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
2950 with duplicates. | |
2951 </para> | |
2952 </listitem> | |
2953 | |
2954 <listitem> | |
2955 <para> | |
2956 Change: | |
2957 <link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link> | |
2958 property handler now returns | |
2959 <literal>undefined</literal> | |
2960 instead of throwing an exception if the response body is not available. | |
2961 </para> | |
2962 </listitem> | |
2963 | |
2964 </list> | |
2965 </para> | |
2966 | |
2967 <para> | |
2968 Core: | |
2969 <list type="bullet"> | |
2970 | |
2971 <listitem> | |
2972 <para> | |
2973 Feature: | |
2974 added script arguments support in CLI. | |
2975 </para> | |
2976 </listitem> | |
2977 | |
2978 <listitem> | |
2979 <para> | |
2980 Feature: | |
2981 converting externals values to native js objects. | |
2982 </para> | |
2983 </listitem> | |
2984 | |
2985 <listitem> | |
2986 <para> | |
2987 Bugfix: | |
2988 fixed NULL-pointer dereference | |
2989 in <literal>__proto__</literal> property handler. | |
2990 </para> | |
2991 </listitem> | |
2992 | |
2993 <listitem> | |
2994 <para> | |
2995 Bugfix: | |
2996 fixed handling of no-newline at the end of the script. | |
2997 </para> | |
2998 </listitem> | |
2999 | |
3000 <listitem> | |
3001 <para> | |
3002 Bugfix: | |
3003 fixed <literal>RegExp()</literal> constructor | |
3004 with empty pattern and non-empty flags. | |
3005 </para> | |
3006 </listitem> | |
3007 | |
3008 <listitem> | |
3009 <para> | |
3010 Bugfix: | |
2735
ff357b676c2e
Removed trailing spaces.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2698
diff
changeset
|
3011 fixed |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3012 <literal>String.prototype.replace()</literal> |
2535 | 3013 when function returns non-string. |
3014 </para> | |
3015 </listitem> | |
3016 | |
3017 <listitem> | |
3018 <para> | |
3019 Bugfix: | |
3020 fixed reading of pseudofiles in | |
3021 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>. | |
3022 </para> | |
3023 </listitem> | |
3024 | |
3025 </list> | |
3026 </para> | |
3027 | |
3028 </section> | |
3029 | |
3030 | |
2507 | 3031 <section id="njs0.3.9" name="Changes with njs 0.3.9"> |
3032 | |
3033 <para> | |
3034 Release Date: | |
3035 03 March 2020 | |
3036 </para> | |
3037 | |
3038 <para> | |
3039 nginx modules: | |
3040 <list type="bullet"> | |
3041 | |
3042 <listitem> | |
3043 <para> | |
3044 Feature: | |
3045 added detached mode for | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
3046 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2507 | 3047 Responses to detached subrequests are ignored. |
3048 Unlike ordinary subrequests, | |
3049 a detached subrequest can be created inside a variable handler. | |
3050 </para> | |
3051 </listitem> | |
3052 | |
3053 </list> | |
3054 </para> | |
3055 | |
3056 <para> | |
3057 Core: | |
3058 <list type="bullet"> | |
3059 | |
3060 <listitem> | |
3061 <para> | |
3062 Feature: | |
3063 added <literal>promises</literal> API for | |
3064 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
3065 Thanks to Artem S. Povalyukhin. | |
3066 </para> | |
3067 </listitem> | |
3068 | |
3069 <listitem> | |
3070 <para> | |
3071 Feature: | |
3072 extended <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
3073 module. | |
3074 Added | |
3075 <link doc="reference.xml" id="fs_accesssync"><literal>access()</literal></link>, | |
3076 <link doc="reference.xml" id="fs_symlinksync"><literal>symlink()</literal></link>, | |
3077 <link doc="reference.xml" id="fs_unlinksync"><literal>unlink()</literal></link>, | |
3078 <link doc="reference.xml" id="fs_realpathsync"><literal>realpath()</literal></link>, | |
3079 and friends. | |
3080 Thanks to Artem S. Povalyukhin. | |
3081 </para> | |
3082 </listitem> | |
3083 | |
3084 <listitem> | |
3085 <para> | |
3086 Improvement: | |
3087 introduced memory-efficient ordinary arrays. | |
3088 </para> | |
3089 </listitem> | |
3090 | |
3091 <listitem> | |
3092 <para> | |
3093 Improvement: | |
3094 lexer refactoring. | |
3095 </para> | |
3096 </listitem> | |
3097 | |
3098 <listitem> | |
3099 <para> | |
3100 Bugfix: | |
3101 fixed matching of native functions in backtraces. | |
3102 </para> | |
3103 </listitem> | |
3104 | |
3105 <listitem> | |
3106 <para> | |
3107 Bugfix: | |
3108 fixed callback invocations in | |
3109 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
3110 Thanks to Artem S. Povalyukhin. | |
3111 </para> | |
3112 </listitem> | |
3113 | |
3114 <listitem> | |
3115 <para> | |
3116 Bugfix: | |
3117 fixed <literal>Object.getOwnPropertySymbols()</literal>. | |
3118 </para> | |
3119 </listitem> | |
3120 | |
3121 <listitem> | |
3122 <para> | |
3123 Bugfix: | |
3124 fixed heap-buffer-overflow in | |
3125 <literal>njs_json_append_string()</literal>. | |
3126 </para> | |
3127 </listitem> | |
3128 | |
3129 <listitem> | |
3130 <para> | |
3131 Bugfix: | |
3132 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3133 <literal>encodeURI()</literal> |
2507 | 3134 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3135 <literal>decodeURI()</literal> |
2507 | 3136 according to the specification. |
3137 </para> | |
3138 </listitem> | |
3139 | |
3140 <listitem> | |
3141 <para> | |
3142 Bugfix: | |
3143 fixed <literal>Number.prototype.toPrecision()</literal>. | |
3144 </para> | |
3145 </listitem> | |
3146 | |
3147 <listitem> | |
3148 <para> | |
3149 Bugfix: | |
3150 fixed handling of space argument in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3151 <literal>JSON.stringify()</literal>. |
2507 | 3152 </para> |
3153 </listitem> | |
3154 | |
3155 <listitem> | |
3156 <para> | |
3157 Bugfix: | |
3158 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3159 <literal>JSON.stringify()</literal> |
2507 | 3160 with |
3161 <literal>Number()</literal> and | |
3162 <literal>String()</literal> | |
3163 objects. | |
3164 </para> | |
3165 </listitem> | |
3166 | |
3167 <listitem> | |
3168 <para> | |
3169 Bugfix: | |
3170 fixed Unicode Escaping in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3171 <literal>JSON.stringify()</literal> |
2507 | 3172 according to specification. |
3173 </para> | |
3174 </listitem> | |
3175 | |
3176 <listitem> | |
3177 <para> | |
3178 Bugfix: | |
3179 fixed non-native module importing. | |
3180 Thanks to 洪志道 (Hong Zhi Dao). | |
3181 </para> | |
3182 </listitem> | |
3183 | |
3184 <listitem> | |
3185 <para> | |
3186 Bugfix: | |
3187 fixed | |
3188 <literal>njs.dump()</literal> with the | |
3189 <literal>Date()</literal> | |
3190 instance in a container. | |
3191 </para> | |
3192 </listitem> | |
3193 | |
3194 </list> | |
3195 </para> | |
3196 | |
3197 </section> | |
3198 | |
3199 | |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3200 <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
|
3201 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3202 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3203 Release Date: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3204 21 January 2020 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3205 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3206 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3207 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3208 nginx modules: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3209 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3210 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3211 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3212 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3213 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3214 added <literal>Promise</literal> support for |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
3215 <link doc="reference.xml" id="r_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
|
3216 If a callback is not provided, |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
3217 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3218 returns an ordinary |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3219 <literal>Promise</literal> object |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3220 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
|
3221 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3222 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3223 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3224 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3225 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3226 Change: |
2514
da5355b68ddd
Removed brackets from r.parent in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2510
diff
changeset
|
3227 <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
|
3228 property handler now returns |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3229 <literal>undefined</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3230 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
|
3231 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3232 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3233 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3234 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3235 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3236 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3237 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3238 Core: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3239 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3240 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3241 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3242 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3243 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3244 added <literal>Promise</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3245 Implemented according to the specification without: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3246 <literal>Promise.all()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3247 <literal>Promise.allSettled()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3248 <literal>Promise.race()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3249 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3250 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3251 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3252 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3253 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3254 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3255 added initial Typed-arrays support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3256 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3257 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3258 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3259 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3260 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3261 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3262 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3263 added <literal>ArrayBuffer</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3264 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3265 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3266 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3267 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3268 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3269 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3270 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3271 added initial <literal>Symbol</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3272 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3273 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3274 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3275 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3276 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3277 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3278 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3279 added externals support for |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3280 <literal>JSON.stringify()</literal>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3281 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3282 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3283 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3284 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3285 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3286 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3287 added <literal>Object.is()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3288 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3289 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3290 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3291 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3292 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3293 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3294 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3295 added <literal>Object.setPrototypeOf()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3296 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3297 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3298 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3299 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3300 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3301 <para> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3302 Feature: |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3303 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
|
3304 </para> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3305 </listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3306 |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3307 <listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3308 <para> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3309 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3310 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3311 <literal>Object.getPrototypeOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3312 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3313 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3314 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3315 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3316 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3317 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3318 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3319 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3320 <literal>Object.prototype.valueOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3321 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3322 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3323 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3324 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3325 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3326 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3327 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3328 fixed |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3329 <literal>JSON.stringify()</literal> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3330 with unprintable values and replacer function. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3331 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3332 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3333 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3334 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3335 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3336 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3337 fixed operator <literal>in</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3338 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3339 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3340 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3341 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3342 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3343 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3344 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3345 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3346 <literal>Object.defineProperties()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3347 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3348 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3349 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3350 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3351 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3352 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3353 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3354 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3355 <literal>Object.create()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3356 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3357 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3358 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3359 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3360 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3361 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3362 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3363 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3364 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3365 <literal>Number.prototype.toString(radix)</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3366 when fast-math is enabled. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3367 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3368 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3369 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3370 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3371 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3372 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3373 fixed <literal>RegExp()</literal> instance properties. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3374 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3375 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3376 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3377 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3378 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3379 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3380 fixed import segfault. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3381 Thanks to 洪志道 (Hong Zhi Dao). |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3382 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3383 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3384 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3385 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3386 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3387 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3388 </section> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3389 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3390 |
2466 | 3391 <section id="njs0.3.7" name="Changes with njs 0.3.7"> |
3392 | |
3393 <para> | |
3394 Release Date: | |
3395 19 November 2019 | |
3396 </para> | |
3397 | |
3398 <para> | |
3399 nginx modules: | |
3400 <list type="bullet"> | |
3401 | |
3402 <listitem> | |
3403 <para> | |
3404 Improvement: | |
3405 refactored iteration over external objects. | |
3406 </para> | |
3407 </listitem> | |
3408 | |
3409 </list> | |
3410 </para> | |
3411 | |
3412 <para> | |
3413 Core: | |
3414 <list type="bullet"> | |
3415 | |
3416 <listitem> | |
3417 <para> | |
3418 Feature: | |
3419 added <literal>Object.assign()</literal>. | |
3420 </para> | |
3421 </listitem> | |
3422 | |
3423 <listitem> | |
3424 <para> | |
3425 Feature: | |
3426 added <literal>Array.prototype.copyWithin()</literal>. | |
3427 </para> | |
3428 </listitem> | |
3429 | |
3430 <listitem> | |
3431 <para> | |
3432 Feature: | |
3433 added support for labels in <literal>console.time()</literal>. | |
3434 </para> | |
3435 </listitem> | |
3436 | |
3437 <listitem> | |
3438 <para> | |
3439 Change: | |
3440 removed <literal>console.help()</literal> from CLI. | |
3441 </para> | |
3442 </listitem> | |
3443 | |
3444 <listitem> | |
3445 <para> | |
3446 Improvement: | |
3447 moved constructors and top-level objects to global object. | |
3448 </para> | |
3449 </listitem> | |
3450 | |
3451 <listitem> | |
3452 <para> | |
3453 Improvement: | |
3454 arguments validation for configure script. | |
3455 </para> | |
3456 </listitem> | |
3457 | |
3458 <listitem> | |
3459 <para> | |
3460 Improvement: | |
3461 refactored JSON methods. | |
3462 </para> | |
3463 </listitem> | |
3464 | |
3465 <listitem> | |
3466 <para> | |
3467 Bugfix: | |
3468 fixed heap-buffer-overflow in | |
3469 <literal>njs_array_reverse_iterator()</literal> function. | |
3470 The following functions were affected: | |
3471 <literal>Array.prototype.lastIndexOf()</literal>, | |
3472 <literal>Array.prototype.reduceRight()</literal>. | |
3473 </para> | |
3474 </listitem> | |
3475 | |
3476 <listitem> | |
3477 <para> | |
3478 Bugfix: | |
3479 fixed | |
3480 <literal>[[Prototype]]</literal> slot of <literal>NativeErrors</literal>. | |
3481 </para> | |
3482 </listitem> | |
3483 | |
3484 <listitem> | |
3485 <para> | |
3486 Bugfix: | |
3487 fixed | |
3488 <literal>NativeError.prototype.message</literal> properties. | |
3489 </para> | |
3490 </listitem> | |
3491 | |
3492 <listitem> | |
3493 <para> | |
3494 Bugfix: | |
3495 added conversion of | |
3496 <literal>this</literal> value to object in | |
3497 <literal>Array.prototype functions</literal>. | |
3498 </para> | |
3499 </listitem> | |
3500 | |
3501 <listitem> | |
3502 <para> | |
3503 Bugfix: | |
3504 fixed iterator for | |
3505 <literal>Array.prototype.find()</literal> and | |
3506 <literal>Array.prototype.findIndex()</literal> | |
3507 functions. | |
3508 </para> | |
3509 </listitem> | |
3510 | |
3511 <listitem> | |
3512 <para> | |
3513 Bugfix: | |
3514 fixed | |
3515 <literal>Array.prototype.includes()</literal> and | |
3516 <literal>Array.prototype.join()</literal> with | |
3517 <literal>undefined</literal> argument. | |
3518 </para> | |
3519 </listitem> | |
3520 | |
3521 <listitem> | |
3522 <para> | |
3523 Bugfix: | |
3524 fixed <literal>constructor</literal> property of | |
3525 <literal>Hash</literal> and | |
3526 <literal>Hmac</literal> | |
3527 objects. | |
3528 </para> | |
3529 </listitem> | |
3530 | |
3531 <listitem> | |
3532 <para> | |
3533 Bugfix: | |
3534 fixed <literal>__proto__</literal> property of getters and setters. | |
3535 </para> | |
3536 </listitem> | |
3537 | |
3538 <listitem> | |
3539 <para> | |
3540 Bugfix: | |
3541 fixed <literal>Date</literal> object string formatting. | |
3542 </para> | |
3543 </listitem> | |
3544 | |
3545 <listitem> | |
3546 <para> | |
3547 Bugfix: | |
3548 fixed handling of | |
3549 <literal>NaN</literal> and <literal>-0</literal> arguments in | |
3550 <literal>Math.min()</literal> and | |
3551 <literal>Math.max()</literal>. | |
3552 </para> | |
3553 </listitem> | |
3554 | |
3555 <listitem> | |
3556 <para> | |
3557 Bugfix: | |
3558 fixed <literal>Math.round()</literal> | |
3559 according to the specification. | |
3560 </para> | |
3561 </listitem> | |
3562 | |
3563 <listitem> | |
3564 <para> | |
3565 Bugfix: | |
3566 reimplemented <literal>bound</literal> functions | |
3567 according to the specification. | |
3568 </para> | |
3569 </listitem> | |
3570 | |
3571 </list> | |
3572 </para> | |
3573 | |
3574 </section> | |
3575 | |
3576 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3577 <section id="njs0.3.6" name="Changes with njs 0.3.6"> |
2446 | 3578 |
3579 <para> | |
3580 Release Date: | |
3581 22 October 2019 | |
3582 </para> | |
3583 | |
3584 <para> | |
3585 nginx modules: | |
3586 <list type="bullet"> | |
3587 | |
3588 <listitem> | |
3589 <para> | |
3590 Improvement: | |
3591 getting special headers from | |
3592 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
3593 </para> | |
3594 </listitem> | |
3595 | |
3596 </list> | |
3597 </para> | |
3598 | |
3599 <para> | |
3600 Core: | |
3601 <list type="bullet"> | |
3602 | |
3603 <listitem> | |
3604 <para> | |
3605 Feature: | |
3606 added new <literal>Function()</literal> support. | |
3607 </para> | |
3608 </listitem> | |
3609 | |
3610 <listitem> | |
3611 <para> | |
3612 Feature: | |
3613 added <literal>Number.prototype.toFixed()</literal>. | |
3614 </para> | |
3615 </listitem> | |
3616 | |
3617 <listitem> | |
3618 <para> | |
3619 Feature: | |
3620 added <literal>Number.prototype.toPrecision()</literal>. | |
3621 </para> | |
3622 </listitem> | |
3623 | |
3624 <listitem> | |
3625 <para> | |
3626 Feature: | |
3627 added <literal>Number.prototype.toExponential()</literal>. | |
3628 </para> | |
3629 </listitem> | |
3630 | |
3631 <listitem> | |
3632 <para> | |
3633 Improvement: | |
3634 making <literal>prototype</literal> property of function instances writable. | |
3635 </para> | |
3636 </listitem> | |
3637 | |
3638 <listitem> | |
3639 <para> | |
3640 Improvement: | |
3641 limiting recursion depth while compiling. | |
3642 </para> | |
3643 </listitem> | |
3644 | |
3645 <listitem> | |
3646 <para> | |
3647 Improvement: | |
3648 moving global functions to the global object. | |
3649 </para> | |
3650 </listitem> | |
3651 | |
3652 <listitem> | |
3653 <para> | |
3654 Bugfix: | |
3655 fixed prototype mutation for object literals. | |
3656 </para> | |
3657 </listitem> | |
3658 | |
3659 <listitem> | |
3660 <para> | |
3661 Bugfix: | |
3662 fixed heap-buffer-overflow while parsing regexp literals. | |
3663 </para> | |
3664 </listitem> | |
3665 | |
3666 <listitem> | |
3667 <para> | |
3668 Bugfix: | |
3669 fixed integer-overflow while parsing exponent of number literals. | |
3670 </para> | |
3671 </listitem> | |
3672 | |
3673 <listitem> | |
3674 <para> | |
3675 Bugfix: | |
3676 fixed <literal>parseFloat()</literal>. | |
3677 </para> | |
3678 </listitem> | |
3679 | |
3680 <listitem> | |
3681 <para> | |
3682 Bugfix: | |
3683 fixed <literal>Array.prototype</literal> functions | |
3684 according to the specification. | |
3685 The following functions were fixed: | |
3686 <literal>every</literal>, | |
3687 <literal>includes</literal>, | |
3688 <literal>indexOf</literal>, | |
3689 <literal>filter</literal>, | |
3690 <literal>find</literal>, | |
3691 <literal>findIndex</literal>, | |
3692 <literal>forEach</literal>, | |
3693 <literal>lastIndexOf</literal>, | |
3694 <literal>map</literal>, | |
3695 <literal>pop</literal>, | |
3696 <literal>push</literal>, | |
3697 <literal>reduce</literal>, | |
3698 <literal>reduceRight</literal>, | |
3699 <literal>shift</literal>, | |
3700 <literal>some</literal>, | |
3701 <literal>unshift</literal>. | |
3702 </para> | |
3703 </listitem> | |
3704 | |
3705 <listitem> | |
3706 <para> | |
3707 Bugfix: | |
3708 fixed handing of accessor descriptors in <literal>Object.freeze()</literal>. | |
3709 </para> | |
3710 </listitem> | |
3711 | |
3712 <listitem> | |
3713 <para> | |
3714 Bugfix: | |
3715 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3716 <literal>String.prototype.replace()</literal> |
2446 | 3717 when first argument is not a string. |
3718 </para> | |
3719 </listitem> | |
3720 | |
3721 <listitem> | |
3722 <para> | |
3723 Bugfix: | |
3724 fixed stack-use-after-scope in <literal>Array.prototype.map()</literal>. | |
3725 </para> | |
3726 </listitem> | |
3727 | |
3728 <listitem> | |
3729 <para> | |
3730 Bugfix: | |
3731 <literal>Date.prototype.toUTCString()</literal> | |
3732 format was aligned to ES9. | |
3733 </para> | |
3734 </listitem> | |
3735 | |
3736 <listitem> | |
3737 <para> | |
3738 Bugfix: | |
3739 fixed buffer overflow in | |
3740 <literal>Number.prototype.toString(radix)</literal>. | |
3741 </para> | |
3742 </listitem> | |
3743 | |
3744 <listitem> | |
3745 <para> | |
3746 Bugfix: | |
3747 fixed | |
3748 <literal>Regexp.prototype.test()</literal> | |
3749 for regexps with backreferences. | |
3750 </para> | |
3751 </listitem> | |
3752 | |
3753 <listitem> | |
3754 <para> | |
3755 Bugfix: | |
3756 fixed | |
3757 <literal>Array.prototype.map()</literal> | |
3758 for objects with nonexistent values. | |
3759 </para> | |
3760 </listitem> | |
3761 | |
3762 <listitem> | |
3763 <para> | |
3764 Bugfix: | |
3765 fixed | |
3766 <literal>Array.prototype.pop()</literal> and | |
3767 <literal>shift()</literal> for sparse objects. | |
3768 </para> | |
3769 </listitem> | |
3770 | |
3771 <listitem> | |
3772 <para> | |
3773 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3774 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3775 <literal>Date.UTC()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3776 according to the specification. |
2446 | 3777 </para> |
3778 </listitem> | |
3779 | |
3780 <listitem> | |
3781 <para> | |
3782 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3783 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3784 <literal>Date()</literal> constructor |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3785 according to the specification. |
2446 | 3786 </para> |
3787 </listitem> | |
3788 | |
3789 <listitem> | |
3790 <para> | |
3791 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3792 fixed type of |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3793 <literal>Date.prototype</literal>. |
2446 | 3794 Thanks to Artem S. Povalyukhin. |
3795 </para> | |
3796 </listitem> | |
3797 | |
3798 <listitem> | |
3799 <para> | |
3800 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3801 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3802 <literal>Date.prototype.setTime()</literal>. |
2446 | 3803 Thanks to Artem S. Povalyukhin. |
3804 </para> | |
3805 </listitem> | |
3806 | |
3807 <listitem> | |
3808 <para> | |
3809 Bugfix: | |
3810 fixed default number of arguments expected by built-in functions. | |
3811 </para> | |
3812 </listitem> | |
3813 | |
3814 <listitem> | |
3815 <para> | |
3816 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3817 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3818 <literal>caller</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3819 <literal>arguments</literal> |
2446 | 3820 properties of a function instance. |
3821 Thanks to Artem S. Povalyukhin. | |
3822 </para> | |
3823 </listitem> | |
3824 | |
3825 </list> | |
3826 </para> | |
3827 | |
3828 </section> | |
3829 | |
3830 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3831 <section id="njs0.3.5" name="Changes with njs 0.3.5"> |
2420 | 3832 |
3833 <para> | |
3834 Release Date: | |
3835 15 August 2019 | |
3836 </para> | |
3837 | |
3838 <para> | |
3839 Core: | |
3840 <list type="bullet"> | |
3841 | |
3842 <listitem> | |
3843 <para> | |
3844 Bugfix: | |
3845 fixed module importing using <literal>require()</literal>. | |
3846 The bug was introduced in <link id="0.3.4"/>. | |
3847 </para> | |
3848 </listitem> | |
3849 | |
3850 <listitem> | |
3851 <para> | |
3852 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3853 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3854 <literal>[[SetPrototypeOf]]</literal>. |
2420 | 3855 </para> |
3856 </listitem> | |
3857 | |
3858 </list> | |
3859 </para> | |
3860 | |
3861 </section> | |
3862 | |
3863 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3864 <section id="njs0.3.4" name="Changes with njs 0.3.4"> |
2414 | 3865 |
3866 <para> | |
3867 Release Date: | |
3868 13 August 2019 | |
3869 </para> | |
3870 | |
3871 <para> | |
3872 Core: | |
3873 <list type="bullet"> | |
3874 | |
3875 <listitem> | |
3876 <para> | |
3877 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3878 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3879 <literal>Object</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3880 shorthand methods and computed property names. |
2414 | 3881 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. |
3882 </para> | |
3883 </listitem> | |
3884 | |
3885 <listitem> | |
3886 <para> | |
3887 Feature: | |
3888 added getter/setter literal support. | |
3889 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
3890 </para> | |
3891 </listitem> | |
3892 | |
3893 <listitem> | |
3894 <para> | |
3895 Feature: | |
3896 added | |
2507 | 3897 <link doc="reference.xml" id="fs_renamesync"><literal>fs.renameSync()</literal></link>. |
2414 | 3898 </para> |
3899 </listitem> | |
3900 | |
3901 <listitem> | |
3902 <para> | |
3903 Feature: | |
3904 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3905 <literal>String.prototype.trimEnd()</literal> |
2414 | 3906 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3907 <literal>String.prototype.trimStart()</literal>. |
2414 | 3908 </para> |
3909 </listitem> | |
3910 | |
3911 <listitem> | |
3912 <para> | |
3913 Improvement: | |
3914 added memory-sanitizer support. | |
3915 </para> | |
3916 </listitem> | |
3917 | |
3918 <listitem> | |
3919 <para> | |
3920 Improvement: | |
3921 Unicode case tables updated to version 12.1. | |
3922 </para> | |
3923 </listitem> | |
3924 | |
3925 <listitem> | |
3926 <para> | |
3927 Improvement: | |
3928 added UTF8 validation for string literals. | |
3929 </para> | |
3930 </listitem> | |
3931 | |
3932 <listitem> | |
3933 <para> | |
3934 Bugfix: | |
2735
ff357b676c2e
Removed trailing spaces.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2698
diff
changeset
|
3935 fixed reading files with zero size in |
2414 | 3936 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. |
3937 </para> | |
3938 </listitem> | |
3939 | |
3940 <listitem> | |
3941 <para> | |
3942 Bugfix: | |
3943 extended the list of space separators in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3944 <literal>String.prototype.trim()</literal>. |
2414 | 3945 </para> |
3946 </listitem> | |
3947 | |
3948 <listitem> | |
3949 <para> | |
3950 Bugfix: | |
3951 fixed using of uninitialized value in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3952 <literal>String.prototype.padStart()</literal>. |
2414 | 3953 </para> |
3954 </listitem> | |
3955 | |
3956 <listitem> | |
3957 <para> | |
3958 Bugfix: | |
3959 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3960 <literal>String.prototype.replace()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3961 for <literal>$0</literal> and <literal>$&</literal> replacement string. |
2414 | 3962 </para> |
3963 </listitem> | |
3964 | |
3965 <listitem> | |
3966 <para> | |
3967 Bugfix: | |
3968 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3969 <literal>String.prototype.replace()</literal> |
2414 | 3970 for byte strings with regex argument. |
3971 </para> | |
3972 </listitem> | |
3973 | |
3974 <listitem> | |
3975 <para> | |
3976 Bugfix: | |
3977 fixed global match in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3978 <literal>String.prototype.replace()</literal> |
2414 | 3979 with regexp argument. |
3980 </para> | |
3981 </listitem> | |
3982 | |
3983 <listitem> | |
3984 <para> | |
3985 Bugfix: | |
3986 fixed | |
3987 <literal>Array.prototype.slice()</literal> | |
3988 for primitive types. | |
3989 </para> | |
3990 </listitem> | |
3991 | |
3992 <listitem> | |
3993 <para> | |
3994 Bugfix: | |
3995 fixed heap-buffer-overflow while importing module. | |
3996 </para> | |
3997 </listitem> | |
3998 | |
3999 <listitem> | |
4000 <para> | |
4001 Bugfix: | |
4002 fixed UTF-8 character escaping. | |
4003 </para> | |
4004 </listitem> | |
4005 | |
4006 <listitem> | |
4007 <para> | |
4008 Bugfix: | |
4009 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4010 <literal>Object.values()</literal> |
2414 | 4011 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4012 <literal>Object.entries()</literal> |
2414 | 4013 for shared objects. |
4014 </para> | |
4015 </listitem> | |
4016 | |
4017 <listitem> | |
4018 <para> | |
4019 Bugfix: | |
4020 fixed uninitialized memory access in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4021 <literal>String.prototype.match()</literal>. |
2414 | 4022 </para> |
4023 </listitem> | |
4024 | |
4025 <listitem> | |
4026 <para> | |
4027 Bugfix: | |
4028 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4029 <literal>String.prototype.match()</literal> |
2414 | 4030 for byte strings with regex argument. |
4031 </para> | |
4032 </listitem> | |
4033 | |
4034 <listitem> | |
4035 <para> | |
4036 Bugfix: | |
4037 fixed | |
4038 <literal>Array.prototype.lastIndexOf()</literal> | |
4039 with undefined arguments. | |
4040 </para> | |
4041 </listitem> | |
4042 | |
4043 <listitem> | |
4044 <para> | |
4045 Bugfix: | |
4046 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4047 <literal>String.prototype.substring()</literal> |
2414 | 4048 with empty substring. |
4049 </para> | |
4050 </listitem> | |
4051 | |
4052 <listitem> | |
4053 <para> | |
4054 Bugfix: | |
4055 fixed invalid memory access in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4056 <literal>String.prototype.substring()</literal>. |
2414 | 4057 </para> |
4058 </listitem> | |
4059 | |
4060 <listitem> | |
4061 <para> | |
4062 Bugfix: | |
4063 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4064 <literal>String.fromCharCode()</literal> |
2414 | 4065 for code points more than <literal>65535</literal> and <literal>NaN</literal>. |
4066 </para> | |
4067 </listitem> | |
4068 | |
4069 <listitem> | |
4070 <para> | |
4071 Bugfix: | |
4072 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4073 <literal>String.prototype.toLowerCase()</literal> |
2414 | 4074 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4075 <literal>String.prototype.toUpperCase()</literal>. |
2414 | 4076 </para> |
4077 </listitem> | |
4078 | |
4079 <listitem> | |
4080 <para> | |
4081 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4082 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4083 <literal>Error()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4084 constructor with no arguments. |
2414 | 4085 </para> |
4086 </listitem> | |
4087 | |
4088 <listitem> | |
4089 <para> | |
4090 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4091 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4092 <literal>in</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4093 operator for values with accessor descriptors. |
2414 | 4094 </para> |
4095 </listitem> | |
4096 | |
4097 <listitem> | |
4098 <para> | |
4099 Bugfix: | |
4100 fixed | |
4101 <literal>Object.defineProperty()</literal> | |
4102 for non-boolean descriptor props. | |
4103 </para> | |
4104 </listitem> | |
4105 | |
4106 <listitem> | |
4107 <para> | |
4108 Bugfix: | |
4109 fixed | |
4110 <literal>Error.prototype.toString()</literal> | |
4111 with UTF8 string properties. | |
4112 </para> | |
4113 </listitem> | |
4114 | |
4115 <listitem> | |
4116 <para> | |
4117 Bugfix: | |
4118 fixed | |
4119 <literal>Error.prototype.toString()</literal> | |
4120 with non-string values for <literal>name</literal> and <literal>message</literal>. | |
4121 </para> | |
4122 </listitem> | |
4123 | |
4124 </list> | |
4125 </para> | |
4126 | |
4127 </section> | |
4128 | |
4129 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4130 <section id="njs0.3.3" name="Changes with njs 0.3.3"> |
2402 | 4131 |
4132 <para> | |
4133 Release Date: | |
4134 25 June 2019 | |
4135 </para> | |
4136 | |
4137 <para> | |
4138 nginx modules: | |
4139 <list type="bullet"> | |
4140 | |
4141 <listitem> | |
4142 <para> | |
4143 Improvement: | |
4144 getting of special response headers in | |
4145 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
4146 </para> | |
4147 </listitem> | |
4148 | |
4149 <listitem> | |
4150 <para> | |
4151 Improvement: | |
4152 working with unknown methods in | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
4153 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2402 | 4154 </para> |
4155 </listitem> | |
4156 | |
4157 <listitem> | |
4158 <para> | |
4159 Improvement: | |
4160 added support for null as a second argument of | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
4161 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2402 | 4162 </para> |
4163 </listitem> | |
4164 | |
4165 <listitem> | |
4166 <para> | |
4167 Bugfix: | |
4168 fixed processing empty output chain in stream body filter. | |
4169 </para> | |
4170 </listitem> | |
4171 | |
4172 </list> | |
4173 </para> | |
4174 | |
4175 <para> | |
4176 Core: | |
4177 <list type="bullet"> | |
4178 | |
4179 <listitem> | |
4180 <para> | |
4181 Feature: | |
4182 added runtime support for property getter/setter. | |
4183 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
4184 </para> | |
4185 </listitem> | |
4186 | |
4187 <listitem> | |
4188 <para> | |
4189 Feature: | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
4190 added |
2414 | 4191 <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
|
4192 global object. |
2402 | 4193 </para> |
4194 </listitem> | |
4195 | |
4196 <listitem> | |
4197 <para> | |
4198 Feature: | |
4199 writable most of built-in properties and methods. | |
4200 </para> | |
4201 </listitem> | |
4202 | |
4203 <listitem> | |
4204 <para> | |
4205 Feature: | |
4206 added generic implementation of | |
4207 <literal>Array.prototype.fill()</literal>. | |
4208 </para> | |
4209 </listitem> | |
4210 | |
4211 <listitem> | |
4212 <para> | |
4213 Bugfix: | |
4214 fixed integer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4215 <literal>String.prototype.concat()</literal>. |
2402 | 4216 </para> |
4217 </listitem> | |
4218 | |
4219 <listitem> | |
4220 <para> | |
4221 Bugfix: | |
4222 fixed setting of object properties. | |
4223 </para> | |
4224 </listitem> | |
4225 | |
4226 <listitem> | |
4227 <para> | |
4228 Bugfix: | |
4229 fixed | |
4230 <literal>Array.prototype.toString()</literal>. | |
4231 </para> | |
4232 </listitem> | |
4233 | |
4234 <listitem> | |
4235 <para> | |
4236 Bugfix: | |
4237 fixed | |
4238 <literal>Date.prototype.toJSON()</literal>. | |
4239 </para> | |
4240 </listitem> | |
4241 | |
4242 <listitem> | |
4243 <para> | |
4244 Bugfix: | |
4245 fixed overwriting “constructor” property of built-in prototypes. | |
4246 </para> | |
4247 </listitem> | |
4248 | |
4249 <listitem> | |
4250 <para> | |
4251 Bugfix: | |
4252 fixed processing of invalid surrogate pairs in strings. | |
4253 </para> | |
4254 </listitem> | |
4255 | |
4256 <listitem> | |
4257 <para> | |
4258 Bugfix: | |
4259 fixed processing of invalid surrogate pairs in JSON strings. | |
4260 </para> | |
4261 </listitem> | |
4262 | |
4263 <listitem> | |
4264 <para> | |
4265 Bugfix: | |
4266 fixed heap-buffer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4267 <literal>toUpperCase()</literal> |
2402 | 4268 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4269 <literal>toLowerCase()</literal>. |
2402 | 4270 </para> |
4271 </listitem> | |
4272 | |
4273 <listitem> | |
4274 <para> | |
4275 Bugfix: | |
4276 fixed escaping lone closing square brackets in | |
4277 <literal>RegExp()</literal> constructor. | |
4278 </para> | |
4279 </listitem> | |
4280 | |
4281 <listitem> | |
4282 <para> | |
4283 Bugfix: | |
4284 fixed handling zero byte characters inside RegExp pattern strings. | |
4285 </para> | |
4286 </listitem> | |
4287 | |
4288 <listitem> | |
4289 <para> | |
4290 Bugfix: | |
4291 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4292 <literal>String.prototype.toBytes()</literal> |
2402 | 4293 for ASCII strings. |
4294 </para> | |
4295 </listitem> | |
4296 | |
4297 <listitem> | |
4298 <para> | |
4299 Bugfix: | |
4300 fixed truth value of JSON numbers in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4301 <literal>JSON.parse()</literal>. |
2402 | 4302 </para> |
4303 </listitem> | |
4304 | |
4305 <listitem> | |
4306 <para> | |
4307 Bugfix: | |
4308 fixed use-of-uninitialized-value in | |
4309 <literal>njs_string_replace_join()</literal>. | |
4310 </para> | |
4311 </listitem> | |
4312 | |
4313 <listitem> | |
4314 <para> | |
4315 Bugfix: | |
4316 fixed <literal>parseInt('-0')</literal>. | |
4317 Thanks to Artem S. Povalyukhin. | |
4318 </para> | |
4319 </listitem> | |
4320 | |
4321 </list> | |
4322 </para> | |
4323 | |
4324 </section> | |
4325 | |
4326 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4327 <section id="njs0.3.2" name="Changes with njs 0.3.2"> |
2387 | 4328 |
4329 <para> | |
4330 Release Date: | |
4331 21 May 2019 | |
4332 </para> | |
4333 | |
4334 <para> | |
4335 Core: | |
4336 <list type="bullet"> | |
4337 | |
4338 <listitem> | |
4339 <para> | |
4340 Feature: | |
4341 added support for template literals. | |
4342 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
4343 </para> | |
4344 </listitem> | |
4345 | |
4346 <listitem> | |
4347 <para> | |
4348 Feature: | |
4349 executing command from command line arguments. | |
4350 </para> | |
4351 </listitem> | |
4352 | |
4353 <listitem> | |
4354 <para> | |
4355 Feature: | |
4356 added support for RegExp <literal>groups</literal> object (ES9). | |
4357 </para> | |
4358 </listitem> | |
4359 | |
4360 <listitem> | |
4361 <para> | |
4362 Feature: | |
4363 added block scoped function definitions support. | |
4364 </para> | |
4365 </listitem> | |
4366 | |
4367 <listitem> | |
4368 <para> | |
4369 Feature: | |
4370 added support for building with GNU Readline library. | |
4371 </para> | |
4372 </listitem> | |
4373 | |
4374 <listitem> | |
4375 <para> | |
4376 Feature: | |
4377 made configurable | |
4378 <literal>length</literal>, | |
4379 <literal>name</literal>, | |
4380 and most of built-in methods. | |
4381 </para> | |
4382 </listitem> | |
4383 | |
4384 <listitem> | |
4385 <para> | |
4386 Feature: | |
4387 made all constructor properties configurable. | |
4388 </para> | |
4389 </listitem> | |
4390 | |
4391 <listitem> | |
4392 <para> | |
4393 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4394 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4395 <literal>Regexp.prototype.exec()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4396 for Unicode-only regexps. |
2387 | 4397 </para> |
4398 </listitem> | |
4399 | |
4400 <listitem> | |
4401 <para> | |
4402 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4403 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4404 <literal>njs_vm_value_dump()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4405 for empty string values. |
2387 | 4406 </para> |
4407 </listitem> | |
4408 | |
4409 <listitem> | |
4410 <para> | |
4411 Bugfix: | |
4412 fixed RegExp constructor for regexp value arguments. | |
4413 </para> | |
4414 </listitem> | |
4415 | |
4416 <listitem> | |
4417 <para> | |
4418 Bugfix: | |
4419 fixed walking over prototypes chain during iteration over an object. | |
4420 </para> | |
4421 </listitem> | |
4422 | |
4423 <listitem> | |
4424 <para> | |
4425 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4426 fixed overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4427 <literal>Array.prototype.concat()</literal>. |
2387 | 4428 </para> |
4429 </listitem> | |
4430 | |
4431 <listitem> | |
4432 <para> | |
4433 Bugfix: | |
4434 fixed length calculation for UTF-8 string with escape characters. | |
4435 </para> | |
4436 </listitem> | |
4437 | |
4438 <listitem> | |
4439 <para> | |
4440 Bugfix: | |
4441 fixed parsing surrogate pair presents as UTF-16 escape sequences. | |
4442 </para> | |
4443 </listitem> | |
4444 | |
4445 <listitem> | |
4446 <para> | |
4447 Bugfix: | |
4448 fixed processing the “*” quantifier for | |
4449 <literal>String.prototype.match()</literal>. | |
4450 </para> | |
4451 </listitem> | |
4452 | |
4453 <listitem> | |
4454 <para> | |
4455 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4456 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4457 <literal>Date()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4458 constructor with one argument. |
2387 | 4459 </para> |
4460 </listitem> | |
4461 | |
4462 <listitem> | |
4463 <para> | |
4464 Bugfix: | |
4465 fixed arrays expansion. | |
4466 </para> | |
4467 </listitem> | |
4468 | |
4469 <listitem> | |
4470 <para> | |
4471 Bugfix: | |
4472 fixed heap-buffer-overflow in | |
4473 <literal>String.prototype.replace()</literal>. | |
4474 </para> | |
4475 </listitem> | |
4476 | |
4477 <listitem> | |
4478 <para> | |
4479 Bugfix: | |
4480 fixed heap-buffer-overflow in | |
4481 <literal>String.prototype.lastIndexOf()</literal>. | |
4482 </para> | |
4483 </listitem> | |
4484 | |
4485 <listitem> | |
4486 <para> | |
4487 Bugfix: | |
4488 fixed regexp literals parsing with escaped backslash | |
4489 and backslash in square brackets. | |
4490 </para> | |
4491 </listitem> | |
4492 | |
4493 <listitem> | |
4494 <para> | |
4495 Bugfix: | |
4496 fixed regexp literals with lone closing brackets. | |
4497 </para> | |
4498 </listitem> | |
4499 | |
4500 <listitem> | |
4501 <para> | |
4502 Bugfix: | |
4503 fixed uninitialized-memory-access in | |
4504 <literal>Object.defineProperties()</literal>. | |
4505 </para> | |
4506 </listitem> | |
4507 | |
4508 <listitem> | |
4509 <para> | |
4510 Bugfix: | |
4511 fixed processing the “*” quantifier for | |
4512 <literal>String.prototype.replace()</literal>. | |
4513 </para> | |
4514 </listitem> | |
4515 | |
4516 <listitem> | |
4517 <para> | |
4518 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4519 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4520 <literal>Array.prototype.slice()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4521 for UTF8-invalid byte strings. |
2387 | 4522 </para> |
4523 </listitem> | |
4524 | |
4525 <listitem> | |
4526 <para> | |
4527 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4528 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4529 <literal>String.prototype.split()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4530 for UTF8-invalid byte strings. |
2387 | 4531 </para> |
4532 </listitem> | |
4533 | |
4534 <listitem> | |
4535 <para> | |
4536 Bugfix: | |
4537 fixed handling of empty block statements. | |
4538 </para> | |
4539 </listitem> | |
4540 | |
4541 </list> | |
4542 </para> | |
4543 | |
4544 </section> | |
4545 | |
4546 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4547 <section id="njs0.3.1" name="Changes with njs 0.3.1"> |
2369 | 4548 |
4549 <para> | |
4550 Release Date: | |
4551 16 April 2019 | |
4552 </para> | |
4553 | |
4554 <para> | |
4555 Core: | |
4556 <list type="bullet"> | |
4557 | |
4558 <listitem> | |
4559 <para> | |
4560 Feature: | |
4561 added arrow functions support. | |
4562 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
4563 </para> | |
4564 </listitem> | |
4565 | |
4566 <listitem> | |
4567 <para> | |
4568 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4569 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4570 <literal>Object.getOwnPropertyNames()</literal>. |
2369 | 4571 Thanks to Artem S. Povalyukhin. |
4572 </para> | |
4573 </listitem> | |
4574 | |
4575 <listitem> | |
4576 <para> | |
4577 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4578 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4579 <literal>Object.getOwnPropertyDescriptors()</literal>. |
2369 | 4580 Thanks to Artem S. Povalyukhin. |
4581 </para> | |
4582 </listitem> | |
4583 | |
4584 <listitem> | |
4585 <para> | |
4586 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4587 making <literal>__proto__</literal> accessor descriptor |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4588 of <literal>Object</literal> instances mutable. |
2369 | 4589 </para> |
4590 </listitem> | |
4591 | |
4592 <listitem> | |
4593 <para> | |
4594 Feature: | |
4595 added shebang support in CLI. | |
4596 </para> | |
4597 </listitem> | |
4598 | |
4599 <listitem> | |
4600 <para> | |
4601 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4602 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
|
4603 In module mode global, this is unavailable. |
2369 | 4604 </para> |
4605 </listitem> | |
4606 | |
4607 <listitem> | |
4608 <para> | |
4609 Bugfix: | |
4610 fixed editline detection. | |
4611 </para> | |
4612 </listitem> | |
4613 | |
4614 <listitem> | |
4615 <para> | |
4616 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4617 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4618 <literal>Function.prototype.bind()</literal>. |
2369 | 4619 Thanks to 洪志道 (Hong Zhi Dao). |
4620 </para> | |
4621 </listitem> | |
4622 | |
4623 <listitem> | |
4624 <para> | |
4625 Bugfix: | |
4626 fixed checking of duplication of parameters for functions. | |
4627 Thanks to 洪志道 (Hong Zhi Dao). | |
4628 </para> | |
4629 </listitem> | |
4630 | |
4631 <listitem> | |
4632 <para> | |
4633 Bugfix: | |
4634 fixed function declaration with the same name as a variable. | |
4635 Thanks to 洪志道 (Hong Zhi Dao). | |
4636 </para> | |
4637 </listitem> | |
4638 | |
4639 <listitem> | |
4640 <para> | |
4641 Improvement: | |
4642 code related to parsing of objects, variables and | |
4643 functions is refactored. | |
4644 Thanks to 洪志道 (Hong Zhi Dao). | |
4645 </para> | |
4646 </listitem> | |
4647 | |
4648 <listitem> | |
4649 <para> | |
4650 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4651 large-value output improved in <literal>console.log()</literal>. |
2369 | 4652 </para> |
4653 </listitem> | |
4654 | |
4655 <listitem> | |
4656 <para> | |
4657 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4658 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
|
4659 in a compliant way (without escaping and quotes). |
2369 | 4660 </para> |
4661 </listitem> | |
4662 | |
4663 <listitem> | |
4664 <para> | |
4665 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4666 using ES6 version of |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4667 <literal>ToInt32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4668 <literal>ToUint32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4669 <literal>ToLength()</literal>. |
2369 | 4670 </para> |
4671 </listitem> | |
4672 | |
4673 </list> | |
4674 </para> | |
4675 | |
4676 </section> | |
4677 | |
4678 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4679 <section id="njs0.3.0" name="Changes with njs 0.3.0"> |
2353 | 4680 |
4681 <para> | |
4682 Release Date: | |
4683 26 March 2019 | |
4684 </para> | |
4685 | |
4686 <para> | |
4687 nginx modules: | |
4688 <list type="bullet"> | |
4689 | |
4690 <listitem> | |
4691 <para> | |
4692 Feature: | |
4693 added the <literal>js_path</literal> directive for | |
4694 <link doc="../http/ngx_http_js_module.xml" id="js_path">http</link> and | |
4695 <link doc="../stream/ngx_stream_js_module.xml" id="js_path">stream</link>. | |
4696 </para> | |
4697 </listitem> | |
4698 | |
4699 <listitem> | |
4700 <para> | |
4701 Change: | |
4702 returning undefined value instead of empty strings | |
4703 for absent properties in the following objects: | |
4704 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>, | |
4705 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>, | |
4706 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>, | |
4707 <link doc="reference.xml" id="r_variables"><literal>r.variables{}</literal></link>, | |
4708 <link doc="reference.xml" id="s_variables"><literal>s.variables{}</literal></link>. | |
4709 </para> | |
4710 </listitem> | |
4711 | |
4712 <listitem> | |
4713 <para> | |
4714 Change: | |
4715 returning undefined value instead of throwing an exception for | |
4716 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> | |
4717 when request body is unavailable. | |
4718 </para> | |
4719 </listitem> | |
4720 | |
4721 <listitem> | |
4722 <para> | |
4723 Bugfix: | |
4724 fixed crash while iterating over | |
4725 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> | |
4726 when a value is absent in a key-value pair. | |
4727 </para> | |
4728 </listitem> | |
4729 | |
4730 </list> | |
4731 </para> | |
4732 | |
4733 <para> | |
4734 Core: | |
4735 <list type="bullet"> | |
4736 | |
4737 <listitem> | |
4738 <para> | |
4739 Feature: | |
4740 added initial ES6 modules support. | |
4741 Default import and default export statements are supported. | |
4742 Thanks to 洪志道 (Hong Zhi Dao). | |
4743 </para> | |
4744 </listitem> | |
4745 | |
4746 <listitem> | |
4747 <para> | |
4748 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4749 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4750 <literal>Object.prototype.propertyIsEnumerable()</literal>. |
2353 | 4751 </para> |
4752 </listitem> | |
4753 | |
4754 <listitem> | |
4755 <para> | |
4756 Feature: | |
4757 reporting file name and function name in disassembler output. | |
4758 </para> | |
4759 </listitem> | |
4760 | |
4761 <listitem> | |
4762 <para> | |
4763 Bugfix: | |
4764 fixed function redeclarations in interactive shell. | |
4765 Thanks to 洪志道 (Hong Zhi Dao). | |
4766 </para> | |
4767 </listitem> | |
4768 | |
4769 <listitem> | |
4770 <para> | |
4771 Bugfix: | |
4772 fixed RegExp literals parsing. | |
4773 </para> | |
4774 </listitem> | |
4775 | |
4776 <listitem> | |
4777 <para> | |
4778 Bugfix: | |
4779 fixed setting length of UTF8 string in | |
4780 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
4781 </para> | |
4782 </listitem> | |
4783 | |
4784 <listitem> | |
4785 <para> | |
4786 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4787 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4788 <literal>nxt_file_dirname()</literal> for paths with no dir component. |
2353 | 4789 </para> |
4790 </listitem> | |
4791 | |
4792 </list> | |
4793 </para> | |
4794 | |
4795 </section> | |
4796 | |
4797 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4798 <section id="njs0.2.8" name="Changes with njs 0.2.8"> |
2331 | 4799 |
4800 <para> | |
4801 Release Date: | |
4802 26 February 2019 | |
4803 </para> | |
4804 | |
4805 <para> | |
4806 nginx modules: | |
4807 <list type="bullet"> | |
4808 | |
4809 <listitem> | |
4810 <para> | |
4811 Change: | |
4812 properties of HTTP request deprecated in <link id="njs0.2.2">0.2.2</link> | |
4813 are removed. | |
4814 </para> | |
4815 </listitem> | |
4816 | |
4817 <listitem> | |
4818 <para> | |
4819 Feature: | |
4820 added support for delete operation in | |
4821 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
4822 </para> | |
4823 </listitem> | |
4824 | |
4825 <listitem> | |
4826 <para> | |
4827 Feature: | |
4828 added support for setting nginx variables. | |
4829 </para> | |
4830 </listitem> | |
4831 | |
4832 <listitem> | |
4833 <para> | |
4834 Bugfix: | |
4835 fixed | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
4836 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link> |
2331 | 4837 for empty body value. |
4838 </para> | |
4839 </listitem> | |
4840 | |
4841 <listitem> | |
4842 <para> | |
4843 Improvement: | |
4844 setting special response headers in | |
4845 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
4846 </para> | |
4847 </listitem> | |
4848 | |
4849 </list> | |
4850 </para> | |
4851 | |
4852 <para> | |
4853 Core: | |
4854 <list type="bullet"> | |
4855 | |
4856 <listitem> | |
4857 <para> | |
4858 Feature: | |
4859 added labels support. | |
4860 </para> | |
4861 </listitem> | |
4862 | |
4863 <listitem> | |
4864 <para> | |
4865 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4866 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4867 <literal>setImmediate()</literal> method. |
2331 | 4868 </para> |
4869 </listitem> | |
4870 | |
4871 <listitem> | |
4872 <para> | |
4873 Feature: | |
4874 added support for shorthand property names for Object literals. | |
4875 </para> | |
4876 </listitem> | |
4877 | |
4878 <listitem> | |
4879 <para> | |
4880 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4881 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4882 <literal>Function.prototype.bind()</literal>. |
2331 | 4883 </para> |
4884 </listitem> | |
4885 | |
4886 <listitem> | |
4887 <para> | |
4888 Bugfix: | |
4889 fixed parsing of string literals containing newline characters. | |
4890 </para> | |
4891 </listitem> | |
4892 | |
4893 <listitem> | |
4894 <para> | |
4895 Bugfix: | |
4896 fixed line number in reporting variable reference errors. | |
4897 </para> | |
4898 </listitem> | |
4899 | |
4900 <listitem> | |
4901 <para> | |
4902 Bugfix: | |
4903 fixed creation of long UTF8 strings. | |
4904 </para> | |
4905 </listitem> | |
4906 | |
4907 <listitem> | |
4908 <para> | |
4909 Bugfix: | |
4910 fixed | |
4911 setting special response headers in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4912 <literal>String.prototype.split()</literal> |
2331 | 4913 for Unicode strings. |
4914 </para> | |
4915 </listitem> | |
4916 | |
4917 <listitem> | |
4918 <para> | |
4919 Bugfix: | |
4920 fixed heap-buffer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4921 <literal>String.prototype.split()</literal>. |
2331 | 4922 </para> |
4923 </listitem> | |
4924 | |
4925 <listitem> | |
4926 <para> | |
4927 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4928 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4929 <literal>Array.prototype.fill()</literal>. |
2331 | 4930 Thanks to Artem S. Povalyukhin. |
4931 </para> | |
4932 </listitem> | |
4933 | |
4934 <listitem> | |
4935 <para> | |
4936 Improvement: | |
4937 code related to function invocation is refactored. | |
4938 Thanks to 洪志道 (Hong Zhi Dao). | |
4939 </para> | |
4940 </listitem> | |
4941 | |
4942 <listitem> | |
4943 <para> | |
4944 Improvement: | |
4945 code related to variables is refactored. | |
4946 Thanks to 洪志道 (Hong Zhi Dao). | |
4947 </para> | |
4948 </listitem> | |
4949 | |
4950 <listitem> | |
4951 <para> | |
4952 Improvement: parser is refactored. | |
4953 Thanks to 洪志道 (Hong Zhi Dao). | |
4954 </para> | |
4955 </listitem> | |
4956 | |
4957 <listitem> | |
4958 <para> | |
4959 Improvement: | |
4960 reporting filenames in exceptions. | |
4961 </para> | |
4962 </listitem> | |
4963 | |
4964 </list> | |
4965 </para> | |
4966 | |
4967 </section> | |
4968 | |
4969 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4970 <section id="njs0.2.7" name="Changes with njs 0.2.7"> |
2312 | 4971 |
4972 <para> | |
4973 Release Date: | |
4974 25 December 2018 | |
4975 </para> | |
4976 | |
4977 <para> | |
4978 Core: | |
4979 <list type="bullet"> | |
4980 | |
4981 <listitem> | |
4982 <para> | |
4983 Feature: | |
4984 rest parameters syntax (destructuring is not supported). | |
4985 Thanks to Alexander Pyshchev. | |
4986 </para> | |
4987 </listitem> | |
4988 | |
4989 <listitem> | |
4990 <para> | |
4991 Feature: | |
4992 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4993 <literal>Object.entries()</literal> |
2312 | 4994 method. |
4995 </para> | |
4996 </listitem> | |
4997 | |
4998 <listitem> | |
4999 <para> | |
5000 Feature: | |
5001 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5002 <literal>Object.values()</literal> |
2312 | 5003 method. |
5004 </para> | |
5005 </listitem> | |
5006 | |
5007 <listitem> | |
5008 <para> | |
5009 Improvement: | |
5010 code generator refactored and simplified. | |
5011 </para> | |
5012 </listitem> | |
5013 | |
5014 <listitem> | |
5015 <para> | |
5016 Bugfix: | |
5017 fixed automatic semicolon insertion. | |
5018 </para> | |
5019 </listitem> | |
5020 | |
5021 <listitem> | |
5022 <para> | |
5023 Bugfix: | |
5024 fixed assignment expression from compound assignment. | |
5025 </para> | |
5026 </listitem> | |
5027 | |
5028 <listitem> | |
5029 <para> | |
5030 Bugfix: | |
5031 fixed comparison of Byte and UTF8 strings. | |
5032 </para> | |
5033 </listitem> | |
5034 | |
5035 <listitem> | |
5036 <para> | |
5037 Bugfix: | |
2909 | 5038 fixed type of iteration variable in <literal>for-in</literal> with array values. |
2312 | 5039 </para> |
5040 </listitem> | |
5041 | |
5042 <listitem> | |
5043 <para> | |
5044 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5045 fixed building on platforms without librt. |
2312 | 5046 </para> |
5047 </listitem> | |
5048 | |
5049 <listitem> | |
5050 <para> | |
5051 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5052 miscellaneous bugs have been fixed. |
2312 | 5053 </para> |
5054 </listitem> | |
5055 | |
5056 </list> | |
5057 </para> | |
5058 | |
5059 </section> | |
5060 | |
5061 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5062 <section id="njs0.2.6" name="Changes with njs 0.2.6"> |
2285 | 5063 |
5064 <para> | |
5065 Release Date: | |
5066 27 November 2018 | |
5067 </para> | |
5068 | |
5069 <para> | |
5070 Core: | |
5071 <list type="bullet"> | |
5072 | |
5073 <listitem> | |
5074 <para> | |
5075 Feature: | |
5076 making built-in prototypes mutable. | |
5077 </para> | |
5078 </listitem> | |
5079 | |
5080 <listitem> | |
5081 <para> | |
5082 Feature: | |
5083 making global object mutable. | |
5084 </para> | |
5085 </listitem> | |
5086 | |
5087 <listitem> | |
5088 <para> | |
5089 Feature: | |
5090 <literal>console.time()</literal> and | |
5091 <literal>console.timeEnd()</literal> methods. | |
5092 </para> | |
5093 </listitem> | |
5094 | |
5095 <listitem> | |
5096 <para> | |
5097 Feature: | |
5098 allowing variables and functions to be redeclared. | |
5099 </para> | |
5100 </listitem> | |
5101 | |
5102 <listitem> | |
5103 <para> | |
5104 Feature: | |
5105 extending <literal>Object.defineProperty()</literal> spec conformance. | |
5106 </para> | |
5107 </listitem> | |
5108 | |
5109 <listitem> | |
5110 <para> | |
5111 Feature: | |
5112 introduced quiet mode for CLI to handle simple expressions from stdin. | |
5113 </para> | |
5114 </listitem> | |
5115 | |
5116 <listitem> | |
5117 <para> | |
5118 Feature: | |
5119 introduced compact form of backtraces to handle stack overflows. | |
5120 </para> | |
5121 </listitem> | |
5122 | |
5123 <listitem> | |
5124 <para> | |
5125 Improvement: | |
5126 improved wording for various exceptions. | |
5127 </para> | |
5128 </listitem> | |
5129 | |
5130 <listitem> | |
5131 <para> | |
5132 Bugfix: | |
5133 fixed closure values handling. | |
5134 </para> | |
5135 </listitem> | |
5136 | |
5137 <listitem> | |
5138 <para> | |
5139 Bugfix: | |
5140 fixed equality operator for various value types. | |
5141 </para> | |
5142 </listitem> | |
5143 | |
5144 <listitem> | |
5145 <para> | |
5146 Bugfix: | |
2909 | 5147 fixed handling of <literal>this</literal> keyword in various scopes. |
2285 | 5148 </para> |
5149 </listitem> | |
5150 | |
5151 <listitem> | |
5152 <para> | |
5153 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5154 fixed handling non-object values in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5155 <literal>Object.keys()</literal>. |
2285 | 5156 </para> |
5157 </listitem> | |
5158 | |
5159 <listitem> | |
5160 <para> | |
5161 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5162 fixed parsing of throw statement inside |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5163 <literal>if</literal> statement. |
2285 | 5164 </para> |
5165 </listitem> | |
5166 | |
5167 <listitem> | |
5168 <para> | |
5169 Bugfix: | |
5170 fixed parsing of newline after throw statement. | |
5171 </para> | |
5172 </listitem> | |
5173 | |
5174 <listitem> | |
5175 <para> | |
5176 Bugfix: | |
5177 fixed parsing of statements in if statement without newline. | |
5178 </para> | |
5179 </listitem> | |
5180 | |
5181 <listitem> | |
5182 <para> | |
5183 Bugfix: | |
5184 fixed size <literal>uint32_t</literal> overflow | |
5185 in <literal>njs_array_expand()</literal>. | |
5186 </para> | |
5187 </listitem> | |
5188 | |
5189 <listitem> | |
5190 <para> | |
5191 Bugfix: | |
5192 fixed <literal>typeof</literal> operator | |
5193 for <literal>object_value</literal> type. | |
5194 </para> | |
5195 </listitem> | |
5196 | |
5197 <listitem> | |
5198 <para> | |
5199 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5200 miscellaneous bugs have been fixed. |
2285 | 5201 </para> |
5202 </listitem> | |
5203 | |
5204 </list> | |
5205 </para> | |
5206 | |
5207 </section> | |
5208 | |
5209 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5210 <section id="njs0.2.5" name="Changes with njs 0.2.5"> |
2264 | 5211 |
5212 <para> | |
5213 Release Date: | |
5214 30 October 2018 | |
5215 </para> | |
5216 | |
5217 <para> | |
5218 nginx modules: | |
5219 <list type="bullet"> | |
5220 | |
5221 <listitem> | |
5222 <para> | |
5223 Bugfix: | |
5224 fixed counting pending events in stream module. | |
5225 </para> | |
5226 </listitem> | |
5227 | |
5228 <listitem> | |
5229 <para> | |
5230 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5231 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5232 <literal>s.off()</literal> in stream module. |
2264 | 5233 </para> |
5234 </listitem> | |
5235 | |
5236 <listitem> | |
5237 <para> | |
5238 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5239 fixed processing of data chunks in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5240 <literal>js_filter</literal> in stream module. |
2264 | 5241 </para> |
5242 </listitem> | |
5243 | |
5244 <listitem> | |
5245 <para> | |
5246 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5247 fixed http |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5248 <literal>status</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5249 <literal>contentType</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5250 getter in http module. |
2264 | 5251 </para> |
5252 </listitem> | |
5253 | |
5254 <listitem> | |
5255 <para> | |
5256 Bugfix: | |
5257 fixed http response and parent getters in http module. | |
5258 </para> | |
5259 </listitem> | |
5260 | |
5261 </list> | |
5262 </para> | |
5263 | |
5264 <para> | |
5265 Core: | |
5266 <list type="bullet"> | |
5267 | |
5268 <listitem> | |
5269 <para> | |
5270 Feature: | |
5271 arguments object support. | |
5272 </para> | |
5273 </listitem> | |
5274 | |
5275 <listitem> | |
5276 <para> | |
5277 Feature: | |
5278 non-integer fractions support. | |
5279 </para> | |
5280 </listitem> | |
5281 | |
5282 <listitem> | |
5283 <para> | |
5284 Improvement: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5285 handling non-array values in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5286 <literal>Array.prototype.slice()</literal>. |
2264 | 5287 </para> |
5288 </listitem> | |
5289 | |
5290 <listitem> | |
5291 <para> | |
5292 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5293 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5294 <literal>Array.prototype.length</literal> setter |
2264 | 5295 </para> |
5296 </listitem> | |
5297 | |
5298 <listitem> | |
5299 <para> | |
5300 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5301 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5302 <literal>njs_array_alloc()</literal> for length > 2**31. |
2264 | 5303 </para> |
5304 </listitem> | |
5305 | |
5306 <listitem> | |
5307 <para> | |
5308 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5309 handling int overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5310 <literal>njs_array_alloc()</literal> on 32bit archs. |
2264 | 5311 </para> |
5312 </listitem> | |
5313 | |
5314 <listitem> | |
5315 <para> | |
5316 Bugfix: | |
5317 fixed code size mismatch error message. | |
5318 </para> | |
5319 </listitem> | |
5320 | |
5321 <listitem> | |
5322 <para> | |
5323 Bugfix: | |
5324 fixed delete operator in a loop. | |
5325 </para> | |
5326 </listitem> | |
5327 | |
5328 <listitem> | |
5329 <para> | |
5330 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5331 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5332 <literal>Object.getOwnPropertyDescriptor()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5333 for complex object (inherited from |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5334 <literal>Array</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5335 <literal>string</literal> values). |
2264 | 5336 </para> |
5337 </listitem> | |
5338 | |
5339 <listitem> | |
5340 <para> | |
5341 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5342 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5343 <literal>Object.prototype.hasOwnProperty()</literal> |
2264 | 5344 for non-object properties |
5345 </para> | |
5346 </listitem> | |
5347 | |
5348 <listitem> | |
5349 <para> | |
5350 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5351 miscellaneous bugs have been fixed. |
2264 | 5352 </para> |
5353 </listitem> | |
5354 | |
5355 </list> | |
5356 </para> | |
5357 | |
5358 </section> | |
5359 | |
5360 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5361 <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
|
5362 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5363 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5364 Release Date: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5365 18 September 2018 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5366 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5367 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5368 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5369 nginx modules: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5370 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5371 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5372 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5373 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5374 Change: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5375 stream module handlers refactored. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5376 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5377 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5378 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5379 New methods and properties: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5380 <link doc="reference.xml" id="s_on"><literal>s.on()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5381 <link doc="reference.xml" id="s_off"><literal>s.off()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5382 <link doc="reference.xml" id="s_allow"><literal>s.allow()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5383 <link doc="reference.xml" id="s_done"><literal>s.done()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5384 <link doc="reference.xml" id="s_decline"><literal>s.decline()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5385 <link doc="reference.xml" id="s_deny"><literal>s.deny()</literal></link>. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5386 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5387 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5388 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5389 Removed properties of the |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
5390 <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
|
5391 <literal>s.OK</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5392 <literal>s.ABORT</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5393 <literal>s.AGAIN</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5394 <literal>s.DECLINED</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5395 <literal>s.ERROR</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5396 (replaced with |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5397 <link doc="reference.xml" id="s_allow"><literal>s.allow()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5398 <link doc="reference.xml" id="s_done"><literal>s.done()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5399 <link doc="reference.xml" id="s_deny"><literal>s.deny()</literal></link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5400 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5401 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5402 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5403 <literal>s.buffer</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5404 (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
|
5405 the corresponding callback, for writing use |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5406 <link doc="reference.xml" id="s_send"><literal>s.send()</literal></link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5407 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5408 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5409 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5410 <literal>s.fromUpstream</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5411 (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
|
5412 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5413 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5414 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5415 <literal>s.eof</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5416 (replaced with <literal></literal> |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5417 <link doc="reference.xml" id="s_on_callback_last"><literal>flags.last</literal></link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5418 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5419 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5420 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5421 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5422 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5423 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5424 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5425 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5426 Core: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5427 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5428 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5429 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5430 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5431 Feature: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5432 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5433 <literal>Function.prototype.length</literal>. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5434 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5435 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5436 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5437 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5438 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5439 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5440 introduced sandboxing mode. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5441 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5442 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5443 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5444 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5445 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5446 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5447 added exception strings where appropriate. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5448 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5449 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5450 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5451 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5452 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5453 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5454 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
|
5455 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5456 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5457 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5458 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5459 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5460 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5461 throwing <literal>TypeError</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5462 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
|
5463 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5464 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5465 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5466 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5467 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5468 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5469 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5470 <literal>Object.defineProperty()</literal> for existing properties. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5471 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5472 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5473 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5474 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5475 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5476 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5477 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
|
5478 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5479 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5480 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5481 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5482 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5483 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5484 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
|
5485 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5486 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5487 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5488 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5489 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5490 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5491 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
|
5492 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5493 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5494 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5495 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5496 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5497 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5498 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5499 <literal>Object.prototype.toString</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5500 for different value types. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5501 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5502 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5503 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5504 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5505 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5506 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5507 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5508 <literal>Object()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5509 constructor for object types arguments. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5510 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5511 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5512 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5513 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5514 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5515 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5516 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
|
5517 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5518 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5519 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5520 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5521 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5522 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5523 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5524 <literal>String.slice()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5525 for undefined arguments. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5526 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5527 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5528 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5529 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5530 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5531 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5532 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
|
5533 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5534 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5535 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5536 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5537 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5538 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5539 </section> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5540 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5541 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5542 <section id="njs0.2.3" name="Changes with njs 0.2.3"> |
2213 | 5543 |
5544 <para> | |
5545 Release Date: | |
5546 31 July 2018 | |
5547 </para> | |
5548 | |
5549 <para> | |
5550 nginx modules: | |
5551 <list type="bullet"> | |
5552 | |
5553 <listitem> | |
5554 <para> | |
5555 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5556 making a subrequest from a |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5557 <literal>Reply</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5558 object caused a segmentation fault. |
2213 | 5559 </para> |
5560 </listitem> | |
5561 | |
5562 <listitem> | |
5563 <para> | |
5564 Bugfix: | |
5565 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
|
5566 <link doc="reference.xml" id="http">HTTP Request</link> |
2213 | 5567 object caused a segmentation fault. |
5568 </para> | |
5569 </listitem> | |
5570 | |
5571 </list> | |
5572 </para> | |
5573 | |
5574 <para> | |
5575 Core: | |
5576 <list type="bullet"> | |
5577 | |
5578 <listitem> | |
5579 <para> | |
5580 Feature: | |
5581 added the pretty string representation for values. | |
5582 </para> | |
5583 </listitem> | |
5584 | |
5585 <listitem> | |
5586 <para> | |
5587 Feature: | |
5588 correctly printing floating point numbers. | |
5589 </para> | |
5590 </listitem> | |
5591 | |
5592 <listitem> | |
5593 <para> | |
5594 Feature: | |
5595 correctly parsing floating point numbers. | |
5596 </para> | |
5597 </listitem> | |
5598 | |
5599 <listitem> | |
5600 <para> | |
5601 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5602 <link doc="reference.xml" id="string_bytesfrom"><literal>String.bytesFrom()</literal></link> method |
2213 | 5603 (decoding <literal>hex</literal>, |
5604 <literal>base64</literal>, | |
5605 <literal>base64url</literal> into a byte string). | |
5606 </para> | |
5607 </listitem> | |
5608 | |
5609 <listitem> | |
5610 <para> | |
5611 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5612 <literal>String.padStart()</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5613 <literal>String.padEnd()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5614 methods. |
2213 | 5615 </para> |
5616 </listitem> | |
5617 | |
5618 <listitem> | |
5619 <para> | |
5620 Feature: | |
5621 added support of binary literals. | |
5622 </para> | |
5623 </listitem> | |
5624 | |
5625 <listitem> | |
5626 <para> | |
5627 Improvement: | |
5628 added information about illegal token in number parsing. | |
5629 </para> | |
5630 </listitem> | |
5631 | |
5632 <listitem> | |
5633 <para> | |
5634 Improvement: | |
5635 allowed uppercased <literal>O</literal> in octal literal values. | |
5636 </para> | |
5637 </listitem> | |
5638 | |
5639 <listitem> | |
5640 <para> | |
5641 Improvement: | |
5642 added support for multiple arguments in <literal>console.log()</literal>. | |
5643 </para> | |
5644 </listitem> | |
5645 | |
5646 <listitem> | |
5647 <para> | |
5648 Bugfix: | |
5649 fixed applying <literal>call()</literal> to methods of external values. | |
5650 </para> | |
5651 </listitem> | |
5652 | |
5653 <listitem> | |
5654 <para> | |
5655 Bugfix: | |
5656 fixed addition operator applied to an object. | |
5657 </para> | |
5658 </listitem> | |
5659 | |
5660 <listitem> | |
5661 <para> | |
5662 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5663 fixed exception handling in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5664 <literal>njs_vm_value_to_ext_string()</literal>. |
2213 | 5665 </para> |
5666 </listitem> | |
5667 | |
5668 <listitem> | |
5669 <para> | |
5670 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5671 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5672 <literal>Number()</literal> with boolean, null and undefined arguments. |
2213 | 5673 </para> |
5674 </listitem> | |
5675 | |
5676 <listitem> | |
5677 <para> | |
5678 Bugfix: | |
5679 fixed error handling of setting non-numeric <literal>Array.length</literal>. | |
5680 </para> | |
5681 </listitem> | |
5682 | |
5683 <listitem> | |
5684 <para> | |
5685 Bugfix: | |
5686 fixed autocompletion for global objects. | |
5687 </para> | |
5688 </listitem> | |
5689 | |
5690 <listitem> | |
5691 <para> | |
5692 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5693 miscellaneous bugs have been fixed. |
2213 | 5694 </para> |
5695 </listitem> | |
5696 | |
5697 </list> | |
5698 </para> | |
5699 | |
5700 </section> | |
5701 | |
5702 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5703 <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
|
5704 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5705 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5706 Release Date: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5707 19 June 2018 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5708 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5709 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5710 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5711 nginx modules: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5712 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5713 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5714 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5715 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5716 Change: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5717 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
|
5718 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
|
5719 New members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5720 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5721 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5722 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5723 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5724 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5725 <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
|
5726 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5727 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5728 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5729 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5730 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5731 <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
|
5732 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5733 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5734 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5735 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5736 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5737 <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
|
5738 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5739 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5740 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5741 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5742 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5743 <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
|
5744 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5745 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5746 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5747 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5748 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5749 <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
|
5750 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5751 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5752 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5753 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5754 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5755 <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
|
5756 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5757 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5758 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5759 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5760 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5761 <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
|
5762 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5763 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5764 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5765 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5766 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5767 <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
|
5768 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5769 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5770 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5771 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5772 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5773 <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
|
5774 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5775 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5776 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5777 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5778 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5779 <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
|
5780 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5781 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5782 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5783 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5784 Deprecated members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5785 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5786 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5787 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5788 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5789 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5790 <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
|
5791 or <literal>req.responseBody</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5792 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5793 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5794 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5795 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5796 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5797 <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
|
5798 or <literal>req.headersOut</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5799 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5800 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5801 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5802 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5803 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5804 <literal>req.response</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5805 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5806 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5807 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5808 </list> |
2363
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5809 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
|
5810 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5811 <list type="bullet"> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5812 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5813 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5814 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5815 <literal>res.contentLength</literal> (use |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5816 <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
|
5817 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5818 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5819 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5820 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5821 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5822 <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
|
5823 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5824 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5825 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5826 </list> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5827 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
|
5828 <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
|
5829 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5830 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5831 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5832 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5833 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5834 Feature: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
5835 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
|
5836 method. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5837 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5838 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5839 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5840 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5841 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5842 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5843 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5844 Core: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5845 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5846 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5847 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5848 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5849 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5850 fixed heap-buffer-overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5851 <literal>crypto.createHmac()</literal>. |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5852 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5853 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5854 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5855 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5856 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5857 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5858 </section> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5859 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5860 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5861 <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
|
5862 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5863 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5864 Release Date: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5865 31 May 2018 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5866 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5867 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5868 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5869 nginx modules: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5870 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5871 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5872 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5873 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5874 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5875 HTTP request body getter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5876 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5877 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5878 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5879 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5880 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5881 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5882 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
|
5883 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5884 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5885 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5886 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5887 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5888 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5889 improved logging for |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5890 <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
|
5891 <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
|
5892 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5893 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5894 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5895 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5896 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5897 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5898 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
|
5899 <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
|
5900 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5901 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5902 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5903 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5904 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5905 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5906 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
|
5907 <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
|
5908 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5909 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5910 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5911 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5912 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5913 Bugfix: fixed error logging in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5914 <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
|
5915 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5916 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5917 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5918 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5919 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5920 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5921 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5922 Core: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5923 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5924 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5925 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5926 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5927 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5928 added array length setter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5929 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5930 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5931 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5932 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5933 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5934 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5935 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
|
5936 <literal>njs.h</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5937 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5938 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5939 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5940 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5941 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5942 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5943 fixed crypto <literal>update()</literal> method after |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5944 <literal>digest()</literal> is called. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5945 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5946 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5947 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5948 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5949 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5950 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5951 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
|
5952 and > 64. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5953 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5954 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5955 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5956 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5957 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5958 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5959 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
|
5960 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5961 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5962 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5963 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5964 <para> |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
5965 Bugfix: |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5966 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
|
5967 <literal>JSON.stringify()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5968 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5969 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5970 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5971 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5972 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5973 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5974 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
|
5975 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5976 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5977 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5978 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5979 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5980 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5981 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
|
5982 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5983 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5984 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5985 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5986 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5987 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5988 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5989 fixed handling of properties in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5990 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5991 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5992 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5993 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5994 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5995 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5996 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5997 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
|
5998 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5999 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6000 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6001 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6002 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6003 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
|
6004 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6005 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6006 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6007 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6008 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6009 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6010 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
|
6011 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6012 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6013 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6014 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6015 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6016 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
6017 miscellaneous bugs have been fixed. |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6018 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6019 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6020 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6021 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6022 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6023 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6024 </section> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6025 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6026 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6027 <section id="njs0.2.0" name="Changes with njs 0.2.0"> |
2130 | 6028 |
6029 <para> | |
6030 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6031 03 April 2018 |
2130 | 6032 </para> |
6033 | |
6034 <para> | |
6035 <list type="bullet"> | |
6036 | |
6037 <listitem> | |
6038 <para> | |
6039 Feature: | |
6040 reporting njs version by CLI. | |
6041 </para> | |
6042 </listitem> | |
6043 | |
6044 <listitem> | |
6045 <para> | |
6046 Feature: | |
6047 textual description for type converting exceptions. | |
6048 </para> | |
6049 </listitem> | |
6050 | |
6051 <listitem> | |
6052 Feature: | |
6053 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6054 <literal>clearTimeout()</literal> methods. |
2130 | 6055 </listitem> |
6056 | |
6057 <listitem> | |
6058 <para> | |
6059 Feature: | |
6060 Byte string to | |
6061 <literal>hex</literal>, | |
6062 <literal>base64</literal>, | |
6063 <literal>base64url</literal> encodings. | |
6064 </para> | |
6065 </listitem> | |
6066 | |
6067 <listitem> | |
6068 <para> | |
6069 Feature: | |
6070 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
6071 <literal>Crypto</literal> methods. | |
6072 </para> | |
6073 </listitem> | |
6074 | |
6075 <listitem> | |
6076 <para> | |
6077 Feature: | |
6078 HTTP and stream | |
6079 <literal>warn()</literal> and | |
6080 <literal>error()</literal> methods. | |
6081 </para> | |
6082 </listitem> | |
6083 | |
6084 <listitem> | |
6085 <para> | |
6086 Feature: | |
6087 HTTP <literal>subrequest()</literal> method. | |
6088 </para> | |
6089 </listitem> | |
6090 | |
6091 <listitem> | |
6092 <para> | |
6093 Feature: | |
6094 HTTP <literal>return()</literal> method. | |
6095 </para> | |
6096 </listitem> | |
6097 | |
6098 <listitem> | |
6099 <para> | |
6100 Bugfix: | |
6101 miscellaneous bugs have been fixed in the core and | |
6102 interactive shell. | |
6103 </para> | |
6104 </listitem> | |
6105 | |
6106 </list> | |
6107 </para> | |
6108 | |
6109 </section> | |
6110 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6111 <section id="njs0.1.15" name="Changes with njs 0.1.15"> |
2130 | 6112 |
6113 <para> | |
6114 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6115 20 November 2017 |
2130 | 6116 </para> |
6117 | |
6118 <para> | |
6119 <list type="bullet"> | |
6120 | |
6121 <listitem> | |
6122 <para> | |
6123 Feature: | |
6124 <literal>Error</literal>, | |
6125 <literal>EvalError</literal>, | |
6126 <literal>InternalError</literal>, | |
6127 <literal>RangeError</literal>, | |
6128 <literal>ReferenceError</literal>, | |
6129 <literal>SyntaxError</literal>, | |
6130 <literal>TypeError</literal>, | |
6131 <literal>URIError</literal> objects. | |
6132 </para> | |
6133 </listitem> | |
6134 | |
6135 <listitem> | |
6136 <para> | |
6137 Feature: | |
6138 octal literals support. | |
6139 </para> | |
6140 </listitem> | |
6141 | |
6142 <listitem> | |
6143 <para> | |
6144 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6145 <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
|
6146 <literal>File system</literal> access methods: |
2130 | 6147 <literal>fs.readFile()</literal>, |
6148 <literal>fs.readFileSync()</literal>, | |
6149 <literal>fs.appendFile()</literal>, | |
6150 <literal>fs.appendFileSync()</literal>, | |
6151 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6152 <literal>fs.writeFileSync()</literal>. |
2130 | 6153 </para> |
6154 </listitem> | |
6155 | |
6156 <listitem> | |
6157 <para> | |
6158 Feature: | |
6159 nginx modules print backtrace on exception. | |
6160 </para> | |
6161 </listitem> | |
6162 | |
6163 <listitem> | |
6164 <para> | |
6165 Bugfix: | |
6166 miscellaneous bugs have been fixed. | |
6167 </para> | |
6168 </listitem> | |
6169 | |
6170 </list> | |
6171 </para> | |
6172 | |
6173 </section> | |
6174 | |
6175 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6176 <section id="njs0.1.14" name="Changes with njs 0.1.14"> |
2130 | 6177 |
6178 <para> | |
6179 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6180 09 October 2017 |
2130 | 6181 </para> |
6182 | |
6183 <para> | |
6184 <list type="bullet"> | |
6185 | |
6186 <listitem> | |
6187 <para> | |
6188 Feature: | |
6189 JSON object. | |
6190 </para> | |
6191 </listitem> | |
6192 | |
6193 <listitem> | |
6194 <para> | |
6195 Feature: | |
6196 object level completions in interactive shell. | |
6197 </para> | |
6198 </listitem> | |
6199 | |
6200 <listitem> | |
6201 <para> | |
6202 Feature: | |
6203 various configure improvements. | |
6204 </para> | |
6205 </listitem> | |
6206 | |
6207 <listitem> | |
6208 <para> | |
6209 Bugfix: | |
6210 miscellaneous bugs have been fixed in the core and | |
6211 interactive shell. | |
6212 </para> | |
6213 </listitem> | |
6214 | |
6215 </list> | |
6216 </para> | |
6217 | |
6218 </section> | |
6219 | |
6220 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6221 <section id="njs0.1.13" name="Changes with njs 0.1.13"> |
2130 | 6222 |
6223 <para> | |
6224 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6225 31 August 2017 |
2130 | 6226 </para> |
6227 | |
6228 <para> | |
6229 <list type="bullet"> | |
6230 | |
6231 <listitem> | |
6232 <para> | |
6233 Feature: | |
6234 <literal>console.log()</literal> and | |
6235 <literal>console.help()</literal> | |
6236 methods in interactive shell. | |
6237 </para> | |
6238 </listitem> | |
6239 | |
6240 <listitem> | |
6241 <para> | |
6242 Feature: | |
6243 interactive shell prints backtrace on exception. | |
6244 </para> | |
6245 </listitem> | |
6246 | |
6247 <listitem> | |
6248 <para> | |
6249 Feature: | |
6250 interactive shell by default | |
6251 if <literal>libedit</literal> is available. | |
6252 </para> | |
6253 </listitem> | |
6254 | |
6255 <listitem> | |
6256 <para> | |
6257 Bugfix: | |
6258 processing of large files from | |
6259 <literal>stdin</literal> in command line mode. | |
6260 </para> | |
6261 </listitem> | |
6262 | |
6263 <listitem> | |
6264 <para> | |
6265 Bugfix: | |
6266 improved <literal>editline</literal> detection. | |
6267 </para> | |
6268 </listitem> | |
6269 | |
6270 </list> | |
6271 </para> | |
6272 | |
6273 </section> | |
6274 | |
6275 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6276 <section id="njs0.1.12" name="Changes with njs 0.1.12"> |
2130 | 6277 |
6278 <para> | |
6279 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6280 08 August 2017 |
2130 | 6281 </para> |
6282 | |
6283 <para> | |
6284 <list type="bullet"> | |
6285 | |
6286 <listitem> | |
6287 <para> | |
6288 Feature: | |
6289 Interactive shell. | |
6290 </para> | |
6291 </listitem> | |
6292 | |
6293 <listitem> | |
6294 <para> | |
6295 Bugfix: | |
6296 in <literal>Object.isSealed()</literal>. | |
6297 </para> | |
6298 </listitem> | |
6299 | |
6300 </list> | |
6301 </para> | |
6302 | |
6303 </section> | |
6304 | |
6305 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6306 <section id="njs0.1.11" name="Changes with njs 0.1.11"> |
2130 | 6307 |
6308 <para> | |
6309 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6310 27 June 2017 |
2130 | 6311 </para> |
6312 | |
6313 <para> | |
6314 <list type="bullet"> | |
6315 | |
6316 <listitem> | |
6317 <para> | |
6318 Feature: | |
6319 <literal>Object.keys()</literal>, | |
6320 <literal>Object.prototype.hasOwnProperty()</literal> | |
6321 methods. | |
6322 </para> | |
6323 </listitem> | |
6324 | |
6325 <listitem> | |
6326 <para> | |
6327 Feature: | |
6328 <literal>Object.defineProperty()</literal>, | |
6329 <literal>Object.defineProperties()</literal>, | |
6330 <literal>Object.getOwnPropertyDescriptor()</literal> | |
6331 methods. | |
6332 </para> | |
6333 </listitem> | |
6334 | |
6335 <listitem> | |
6336 <para> | |
6337 Feature: | |
6338 <literal>Object.getPrototypeOf()</literal>, | |
6339 <literal>Object.prototype.isPrototypeOf()</literal> | |
6340 methods. | |
6341 </para> | |
6342 </listitem> | |
6343 | |
6344 <listitem> | |
6345 <para> | |
6346 Feature: | |
6347 <literal>Object.preventExtensions()</literal>, | |
6348 <literal>Object.isExtensible()</literal>, | |
6349 <literal>Object.freeze()</literal>, | |
6350 <literal>Object.isFrozen()</literal>, | |
6351 <literal>Object.seal()</literal>, | |
6352 <literal>Object.isSealed()</literal> | |
6353 methods. | |
6354 </para> | |
6355 </listitem> | |
6356 | |
6357 <listitem> | |
6358 <para> | |
6359 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6360 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 6361 </para> |
6362 </listitem> | |
6363 | |
6364 <listitem> | |
6365 <para> | |
6366 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6367 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 6368 </para> |
6369 </listitem> | |
6370 | |
6371 <listitem> | |
6372 <para> | |
6373 Bugfix: | |
6374 processing of large array indexes. | |
6375 </para> | |
6376 </listitem> | |
6377 | |
6378 <listitem> | |
6379 <para> | |
6380 Bugfix: | |
6381 in <literal>parseInt()</literal> and | |
6382 <literal>Date.parse()</literal>. | |
6383 </para> | |
6384 </listitem> | |
6385 | |
6386 </list> | |
6387 </para> | |
6388 | |
6389 </section> | |
6390 | |
6391 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6392 <section id="njs0.1.10" name="Changes with njs 0.1.10"> |
2130 | 6393 |
6394 <para> | |
6395 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6396 04 April 2017 |
2130 | 6397 </para> |
6398 | |
6399 <para> | |
6400 <list type="bullet"> | |
6401 | |
6402 <listitem> | |
6403 <para> | |
6404 Feature: | |
6405 nested functions and function closures. | |
6406 </para> | |
6407 </listitem> | |
6408 | |
6409 <listitem> | |
6410 <para> | |
6411 Feature: | |
6412 <literal>Array.of()</literal>, | |
6413 <literal>Array.prototype.fill()</literal>, | |
6414 <literal>Array.prototype.find()</literal>, | |
6415 <literal>Array.prototype.findIndex()</literal> | |
6416 methods. | |
6417 </para> | |
6418 </listitem> | |
6419 | |
6420 <listitem> | |
6421 <para> | |
6422 Bugfix: | |
6423 miscellaneous bugs and segmentation faults have been fixed. | |
6424 </para> | |
6425 </listitem> | |
6426 | |
6427 </list> | |
6428 </para> | |
6429 | |
6430 </section> | |
6431 | |
6432 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6433 <section id="njs0.1.9" name="Changes with njs 0.1.9"> |
2130 | 6434 |
6435 <para> | |
6436 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6437 01 February 2017 |
2130 | 6438 </para> |
6439 | |
6440 <para> | |
6441 <list type="bullet"> | |
6442 | |
6443 <listitem> | |
6444 <para> | |
6445 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6446 global variables were not initialized when njs was used |
2130 | 6447 in nginx. |
6448 </para> | |
6449 </listitem> | |
6450 | |
6451 </list> | |
6452 </para> | |
6453 | |
6454 </section> | |
6455 | |
6456 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6457 <section id="njs0.1.8" name="Changes with njs 0.1.8"> |
2130 | 6458 |
6459 <para> | |
6460 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6461 24 January 2017 |
2130 | 6462 </para> |
6463 | |
6464 <para> | |
6465 <list type="bullet"> | |
6466 | |
6467 <listitem> | |
6468 <para> | |
6469 Change: | |
6470 the <literal>strict</literal> mode is enforced, | |
6471 variables must be explicitly declared. | |
6472 </para> | |
6473 </listitem> | |
6474 | |
6475 | |
6476 <listitem> | |
6477 <para> | |
6478 Feature: | |
6479 <literal>for</literal> and | |
6480 <literal>for-in</literal> loops support variable declaration. | |
6481 </para> | |
6482 </listitem> | |
6483 | |
6484 <listitem> | |
6485 <para> | |
6486 Bugfix: | |
6487 global and function scopes have been fixed. | |
6488 </para> | |
6489 </listitem> | |
6490 | |
6491 <listitem> | |
6492 <para> | |
6493 Bugfix: | |
6494 now <literal>for-in</literal> loop does not discard the last value | |
6495 of property variable. | |
6496 </para> | |
6497 </listitem> | |
6498 | |
6499 <listitem> | |
6500 <para> | |
6501 Bugfix: | |
6502 miscellaneous bugs and segmentation faults have been fixed. | |
6503 </para> | |
6504 </listitem> | |
6505 | |
6506 </list> | |
6507 </para> | |
6508 | |
6509 </section> | |
6510 | |
6511 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6512 <section id="njs0.1.7" name="Changes with njs 0.1.7"> |
2130 | 6513 |
6514 <para> | |
6515 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6516 27 December 2016 |
2130 | 6517 </para> |
6518 | |
6519 <para> | |
6520 <list type="bullet"> | |
6521 | |
6522 <listitem> | |
6523 <para> | |
6524 Change: | |
6525 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
6526 has been disabled at server and location levels. | |
6527 </para> | |
6528 </listitem> | |
6529 | |
6530 <listitem> | |
6531 <para> | |
6532 Feature: | |
6533 exponentiation operators. | |
6534 </para> | |
6535 </listitem> | |
6536 | |
6537 <listitem> | |
6538 <para> | |
6539 Bugfix: | |
6540 miscellaneous bugs and segmentation faults have been fixed. | |
6541 </para> | |
6542 </listitem> | |
6543 | |
6544 </list> | |
6545 </para> | |
6546 | |
6547 </section> | |
6548 | |
6549 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6550 <section id="njs0.1.6" name="Changes with njs 0.1.6"> |
2130 | 6551 |
6552 <para> | |
6553 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6554 13 December 2016 |
2130 | 6555 </para> |
6556 | |
6557 <para> | |
6558 <list type="bullet"> | |
6559 | |
6560 <listitem> | |
6561 <para> | |
6562 Change: | |
6563 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
6564 has been disabled at server and location levels. | |
6565 </para> | |
6566 </listitem> | |
6567 | |
6568 <listitem> | |
6569 <para> | |
6570 Feature: | |
6571 ES6 <literal>Math</literal> methods. | |
6572 </para> | |
6573 </listitem> | |
6574 | |
6575 <listitem> | |
6576 <para> | |
6577 Bugfix: | |
6578 miscellaneous bugs and segmentation faults have been fixed. | |
6579 </para> | |
6580 </listitem> | |
6581 | |
6582 </list> | |
6583 </para> | |
6584 | |
6585 </section> | |
6586 | |
6587 </article> |