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