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