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