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