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