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