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