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