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