Mercurial > hg > nginx-site
annotate xml/en/docs/njs/changes.xml @ 2805:6fa0e92f6607
Linux packages: actualized the list of supported distributions.
Alpine 3.11 removed due to EOL.
Alpine 3.15 added.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Fri, 26 Nov 2021 15:30:44 +0300 |
parents | 64d030947d40 |
children | d84856836c20 |
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" |
2785 | 12 rev="47" |
2130 | 13 toc="no"> |
14 | |
2785 | 15 <section id="njs0.7.0" name="Changes with njs 0.7.0"> |
16 | |
17 <para> | |
18 Release Date: | |
19 19 October 2021 | |
20 </para> | |
21 | |
22 <para> | |
23 nginx modules: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 Added | |
30 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_protocols">HTTPS</link> | |
31 support for | |
32 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
33 </para> | |
34 </listitem> | |
35 | |
36 <listitem> | |
37 <para> | |
38 Feature: | |
39 Added | |
40 <literal>setReturnValue()</literal> method for | |
41 <link doc="reference.xml" id="r_set_return_value">http</link> and | |
42 <link doc="reference.xml" id="s_set_return_value">stream</link>. | |
43 </para> | |
44 </listitem> | |
45 | |
46 </list> | |
47 </para> | |
48 | |
49 <para> | |
50 Core: | |
51 <list type="bullet"> | |
52 | |
53 <listitem> | |
54 <para> | |
55 Feature: | |
56 introduced <literal>Async/Await</literal> implementation. | |
57 </para> | |
58 </listitem> | |
59 | |
60 <listitem> | |
61 <para> | |
62 Feature: | |
63 added | |
64 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link> | |
65 implementation. | |
66 </para> | |
67 </listitem> | |
68 | |
69 <listitem> | |
70 <para> | |
71 Bugfix: | |
72 fixed copying of closures for declared functions. | |
73 The bug was introduced in | |
74 <link id="njs0.6.0">0.6.0</link>. | |
75 </para> | |
76 </listitem> | |
77 | |
78 <listitem> | |
79 <para> | |
80 Bugfix: | |
81 fixed unhandled <literal>promise</literal> rejection in handle events. | |
82 </para> | |
83 </listitem> | |
84 | |
85 <listitem> | |
86 <para> | |
87 Bugfix: | |
88 fixed Response.headers getter in Fetch API. | |
89 </para> | |
90 </listitem> | |
91 | |
92 </list> | |
93 | |
94 </para> | |
95 | |
96 </section> | |
97 | |
98 | |
2762 | 99 <section id="njs0.6.2" name="Changes with njs 0.6.2"> |
100 | |
101 <para> | |
102 Release Date: | |
103 31 August 2021 | |
104 </para> | |
105 | |
106 <para> | |
107 nginx modules: | |
108 <list type="bullet"> | |
109 | |
110 <listitem> | |
111 <para> | |
112 Bugfix: | |
113 fixed CPU hog when | |
114 <literal>js_filter</literal> is registered in both directions. | |
115 </para> | |
116 </listitem> | |
117 | |
118 </list> | |
119 </para> | |
120 | |
121 <para> | |
122 Core: | |
123 <list type="bullet"> | |
124 | |
125 <listitem> | |
126 <para> | |
127 Feature: | |
128 introduced <literal>AggregateError</literal> implementation. | |
129 </para> | |
130 </listitem> | |
131 | |
132 <listitem> | |
133 <para> | |
134 Feature: | |
135 added remaining <literal>Promise</literal> constructor methods. | |
136 The following methods were added: | |
137 <literal>Promise.all()</literal> , | |
138 <literal>Promise.allSettled()</literal> , | |
139 <literal>Promise.any()</literal> , | |
140 <literal>Promise.race()</literal> . | |
141 </para> | |
142 </listitem> | |
143 | |
144 <listitem> | |
145 <para> | |
146 Improvement: | |
147 removed recursion from code generator. | |
148 </para> | |
149 </listitem> | |
150 | |
151 <listitem> | |
152 <para> | |
153 Bugfix: | |
154 fixed rest parameter parsing without binding identifier. | |
155 </para> | |
156 </listitem> | |
157 | |
158 <listitem> | |
159 <para> | |
160 Bugfix: | |
161 fixed resolve/reject callback for | |
162 <literal> Promise.prototype.finally()</literal> . | |
163 </para> | |
164 </listitem> | |
165 | |
166 <listitem> | |
167 <para> | |
168 Bugfix: | |
169 fixed <literal> %TypedArray%.prototype.join()</literal> | |
170 with detached buffer. | |
171 </para> | |
172 </listitem> | |
173 | |
174 <listitem> | |
175 <para> | |
176 Bugfix: | |
177 fixed memory leak in interactive shell. | |
178 </para> | |
179 </listitem> | |
180 </list> | |
181 | |
182 </para> | |
183 | |
184 </section> | |
185 | |
186 | |
2744 | 187 <section id="njs0.6.1" name="Changes with njs 0.6.1"> |
188 | |
189 <para> | |
190 Release Date: | |
191 29 June 2021 | |
192 </para> | |
193 | |
194 <para> | |
195 <list type="bullet"> | |
196 | |
197 <listitem> | |
198 <para> | |
199 Bugfix: | |
200 fixed <literal>RegExpBuiltinExec()</literal> with UTF-8 only regexps. | |
201 The bug was introduced in <link id="njs0.4.2">0.4.2</link>. | |
202 </para> | |
203 </listitem> | |
204 | |
205 <listitem> | |
206 <para> | |
207 Bugfix: | |
208 fixed parsing of export default declaration with non-assignment expressions. | |
209 Thanks to Artem S. Povalyukhin. | |
210 </para> | |
211 </listitem> | |
212 | |
213 </list> | |
214 </para> | |
215 | |
216 </section> | |
217 | |
218 | |
2741 | 219 <section id="njs0.6.0" name="Changes with njs 0.6.0"> |
220 | |
221 <para> | |
222 Release Date: | |
223 15 June 2021 | |
224 </para> | |
225 | |
226 <para> | |
227 Core: | |
228 <list type="bullet"> | |
229 | |
230 <listitem> | |
231 <para> | |
232 Feature: | |
233 added | |
234 <literal>let</literal> and | |
235 <literal>const</literal> declaration support. | |
236 </para> | |
237 </listitem> | |
238 | |
239 <listitem> | |
240 <para> | |
241 Feature: | |
242 added <literal>RegExp.prototype[Symbol.split]</literal>. | |
243 </para> | |
244 </listitem> | |
245 | |
246 <listitem> | |
247 <para> | |
248 Feature: | |
249 added sticky flag support for RegExp. | |
250 </para> | |
251 </listitem> | |
252 | |
253 <listitem> | |
254 <para> | |
255 Bugfix: | |
256 fixed heap-buffer-overflow in | |
257 <literal>String.prototype.lastIndexOf()</literal>. | |
258 </para> | |
259 </listitem> | |
260 | |
261 <listitem> | |
262 <para> | |
263 Bugfix: | |
264 fixed | |
265 <literal>RegExp.prototype.test()</literal> | |
266 according to the specification. | |
267 </para> | |
268 </listitem> | |
269 | |
270 <listitem> | |
271 <para> | |
272 Bugfix: | |
273 fixed | |
274 <literal>String.prototype.split()</literal> | |
275 according to the specification. | |
276 </para> | |
277 </listitem> | |
278 | |
279 <listitem> | |
280 <para> | |
281 Bugfix: | |
282 fixed use-of-uninitialized-value while tracking rejected promises. | |
283 </para> | |
284 </listitem> | |
285 | |
286 <listitem> | |
287 <para> | |
288 Bugfix: | |
289 fixed <literal>njs.dump()</literal> for objects with circular references. | |
290 </para> | |
291 </listitem> | |
292 | |
293 </list> | |
294 </para> | |
295 | |
296 </section> | |
297 | |
298 | |
2698 | 299 <section id="njs0.5.3" name="Changes with njs 0.5.3"> |
300 | |
301 <para> | |
302 Release Date: | |
303 30 March 2021 | |
304 </para> | |
305 | |
306 <para> | |
307 nginx modules: | |
308 <list type="bullet"> | |
309 | |
310 <listitem> | |
311 <para> | |
312 Feature: | |
313 added the <literal>js_var</literal> directive for | |
314 <link doc="../http/ngx_http_js_module.xml" id="js_var">http</link> and | |
315 <link doc="../stream/ngx_stream_js_module.xml" id="js_var">stream</link>. | |
316 </para> | |
317 </listitem> | |
318 | |
319 </list> | |
320 </para> | |
321 | |
322 </section> | |
323 | |
324 | |
2674 | 325 <section id="njs0.5.2" name="Changes with njs 0.5.2"> |
326 | |
327 <para> | |
328 Release Date: | |
329 09 March 2021 | |
330 </para> | |
331 | |
332 <para> | |
333 nginx modules: | |
334 <list type="bullet"> | |
335 | |
336 <listitem> | |
337 <para> | |
338 Feature: | |
339 added the | |
340 <link doc="../http/ngx_http_js_module.xml" id="js_body_filter"><literal>js_body_filter</literal></link> | |
341 directive. | |
342 </para> | |
343 </listitem> | |
344 | |
345 <listitem> | |
346 <para> | |
347 Feature: | |
348 introduced the | |
349 <link doc="reference.xml" id="s_status"><literal>s.status</literal></link> | |
350 property for | |
351 <link doc="reference.xml" id="stream">Stream Session</link> | |
352 object. | |
353 </para> | |
354 </listitem> | |
355 | |
2743
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
356 </list> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
357 </para> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
358 |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
359 <para> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
360 Core: |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
361 <list type="bullet"> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
362 |
2674 | 363 <listitem> |
364 <para> | |
365 Feature: | |
366 added | |
367 <link doc="reference.xml" id="njs_on"><literal>njs.on</literal></link> | |
368 (<literal>exit</literal>) callback support. | |
369 </para> | |
370 </listitem> | |
371 | |
372 <listitem> | |
373 <para> | |
374 Bugfix: | |
375 fixed property descriptor reuse for not extensible objects. | |
376 Thanks to Artem S. Povalyukhin. | |
377 </para> | |
378 </listitem> | |
379 | |
380 <listitem> | |
381 <para> | |
382 Bugfix: | |
383 fixed <literal>Object.freeze()</literal> and friends | |
384 according to the specification. | |
385 Thanks to Artem S. Povalyukhin. | |
386 </para> | |
387 </listitem> | |
388 | |
389 <listitem> | |
390 <para> | |
391 Bugfix: | |
392 fixed <literal>Function()</literal> in CLI mode. | |
393 </para> | |
394 </listitem> | |
395 | |
396 <listitem> | |
397 <para> | |
398 Bugfix: | |
399 fixed for-in iteration of typed array values. | |
400 Thanks to Artem S. Povalyukhin. | |
401 </para> | |
402 </listitem> | |
403 | |
404 </list> | |
405 </para> | |
406 | |
407 </section> | |
408 | |
409 | |
2656 | 410 <section id="njs0.5.1" name="Changes with njs 0.5.1"> |
411 | |
412 <para> | |
413 Release Date: | |
414 16 February 2021 | |
415 </para> | |
416 | |
417 <para> | |
418 nginx modules: | |
419 <list type="bullet"> | |
420 | |
421 <listitem> | |
422 <para> | |
423 Feature: | |
424 introduced | |
425 <link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link> | |
426 method implementing Fetch API. | |
427 </para> | |
428 | |
429 <para> | |
430 The following properties and methods of | |
431 <link doc="reference.xml" id="response"><literal>Response</literal></link> | |
432 object are implemented: | |
433 <link doc="reference.xml" id="response_arraybuffer"><literal>arrayBuffer()</literal></link>, | |
434 <link doc="reference.xml" id="response_bodyused"><literal>bodyUsed</literal></link>, | |
435 <link doc="reference.xml" id="response_json"><literal>json()</literal></link>, | |
436 <link doc="reference.xml" id="response_headers"><literal>headers</literal></link>, | |
437 <link doc="reference.xml" id="response_ok"><literal>ok</literal></link>, | |
438 <link doc="reference.xml" id="response_redirect"><literal>redirect</literal></link>, | |
439 <link doc="reference.xml" id="response_status"><literal>status</literal></link>, | |
440 <link doc="reference.xml" id="response_statustext"><literal>statusText</literal></link>, | |
441 <link doc="reference.xml" id="response_text"><literal>text()</literal></link>, | |
442 <link doc="reference.xml" id="response_type"><literal>type</literal></link>, | |
443 <link doc="reference.xml" id="response_url"><literal>url</literal></link>. | |
444 </para> | |
445 | |
446 <para> | |
447 Notable limitations: | |
448 only the <literal>http://</literal> scheme is supported, | |
449 redirects are not handled. | |
450 </para> | |
451 | |
452 <para> | |
453 In collaboration with 洪志道 (Hong Zhi Dao). | |
454 </para> | |
455 </listitem> | |
456 | |
457 <listitem> | |
458 <para> | |
459 Feature: | |
460 added the | |
461 <link doc="../http/ngx_http_js_module.xml" id="js_header_filter"><literal>js_header_filter</literal></link> | |
462 directive. | |
463 </para> | |
464 </listitem> | |
465 | |
466 <listitem> | |
467 <para> | |
468 Bugfix: | |
469 fixed processing buffered data in body filter in | |
470 <link doc="../stream/ngx_stream_js_module.xml">stream</link> module. | |
471 </para> | |
472 </listitem> | |
473 | |
474 </list> | |
475 </para> | |
476 | |
477 <para> | |
478 Core: | |
479 <list type="bullet"> | |
480 | |
481 <listitem> | |
482 <para> | |
483 Bugfix: | |
484 fixed safe mode bypass in <literal>Function</literal> constructor. | |
485 </para> | |
486 </listitem> | |
487 | |
488 <listitem> | |
489 <para> | |
490 Bugfix: | |
491 fixed <literal>Date.prototype.toISOString()</literal> with invalid date values. | |
492 </para> | |
493 </listitem> | |
494 | |
495 </list> | |
496 </para> | |
497 | |
498 </section> | |
499 | |
500 | |
2628 | 501 <section id="njs0.5.0" name="Changes with njs 0.5.0"> |
502 | |
503 <para> | |
504 Release Date: | |
505 01 December 2020 | |
506 </para> | |
507 | |
508 <para> | |
509 nginx modules: | |
510 <list type="bullet"> | |
511 | |
512 <listitem> | |
513 <para> | |
514 Feature: | |
515 introduced global | |
516 <link doc="reference.xml" id="ngx"><literal>ngx</literal></link> object. | |
517 </para> | |
518 | |
519 <para> | |
520 The following methods were added: | |
521 <list type="bullet"> | |
522 | |
523 <listitem> | |
524 <para> | |
525 <link doc="reference.xml" id="ngx_log"><literal>ngx.log(level, | |
526 message)</literal></link> | |
527 </para> | |
528 </listitem> | |
529 | |
530 </list> | |
531 </para> | |
532 | |
533 <para> | |
534 The following properties were added: | |
535 <list type="bullet"> | |
536 | |
537 <listitem> | |
538 <para> | |
539 <literal>ngx.INFO</literal>, | |
540 <literal>ngx.WARN</literal>, | |
541 <literal>ngx.ERR</literal>. | |
542 </para> | |
543 </listitem> | |
544 | |
545 </list> | |
546 </para> | |
547 | |
548 </listitem> | |
549 | |
550 <listitem> | |
551 <para> | |
552 Feature: | |
553 added support for | |
554 <literal>Buffer</literal> object where string is expected. | |
555 </para> | |
556 </listitem> | |
557 | |
558 <listitem> | |
559 <para> | |
560 Feature: | |
561 added Buffer version of existing properties. | |
562 </para> | |
563 | |
564 <para> | |
565 The following properties were added: | |
566 <list type="bullet"> | |
567 | |
568 <listitem> | |
569 <para> | |
570 <link doc="reference.xml" id="r_request_buffer"><literal>r.requestBuffer</literal></link> | |
571 (<link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link>), | |
572 <link doc="reference.xml" id="r_response_buffer"><literal>r.responseBuffer</literal></link> | |
573 (<link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link>), | |
574 <link doc="reference.xml" id="r_raw_variables"><literal>r.rawVariables</literal></link> | |
575 (<link doc="reference.xml" id="r_variables"><literal>r.variables</literal></link>), | |
576 <link doc="reference.xml" id="s_raw_variables"><literal>s.rawVariables</literal></link> | |
577 (<link doc="reference.xml" id="s_variables"><literal>s.variables</literal></link>). | |
578 </para> | |
579 </listitem> | |
580 | |
581 </list> | |
582 </para> | |
583 | |
584 <para> | |
585 The following events were added in the stream module: | |
586 <list type="bullet"> | |
587 | |
588 <listitem> | |
589 <para> | |
590 <link doc="reference.xml" id="s_on"><literal>upstream</literal></link> | |
591 (upload), | |
592 <link doc="reference.xml" id="s_on"><literal>downstream</literal></link> | |
593 (download). | |
594 </para> | |
595 </listitem> | |
596 | |
597 </list> | |
598 </para> | |
599 | |
600 </listitem> | |
601 | |
602 <listitem> | |
603 <para> | |
604 Improvement: | |
605 added aliases to existing properties. | |
606 </para> | |
607 | |
608 <para> | |
609 The following properties were added: | |
610 <list type="bullet"> | |
611 | |
612 <listitem> | |
613 <para> | |
614 <link doc="reference.xml" id="r_request_text"><literal>r.requestText</literal></link> | |
615 (<link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link>), | |
616 <link doc="reference.xml" id="r_response_text"><literal>r.responseText</literal></link> | |
617 (<link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link>). | |
618 </para> | |
619 </listitem> | |
620 | |
621 </list> | |
622 </para> | |
623 | |
624 </listitem> | |
625 | |
626 <listitem> | |
627 <para> | |
628 Improvement: | |
629 throwing an exception in | |
630 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> | |
631 for a subrequest. | |
632 </para> | |
633 </listitem> | |
634 | |
635 <listitem> | |
636 <para> | |
637 Bugfix: | |
638 fixed promise | |
639 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link> | |
640 with | |
641 <link doc="../http/ngx_http_core_module.xml" id="error_page"><literal>error_page</literal></link> | |
642 redirect. | |
643 </para> | |
644 </listitem> | |
645 | |
646 <listitem> | |
647 <para> | |
648 Bugfix: | |
649 fixed | |
650 <literal>promise</literal> events handling. | |
651 </para> | |
652 </listitem> | |
653 | |
654 </list> | |
655 </para> | |
656 | |
657 <para> | |
658 Core: | |
659 <list type="bullet"> | |
660 | |
661 <listitem> | |
662 <para> | |
663 Feature: | |
664 added | |
665 <literal>TypeScript</literal> definitions for built-in modules. | |
666 Thanks to Jakub Jirutka. | |
667 </para> | |
668 </listitem> | |
669 | |
670 <listitem> | |
671 <para> | |
672 Feature: | |
673 tracking unhandled <literal>promise</literal> rejection. | |
674 </para> | |
675 </listitem> | |
676 | |
677 <listitem> | |
678 <para> | |
679 Feature: | |
680 added initial iterator support. | |
681 Thanks to Artem S. Povalyukhin. | |
682 </para> | |
683 </listitem> | |
684 | |
685 <listitem> | |
686 <para> | |
687 Improvement: | |
688 <literal>TypeScript</literal> definitions are refactored. | |
689 Thanks to Jakub Jirutka. | |
690 </para> | |
691 </listitem> | |
692 | |
693 <listitem> | |
694 <para> | |
695 Improvement: | |
696 added forgotten support for | |
697 <literal>Object.prototype.valueOf()</literal> | |
698 in | |
699 <literal>Buffer.from()</literal>. | |
700 </para> | |
701 </listitem> | |
702 | |
703 <listitem> | |
704 <para> | |
705 Bugfix: | |
706 fixed heap-use-after-free in | |
707 <literal>JSON.parse()</literal>. | |
708 </para> | |
709 </listitem> | |
710 | |
711 <listitem> | |
712 <para> | |
713 Bugfix: | |
714 fixed heap-use-after-free in | |
715 <literal>JSON.stringify()</literal>. | |
716 </para> | |
717 </listitem> | |
718 | |
719 <listitem> | |
720 <para> | |
721 Bugfix: | |
722 fixed | |
723 <literal>JSON.stringify()</literal> for arrays resizable via getters. | |
724 </para> | |
725 </listitem> | |
726 | |
727 <listitem> | |
728 <para> | |
729 Bugfix: | |
730 fixed heap-buffer-overflow for | |
731 <literal>RegExp.prototype[Symbol.replace]</literal>. | |
732 </para> | |
733 </listitem> | |
734 | |
735 <listitem> | |
736 <para> | |
737 Bugfix: | |
738 fixed returned value for | |
739 <literal>Buffer.prototype.write*</literal> | |
740 functions. | |
741 </para> | |
742 </listitem> | |
743 | |
744 <listitem> | |
745 <para> | |
746 Bugfix: | |
747 fixed | |
748 <link doc="reference.xml" id="querystring_stringify"><literal>querystring.stringify()</literal></link>. | |
749 Thanks to Artem S. Povalyukhin. | |
750 </para> | |
751 </listitem> | |
752 | |
753 <listitem> | |
754 <para> | |
755 Bugfix: | |
756 fixed the catch handler for | |
757 <literal>Promise.prototype.finally()</literal>. | |
758 </para> | |
759 </listitem> | |
760 | |
761 <listitem> | |
762 <para> | |
763 Bugfix: | |
764 fixed | |
765 <link doc="reference.xml" id="querystring_parse"><literal>querystring.parse()</literal></link>. | |
766 </para> | |
767 </listitem> | |
768 | |
769 </list> | |
770 </para> | |
771 | |
772 </section> | |
773 | |
774 | |
2601 | 775 <section id="njs0.4.4" name="Changes with njs 0.4.4"> |
776 | |
777 <para> | |
778 Release Date: | |
779 29 September 2020 | |
780 </para> | |
781 | |
782 <para> | |
783 nginx modules: | |
784 <list type="bullet"> | |
785 | |
786 <listitem> | |
787 <para> | |
788 Bugfix: | |
789 fixed location merge. | |
790 </para> | |
791 </listitem> | |
792 | |
793 <listitem> | |
794 <para> | |
795 Bugfix: | |
796 fixed | |
797 <link doc="reference.xml" id="r_http_version"><literal>r.httpVersion</literal></link> | |
798 for HTTP/2. | |
799 </para> | |
800 </listitem> | |
801 | |
802 </list> | |
803 </para> | |
804 | |
805 <para> | |
806 Core: | |
807 <list type="bullet"> | |
808 | |
809 <listitem> | |
810 <para> | |
811 Feature: | |
812 added support for numeric separators (ES12). | |
813 </para> | |
814 </listitem> | |
815 | |
816 <listitem> | |
817 <para> | |
818 Feature: | |
819 added remaining methods for | |
820 <literal>%TypedArray%.prototype</literal>. | |
821 The following methods were added: | |
822 <literal>every()</literal>, | |
823 <literal>filter()</literal>, | |
824 <literal>find()</literal>, | |
825 <literal>findIndex()</literal>, | |
826 <literal>forEach()</literal>, | |
827 <literal>includes()</literal>, | |
828 <literal>indexOf()</literal>, | |
829 <literal>lastIndexOf()</literal>, | |
830 <literal>map()</literal>, | |
831 <literal>reduce()</literal>, | |
832 <literal>reduceRight()</literal>, | |
833 <literal>reverse()</literal>, | |
834 <literal>some()</literal>. | |
835 </para> | |
836 </listitem> | |
837 | |
838 <listitem> | |
839 <para> | |
840 Feature: | |
841 added <literal>%TypedArray%</literal> remaining methods. | |
842 The following methods were added: | |
843 <literal>from()</literal>, | |
844 <literal>of()</literal>. | |
845 </para> | |
846 </listitem> | |
847 | |
848 <listitem> | |
849 <para> | |
850 Feature: | |
851 added <literal>DataView</literal> object. | |
852 </para> | |
853 </listitem> | |
854 <listitem> | |
855 <para> | |
856 Feature: | |
857 added <literal>Buffer</literal> object implementation. | |
858 </para> | |
859 </listitem> | |
860 | |
861 <listitem> | |
862 <para> | |
863 Feature: | |
864 added support for <literal>ArrayBuffer</literal> in | |
865 <link doc="reference.xml" id="textdecoder_decode"><literal>TextDecoder.prototype.decode()</literal></link> | |
866 </para> | |
867 </listitem> | |
868 | |
869 <listitem> | |
870 <para> | |
871 Feature: | |
872 added support for <literal>Buffer</literal> object in | |
873 <link doc="reference.xml" id="crypto"><literal>crypto</literal></link> | |
874 methods. | |
875 </para> | |
876 </listitem> | |
877 | |
878 <listitem> | |
879 <para> | |
880 Feature: | |
881 added support for <literal>Buffer</literal> object in | |
882 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
883 methods. | |
884 </para> | |
885 </listitem> | |
886 | |
887 <listitem> | |
888 <para> | |
889 Change: | |
890 <link doc="reference.xml" id="crypto_hash_digest"><literal>Hash.prototype.digest()</literal></link> | |
891 and | |
892 <link doc="reference.xml" id="crypto_hmac_digest"><literal>Hmac.prototype.digest()</literal></link> | |
893 now return a <literal>Buffer</literal> instance instead of a byte string when | |
894 encoding is not provided. | |
895 </para> | |
896 </listitem> | |
897 | |
898 <listitem> | |
899 <para> | |
900 Change: | |
901 <link doc="reference.xml" id="readfilesync"><literal>fs.readFile()</literal></link> | |
902 and friends now return a <literal>Buffer</literal> instance | |
903 instead of a byte string when encoding is not provided. | |
904 </para> | |
905 </listitem> | |
906 | |
907 <listitem> | |
908 <para> | |
909 Bugfix: | |
910 fixed function <literal>prototype</literal> property handler while setting. | |
911 </para> | |
912 </listitem> | |
913 | |
914 <listitem> | |
915 <para> | |
916 Bugfix: | |
917 fixed function <literal>constructor</literal> property handler while setting. | |
918 </para> | |
919 </listitem> | |
920 | |
921 <listitem> | |
922 <para> | |
923 Bugfix: | |
924 fixed <literal>String.prototype.indexOf()</literal> | |
925 for byte strings. | |
926 </para> | |
927 </listitem> | |
928 | |
929 <listitem> | |
930 <para> | |
931 Bugfix: | |
932 fixed <literal>RegExpBuiltinExec()</literal> | |
933 with a global flag and byte strings. | |
934 </para> | |
935 </listitem> | |
936 | |
937 <listitem> | |
938 <para> | |
939 Bugfix: | |
940 fixed <literal>RegExp.prototype[Symbol.replace]</literal> | |
941 the when replacement value is a function. | |
942 </para> | |
943 </listitem> | |
944 | |
945 <listitem> | |
946 <para> | |
947 Bugfix: | |
948 fixed | |
949 <link doc="reference.xml" id="textdecoder_decode"><literal>TextDecoder.prototype.decode()</literal></link> | |
950 with non-zero <literal>TypedArray</literal> offset. | |
951 </para> | |
952 </listitem> | |
953 | |
954 </list> | |
955 </para> | |
956 | |
957 </section> | |
958 | |
959 | |
2584 | 960 <section id="njs0.4.3" name="Changes with njs 0.4.3"> |
961 | |
962 <para> | |
963 Release Date: | |
964 11 August 2020 | |
965 </para> | |
966 | |
967 <para> | |
968 Core: | |
969 <list type="bullet"> | |
970 | |
971 <listitem> | |
972 <para> | |
973 Feature: | |
974 added | |
975 <link doc="reference.xml" id="querystring"><literal>Query String</literal></link> | |
976 module. | |
977 </para> | |
978 </listitem> | |
979 | |
980 <listitem> | |
981 <para> | |
982 Feature: | |
983 improved | |
984 <link doc="reference.xml" id="fs_mkdirsync"><literal>fs.mkdir()</literal></link> | |
985 to support recursive directory creation. | |
986 Thanks to Artem S. Povalyukhin. | |
987 </para> | |
988 </listitem> | |
989 | |
990 <listitem> | |
991 <para> | |
992 Feature: | |
993 improved | |
994 <link doc="reference.xml" id="fs_rmdirsync"><literal>fs.rmdir()</literal></link> | |
995 to support recursive directory removal. | |
996 Thanks to Artem S. Povalyukhin. | |
997 </para> | |
998 </listitem> | |
999 | |
1000 <listitem> | |
1001 <para> | |
1002 Feature: | |
1003 introduced UTF-8 decoder according to | |
1004 <link url="https://encoding.spec.whatwg.org/">WHATWG</link> encoding spec. | |
1005 </para> | |
1006 </listitem> | |
1007 | |
1008 <listitem> | |
1009 <para> | |
1010 Feature: | |
2585
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
1011 added |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
1012 <link doc="reference.xml" id="textdecoder"><literal>TextDecoder()</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
1013 and |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
1014 <link doc="reference.xml" id="textencoder"><literal>TextEncoder()</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
1015 implementation. |
2584 | 1016 </para> |
1017 </listitem> | |
1018 | |
1019 <listitem> | |
1020 <para> | |
1021 Bugfix: | |
1022 fixed parsing return statement without semicolon. | |
1023 </para> | |
1024 </listitem> | |
1025 | |
1026 <listitem> | |
1027 <para> | |
1028 Bugfix: | |
1029 fixed <literal>njs_number_to_int32()</literal> for big-endian platforms. | |
1030 </para> | |
1031 </listitem> | |
1032 | |
1033 <listitem> | |
1034 <para> | |
1035 Bugfix: | |
1036 fixed unit test on big-endian platforms. | |
1037 </para> | |
1038 </listitem> | |
1039 | |
1040 <listitem> | |
1041 <para> | |
1042 Bugfix: | |
1043 fixed regexp-literals parsing with “<literal>=</literal>” characters. | |
1044 </para> | |
1045 </listitem> | |
1046 | |
1047 <listitem> | |
1048 <para> | |
1049 Bugfix: | |
1050 fixed pre/post increment/decrement in assignment operations. | |
1051 </para> | |
1052 </listitem> | |
1053 | |
1054 </list> | |
1055 </para> | |
1056 | |
1057 </section> | |
1058 | |
1059 | |
2566 | 1060 <section id="njs0.4.2" name="Changes with njs 0.4.2"> |
1061 | |
1062 <para> | |
1063 Release Date: | |
1064 07 July 2020 | |
1065 </para> | |
1066 | |
1067 <para> | |
1068 Core: | |
1069 <list type="bullet"> | |
1070 | |
1071 <listitem> | |
1072 <para> | |
1073 Feature: | |
1074 added <literal>RegExp.prototype[Symbol.replace]</literal>. | |
1075 </para> | |
1076 </listitem> | |
1077 | |
1078 <listitem> | |
1079 <para> | |
1080 Feature: | |
1081 introduced line level backtrace. | |
1082 </para> | |
1083 </listitem> | |
1084 | |
1085 <listitem> | |
1086 <para> | |
1087 Feature: | |
1088 added <literal>%TypedArray%.prototype.sort()</literal>. | |
1089 </para> | |
1090 </listitem> | |
1091 | |
1092 <listitem> | |
1093 <para> | |
1094 Feature: | |
1095 extended | |
1096 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
1097 Added | |
1098 <link doc="reference.xml" id="fs_mkdirsync"><literal>mkdir()</literal></link>, | |
1099 <link doc="reference.xml" id="fs_readdirsync"><literal>readdir()</literal></link>, | |
1100 <link doc="reference.xml" id="fs_rmdirsync"><literal>rmdir()</literal></link>, | |
1101 and friends. | |
1102 </para> | |
1103 </listitem> | |
1104 | |
1105 <listitem> | |
1106 <para> | |
1107 Improvement: | |
1108 parser refactoring. | |
1109 </para> | |
1110 </listitem> | |
1111 | |
1112 <listitem> | |
1113 <para> | |
1114 Bugfix: | |
1115 fixed TypedScript API description for HTTP headers. | |
1116 </para> | |
1117 </listitem> | |
1118 | |
1119 <listitem> | |
1120 <para> | |
1121 Bugfix: | |
1122 fixed TypedScript API description for <literal>NjsByteString</literal> type. | |
1123 </para> | |
1124 </listitem> | |
1125 | |
1126 <listitem> | |
1127 <para> | |
1128 Bugfix: | |
1129 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1130 <literal>String.prototype.repeat()</literal> |
2566 | 1131 according to the specification. |
1132 </para> | |
1133 </listitem> | |
1134 | |
1135 <listitem> | |
1136 <para> | |
1137 Bugfix: | |
1138 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1139 <literal>String.prototype.replace()</literal> |
2566 | 1140 according to the specification. |
1141 </para> | |
1142 </listitem> | |
1143 | |
1144 <listitem> | |
1145 <para> | |
1146 Bugfix: | |
1147 fixed parsing of flags for regexp literals. | |
1148 </para> | |
1149 </listitem> | |
1150 | |
1151 <listitem> | |
1152 <para> | |
1153 Bugfix: | |
1154 fixed index generation for global objects in generator. | |
1155 </para> | |
1156 </listitem> | |
1157 | |
1158 <listitem> | |
1159 <para> | |
1160 Bugfix: | |
1161 fixed <literal>%TypedArray%.prototype.copyWithin()</literal> | |
1162 with nonzero byte offset. | |
1163 </para> | |
1164 </listitem> | |
1165 | |
1166 <listitem> | |
1167 <para> | |
1168 Bugfix: | |
1169 fixed <literal>Array.prototype.splice()</literal> | |
1170 for sparse arrays. | |
1171 </para> | |
1172 </listitem> | |
1173 | |
1174 <listitem> | |
1175 <para> | |
1176 Bugfix: | |
1177 fixed <literal>Array.prototype.reverse()</literal> | |
1178 for sparse arrays. | |
1179 </para> | |
1180 </listitem> | |
1181 | |
1182 <listitem> | |
1183 <para> | |
1184 Bugfix: | |
1185 fixed <literal>Array.prototype.sort()</literal> | |
1186 for sparse arrays. | |
1187 </para> | |
1188 </listitem> | |
1189 | |
1190 </list> | |
1191 </para> | |
1192 | |
1193 </section> | |
1194 | |
1195 | |
2547 | 1196 <section id="njs0.4.1" name="Changes with njs 0.4.1"> |
1197 | |
1198 <para> | |
1199 Release Date: | |
1200 19 May 2020 | |
1201 </para> | |
1202 | |
1203 <para> | |
1204 nginx modules: | |
1205 <list type="bullet"> | |
1206 | |
1207 <listitem> | |
1208 <para> | |
1209 Feature: | |
1210 added support for multi-value headers in | |
1211 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
1212 </para> | |
1213 </listitem> | |
1214 | |
1215 <listitem> | |
1216 <para> | |
1217 Feature: | |
1218 introduced <literal>raw headers</literal> API: | |
1219 <link doc="reference.xml" id="r_raw_headers_in"><literal>r.rawHeadersIn{}</literal></link> | |
1220 and | |
1221 <link doc="reference.xml" id="r_raw_headers_out"><literal>r.rawHeadersOut{}</literal></link>. | |
1222 </para> | |
1223 </listitem> | |
1224 | |
1225 <listitem> | |
1226 <para> | |
1227 Feature: | |
1228 added <link doc="typescript.xml">TypeScript</link> API description. | |
1229 </para> | |
1230 </listitem> | |
1231 | |
1232 </list> | |
1233 </para> | |
1234 | |
1235 <para> | |
1236 Core: | |
1237 <list type="bullet"> | |
1238 | |
1239 <listitem> | |
1240 <para> | |
1241 Bugfix: | |
1242 fixed <literal>Array.prototype.slice()</literal> for sparse arrays. | |
1243 </para> | |
1244 </listitem> | |
1245 | |
1246 </list> | |
1247 </para> | |
1248 | |
1249 </section> | |
1250 | |
1251 | |
2535 | 1252 <section id="njs0.4.0" name="Changes with njs 0.4.0"> |
1253 | |
1254 <para> | |
1255 Release Date: | |
1256 23 April 2020 | |
1257 </para> | |
1258 | |
1259 <para> | |
1260 nginx modules: | |
1261 <list type="bullet"> | |
1262 | |
1263 <listitem> | |
1264 <para> | |
1265 Feature: | |
1266 added support for multi-value headers in | |
1267 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
1268 </para> | |
1269 </listitem> | |
1270 | |
1271 <listitem> | |
1272 <para> | |
1273 Feature: | |
1274 added <literal>js_import</literal> directive for | |
1275 <link doc="../http/ngx_http_js_module.xml" id="js_import">http</link> and | |
1276 <link doc="../stream/ngx_stream_js_module.xml" id="js_import">stream</link>. | |
1277 </para> | |
1278 </listitem> | |
1279 | |
1280 <listitem> | |
1281 <para> | |
1282 Improvement: | |
1283 improved iteration over | |
1284 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
1285 with special headers. | |
1286 </para> | |
1287 </listitem> | |
1288 | |
1289 <listitem> | |
1290 <para> | |
1291 Improvement: | |
1292 improved iteration over | |
1293 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
1294 with duplicates. | |
1295 </para> | |
1296 </listitem> | |
1297 | |
1298 <listitem> | |
1299 <para> | |
1300 Change: | |
1301 <link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link> | |
1302 property handler now returns | |
1303 <literal>undefined</literal> | |
1304 instead of throwing an exception if the response body is not available. | |
1305 </para> | |
1306 </listitem> | |
1307 | |
1308 </list> | |
1309 </para> | |
1310 | |
1311 <para> | |
1312 Core: | |
1313 <list type="bullet"> | |
1314 | |
1315 <listitem> | |
1316 <para> | |
1317 Feature: | |
1318 added script arguments support in CLI. | |
1319 </para> | |
1320 </listitem> | |
1321 | |
1322 <listitem> | |
1323 <para> | |
1324 Feature: | |
1325 converting externals values to native js objects. | |
1326 </para> | |
1327 </listitem> | |
1328 | |
1329 <listitem> | |
1330 <para> | |
1331 Bugfix: | |
1332 fixed NULL-pointer dereference | |
1333 in <literal>__proto__</literal> property handler. | |
1334 </para> | |
1335 </listitem> | |
1336 | |
1337 <listitem> | |
1338 <para> | |
1339 Bugfix: | |
1340 fixed handling of no-newline at the end of the script. | |
1341 </para> | |
1342 </listitem> | |
1343 | |
1344 <listitem> | |
1345 <para> | |
1346 Bugfix: | |
1347 fixed <literal>RegExp()</literal> constructor | |
1348 with empty pattern and non-empty flags. | |
1349 </para> | |
1350 </listitem> | |
1351 | |
1352 <listitem> | |
1353 <para> | |
1354 Bugfix: | |
2735
ff357b676c2e
Removed trailing spaces.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2698
diff
changeset
|
1355 fixed |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1356 <literal>String.prototype.replace()</literal> |
2535 | 1357 when function returns non-string. |
1358 </para> | |
1359 </listitem> | |
1360 | |
1361 <listitem> | |
1362 <para> | |
1363 Bugfix: | |
1364 fixed reading of pseudofiles in | |
1365 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>. | |
1366 </para> | |
1367 </listitem> | |
1368 | |
1369 </list> | |
1370 </para> | |
1371 | |
1372 </section> | |
1373 | |
1374 | |
2507 | 1375 <section id="njs0.3.9" name="Changes with njs 0.3.9"> |
1376 | |
1377 <para> | |
1378 Release Date: | |
1379 03 March 2020 | |
1380 </para> | |
1381 | |
1382 <para> | |
1383 nginx modules: | |
1384 <list type="bullet"> | |
1385 | |
1386 <listitem> | |
1387 <para> | |
1388 Feature: | |
1389 added detached mode for | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
1390 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2507 | 1391 Responses to detached subrequests are ignored. |
1392 Unlike ordinary subrequests, | |
1393 a detached subrequest can be created inside a variable handler. | |
1394 </para> | |
1395 </listitem> | |
1396 | |
1397 </list> | |
1398 </para> | |
1399 | |
1400 <para> | |
1401 Core: | |
1402 <list type="bullet"> | |
1403 | |
1404 <listitem> | |
1405 <para> | |
1406 Feature: | |
1407 added <literal>promises</literal> API for | |
1408 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
1409 Thanks to Artem S. Povalyukhin. | |
1410 </para> | |
1411 </listitem> | |
1412 | |
1413 <listitem> | |
1414 <para> | |
1415 Feature: | |
1416 extended <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
1417 module. | |
1418 Added | |
1419 <link doc="reference.xml" id="fs_accesssync"><literal>access()</literal></link>, | |
1420 <link doc="reference.xml" id="fs_symlinksync"><literal>symlink()</literal></link>, | |
1421 <link doc="reference.xml" id="fs_unlinksync"><literal>unlink()</literal></link>, | |
1422 <link doc="reference.xml" id="fs_realpathsync"><literal>realpath()</literal></link>, | |
1423 and friends. | |
1424 Thanks to Artem S. Povalyukhin. | |
1425 </para> | |
1426 </listitem> | |
1427 | |
1428 <listitem> | |
1429 <para> | |
1430 Improvement: | |
1431 introduced memory-efficient ordinary arrays. | |
1432 </para> | |
1433 </listitem> | |
1434 | |
1435 <listitem> | |
1436 <para> | |
1437 Improvement: | |
1438 lexer refactoring. | |
1439 </para> | |
1440 </listitem> | |
1441 | |
1442 <listitem> | |
1443 <para> | |
1444 Bugfix: | |
1445 fixed matching of native functions in backtraces. | |
1446 </para> | |
1447 </listitem> | |
1448 | |
1449 <listitem> | |
1450 <para> | |
1451 Bugfix: | |
1452 fixed callback invocations in | |
1453 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
1454 Thanks to Artem S. Povalyukhin. | |
1455 </para> | |
1456 </listitem> | |
1457 | |
1458 <listitem> | |
1459 <para> | |
1460 Bugfix: | |
1461 fixed <literal>Object.getOwnPropertySymbols()</literal>. | |
1462 </para> | |
1463 </listitem> | |
1464 | |
1465 <listitem> | |
1466 <para> | |
1467 Bugfix: | |
1468 fixed heap-buffer-overflow in | |
1469 <literal>njs_json_append_string()</literal>. | |
1470 </para> | |
1471 </listitem> | |
1472 | |
1473 <listitem> | |
1474 <para> | |
1475 Bugfix: | |
1476 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1477 <literal>encodeURI()</literal> |
2507 | 1478 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1479 <literal>decodeURI()</literal> |
2507 | 1480 according to the specification. |
1481 </para> | |
1482 </listitem> | |
1483 | |
1484 <listitem> | |
1485 <para> | |
1486 Bugfix: | |
1487 fixed <literal>Number.prototype.toPrecision()</literal>. | |
1488 </para> | |
1489 </listitem> | |
1490 | |
1491 <listitem> | |
1492 <para> | |
1493 Bugfix: | |
1494 fixed handling of space argument in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1495 <literal>JSON.stringify()</literal>. |
2507 | 1496 </para> |
1497 </listitem> | |
1498 | |
1499 <listitem> | |
1500 <para> | |
1501 Bugfix: | |
1502 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1503 <literal>JSON.stringify()</literal> |
2507 | 1504 with |
1505 <literal>Number()</literal> and | |
1506 <literal>String()</literal> | |
1507 objects. | |
1508 </para> | |
1509 </listitem> | |
1510 | |
1511 <listitem> | |
1512 <para> | |
1513 Bugfix: | |
1514 fixed Unicode Escaping in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1515 <literal>JSON.stringify()</literal> |
2507 | 1516 according to specification. |
1517 </para> | |
1518 </listitem> | |
1519 | |
1520 <listitem> | |
1521 <para> | |
1522 Bugfix: | |
1523 fixed non-native module importing. | |
1524 Thanks to 洪志道 (Hong Zhi Dao). | |
1525 </para> | |
1526 </listitem> | |
1527 | |
1528 <listitem> | |
1529 <para> | |
1530 Bugfix: | |
1531 fixed | |
1532 <literal>njs.dump()</literal> with the | |
1533 <literal>Date()</literal> | |
1534 instance in a container. | |
1535 </para> | |
1536 </listitem> | |
1537 | |
1538 </list> | |
1539 </para> | |
1540 | |
1541 </section> | |
1542 | |
1543 | |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1544 <section id="njs0.3.8" name="Changes with njs 0.3.8"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1545 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1546 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1547 Release Date: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1548 21 January 2020 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1549 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1550 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1551 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1552 nginx modules: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1553 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1554 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1555 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1556 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1557 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1558 added <literal>Promise</literal> support for |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
1559 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1560 If a callback is not provided, |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
1561 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1562 returns an ordinary |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1563 <literal>Promise</literal> object |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1564 that resolves to a subrequest response object. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1565 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1566 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1567 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1568 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1569 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1570 Change: |
2514
da5355b68ddd
Removed brackets from r.parent in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2510
diff
changeset
|
1571 <link doc="reference.xml" id="r_parent"><literal>r.parent</literal></link> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1572 property handler now returns |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1573 <literal>undefined</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1574 instead of throwing an exception if a parent object is not available. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1575 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1576 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1577 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1578 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1579 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1580 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1581 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1582 Core: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1583 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1584 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1585 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1586 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1587 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1588 added <literal>Promise</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1589 Implemented according to the specification without: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1590 <literal>Promise.all()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1591 <literal>Promise.allSettled()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1592 <literal>Promise.race()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1593 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1594 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1595 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1596 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1597 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1598 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1599 added initial Typed-arrays support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1600 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1601 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1602 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1603 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1604 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1605 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1606 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1607 added <literal>ArrayBuffer</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1608 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1609 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1610 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1611 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1612 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1613 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1614 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1615 added initial <literal>Symbol</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1616 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1617 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1618 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1619 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1620 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1621 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1622 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1623 added externals support for |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1624 <literal>JSON.stringify()</literal>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1625 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1626 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1627 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1628 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1629 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1630 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1631 added <literal>Object.is()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1632 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1633 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1634 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1635 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1636 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1637 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1638 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1639 added <literal>Object.setPrototypeOf()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1640 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1641 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1642 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1643 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1644 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1645 <para> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1646 Feature: |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1647 introduced nullish coalescing operator. |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1648 </para> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1649 </listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1650 |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1651 <listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
1652 <para> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1653 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1654 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1655 <literal>Object.getPrototypeOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1656 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1657 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1658 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1659 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1660 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1661 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1662 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1663 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1664 <literal>Object.prototype.valueOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1665 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1666 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1667 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1668 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1669 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1670 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1671 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1672 fixed |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
1673 <literal>JSON.stringify()</literal> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1674 with unprintable values and replacer function. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1675 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1676 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1677 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1678 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1679 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1680 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1681 fixed operator <literal>in</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1682 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1683 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1684 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1685 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1686 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1687 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1688 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1689 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1690 <literal>Object.defineProperties()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1691 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1692 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1693 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1694 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1695 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1696 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1697 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1698 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1699 <literal>Object.create()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1700 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1701 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1702 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1703 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1704 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1705 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1706 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1707 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1708 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1709 <literal>Number.prototype.toString(radix)</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1710 when fast-math is enabled. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1711 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1712 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1713 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1714 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1715 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1716 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1717 fixed <literal>RegExp()</literal> instance properties. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1718 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1719 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1720 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1721 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1722 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1723 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1724 fixed import segfault. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1725 Thanks to 洪志道 (Hong Zhi Dao). |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1726 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1727 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1728 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1729 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1730 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1731 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1732 </section> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1733 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
1734 |
2466 | 1735 <section id="njs0.3.7" name="Changes with njs 0.3.7"> |
1736 | |
1737 <para> | |
1738 Release Date: | |
1739 19 November 2019 | |
1740 </para> | |
1741 | |
1742 <para> | |
1743 nginx modules: | |
1744 <list type="bullet"> | |
1745 | |
1746 <listitem> | |
1747 <para> | |
1748 Improvement: | |
1749 refactored iteration over external objects. | |
1750 </para> | |
1751 </listitem> | |
1752 | |
1753 </list> | |
1754 </para> | |
1755 | |
1756 <para> | |
1757 Core: | |
1758 <list type="bullet"> | |
1759 | |
1760 <listitem> | |
1761 <para> | |
1762 Feature: | |
1763 added <literal>Object.assign()</literal>. | |
1764 </para> | |
1765 </listitem> | |
1766 | |
1767 <listitem> | |
1768 <para> | |
1769 Feature: | |
1770 added <literal>Array.prototype.copyWithin()</literal>. | |
1771 </para> | |
1772 </listitem> | |
1773 | |
1774 <listitem> | |
1775 <para> | |
1776 Feature: | |
1777 added support for labels in <literal>console.time()</literal>. | |
1778 </para> | |
1779 </listitem> | |
1780 | |
1781 <listitem> | |
1782 <para> | |
1783 Change: | |
1784 removed <literal>console.help()</literal> from CLI. | |
1785 </para> | |
1786 </listitem> | |
1787 | |
1788 <listitem> | |
1789 <para> | |
1790 Improvement: | |
1791 moved constructors and top-level objects to global object. | |
1792 </para> | |
1793 </listitem> | |
1794 | |
1795 <listitem> | |
1796 <para> | |
1797 Improvement: | |
1798 arguments validation for configure script. | |
1799 </para> | |
1800 </listitem> | |
1801 | |
1802 <listitem> | |
1803 <para> | |
1804 Improvement: | |
1805 refactored JSON methods. | |
1806 </para> | |
1807 </listitem> | |
1808 | |
1809 <listitem> | |
1810 <para> | |
1811 Bugfix: | |
1812 fixed heap-buffer-overflow in | |
1813 <literal>njs_array_reverse_iterator()</literal> function. | |
1814 The following functions were affected: | |
1815 <literal>Array.prototype.lastIndexOf()</literal>, | |
1816 <literal>Array.prototype.reduceRight()</literal>. | |
1817 </para> | |
1818 </listitem> | |
1819 | |
1820 <listitem> | |
1821 <para> | |
1822 Bugfix: | |
1823 fixed | |
1824 <literal>[[Prototype]]</literal> slot of <literal>NativeErrors</literal>. | |
1825 </para> | |
1826 </listitem> | |
1827 | |
1828 <listitem> | |
1829 <para> | |
1830 Bugfix: | |
1831 fixed | |
1832 <literal>NativeError.prototype.message</literal> properties. | |
1833 </para> | |
1834 </listitem> | |
1835 | |
1836 <listitem> | |
1837 <para> | |
1838 Bugfix: | |
1839 added conversion of | |
1840 <literal>this</literal> value to object in | |
1841 <literal>Array.prototype functions</literal>. | |
1842 </para> | |
1843 </listitem> | |
1844 | |
1845 <listitem> | |
1846 <para> | |
1847 Bugfix: | |
1848 fixed iterator for | |
1849 <literal>Array.prototype.find()</literal> and | |
1850 <literal>Array.prototype.findIndex()</literal> | |
1851 functions. | |
1852 </para> | |
1853 </listitem> | |
1854 | |
1855 <listitem> | |
1856 <para> | |
1857 Bugfix: | |
1858 fixed | |
1859 <literal>Array.prototype.includes()</literal> and | |
1860 <literal>Array.prototype.join()</literal> with | |
1861 <literal>undefined</literal> argument. | |
1862 </para> | |
1863 </listitem> | |
1864 | |
1865 <listitem> | |
1866 <para> | |
1867 Bugfix: | |
1868 fixed <literal>constructor</literal> property of | |
1869 <literal>Hash</literal> and | |
1870 <literal>Hmac</literal> | |
1871 objects. | |
1872 </para> | |
1873 </listitem> | |
1874 | |
1875 <listitem> | |
1876 <para> | |
1877 Bugfix: | |
1878 fixed <literal>__proto__</literal> property of getters and setters. | |
1879 </para> | |
1880 </listitem> | |
1881 | |
1882 <listitem> | |
1883 <para> | |
1884 Bugfix: | |
1885 fixed <literal>Date</literal> object string formatting. | |
1886 </para> | |
1887 </listitem> | |
1888 | |
1889 <listitem> | |
1890 <para> | |
1891 Bugfix: | |
1892 fixed handling of | |
1893 <literal>NaN</literal> and <literal>-0</literal> arguments in | |
1894 <literal>Math.min()</literal> and | |
1895 <literal>Math.max()</literal>. | |
1896 </para> | |
1897 </listitem> | |
1898 | |
1899 <listitem> | |
1900 <para> | |
1901 Bugfix: | |
1902 fixed <literal>Math.round()</literal> | |
1903 according to the specification. | |
1904 </para> | |
1905 </listitem> | |
1906 | |
1907 <listitem> | |
1908 <para> | |
1909 Bugfix: | |
1910 reimplemented <literal>bound</literal> functions | |
1911 according to the specification. | |
1912 </para> | |
1913 </listitem> | |
1914 | |
1915 </list> | |
1916 </para> | |
1917 | |
1918 </section> | |
1919 | |
1920 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1921 <section id="njs0.3.6" name="Changes with njs 0.3.6"> |
2446 | 1922 |
1923 <para> | |
1924 Release Date: | |
1925 22 October 2019 | |
1926 </para> | |
1927 | |
1928 <para> | |
1929 nginx modules: | |
1930 <list type="bullet"> | |
1931 | |
1932 <listitem> | |
1933 <para> | |
1934 Improvement: | |
1935 getting special headers from | |
1936 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
1937 </para> | |
1938 </listitem> | |
1939 | |
1940 </list> | |
1941 </para> | |
1942 | |
1943 <para> | |
1944 Core: | |
1945 <list type="bullet"> | |
1946 | |
1947 <listitem> | |
1948 <para> | |
1949 Feature: | |
1950 added new <literal>Function()</literal> support. | |
1951 </para> | |
1952 </listitem> | |
1953 | |
1954 <listitem> | |
1955 <para> | |
1956 Feature: | |
1957 added <literal>Number.prototype.toFixed()</literal>. | |
1958 </para> | |
1959 </listitem> | |
1960 | |
1961 <listitem> | |
1962 <para> | |
1963 Feature: | |
1964 added <literal>Number.prototype.toPrecision()</literal>. | |
1965 </para> | |
1966 </listitem> | |
1967 | |
1968 <listitem> | |
1969 <para> | |
1970 Feature: | |
1971 added <literal>Number.prototype.toExponential()</literal>. | |
1972 </para> | |
1973 </listitem> | |
1974 | |
1975 <listitem> | |
1976 <para> | |
1977 Improvement: | |
1978 making <literal>prototype</literal> property of function instances writable. | |
1979 </para> | |
1980 </listitem> | |
1981 | |
1982 <listitem> | |
1983 <para> | |
1984 Improvement: | |
1985 limiting recursion depth while compiling. | |
1986 </para> | |
1987 </listitem> | |
1988 | |
1989 <listitem> | |
1990 <para> | |
1991 Improvement: | |
1992 moving global functions to the global object. | |
1993 </para> | |
1994 </listitem> | |
1995 | |
1996 <listitem> | |
1997 <para> | |
1998 Bugfix: | |
1999 fixed prototype mutation for object literals. | |
2000 </para> | |
2001 </listitem> | |
2002 | |
2003 <listitem> | |
2004 <para> | |
2005 Bugfix: | |
2006 fixed heap-buffer-overflow while parsing regexp literals. | |
2007 </para> | |
2008 </listitem> | |
2009 | |
2010 <listitem> | |
2011 <para> | |
2012 Bugfix: | |
2013 fixed integer-overflow while parsing exponent of number literals. | |
2014 </para> | |
2015 </listitem> | |
2016 | |
2017 <listitem> | |
2018 <para> | |
2019 Bugfix: | |
2020 fixed <literal>parseFloat()</literal>. | |
2021 </para> | |
2022 </listitem> | |
2023 | |
2024 <listitem> | |
2025 <para> | |
2026 Bugfix: | |
2027 fixed <literal>Array.prototype</literal> functions | |
2028 according to the specification. | |
2029 The following functions were fixed: | |
2030 <literal>every</literal>, | |
2031 <literal>includes</literal>, | |
2032 <literal>indexOf</literal>, | |
2033 <literal>filter</literal>, | |
2034 <literal>find</literal>, | |
2035 <literal>findIndex</literal>, | |
2036 <literal>forEach</literal>, | |
2037 <literal>lastIndexOf</literal>, | |
2038 <literal>map</literal>, | |
2039 <literal>pop</literal>, | |
2040 <literal>push</literal>, | |
2041 <literal>reduce</literal>, | |
2042 <literal>reduceRight</literal>, | |
2043 <literal>shift</literal>, | |
2044 <literal>some</literal>, | |
2045 <literal>unshift</literal>. | |
2046 </para> | |
2047 </listitem> | |
2048 | |
2049 <listitem> | |
2050 <para> | |
2051 Bugfix: | |
2052 fixed handing of accessor descriptors in <literal>Object.freeze()</literal>. | |
2053 </para> | |
2054 </listitem> | |
2055 | |
2056 <listitem> | |
2057 <para> | |
2058 Bugfix: | |
2059 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2060 <literal>String.prototype.replace()</literal> |
2446 | 2061 when first argument is not a string. |
2062 </para> | |
2063 </listitem> | |
2064 | |
2065 <listitem> | |
2066 <para> | |
2067 Bugfix: | |
2068 fixed stack-use-after-scope in <literal>Array.prototype.map()</literal>. | |
2069 </para> | |
2070 </listitem> | |
2071 | |
2072 <listitem> | |
2073 <para> | |
2074 Bugfix: | |
2075 <literal>Date.prototype.toUTCString()</literal> | |
2076 format was aligned to ES9. | |
2077 </para> | |
2078 </listitem> | |
2079 | |
2080 <listitem> | |
2081 <para> | |
2082 Bugfix: | |
2083 fixed buffer overflow in | |
2084 <literal>Number.prototype.toString(radix)</literal>. | |
2085 </para> | |
2086 </listitem> | |
2087 | |
2088 <listitem> | |
2089 <para> | |
2090 Bugfix: | |
2091 fixed | |
2092 <literal>Regexp.prototype.test()</literal> | |
2093 for regexps with backreferences. | |
2094 </para> | |
2095 </listitem> | |
2096 | |
2097 <listitem> | |
2098 <para> | |
2099 Bugfix: | |
2100 fixed | |
2101 <literal>Array.prototype.map()</literal> | |
2102 for objects with nonexistent values. | |
2103 </para> | |
2104 </listitem> | |
2105 | |
2106 <listitem> | |
2107 <para> | |
2108 Bugfix: | |
2109 fixed | |
2110 <literal>Array.prototype.pop()</literal> and | |
2111 <literal>shift()</literal> for sparse objects. | |
2112 </para> | |
2113 </listitem> | |
2114 | |
2115 <listitem> | |
2116 <para> | |
2117 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2118 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2119 <literal>Date.UTC()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2120 according to the specification. |
2446 | 2121 </para> |
2122 </listitem> | |
2123 | |
2124 <listitem> | |
2125 <para> | |
2126 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2127 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2128 <literal>Date()</literal> constructor |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2129 according to the specification. |
2446 | 2130 </para> |
2131 </listitem> | |
2132 | |
2133 <listitem> | |
2134 <para> | |
2135 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2136 fixed type of |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2137 <literal>Date.prototype</literal>. |
2446 | 2138 Thanks to Artem S. Povalyukhin. |
2139 </para> | |
2140 </listitem> | |
2141 | |
2142 <listitem> | |
2143 <para> | |
2144 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2145 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2146 <literal>Date.prototype.setTime()</literal>. |
2446 | 2147 Thanks to Artem S. Povalyukhin. |
2148 </para> | |
2149 </listitem> | |
2150 | |
2151 <listitem> | |
2152 <para> | |
2153 Bugfix: | |
2154 fixed default number of arguments expected by built-in functions. | |
2155 </para> | |
2156 </listitem> | |
2157 | |
2158 <listitem> | |
2159 <para> | |
2160 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2161 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2162 <literal>caller</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2163 <literal>arguments</literal> |
2446 | 2164 properties of a function instance. |
2165 Thanks to Artem S. Povalyukhin. | |
2166 </para> | |
2167 </listitem> | |
2168 | |
2169 </list> | |
2170 </para> | |
2171 | |
2172 </section> | |
2173 | |
2174 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2175 <section id="njs0.3.5" name="Changes with njs 0.3.5"> |
2420 | 2176 |
2177 <para> | |
2178 Release Date: | |
2179 15 August 2019 | |
2180 </para> | |
2181 | |
2182 <para> | |
2183 Core: | |
2184 <list type="bullet"> | |
2185 | |
2186 <listitem> | |
2187 <para> | |
2188 Bugfix: | |
2189 fixed module importing using <literal>require()</literal>. | |
2190 The bug was introduced in <link id="0.3.4"/>. | |
2191 </para> | |
2192 </listitem> | |
2193 | |
2194 <listitem> | |
2195 <para> | |
2196 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2197 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2198 <literal>[[SetPrototypeOf]]</literal>. |
2420 | 2199 </para> |
2200 </listitem> | |
2201 | |
2202 </list> | |
2203 </para> | |
2204 | |
2205 </section> | |
2206 | |
2207 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2208 <section id="njs0.3.4" name="Changes with njs 0.3.4"> |
2414 | 2209 |
2210 <para> | |
2211 Release Date: | |
2212 13 August 2019 | |
2213 </para> | |
2214 | |
2215 <para> | |
2216 Core: | |
2217 <list type="bullet"> | |
2218 | |
2219 <listitem> | |
2220 <para> | |
2221 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2222 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2223 <literal>Object</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2224 shorthand methods and computed property names. |
2414 | 2225 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. |
2226 </para> | |
2227 </listitem> | |
2228 | |
2229 <listitem> | |
2230 <para> | |
2231 Feature: | |
2232 added getter/setter literal support. | |
2233 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
2234 </para> | |
2235 </listitem> | |
2236 | |
2237 <listitem> | |
2238 <para> | |
2239 Feature: | |
2240 added | |
2507 | 2241 <link doc="reference.xml" id="fs_renamesync"><literal>fs.renameSync()</literal></link>. |
2414 | 2242 </para> |
2243 </listitem> | |
2244 | |
2245 <listitem> | |
2246 <para> | |
2247 Feature: | |
2248 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2249 <literal>String.prototype.trimEnd()</literal> |
2414 | 2250 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2251 <literal>String.prototype.trimStart()</literal>. |
2414 | 2252 </para> |
2253 </listitem> | |
2254 | |
2255 <listitem> | |
2256 <para> | |
2257 Improvement: | |
2258 added memory-sanitizer support. | |
2259 </para> | |
2260 </listitem> | |
2261 | |
2262 <listitem> | |
2263 <para> | |
2264 Improvement: | |
2265 Unicode case tables updated to version 12.1. | |
2266 </para> | |
2267 </listitem> | |
2268 | |
2269 <listitem> | |
2270 <para> | |
2271 Improvement: | |
2272 added UTF8 validation for string literals. | |
2273 </para> | |
2274 </listitem> | |
2275 | |
2276 <listitem> | |
2277 <para> | |
2278 Bugfix: | |
2735
ff357b676c2e
Removed trailing spaces.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2698
diff
changeset
|
2279 fixed reading files with zero size in |
2414 | 2280 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. |
2281 </para> | |
2282 </listitem> | |
2283 | |
2284 <listitem> | |
2285 <para> | |
2286 Bugfix: | |
2287 extended the list of space separators in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2288 <literal>String.prototype.trim()</literal>. |
2414 | 2289 </para> |
2290 </listitem> | |
2291 | |
2292 <listitem> | |
2293 <para> | |
2294 Bugfix: | |
2295 fixed using of uninitialized value in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2296 <literal>String.prototype.padStart()</literal>. |
2414 | 2297 </para> |
2298 </listitem> | |
2299 | |
2300 <listitem> | |
2301 <para> | |
2302 Bugfix: | |
2303 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2304 <literal>String.prototype.replace()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2305 for <literal>$0</literal> and <literal>$&</literal> replacement string. |
2414 | 2306 </para> |
2307 </listitem> | |
2308 | |
2309 <listitem> | |
2310 <para> | |
2311 Bugfix: | |
2312 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2313 <literal>String.prototype.replace()</literal> |
2414 | 2314 for byte strings with regex argument. |
2315 </para> | |
2316 </listitem> | |
2317 | |
2318 <listitem> | |
2319 <para> | |
2320 Bugfix: | |
2321 fixed global match in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2322 <literal>String.prototype.replace()</literal> |
2414 | 2323 with regexp argument. |
2324 </para> | |
2325 </listitem> | |
2326 | |
2327 <listitem> | |
2328 <para> | |
2329 Bugfix: | |
2330 fixed | |
2331 <literal>Array.prototype.slice()</literal> | |
2332 for primitive types. | |
2333 </para> | |
2334 </listitem> | |
2335 | |
2336 <listitem> | |
2337 <para> | |
2338 Bugfix: | |
2339 fixed heap-buffer-overflow while importing module. | |
2340 </para> | |
2341 </listitem> | |
2342 | |
2343 <listitem> | |
2344 <para> | |
2345 Bugfix: | |
2346 fixed UTF-8 character escaping. | |
2347 </para> | |
2348 </listitem> | |
2349 | |
2350 <listitem> | |
2351 <para> | |
2352 Bugfix: | |
2353 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2354 <literal>Object.values()</literal> |
2414 | 2355 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2356 <literal>Object.entries()</literal> |
2414 | 2357 for shared objects. |
2358 </para> | |
2359 </listitem> | |
2360 | |
2361 <listitem> | |
2362 <para> | |
2363 Bugfix: | |
2364 fixed uninitialized memory access in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2365 <literal>String.prototype.match()</literal>. |
2414 | 2366 </para> |
2367 </listitem> | |
2368 | |
2369 <listitem> | |
2370 <para> | |
2371 Bugfix: | |
2372 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2373 <literal>String.prototype.match()</literal> |
2414 | 2374 for byte strings with regex argument. |
2375 </para> | |
2376 </listitem> | |
2377 | |
2378 <listitem> | |
2379 <para> | |
2380 Bugfix: | |
2381 fixed | |
2382 <literal>Array.prototype.lastIndexOf()</literal> | |
2383 with undefined arguments. | |
2384 </para> | |
2385 </listitem> | |
2386 | |
2387 <listitem> | |
2388 <para> | |
2389 Bugfix: | |
2390 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2391 <literal>String.prototype.substring()</literal> |
2414 | 2392 with empty substring. |
2393 </para> | |
2394 </listitem> | |
2395 | |
2396 <listitem> | |
2397 <para> | |
2398 Bugfix: | |
2399 fixed invalid memory access in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2400 <literal>String.prototype.substring()</literal>. |
2414 | 2401 </para> |
2402 </listitem> | |
2403 | |
2404 <listitem> | |
2405 <para> | |
2406 Bugfix: | |
2407 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2408 <literal>String.fromCharCode()</literal> |
2414 | 2409 for code points more than <literal>65535</literal> and <literal>NaN</literal>. |
2410 </para> | |
2411 </listitem> | |
2412 | |
2413 <listitem> | |
2414 <para> | |
2415 Bugfix: | |
2416 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2417 <literal>String.prototype.toLowerCase()</literal> |
2414 | 2418 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2419 <literal>String.prototype.toUpperCase()</literal>. |
2414 | 2420 </para> |
2421 </listitem> | |
2422 | |
2423 <listitem> | |
2424 <para> | |
2425 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2426 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2427 <literal>Error()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2428 constructor with no arguments. |
2414 | 2429 </para> |
2430 </listitem> | |
2431 | |
2432 <listitem> | |
2433 <para> | |
2434 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2435 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2436 <literal>in</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2437 operator for values with accessor descriptors. |
2414 | 2438 </para> |
2439 </listitem> | |
2440 | |
2441 <listitem> | |
2442 <para> | |
2443 Bugfix: | |
2444 fixed | |
2445 <literal>Object.defineProperty()</literal> | |
2446 for non-boolean descriptor props. | |
2447 </para> | |
2448 </listitem> | |
2449 | |
2450 <listitem> | |
2451 <para> | |
2452 Bugfix: | |
2453 fixed | |
2454 <literal>Error.prototype.toString()</literal> | |
2455 with UTF8 string properties. | |
2456 </para> | |
2457 </listitem> | |
2458 | |
2459 <listitem> | |
2460 <para> | |
2461 Bugfix: | |
2462 fixed | |
2463 <literal>Error.prototype.toString()</literal> | |
2464 with non-string values for <literal>name</literal> and <literal>message</literal>. | |
2465 </para> | |
2466 </listitem> | |
2467 | |
2468 </list> | |
2469 </para> | |
2470 | |
2471 </section> | |
2472 | |
2473 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2474 <section id="njs0.3.3" name="Changes with njs 0.3.3"> |
2402 | 2475 |
2476 <para> | |
2477 Release Date: | |
2478 25 June 2019 | |
2479 </para> | |
2480 | |
2481 <para> | |
2482 nginx modules: | |
2483 <list type="bullet"> | |
2484 | |
2485 <listitem> | |
2486 <para> | |
2487 Improvement: | |
2488 getting of special response headers in | |
2489 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
2490 </para> | |
2491 </listitem> | |
2492 | |
2493 <listitem> | |
2494 <para> | |
2495 Improvement: | |
2496 working with unknown methods in | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
2497 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2402 | 2498 </para> |
2499 </listitem> | |
2500 | |
2501 <listitem> | |
2502 <para> | |
2503 Improvement: | |
2504 added support for null as a second argument of | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
2505 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2402 | 2506 </para> |
2507 </listitem> | |
2508 | |
2509 <listitem> | |
2510 <para> | |
2511 Bugfix: | |
2512 fixed processing empty output chain in stream body filter. | |
2513 </para> | |
2514 </listitem> | |
2515 | |
2516 </list> | |
2517 </para> | |
2518 | |
2519 <para> | |
2520 Core: | |
2521 <list type="bullet"> | |
2522 | |
2523 <listitem> | |
2524 <para> | |
2525 Feature: | |
2526 added runtime support for property getter/setter. | |
2527 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
2528 </para> | |
2529 </listitem> | |
2530 | |
2531 <listitem> | |
2532 <para> | |
2533 Feature: | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
2534 added |
2414 | 2535 <link doc="reference.xml" id="process"><literal>process</literal></link> |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
2536 global object. |
2402 | 2537 </para> |
2538 </listitem> | |
2539 | |
2540 <listitem> | |
2541 <para> | |
2542 Feature: | |
2543 writable most of built-in properties and methods. | |
2544 </para> | |
2545 </listitem> | |
2546 | |
2547 <listitem> | |
2548 <para> | |
2549 Feature: | |
2550 added generic implementation of | |
2551 <literal>Array.prototype.fill()</literal>. | |
2552 </para> | |
2553 </listitem> | |
2554 | |
2555 <listitem> | |
2556 <para> | |
2557 Bugfix: | |
2558 fixed integer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2559 <literal>String.prototype.concat()</literal>. |
2402 | 2560 </para> |
2561 </listitem> | |
2562 | |
2563 <listitem> | |
2564 <para> | |
2565 Bugfix: | |
2566 fixed setting of object properties. | |
2567 </para> | |
2568 </listitem> | |
2569 | |
2570 <listitem> | |
2571 <para> | |
2572 Bugfix: | |
2573 fixed | |
2574 <literal>Array.prototype.toString()</literal>. | |
2575 </para> | |
2576 </listitem> | |
2577 | |
2578 <listitem> | |
2579 <para> | |
2580 Bugfix: | |
2581 fixed | |
2582 <literal>Date.prototype.toJSON()</literal>. | |
2583 </para> | |
2584 </listitem> | |
2585 | |
2586 <listitem> | |
2587 <para> | |
2588 Bugfix: | |
2589 fixed overwriting “constructor” property of built-in prototypes. | |
2590 </para> | |
2591 </listitem> | |
2592 | |
2593 <listitem> | |
2594 <para> | |
2595 Bugfix: | |
2596 fixed processing of invalid surrogate pairs in strings. | |
2597 </para> | |
2598 </listitem> | |
2599 | |
2600 <listitem> | |
2601 <para> | |
2602 Bugfix: | |
2603 fixed processing of invalid surrogate pairs in JSON strings. | |
2604 </para> | |
2605 </listitem> | |
2606 | |
2607 <listitem> | |
2608 <para> | |
2609 Bugfix: | |
2610 fixed heap-buffer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2611 <literal>toUpperCase()</literal> |
2402 | 2612 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2613 <literal>toLowerCase()</literal>. |
2402 | 2614 </para> |
2615 </listitem> | |
2616 | |
2617 <listitem> | |
2618 <para> | |
2619 Bugfix: | |
2620 fixed escaping lone closing square brackets in | |
2621 <literal>RegExp()</literal> constructor. | |
2622 </para> | |
2623 </listitem> | |
2624 | |
2625 <listitem> | |
2626 <para> | |
2627 Bugfix: | |
2628 fixed handling zero byte characters inside RegExp pattern strings. | |
2629 </para> | |
2630 </listitem> | |
2631 | |
2632 <listitem> | |
2633 <para> | |
2634 Bugfix: | |
2635 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2636 <literal>String.prototype.toBytes()</literal> |
2402 | 2637 for ASCII strings. |
2638 </para> | |
2639 </listitem> | |
2640 | |
2641 <listitem> | |
2642 <para> | |
2643 Bugfix: | |
2644 fixed truth value of JSON numbers in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2645 <literal>JSON.parse()</literal>. |
2402 | 2646 </para> |
2647 </listitem> | |
2648 | |
2649 <listitem> | |
2650 <para> | |
2651 Bugfix: | |
2652 fixed use-of-uninitialized-value in | |
2653 <literal>njs_string_replace_join()</literal>. | |
2654 </para> | |
2655 </listitem> | |
2656 | |
2657 <listitem> | |
2658 <para> | |
2659 Bugfix: | |
2660 fixed <literal>parseInt('-0')</literal>. | |
2661 Thanks to Artem S. Povalyukhin. | |
2662 </para> | |
2663 </listitem> | |
2664 | |
2665 </list> | |
2666 </para> | |
2667 | |
2668 </section> | |
2669 | |
2670 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2671 <section id="njs0.3.2" name="Changes with njs 0.3.2"> |
2387 | 2672 |
2673 <para> | |
2674 Release Date: | |
2675 21 May 2019 | |
2676 </para> | |
2677 | |
2678 <para> | |
2679 Core: | |
2680 <list type="bullet"> | |
2681 | |
2682 <listitem> | |
2683 <para> | |
2684 Feature: | |
2685 added support for template literals. | |
2686 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
2687 </para> | |
2688 </listitem> | |
2689 | |
2690 <listitem> | |
2691 <para> | |
2692 Feature: | |
2693 executing command from command line arguments. | |
2694 </para> | |
2695 </listitem> | |
2696 | |
2697 <listitem> | |
2698 <para> | |
2699 Feature: | |
2700 added support for RegExp <literal>groups</literal> object (ES9). | |
2701 </para> | |
2702 </listitem> | |
2703 | |
2704 <listitem> | |
2705 <para> | |
2706 Feature: | |
2707 added block scoped function definitions support. | |
2708 </para> | |
2709 </listitem> | |
2710 | |
2711 <listitem> | |
2712 <para> | |
2713 Feature: | |
2714 added support for building with GNU Readline library. | |
2715 </para> | |
2716 </listitem> | |
2717 | |
2718 <listitem> | |
2719 <para> | |
2720 Feature: | |
2721 made configurable | |
2722 <literal>length</literal>, | |
2723 <literal>name</literal>, | |
2724 and most of built-in methods. | |
2725 </para> | |
2726 </listitem> | |
2727 | |
2728 <listitem> | |
2729 <para> | |
2730 Feature: | |
2731 made all constructor properties configurable. | |
2732 </para> | |
2733 </listitem> | |
2734 | |
2735 <listitem> | |
2736 <para> | |
2737 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2738 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2739 <literal>Regexp.prototype.exec()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2740 for Unicode-only regexps. |
2387 | 2741 </para> |
2742 </listitem> | |
2743 | |
2744 <listitem> | |
2745 <para> | |
2746 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2747 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2748 <literal>njs_vm_value_dump()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2749 for empty string values. |
2387 | 2750 </para> |
2751 </listitem> | |
2752 | |
2753 <listitem> | |
2754 <para> | |
2755 Bugfix: | |
2756 fixed RegExp constructor for regexp value arguments. | |
2757 </para> | |
2758 </listitem> | |
2759 | |
2760 <listitem> | |
2761 <para> | |
2762 Bugfix: | |
2763 fixed walking over prototypes chain during iteration over an object. | |
2764 </para> | |
2765 </listitem> | |
2766 | |
2767 <listitem> | |
2768 <para> | |
2769 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2770 fixed overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2771 <literal>Array.prototype.concat()</literal>. |
2387 | 2772 </para> |
2773 </listitem> | |
2774 | |
2775 <listitem> | |
2776 <para> | |
2777 Bugfix: | |
2778 fixed length calculation for UTF-8 string with escape characters. | |
2779 </para> | |
2780 </listitem> | |
2781 | |
2782 <listitem> | |
2783 <para> | |
2784 Bugfix: | |
2785 fixed parsing surrogate pair presents as UTF-16 escape sequences. | |
2786 </para> | |
2787 </listitem> | |
2788 | |
2789 <listitem> | |
2790 <para> | |
2791 Bugfix: | |
2792 fixed processing the “*” quantifier for | |
2793 <literal>String.prototype.match()</literal>. | |
2794 </para> | |
2795 </listitem> | |
2796 | |
2797 <listitem> | |
2798 <para> | |
2799 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2800 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2801 <literal>Date()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2802 constructor with one argument. |
2387 | 2803 </para> |
2804 </listitem> | |
2805 | |
2806 <listitem> | |
2807 <para> | |
2808 Bugfix: | |
2809 fixed arrays expansion. | |
2810 </para> | |
2811 </listitem> | |
2812 | |
2813 <listitem> | |
2814 <para> | |
2815 Bugfix: | |
2816 fixed heap-buffer-overflow in | |
2817 <literal>String.prototype.replace()</literal>. | |
2818 </para> | |
2819 </listitem> | |
2820 | |
2821 <listitem> | |
2822 <para> | |
2823 Bugfix: | |
2824 fixed heap-buffer-overflow in | |
2825 <literal>String.prototype.lastIndexOf()</literal>. | |
2826 </para> | |
2827 </listitem> | |
2828 | |
2829 <listitem> | |
2830 <para> | |
2831 Bugfix: | |
2832 fixed regexp literals parsing with escaped backslash | |
2833 and backslash in square brackets. | |
2834 </para> | |
2835 </listitem> | |
2836 | |
2837 <listitem> | |
2838 <para> | |
2839 Bugfix: | |
2840 fixed regexp literals with lone closing brackets. | |
2841 </para> | |
2842 </listitem> | |
2843 | |
2844 <listitem> | |
2845 <para> | |
2846 Bugfix: | |
2847 fixed uninitialized-memory-access in | |
2848 <literal>Object.defineProperties()</literal>. | |
2849 </para> | |
2850 </listitem> | |
2851 | |
2852 <listitem> | |
2853 <para> | |
2854 Bugfix: | |
2855 fixed processing the “*” quantifier for | |
2856 <literal>String.prototype.replace()</literal>. | |
2857 </para> | |
2858 </listitem> | |
2859 | |
2860 <listitem> | |
2861 <para> | |
2862 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2863 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2864 <literal>Array.prototype.slice()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2865 for UTF8-invalid byte strings. |
2387 | 2866 </para> |
2867 </listitem> | |
2868 | |
2869 <listitem> | |
2870 <para> | |
2871 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2872 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2873 <literal>String.prototype.split()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2874 for UTF8-invalid byte strings. |
2387 | 2875 </para> |
2876 </listitem> | |
2877 | |
2878 <listitem> | |
2879 <para> | |
2880 Bugfix: | |
2881 fixed handling of empty block statements. | |
2882 </para> | |
2883 </listitem> | |
2884 | |
2885 </list> | |
2886 </para> | |
2887 | |
2888 </section> | |
2889 | |
2890 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2891 <section id="njs0.3.1" name="Changes with njs 0.3.1"> |
2369 | 2892 |
2893 <para> | |
2894 Release Date: | |
2895 16 April 2019 | |
2896 </para> | |
2897 | |
2898 <para> | |
2899 Core: | |
2900 <list type="bullet"> | |
2901 | |
2902 <listitem> | |
2903 <para> | |
2904 Feature: | |
2905 added arrow functions support. | |
2906 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
2907 </para> | |
2908 </listitem> | |
2909 | |
2910 <listitem> | |
2911 <para> | |
2912 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2913 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2914 <literal>Object.getOwnPropertyNames()</literal>. |
2369 | 2915 Thanks to Artem S. Povalyukhin. |
2916 </para> | |
2917 </listitem> | |
2918 | |
2919 <listitem> | |
2920 <para> | |
2921 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2922 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2923 <literal>Object.getOwnPropertyDescriptors()</literal>. |
2369 | 2924 Thanks to Artem S. Povalyukhin. |
2925 </para> | |
2926 </listitem> | |
2927 | |
2928 <listitem> | |
2929 <para> | |
2930 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
2931 making <literal>__proto__</literal> accessor descriptor |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
2932 of <literal>Object</literal> instances mutable. |
2369 | 2933 </para> |
2934 </listitem> | |
2935 | |
2936 <listitem> | |
2937 <para> | |
2938 Feature: | |
2939 added shebang support in CLI. | |
2940 </para> | |
2941 </listitem> | |
2942 | |
2943 <listitem> | |
2944 <para> | |
2945 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
2946 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
|
2947 In module mode global, this is unavailable. |
2369 | 2948 </para> |
2949 </listitem> | |
2950 | |
2951 <listitem> | |
2952 <para> | |
2953 Bugfix: | |
2954 fixed editline detection. | |
2955 </para> | |
2956 </listitem> | |
2957 | |
2958 <listitem> | |
2959 <para> | |
2960 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2961 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2962 <literal>Function.prototype.bind()</literal>. |
2369 | 2963 Thanks to 洪志道 (Hong Zhi Dao). |
2964 </para> | |
2965 </listitem> | |
2966 | |
2967 <listitem> | |
2968 <para> | |
2969 Bugfix: | |
2970 fixed checking of duplication of parameters for functions. | |
2971 Thanks to 洪志道 (Hong Zhi Dao). | |
2972 </para> | |
2973 </listitem> | |
2974 | |
2975 <listitem> | |
2976 <para> | |
2977 Bugfix: | |
2978 fixed function declaration with the same name as a variable. | |
2979 Thanks to 洪志道 (Hong Zhi Dao). | |
2980 </para> | |
2981 </listitem> | |
2982 | |
2983 <listitem> | |
2984 <para> | |
2985 Improvement: | |
2986 code related to parsing of objects, variables and | |
2987 functions is refactored. | |
2988 Thanks to 洪志道 (Hong Zhi Dao). | |
2989 </para> | |
2990 </listitem> | |
2991 | |
2992 <listitem> | |
2993 <para> | |
2994 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
2995 large-value output improved in <literal>console.log()</literal>. |
2369 | 2996 </para> |
2997 </listitem> | |
2998 | |
2999 <listitem> | |
3000 <para> | |
3001 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
3002 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
|
3003 in a compliant way (without escaping and quotes). |
2369 | 3004 </para> |
3005 </listitem> | |
3006 | |
3007 <listitem> | |
3008 <para> | |
3009 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
3010 using ES6 version of |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
3011 <literal>ToInt32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
3012 <literal>ToUint32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
3013 <literal>ToLength()</literal>. |
2369 | 3014 </para> |
3015 </listitem> | |
3016 | |
3017 </list> | |
3018 </para> | |
3019 | |
3020 </section> | |
3021 | |
3022 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3023 <section id="njs0.3.0" name="Changes with njs 0.3.0"> |
2353 | 3024 |
3025 <para> | |
3026 Release Date: | |
3027 26 March 2019 | |
3028 </para> | |
3029 | |
3030 <para> | |
3031 nginx modules: | |
3032 <list type="bullet"> | |
3033 | |
3034 <listitem> | |
3035 <para> | |
3036 Feature: | |
3037 added the <literal>js_path</literal> directive for | |
3038 <link doc="../http/ngx_http_js_module.xml" id="js_path">http</link> and | |
3039 <link doc="../stream/ngx_stream_js_module.xml" id="js_path">stream</link>. | |
3040 </para> | |
3041 </listitem> | |
3042 | |
3043 <listitem> | |
3044 <para> | |
3045 Change: | |
3046 returning undefined value instead of empty strings | |
3047 for absent properties in the following objects: | |
3048 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>, | |
3049 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>, | |
3050 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>, | |
3051 <link doc="reference.xml" id="r_variables"><literal>r.variables{}</literal></link>, | |
3052 <link doc="reference.xml" id="s_variables"><literal>s.variables{}</literal></link>. | |
3053 </para> | |
3054 </listitem> | |
3055 | |
3056 <listitem> | |
3057 <para> | |
3058 Change: | |
3059 returning undefined value instead of throwing an exception for | |
3060 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> | |
3061 when request body is unavailable. | |
3062 </para> | |
3063 </listitem> | |
3064 | |
3065 <listitem> | |
3066 <para> | |
3067 Bugfix: | |
3068 fixed crash while iterating over | |
3069 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> | |
3070 when a value is absent in a key-value pair. | |
3071 </para> | |
3072 </listitem> | |
3073 | |
3074 </list> | |
3075 </para> | |
3076 | |
3077 <para> | |
3078 Core: | |
3079 <list type="bullet"> | |
3080 | |
3081 <listitem> | |
3082 <para> | |
3083 Feature: | |
3084 added initial ES6 modules support. | |
3085 Default import and default export statements are supported. | |
3086 Thanks to 洪志道 (Hong Zhi Dao). | |
3087 </para> | |
3088 </listitem> | |
3089 | |
3090 <listitem> | |
3091 <para> | |
3092 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3093 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3094 <literal>Object.prototype.propertyIsEnumerable()</literal>. |
2353 | 3095 </para> |
3096 </listitem> | |
3097 | |
3098 <listitem> | |
3099 <para> | |
3100 Feature: | |
3101 reporting file name and function name in disassembler output. | |
3102 </para> | |
3103 </listitem> | |
3104 | |
3105 <listitem> | |
3106 <para> | |
3107 Bugfix: | |
3108 fixed function redeclarations in interactive shell. | |
3109 Thanks to 洪志道 (Hong Zhi Dao). | |
3110 </para> | |
3111 </listitem> | |
3112 | |
3113 <listitem> | |
3114 <para> | |
3115 Bugfix: | |
3116 fixed RegExp literals parsing. | |
3117 </para> | |
3118 </listitem> | |
3119 | |
3120 <listitem> | |
3121 <para> | |
3122 Bugfix: | |
3123 fixed setting length of UTF8 string in | |
3124 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
3125 </para> | |
3126 </listitem> | |
3127 | |
3128 <listitem> | |
3129 <para> | |
3130 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3131 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3132 <literal>nxt_file_dirname()</literal> for paths with no dir component. |
2353 | 3133 </para> |
3134 </listitem> | |
3135 | |
3136 </list> | |
3137 </para> | |
3138 | |
3139 </section> | |
3140 | |
3141 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3142 <section id="njs0.2.8" name="Changes with njs 0.2.8"> |
2331 | 3143 |
3144 <para> | |
3145 Release Date: | |
3146 26 February 2019 | |
3147 </para> | |
3148 | |
3149 <para> | |
3150 nginx modules: | |
3151 <list type="bullet"> | |
3152 | |
3153 <listitem> | |
3154 <para> | |
3155 Change: | |
3156 properties of HTTP request deprecated in <link id="njs0.2.2">0.2.2</link> | |
3157 are removed. | |
3158 </para> | |
3159 </listitem> | |
3160 | |
3161 <listitem> | |
3162 <para> | |
3163 Feature: | |
3164 added support for delete operation in | |
3165 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
3166 </para> | |
3167 </listitem> | |
3168 | |
3169 <listitem> | |
3170 <para> | |
3171 Feature: | |
3172 added support for setting nginx variables. | |
3173 </para> | |
3174 </listitem> | |
3175 | |
3176 <listitem> | |
3177 <para> | |
3178 Bugfix: | |
3179 fixed | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
3180 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link> |
2331 | 3181 for empty body value. |
3182 </para> | |
3183 </listitem> | |
3184 | |
3185 <listitem> | |
3186 <para> | |
3187 Improvement: | |
3188 setting special response headers in | |
3189 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
3190 </para> | |
3191 </listitem> | |
3192 | |
3193 </list> | |
3194 </para> | |
3195 | |
3196 <para> | |
3197 Core: | |
3198 <list type="bullet"> | |
3199 | |
3200 <listitem> | |
3201 <para> | |
3202 Feature: | |
3203 added labels support. | |
3204 </para> | |
3205 </listitem> | |
3206 | |
3207 <listitem> | |
3208 <para> | |
3209 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3210 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3211 <literal>setImmediate()</literal> method. |
2331 | 3212 </para> |
3213 </listitem> | |
3214 | |
3215 <listitem> | |
3216 <para> | |
3217 Feature: | |
3218 added support for shorthand property names for Object literals. | |
3219 </para> | |
3220 </listitem> | |
3221 | |
3222 <listitem> | |
3223 <para> | |
3224 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3225 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3226 <literal>Function.prototype.bind()</literal>. |
2331 | 3227 </para> |
3228 </listitem> | |
3229 | |
3230 <listitem> | |
3231 <para> | |
3232 Bugfix: | |
3233 fixed parsing of string literals containing newline characters. | |
3234 </para> | |
3235 </listitem> | |
3236 | |
3237 <listitem> | |
3238 <para> | |
3239 Bugfix: | |
3240 fixed line number in reporting variable reference errors. | |
3241 </para> | |
3242 </listitem> | |
3243 | |
3244 <listitem> | |
3245 <para> | |
3246 Bugfix: | |
3247 fixed creation of long UTF8 strings. | |
3248 </para> | |
3249 </listitem> | |
3250 | |
3251 <listitem> | |
3252 <para> | |
3253 Bugfix: | |
3254 fixed | |
3255 setting special response headers in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3256 <literal>String.prototype.split()</literal> |
2331 | 3257 for Unicode strings. |
3258 </para> | |
3259 </listitem> | |
3260 | |
3261 <listitem> | |
3262 <para> | |
3263 Bugfix: | |
3264 fixed heap-buffer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3265 <literal>String.prototype.split()</literal>. |
2331 | 3266 </para> |
3267 </listitem> | |
3268 | |
3269 <listitem> | |
3270 <para> | |
3271 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3272 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3273 <literal>Array.prototype.fill()</literal>. |
2331 | 3274 Thanks to Artem S. Povalyukhin. |
3275 </para> | |
3276 </listitem> | |
3277 | |
3278 <listitem> | |
3279 <para> | |
3280 Improvement: | |
3281 code related to function invocation is refactored. | |
3282 Thanks to 洪志道 (Hong Zhi Dao). | |
3283 </para> | |
3284 </listitem> | |
3285 | |
3286 <listitem> | |
3287 <para> | |
3288 Improvement: | |
3289 code related to variables is refactored. | |
3290 Thanks to 洪志道 (Hong Zhi Dao). | |
3291 </para> | |
3292 </listitem> | |
3293 | |
3294 <listitem> | |
3295 <para> | |
3296 Improvement: parser is refactored. | |
3297 Thanks to 洪志道 (Hong Zhi Dao). | |
3298 </para> | |
3299 </listitem> | |
3300 | |
3301 <listitem> | |
3302 <para> | |
3303 Improvement: | |
3304 reporting filenames in exceptions. | |
3305 </para> | |
3306 </listitem> | |
3307 | |
3308 </list> | |
3309 </para> | |
3310 | |
3311 </section> | |
3312 | |
3313 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3314 <section id="njs0.2.7" name="Changes with njs 0.2.7"> |
2312 | 3315 |
3316 <para> | |
3317 Release Date: | |
3318 25 December 2018 | |
3319 </para> | |
3320 | |
3321 <para> | |
3322 Core: | |
3323 <list type="bullet"> | |
3324 | |
3325 <listitem> | |
3326 <para> | |
3327 Feature: | |
3328 rest parameters syntax (destructuring is not supported). | |
3329 Thanks to Alexander Pyshchev. | |
3330 </para> | |
3331 </listitem> | |
3332 | |
3333 <listitem> | |
3334 <para> | |
3335 Feature: | |
3336 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3337 <literal>Object.entries()</literal> |
2312 | 3338 method. |
3339 </para> | |
3340 </listitem> | |
3341 | |
3342 <listitem> | |
3343 <para> | |
3344 Feature: | |
3345 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3346 <literal>Object.values()</literal> |
2312 | 3347 method. |
3348 </para> | |
3349 </listitem> | |
3350 | |
3351 <listitem> | |
3352 <para> | |
3353 Improvement: | |
3354 code generator refactored and simplified. | |
3355 </para> | |
3356 </listitem> | |
3357 | |
3358 <listitem> | |
3359 <para> | |
3360 Bugfix: | |
3361 fixed automatic semicolon insertion. | |
3362 </para> | |
3363 </listitem> | |
3364 | |
3365 <listitem> | |
3366 <para> | |
3367 Bugfix: | |
3368 fixed assignment expression from compound assignment. | |
3369 </para> | |
3370 </listitem> | |
3371 | |
3372 <listitem> | |
3373 <para> | |
3374 Bugfix: | |
3375 fixed comparison of Byte and UTF8 strings. | |
3376 </para> | |
3377 </listitem> | |
3378 | |
3379 <listitem> | |
3380 <para> | |
3381 Bugfix: | |
3382 fixed type of iteration variable in for-in with array values. | |
3383 </para> | |
3384 </listitem> | |
3385 | |
3386 <listitem> | |
3387 <para> | |
3388 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
3389 fixed building on platforms without librt. |
2312 | 3390 </para> |
3391 </listitem> | |
3392 | |
3393 <listitem> | |
3394 <para> | |
3395 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
3396 miscellaneous bugs have been fixed. |
2312 | 3397 </para> |
3398 </listitem> | |
3399 | |
3400 </list> | |
3401 </para> | |
3402 | |
3403 </section> | |
3404 | |
3405 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3406 <section id="njs0.2.6" name="Changes with njs 0.2.6"> |
2285 | 3407 |
3408 <para> | |
3409 Release Date: | |
3410 27 November 2018 | |
3411 </para> | |
3412 | |
3413 <para> | |
3414 Core: | |
3415 <list type="bullet"> | |
3416 | |
3417 <listitem> | |
3418 <para> | |
3419 Feature: | |
3420 making built-in prototypes mutable. | |
3421 </para> | |
3422 </listitem> | |
3423 | |
3424 <listitem> | |
3425 <para> | |
3426 Feature: | |
3427 making global object mutable. | |
3428 </para> | |
3429 </listitem> | |
3430 | |
3431 <listitem> | |
3432 <para> | |
3433 Feature: | |
3434 <literal>console.time()</literal> and | |
3435 <literal>console.timeEnd()</literal> methods. | |
3436 </para> | |
3437 </listitem> | |
3438 | |
3439 <listitem> | |
3440 <para> | |
3441 Feature: | |
3442 allowing variables and functions to be redeclared. | |
3443 </para> | |
3444 </listitem> | |
3445 | |
3446 <listitem> | |
3447 <para> | |
3448 Feature: | |
3449 extending <literal>Object.defineProperty()</literal> spec conformance. | |
3450 </para> | |
3451 </listitem> | |
3452 | |
3453 <listitem> | |
3454 <para> | |
3455 Feature: | |
3456 introduced quiet mode for CLI to handle simple expressions from stdin. | |
3457 </para> | |
3458 </listitem> | |
3459 | |
3460 <listitem> | |
3461 <para> | |
3462 Feature: | |
3463 introduced compact form of backtraces to handle stack overflows. | |
3464 </para> | |
3465 </listitem> | |
3466 | |
3467 <listitem> | |
3468 <para> | |
3469 Improvement: | |
3470 improved wording for various exceptions. | |
3471 </para> | |
3472 </listitem> | |
3473 | |
3474 <listitem> | |
3475 <para> | |
3476 Bugfix: | |
3477 fixed closure values handling. | |
3478 </para> | |
3479 </listitem> | |
3480 | |
3481 <listitem> | |
3482 <para> | |
3483 Bugfix: | |
3484 fixed equality operator for various value types. | |
3485 </para> | |
3486 </listitem> | |
3487 | |
3488 <listitem> | |
3489 <para> | |
3490 Bugfix: | |
3491 fixed handling of “this” keyword in various scopes. | |
3492 </para> | |
3493 </listitem> | |
3494 | |
3495 <listitem> | |
3496 <para> | |
3497 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3498 fixed handling non-object values in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3499 <literal>Object.keys()</literal>. |
2285 | 3500 </para> |
3501 </listitem> | |
3502 | |
3503 <listitem> | |
3504 <para> | |
3505 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3506 fixed parsing of throw statement inside |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3507 <literal>if</literal> statement. |
2285 | 3508 </para> |
3509 </listitem> | |
3510 | |
3511 <listitem> | |
3512 <para> | |
3513 Bugfix: | |
3514 fixed parsing of newline after throw statement. | |
3515 </para> | |
3516 </listitem> | |
3517 | |
3518 <listitem> | |
3519 <para> | |
3520 Bugfix: | |
3521 fixed parsing of statements in if statement without newline. | |
3522 </para> | |
3523 </listitem> | |
3524 | |
3525 <listitem> | |
3526 <para> | |
3527 Bugfix: | |
3528 fixed size <literal>uint32_t</literal> overflow | |
3529 in <literal>njs_array_expand()</literal>. | |
3530 </para> | |
3531 </listitem> | |
3532 | |
3533 <listitem> | |
3534 <para> | |
3535 Bugfix: | |
3536 fixed <literal>typeof</literal> operator | |
3537 for <literal>object_value</literal> type. | |
3538 </para> | |
3539 </listitem> | |
3540 | |
3541 <listitem> | |
3542 <para> | |
3543 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
3544 miscellaneous bugs have been fixed. |
2285 | 3545 </para> |
3546 </listitem> | |
3547 | |
3548 </list> | |
3549 </para> | |
3550 | |
3551 </section> | |
3552 | |
3553 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3554 <section id="njs0.2.5" name="Changes with njs 0.2.5"> |
2264 | 3555 |
3556 <para> | |
3557 Release Date: | |
3558 30 October 2018 | |
3559 </para> | |
3560 | |
3561 <para> | |
3562 nginx modules: | |
3563 <list type="bullet"> | |
3564 | |
3565 <listitem> | |
3566 <para> | |
3567 Bugfix: | |
3568 fixed counting pending events in stream module. | |
3569 </para> | |
3570 </listitem> | |
3571 | |
3572 <listitem> | |
3573 <para> | |
3574 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3575 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3576 <literal>s.off()</literal> in stream module. |
2264 | 3577 </para> |
3578 </listitem> | |
3579 | |
3580 <listitem> | |
3581 <para> | |
3582 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3583 fixed processing of data chunks in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3584 <literal>js_filter</literal> in stream module. |
2264 | 3585 </para> |
3586 </listitem> | |
3587 | |
3588 <listitem> | |
3589 <para> | |
3590 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3591 fixed http |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3592 <literal>status</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3593 <literal>contentType</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3594 getter in http module. |
2264 | 3595 </para> |
3596 </listitem> | |
3597 | |
3598 <listitem> | |
3599 <para> | |
3600 Bugfix: | |
3601 fixed http response and parent getters in http module. | |
3602 </para> | |
3603 </listitem> | |
3604 | |
3605 </list> | |
3606 </para> | |
3607 | |
3608 <para> | |
3609 Core: | |
3610 <list type="bullet"> | |
3611 | |
3612 <listitem> | |
3613 <para> | |
3614 Feature: | |
3615 arguments object support. | |
3616 </para> | |
3617 </listitem> | |
3618 | |
3619 <listitem> | |
3620 <para> | |
3621 Feature: | |
3622 non-integer fractions support. | |
3623 </para> | |
3624 </listitem> | |
3625 | |
3626 <listitem> | |
3627 <para> | |
3628 Improvement: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3629 handling non-array values in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3630 <literal>Array.prototype.slice()</literal>. |
2264 | 3631 </para> |
3632 </listitem> | |
3633 | |
3634 <listitem> | |
3635 <para> | |
3636 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3637 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3638 <literal>Array.prototype.length</literal> setter |
2264 | 3639 </para> |
3640 </listitem> | |
3641 | |
3642 <listitem> | |
3643 <para> | |
3644 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3645 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3646 <literal>njs_array_alloc()</literal> for length > 2**31. |
2264 | 3647 </para> |
3648 </listitem> | |
3649 | |
3650 <listitem> | |
3651 <para> | |
3652 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3653 handling int overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3654 <literal>njs_array_alloc()</literal> on 32bit archs. |
2264 | 3655 </para> |
3656 </listitem> | |
3657 | |
3658 <listitem> | |
3659 <para> | |
3660 Bugfix: | |
3661 fixed code size mismatch error message. | |
3662 </para> | |
3663 </listitem> | |
3664 | |
3665 <listitem> | |
3666 <para> | |
3667 Bugfix: | |
3668 fixed delete operator in a loop. | |
3669 </para> | |
3670 </listitem> | |
3671 | |
3672 <listitem> | |
3673 <para> | |
3674 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3675 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3676 <literal>Object.getOwnPropertyDescriptor()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3677 for complex object (inherited from |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3678 <literal>Array</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3679 <literal>string</literal> values). |
2264 | 3680 </para> |
3681 </listitem> | |
3682 | |
3683 <listitem> | |
3684 <para> | |
3685 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3686 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3687 <literal>Object.prototype.hasOwnProperty()</literal> |
2264 | 3688 for non-object properties |
3689 </para> | |
3690 </listitem> | |
3691 | |
3692 <listitem> | |
3693 <para> | |
3694 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
3695 miscellaneous bugs have been fixed. |
2264 | 3696 </para> |
3697 </listitem> | |
3698 | |
3699 </list> | |
3700 </para> | |
3701 | |
3702 </section> | |
3703 | |
3704 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3705 <section id="njs0.2.4" name="Changes with njs 0.2.4"> |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3706 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3707 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3708 Release Date: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3709 18 September 2018 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3710 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3711 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3712 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3713 nginx modules: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3714 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3715 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3716 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3717 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3718 Change: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3719 stream module handlers refactored. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3720 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3721 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3722 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3723 New methods and properties: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3724 <link doc="reference.xml" id="s_on"><literal>s.on()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3725 <link doc="reference.xml" id="s_off"><literal>s.off()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3726 <link doc="reference.xml" id="s_allow"><literal>s.allow()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3727 <link doc="reference.xml" id="s_done"><literal>s.done()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3728 <link doc="reference.xml" id="s_decline"><literal>s.decline()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3729 <link doc="reference.xml" id="s_deny"><literal>s.deny()</literal></link>. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3730 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3731 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3732 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3733 Removed properties of the |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
3734 <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
|
3735 <literal>s.OK</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3736 <literal>s.ABORT</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3737 <literal>s.AGAIN</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3738 <literal>s.DECLINED</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3739 <literal>s.ERROR</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3740 (replaced with |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3741 <link doc="reference.xml" id="s_allow"><literal>s.allow()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3742 <link doc="reference.xml" id="s_done"><literal>s.done()</literal></link>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3743 <link doc="reference.xml" id="s_deny"><literal>s.deny()</literal></link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3744 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3745 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3746 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3747 <literal>s.buffer</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3748 (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
|
3749 the corresponding callback, for writing use |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3750 <link doc="reference.xml" id="s_send"><literal>s.send()</literal></link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3751 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3752 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3753 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3754 <literal>s.fromUpstream</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3755 (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
|
3756 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3757 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3758 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3759 <literal>s.eof</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3760 (replaced with <literal></literal> |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3761 <link doc="reference.xml" id="s_on_callback_last"><literal>flags.last</literal></link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3762 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3763 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3764 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3765 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3766 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3767 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3768 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3769 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3770 Core: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3771 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3772 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3773 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3774 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3775 Feature: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3776 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3777 <literal>Function.prototype.length</literal>. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3778 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3779 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3780 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3781 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3782 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3783 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3784 introduced sandboxing mode. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3785 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3786 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3787 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3788 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3789 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3790 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3791 added exception strings where appropriate. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3792 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3793 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3794 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3795 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3796 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3797 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3798 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
|
3799 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3800 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3801 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3802 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3803 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3804 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3805 throwing <literal>TypeError</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3806 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
|
3807 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3808 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3809 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3810 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3811 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3812 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3813 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3814 <literal>Object.defineProperty()</literal> for existing properties. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3815 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3816 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3817 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3818 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3819 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3820 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3821 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
|
3822 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3823 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3824 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3825 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3826 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3827 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3828 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
|
3829 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3830 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3831 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3832 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3833 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3834 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3835 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
|
3836 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3837 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3838 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3839 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3840 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3841 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3842 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3843 <literal>Object.prototype.toString</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3844 for different value types. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3845 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3846 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3847 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3848 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3849 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3850 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3851 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3852 <literal>Object()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3853 constructor for object types arguments. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3854 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3855 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3856 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3857 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3858 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3859 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3860 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
|
3861 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3862 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3863 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3864 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3865 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3866 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3867 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3868 <literal>String.slice()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3869 for undefined arguments. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3870 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3871 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3872 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3873 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3874 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3875 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
3876 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
|
3877 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3878 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3879 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3880 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3881 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3882 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3883 </section> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3884 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
3885 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3886 <section id="njs0.2.3" name="Changes with njs 0.2.3"> |
2213 | 3887 |
3888 <para> | |
3889 Release Date: | |
3890 31 July 2018 | |
3891 </para> | |
3892 | |
3893 <para> | |
3894 nginx modules: | |
3895 <list type="bullet"> | |
3896 | |
3897 <listitem> | |
3898 <para> | |
3899 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3900 making a subrequest from a |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3901 <literal>Reply</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3902 object caused a segmentation fault. |
2213 | 3903 </para> |
3904 </listitem> | |
3905 | |
3906 <listitem> | |
3907 <para> | |
3908 Bugfix: | |
3909 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
|
3910 <link doc="reference.xml" id="http">HTTP Request</link> |
2213 | 3911 object caused a segmentation fault. |
3912 </para> | |
3913 </listitem> | |
3914 | |
3915 </list> | |
3916 </para> | |
3917 | |
3918 <para> | |
3919 Core: | |
3920 <list type="bullet"> | |
3921 | |
3922 <listitem> | |
3923 <para> | |
3924 Feature: | |
3925 added the pretty string representation for values. | |
3926 </para> | |
3927 </listitem> | |
3928 | |
3929 <listitem> | |
3930 <para> | |
3931 Feature: | |
3932 correctly printing floating point numbers. | |
3933 </para> | |
3934 </listitem> | |
3935 | |
3936 <listitem> | |
3937 <para> | |
3938 Feature: | |
3939 correctly parsing floating point numbers. | |
3940 </para> | |
3941 </listitem> | |
3942 | |
3943 <listitem> | |
3944 <para> | |
3945 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3946 <link doc="reference.xml" id="string_bytesfrom"><literal>String.bytesFrom()</literal></link> method |
2213 | 3947 (decoding <literal>hex</literal>, |
3948 <literal>base64</literal>, | |
3949 <literal>base64url</literal> into a byte string). | |
3950 </para> | |
3951 </listitem> | |
3952 | |
3953 <listitem> | |
3954 <para> | |
3955 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3956 <literal>String.padStart()</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3957 <literal>String.padEnd()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3958 methods. |
2213 | 3959 </para> |
3960 </listitem> | |
3961 | |
3962 <listitem> | |
3963 <para> | |
3964 Feature: | |
3965 added support of binary literals. | |
3966 </para> | |
3967 </listitem> | |
3968 | |
3969 <listitem> | |
3970 <para> | |
3971 Improvement: | |
3972 added information about illegal token in number parsing. | |
3973 </para> | |
3974 </listitem> | |
3975 | |
3976 <listitem> | |
3977 <para> | |
3978 Improvement: | |
3979 allowed uppercased <literal>O</literal> in octal literal values. | |
3980 </para> | |
3981 </listitem> | |
3982 | |
3983 <listitem> | |
3984 <para> | |
3985 Improvement: | |
3986 added support for multiple arguments in <literal>console.log()</literal>. | |
3987 </para> | |
3988 </listitem> | |
3989 | |
3990 <listitem> | |
3991 <para> | |
3992 Bugfix: | |
3993 fixed applying <literal>call()</literal> to methods of external values. | |
3994 </para> | |
3995 </listitem> | |
3996 | |
3997 <listitem> | |
3998 <para> | |
3999 Bugfix: | |
4000 fixed addition operator applied to an object. | |
4001 </para> | |
4002 </listitem> | |
4003 | |
4004 <listitem> | |
4005 <para> | |
4006 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4007 fixed exception handling in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4008 <literal>njs_vm_value_to_ext_string()</literal>. |
2213 | 4009 </para> |
4010 </listitem> | |
4011 | |
4012 <listitem> | |
4013 <para> | |
4014 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4015 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4016 <literal>Number()</literal> with boolean, null and undefined arguments. |
2213 | 4017 </para> |
4018 </listitem> | |
4019 | |
4020 <listitem> | |
4021 <para> | |
4022 Bugfix: | |
4023 fixed error handling of setting non-numeric <literal>Array.length</literal>. | |
4024 </para> | |
4025 </listitem> | |
4026 | |
4027 <listitem> | |
4028 <para> | |
4029 Bugfix: | |
4030 fixed autocompletion for global objects. | |
4031 </para> | |
4032 </listitem> | |
4033 | |
4034 <listitem> | |
4035 <para> | |
4036 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
4037 miscellaneous bugs have been fixed. |
2213 | 4038 </para> |
4039 </listitem> | |
4040 | |
4041 </list> | |
4042 </para> | |
4043 | |
4044 </section> | |
4045 | |
4046 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4047 <section id="njs0.2.2" name="Changes with njs 0.2.2"> |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4048 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4049 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4050 Release Date: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4051 19 June 2018 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4052 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4053 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4054 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4055 nginx modules: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4056 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4057 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4058 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4059 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4060 Change: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4061 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
|
4062 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
|
4063 New members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4064 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4065 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4066 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4067 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4068 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4069 <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
|
4070 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4071 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4072 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4073 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4074 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4075 <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
|
4076 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4077 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4078 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4079 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4080 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4081 <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
|
4082 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4083 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4084 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4085 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4086 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4087 <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
|
4088 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4089 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4090 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4091 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4092 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4093 <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
|
4094 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4095 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4096 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4097 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4098 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4099 <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
|
4100 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4101 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4102 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4103 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4104 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4105 <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
|
4106 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4107 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4108 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4109 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4110 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4111 <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
|
4112 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4113 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4114 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4115 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4116 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4117 <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
|
4118 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4119 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4120 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4121 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4122 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4123 <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
|
4124 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4125 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4126 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4127 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4128 Deprecated members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4129 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4130 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4131 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4132 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4133 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4134 <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
|
4135 or <literal>req.responseBody</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4136 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4137 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4138 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4139 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4140 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4141 <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
|
4142 or <literal>req.headersOut</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4143 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4144 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4145 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4146 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4147 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4148 <literal>req.response</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4149 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4150 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4151 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4152 </list> |
2363
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4153 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
|
4154 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4155 <list type="bullet"> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4156 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4157 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4158 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4159 <literal>res.contentLength</literal> (use |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4160 <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
|
4161 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4162 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4163 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4164 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4165 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4166 <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
|
4167 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4168 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4169 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4170 </list> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
4171 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
|
4172 <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
|
4173 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4174 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4175 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4176 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4177 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4178 Feature: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
4179 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
|
4180 method. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4181 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4182 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4183 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4184 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4185 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4186 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4187 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4188 Core: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4189 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4190 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4191 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4192 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4193 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4194 fixed heap-buffer-overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4195 <literal>crypto.createHmac()</literal>. |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4196 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4197 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4198 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4199 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4200 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4201 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4202 </section> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4203 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
4204 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4205 <section id="njs0.2.1" name="Changes with njs 0.2.1"> |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4206 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4207 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4208 Release Date: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4209 31 May 2018 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4210 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4211 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4212 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4213 nginx modules: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4214 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4215 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4216 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4217 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4218 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4219 HTTP request body getter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4220 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4221 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4222 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4223 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4224 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4225 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4226 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
|
4227 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4228 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4229 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4230 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4231 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4232 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4233 improved logging for |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4234 <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
|
4235 <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
|
4236 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4237 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4238 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4239 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4240 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4241 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4242 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
|
4243 <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
|
4244 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4245 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4246 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4247 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4248 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4249 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4250 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
|
4251 <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
|
4252 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4253 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4254 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4255 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4256 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4257 Bugfix: fixed error logging in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4258 <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
|
4259 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4260 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4261 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4262 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4263 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4264 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4265 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4266 Core: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4267 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4268 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4269 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4270 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4271 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4272 added array length setter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4273 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4274 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4275 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4276 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4277 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4278 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4279 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
|
4280 <literal>njs.h</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4281 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4282 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4283 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4284 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4285 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4286 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4287 fixed crypto <literal>update()</literal> method after |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4288 <literal>digest()</literal> is called. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4289 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4290 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4291 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4292 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4293 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4294 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4295 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
|
4296 and > 64. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4297 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4298 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4299 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4300 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4301 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4302 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4303 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
|
4304 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4305 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4306 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4307 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4308 <para> |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4309 Bugfix: |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4310 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
|
4311 <literal>JSON.stringify()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4312 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4313 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4314 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4315 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4316 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4317 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4318 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
|
4319 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4320 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4321 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4322 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4323 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4324 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4325 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
|
4326 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4327 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4328 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4329 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4330 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4331 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4332 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4333 fixed handling of properties in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4334 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4335 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4336 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4337 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4338 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4339 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4340 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4341 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
|
4342 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4343 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4344 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4345 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4346 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4347 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
|
4348 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4349 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4350 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4351 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4352 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4353 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4354 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
|
4355 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4356 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4357 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4358 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4359 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4360 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
4361 miscellaneous bugs have been fixed. |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4362 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4363 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4364 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4365 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4366 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4367 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4368 </section> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4369 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
4370 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4371 <section id="njs0.2.0" name="Changes with njs 0.2.0"> |
2130 | 4372 |
4373 <para> | |
4374 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4375 03 April 2018 |
2130 | 4376 </para> |
4377 | |
4378 <para> | |
4379 <list type="bullet"> | |
4380 | |
4381 <listitem> | |
4382 <para> | |
4383 Feature: | |
4384 reporting njs version by CLI. | |
4385 </para> | |
4386 </listitem> | |
4387 | |
4388 <listitem> | |
4389 <para> | |
4390 Feature: | |
4391 textual description for type converting exceptions. | |
4392 </para> | |
4393 </listitem> | |
4394 | |
4395 <listitem> | |
4396 Feature: | |
4397 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
4398 <literal>clearTimeout()</literal> methods. |
2130 | 4399 </listitem> |
4400 | |
4401 <listitem> | |
4402 <para> | |
4403 Feature: | |
4404 Byte string to | |
4405 <literal>hex</literal>, | |
4406 <literal>base64</literal>, | |
4407 <literal>base64url</literal> encodings. | |
4408 </para> | |
4409 </listitem> | |
4410 | |
4411 <listitem> | |
4412 <para> | |
4413 Feature: | |
4414 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
4415 <literal>Crypto</literal> methods. | |
4416 </para> | |
4417 </listitem> | |
4418 | |
4419 <listitem> | |
4420 <para> | |
4421 Feature: | |
4422 HTTP and stream | |
4423 <literal>warn()</literal> and | |
4424 <literal>error()</literal> methods. | |
4425 </para> | |
4426 </listitem> | |
4427 | |
4428 <listitem> | |
4429 <para> | |
4430 Feature: | |
4431 HTTP <literal>subrequest()</literal> method. | |
4432 </para> | |
4433 </listitem> | |
4434 | |
4435 <listitem> | |
4436 <para> | |
4437 Feature: | |
4438 HTTP <literal>return()</literal> method. | |
4439 </para> | |
4440 </listitem> | |
4441 | |
4442 <listitem> | |
4443 <para> | |
4444 Bugfix: | |
4445 miscellaneous bugs have been fixed in the core and | |
4446 interactive shell. | |
4447 </para> | |
4448 </listitem> | |
4449 | |
4450 </list> | |
4451 </para> | |
4452 | |
4453 </section> | |
4454 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4455 <section id="njs0.1.15" name="Changes with njs 0.1.15"> |
2130 | 4456 |
4457 <para> | |
4458 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4459 20 November 2017 |
2130 | 4460 </para> |
4461 | |
4462 <para> | |
4463 <list type="bullet"> | |
4464 | |
4465 <listitem> | |
4466 <para> | |
4467 Feature: | |
4468 <literal>Error</literal>, | |
4469 <literal>EvalError</literal>, | |
4470 <literal>InternalError</literal>, | |
4471 <literal>RangeError</literal>, | |
4472 <literal>ReferenceError</literal>, | |
4473 <literal>SyntaxError</literal>, | |
4474 <literal>TypeError</literal>, | |
4475 <literal>URIError</literal> objects. | |
4476 </para> | |
4477 </listitem> | |
4478 | |
4479 <listitem> | |
4480 <para> | |
4481 Feature: | |
4482 octal literals support. | |
4483 </para> | |
4484 </listitem> | |
4485 | |
4486 <listitem> | |
4487 <para> | |
4488 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
4489 <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
|
4490 <literal>File system</literal> access methods: |
2130 | 4491 <literal>fs.readFile()</literal>, |
4492 <literal>fs.readFileSync()</literal>, | |
4493 <literal>fs.appendFile()</literal>, | |
4494 <literal>fs.appendFileSync()</literal>, | |
4495 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
4496 <literal>fs.writeFileSync()</literal>. |
2130 | 4497 </para> |
4498 </listitem> | |
4499 | |
4500 <listitem> | |
4501 <para> | |
4502 Feature: | |
4503 nginx modules print backtrace on exception. | |
4504 </para> | |
4505 </listitem> | |
4506 | |
4507 <listitem> | |
4508 <para> | |
4509 Bugfix: | |
4510 miscellaneous bugs have been fixed. | |
4511 </para> | |
4512 </listitem> | |
4513 | |
4514 </list> | |
4515 </para> | |
4516 | |
4517 </section> | |
4518 | |
4519 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4520 <section id="njs0.1.14" name="Changes with njs 0.1.14"> |
2130 | 4521 |
4522 <para> | |
4523 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4524 09 October 2017 |
2130 | 4525 </para> |
4526 | |
4527 <para> | |
4528 <list type="bullet"> | |
4529 | |
4530 <listitem> | |
4531 <para> | |
4532 Feature: | |
4533 JSON object. | |
4534 </para> | |
4535 </listitem> | |
4536 | |
4537 <listitem> | |
4538 <para> | |
4539 Feature: | |
4540 object level completions in interactive shell. | |
4541 </para> | |
4542 </listitem> | |
4543 | |
4544 <listitem> | |
4545 <para> | |
4546 Feature: | |
4547 various configure improvements. | |
4548 </para> | |
4549 </listitem> | |
4550 | |
4551 <listitem> | |
4552 <para> | |
4553 Bugfix: | |
4554 miscellaneous bugs have been fixed in the core and | |
4555 interactive shell. | |
4556 </para> | |
4557 </listitem> | |
4558 | |
4559 </list> | |
4560 </para> | |
4561 | |
4562 </section> | |
4563 | |
4564 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4565 <section id="njs0.1.13" name="Changes with njs 0.1.13"> |
2130 | 4566 |
4567 <para> | |
4568 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4569 31 August 2017 |
2130 | 4570 </para> |
4571 | |
4572 <para> | |
4573 <list type="bullet"> | |
4574 | |
4575 <listitem> | |
4576 <para> | |
4577 Feature: | |
4578 <literal>console.log()</literal> and | |
4579 <literal>console.help()</literal> | |
4580 methods in interactive shell. | |
4581 </para> | |
4582 </listitem> | |
4583 | |
4584 <listitem> | |
4585 <para> | |
4586 Feature: | |
4587 interactive shell prints backtrace on exception. | |
4588 </para> | |
4589 </listitem> | |
4590 | |
4591 <listitem> | |
4592 <para> | |
4593 Feature: | |
4594 interactive shell by default | |
4595 if <literal>libedit</literal> is available. | |
4596 </para> | |
4597 </listitem> | |
4598 | |
4599 <listitem> | |
4600 <para> | |
4601 Bugfix: | |
4602 processing of large files from | |
4603 <literal>stdin</literal> in command line mode. | |
4604 </para> | |
4605 </listitem> | |
4606 | |
4607 <listitem> | |
4608 <para> | |
4609 Bugfix: | |
4610 improved <literal>editline</literal> detection. | |
4611 </para> | |
4612 </listitem> | |
4613 | |
4614 </list> | |
4615 </para> | |
4616 | |
4617 </section> | |
4618 | |
4619 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4620 <section id="njs0.1.12" name="Changes with njs 0.1.12"> |
2130 | 4621 |
4622 <para> | |
4623 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4624 08 August 2017 |
2130 | 4625 </para> |
4626 | |
4627 <para> | |
4628 <list type="bullet"> | |
4629 | |
4630 <listitem> | |
4631 <para> | |
4632 Feature: | |
4633 Interactive shell. | |
4634 </para> | |
4635 </listitem> | |
4636 | |
4637 <listitem> | |
4638 <para> | |
4639 Bugfix: | |
4640 in <literal>Object.isSealed()</literal>. | |
4641 </para> | |
4642 </listitem> | |
4643 | |
4644 </list> | |
4645 </para> | |
4646 | |
4647 </section> | |
4648 | |
4649 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4650 <section id="njs0.1.11" name="Changes with njs 0.1.11"> |
2130 | 4651 |
4652 <para> | |
4653 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4654 27 June 2017 |
2130 | 4655 </para> |
4656 | |
4657 <para> | |
4658 <list type="bullet"> | |
4659 | |
4660 <listitem> | |
4661 <para> | |
4662 Feature: | |
4663 <literal>Object.keys()</literal>, | |
4664 <literal>Object.prototype.hasOwnProperty()</literal> | |
4665 methods. | |
4666 </para> | |
4667 </listitem> | |
4668 | |
4669 <listitem> | |
4670 <para> | |
4671 Feature: | |
4672 <literal>Object.defineProperty()</literal>, | |
4673 <literal>Object.defineProperties()</literal>, | |
4674 <literal>Object.getOwnPropertyDescriptor()</literal> | |
4675 methods. | |
4676 </para> | |
4677 </listitem> | |
4678 | |
4679 <listitem> | |
4680 <para> | |
4681 Feature: | |
4682 <literal>Object.getPrototypeOf()</literal>, | |
4683 <literal>Object.prototype.isPrototypeOf()</literal> | |
4684 methods. | |
4685 </para> | |
4686 </listitem> | |
4687 | |
4688 <listitem> | |
4689 <para> | |
4690 Feature: | |
4691 <literal>Object.preventExtensions()</literal>, | |
4692 <literal>Object.isExtensible()</literal>, | |
4693 <literal>Object.freeze()</literal>, | |
4694 <literal>Object.isFrozen()</literal>, | |
4695 <literal>Object.seal()</literal>, | |
4696 <literal>Object.isSealed()</literal> | |
4697 methods. | |
4698 </para> | |
4699 </listitem> | |
4700 | |
4701 <listitem> | |
4702 <para> | |
4703 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
4704 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 4705 </para> |
4706 </listitem> | |
4707 | |
4708 <listitem> | |
4709 <para> | |
4710 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
4711 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 4712 </para> |
4713 </listitem> | |
4714 | |
4715 <listitem> | |
4716 <para> | |
4717 Bugfix: | |
4718 processing of large array indexes. | |
4719 </para> | |
4720 </listitem> | |
4721 | |
4722 <listitem> | |
4723 <para> | |
4724 Bugfix: | |
4725 in <literal>parseInt()</literal> and | |
4726 <literal>Date.parse()</literal>. | |
4727 </para> | |
4728 </listitem> | |
4729 | |
4730 </list> | |
4731 </para> | |
4732 | |
4733 </section> | |
4734 | |
4735 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4736 <section id="njs0.1.10" name="Changes with njs 0.1.10"> |
2130 | 4737 |
4738 <para> | |
4739 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4740 04 April 2017 |
2130 | 4741 </para> |
4742 | |
4743 <para> | |
4744 <list type="bullet"> | |
4745 | |
4746 <listitem> | |
4747 <para> | |
4748 Feature: | |
4749 nested functions and function closures. | |
4750 </para> | |
4751 </listitem> | |
4752 | |
4753 <listitem> | |
4754 <para> | |
4755 Feature: | |
4756 <literal>Array.of()</literal>, | |
4757 <literal>Array.prototype.fill()</literal>, | |
4758 <literal>Array.prototype.find()</literal>, | |
4759 <literal>Array.prototype.findIndex()</literal> | |
4760 methods. | |
4761 </para> | |
4762 </listitem> | |
4763 | |
4764 <listitem> | |
4765 <para> | |
4766 Bugfix: | |
4767 miscellaneous bugs and segmentation faults have been fixed. | |
4768 </para> | |
4769 </listitem> | |
4770 | |
4771 </list> | |
4772 </para> | |
4773 | |
4774 </section> | |
4775 | |
4776 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4777 <section id="njs0.1.9" name="Changes with njs 0.1.9"> |
2130 | 4778 |
4779 <para> | |
4780 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4781 01 February 2017 |
2130 | 4782 </para> |
4783 | |
4784 <para> | |
4785 <list type="bullet"> | |
4786 | |
4787 <listitem> | |
4788 <para> | |
4789 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
4790 global variables were not initialized when njs was used |
2130 | 4791 in nginx. |
4792 </para> | |
4793 </listitem> | |
4794 | |
4795 </list> | |
4796 </para> | |
4797 | |
4798 </section> | |
4799 | |
4800 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4801 <section id="njs0.1.8" name="Changes with njs 0.1.8"> |
2130 | 4802 |
4803 <para> | |
4804 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4805 24 January 2017 |
2130 | 4806 </para> |
4807 | |
4808 <para> | |
4809 <list type="bullet"> | |
4810 | |
4811 <listitem> | |
4812 <para> | |
4813 Change: | |
4814 the <literal>strict</literal> mode is enforced, | |
4815 variables must be explicitly declared. | |
4816 </para> | |
4817 </listitem> | |
4818 | |
4819 | |
4820 <listitem> | |
4821 <para> | |
4822 Feature: | |
4823 <literal>for</literal> and | |
4824 <literal>for-in</literal> loops support variable declaration. | |
4825 </para> | |
4826 </listitem> | |
4827 | |
4828 <listitem> | |
4829 <para> | |
4830 Bugfix: | |
4831 global and function scopes have been fixed. | |
4832 </para> | |
4833 </listitem> | |
4834 | |
4835 <listitem> | |
4836 <para> | |
4837 Bugfix: | |
4838 now <literal>for-in</literal> loop does not discard the last value | |
4839 of property variable. | |
4840 </para> | |
4841 </listitem> | |
4842 | |
4843 <listitem> | |
4844 <para> | |
4845 Bugfix: | |
4846 miscellaneous bugs and segmentation faults have been fixed. | |
4847 </para> | |
4848 </listitem> | |
4849 | |
4850 </list> | |
4851 </para> | |
4852 | |
4853 </section> | |
4854 | |
4855 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4856 <section id="njs0.1.7" name="Changes with njs 0.1.7"> |
2130 | 4857 |
4858 <para> | |
4859 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4860 27 December 2016 |
2130 | 4861 </para> |
4862 | |
4863 <para> | |
4864 <list type="bullet"> | |
4865 | |
4866 <listitem> | |
4867 <para> | |
4868 Change: | |
4869 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
4870 has been disabled at server and location levels. | |
4871 </para> | |
4872 </listitem> | |
4873 | |
4874 <listitem> | |
4875 <para> | |
4876 Feature: | |
4877 exponentiation operators. | |
4878 </para> | |
4879 </listitem> | |
4880 | |
4881 <listitem> | |
4882 <para> | |
4883 Bugfix: | |
4884 miscellaneous bugs and segmentation faults have been fixed. | |
4885 </para> | |
4886 </listitem> | |
4887 | |
4888 </list> | |
4889 </para> | |
4890 | |
4891 </section> | |
4892 | |
4893 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4894 <section id="njs0.1.6" name="Changes with njs 0.1.6"> |
2130 | 4895 |
4896 <para> | |
4897 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
4898 13 December 2016 |
2130 | 4899 </para> |
4900 | |
4901 <para> | |
4902 <list type="bullet"> | |
4903 | |
4904 <listitem> | |
4905 <para> | |
4906 Change: | |
4907 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
4908 has been disabled at server and location levels. | |
4909 </para> | |
4910 </listitem> | |
4911 | |
4912 <listitem> | |
4913 <para> | |
4914 Feature: | |
4915 ES6 <literal>Math</literal> methods. | |
4916 </para> | |
4917 </listitem> | |
4918 | |
4919 <listitem> | |
4920 <para> | |
4921 Bugfix: | |
4922 miscellaneous bugs and segmentation faults have been fixed. | |
4923 </para> | |
4924 </listitem> | |
4925 | |
4926 </list> | |
4927 </para> | |
4928 | |
4929 </section> | |
4930 | |
4931 </article> |