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