Mercurial > hg > nginx-site
annotate xml/en/docs/njs/njs_changes.xml @ 2155:fd06f014e6db
Marked nginx.pid as path in configure description.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 23 Apr 2018 21:41:05 +0300 |
parents | 94a598ee1d49 |
children | 65fc7e90b849 |
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 | |
9 <article name="njs Changes" | |
10 link="/en/docs/njs/njs_changes.html" | |
11 lang="en" | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
12 rev="2" |
2130 | 13 toc="no"> |
14 | |
15 <section id="njs0.2.0" name="Changes with 0.2.0"> | |
16 | |
17 <para> | |
18 Release Date: | |
19 3 Apr 2018 | |
20 </para> | |
21 | |
22 <para> | |
23 <list type="bullet"> | |
24 | |
25 <listitem> | |
26 <para> | |
27 Feature: | |
28 reporting njs version by CLI. | |
29 </para> | |
30 </listitem> | |
31 | |
32 <listitem> | |
33 <para> | |
34 Feature: | |
35 textual description for type converting exceptions. | |
36 </para> | |
37 </listitem> | |
38 | |
39 <listitem> | |
40 Feature: | |
41 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
42 <literal>clearTimeout()</literal> methods. |
2130 | 43 </listitem> |
44 | |
45 <listitem> | |
46 <para> | |
47 Feature: | |
48 Byte string to | |
49 <literal>hex</literal>, | |
50 <literal>base64</literal>, | |
51 <literal>base64url</literal> encodings. | |
52 </para> | |
53 </listitem> | |
54 | |
55 <listitem> | |
56 <para> | |
57 Feature: | |
58 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
59 <literal>Crypto</literal> methods. | |
60 </para> | |
61 </listitem> | |
62 | |
63 <listitem> | |
64 <para> | |
65 Feature: | |
66 HTTP and stream | |
67 <literal>warn()</literal> and | |
68 <literal>error()</literal> methods. | |
69 </para> | |
70 </listitem> | |
71 | |
72 <listitem> | |
73 <para> | |
74 Feature: | |
75 HTTP <literal>subrequest()</literal> method. | |
76 </para> | |
77 </listitem> | |
78 | |
79 <listitem> | |
80 <para> | |
81 Feature: | |
82 HTTP <literal>return()</literal> method. | |
83 </para> | |
84 </listitem> | |
85 | |
86 <listitem> | |
87 <para> | |
88 Bugfix: | |
89 miscellaneous bugs have been fixed in the core and | |
90 interactive shell. | |
91 </para> | |
92 </listitem> | |
93 | |
94 </list> | |
95 </para> | |
96 | |
97 </section> | |
98 | |
99 <section id="njs0.1.15" name="Changes with 0.1.15"> | |
100 | |
101 <para> | |
102 Release Date: | |
103 20 Nov 2017 | |
104 </para> | |
105 | |
106 <para> | |
107 <list type="bullet"> | |
108 | |
109 <listitem> | |
110 <para> | |
111 Feature: | |
112 <literal>Error</literal>, | |
113 <literal>EvalError</literal>, | |
114 <literal>InternalError</literal>, | |
115 <literal>RangeError</literal>, | |
116 <literal>ReferenceError</literal>, | |
117 <literal>SyntaxError</literal>, | |
118 <literal>TypeError</literal>, | |
119 <literal>URIError</literal> objects. | |
120 </para> | |
121 </listitem> | |
122 | |
123 <listitem> | |
124 <para> | |
125 Feature: | |
126 octal literals support. | |
127 </para> | |
128 </listitem> | |
129 | |
130 <listitem> | |
131 <para> | |
132 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
133 <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
|
134 <literal>File system</literal> access methods: |
2130 | 135 <literal>fs.readFile()</literal>, |
136 <literal>fs.readFileSync()</literal>, | |
137 <literal>fs.appendFile()</literal>, | |
138 <literal>fs.appendFileSync()</literal>, | |
139 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
140 <literal>fs.writeFileSync()</literal>. |
2130 | 141 </para> |
142 </listitem> | |
143 | |
144 <listitem> | |
145 <para> | |
146 Feature: | |
147 nginx modules print backtrace on exception. | |
148 </para> | |
149 </listitem> | |
150 | |
151 <listitem> | |
152 <para> | |
153 Bugfix: | |
154 miscellaneous bugs have been fixed. | |
155 </para> | |
156 </listitem> | |
157 | |
158 </list> | |
159 </para> | |
160 | |
161 </section> | |
162 | |
163 | |
164 <section id="njs0.1.14" name="Changes with 0.1.14"> | |
165 | |
166 <para> | |
167 Release Date: | |
168 09 Oct 2017 | |
169 </para> | |
170 | |
171 <para> | |
172 <list type="bullet"> | |
173 | |
174 <listitem> | |
175 <para> | |
176 Feature: | |
177 JSON object. | |
178 </para> | |
179 </listitem> | |
180 | |
181 <listitem> | |
182 <para> | |
183 Feature: | |
184 object level completions in interactive shell. | |
185 </para> | |
186 </listitem> | |
187 | |
188 <listitem> | |
189 <para> | |
190 Feature: | |
191 various configure improvements. | |
192 </para> | |
193 </listitem> | |
194 | |
195 <listitem> | |
196 <para> | |
197 Bugfix: | |
198 miscellaneous bugs have been fixed in the core and | |
199 interactive shell. | |
200 </para> | |
201 </listitem> | |
202 | |
203 </list> | |
204 </para> | |
205 | |
206 </section> | |
207 | |
208 | |
209 <section id="njs0.1.13" name="Changes with 0.1.13"> | |
210 | |
211 <para> | |
212 Release Date: | |
213 31 Aug 2017 | |
214 </para> | |
215 | |
216 <para> | |
217 <list type="bullet"> | |
218 | |
219 <listitem> | |
220 <para> | |
221 Feature: | |
222 <literal>console.log()</literal> and | |
223 <literal>console.help()</literal> | |
224 methods in interactive shell. | |
225 </para> | |
226 </listitem> | |
227 | |
228 <listitem> | |
229 <para> | |
230 Feature: | |
231 interactive shell prints backtrace on exception. | |
232 </para> | |
233 </listitem> | |
234 | |
235 <listitem> | |
236 <para> | |
237 Feature: | |
238 interactive shell by default | |
239 if <literal>libedit</literal> is available. | |
240 </para> | |
241 </listitem> | |
242 | |
243 <listitem> | |
244 <para> | |
245 Bugfix: | |
246 processing of large files from | |
247 <literal>stdin</literal> in command line mode. | |
248 </para> | |
249 </listitem> | |
250 | |
251 <listitem> | |
252 <para> | |
253 Bugfix: | |
254 improved <literal>editline</literal> detection. | |
255 </para> | |
256 </listitem> | |
257 | |
258 </list> | |
259 </para> | |
260 | |
261 </section> | |
262 | |
263 | |
264 <section id="njs0.1.12" name="Changes with 0.1.12"> | |
265 | |
266 <para> | |
267 Release Date: | |
268 08 Aug 2017 | |
269 </para> | |
270 | |
271 <para> | |
272 <list type="bullet"> | |
273 | |
274 <listitem> | |
275 <para> | |
276 Feature: | |
277 Interactive shell. | |
278 </para> | |
279 </listitem> | |
280 | |
281 <listitem> | |
282 <para> | |
283 Bugfix: | |
284 in <literal>Object.isSealed()</literal>. | |
285 </para> | |
286 </listitem> | |
287 | |
288 </list> | |
289 </para> | |
290 | |
291 </section> | |
292 | |
293 | |
294 <section id="njs0.1.11" name="Changes with 0.1.11"> | |
295 | |
296 <para> | |
297 Release Date: | |
298 27 Jun 2017 | |
299 </para> | |
300 | |
301 <para> | |
302 <list type="bullet"> | |
303 | |
304 <listitem> | |
305 <para> | |
306 Feature: | |
307 <literal>Object.keys()</literal>, | |
308 <literal>Object.prototype.hasOwnProperty()</literal> | |
309 methods. | |
310 </para> | |
311 </listitem> | |
312 | |
313 <listitem> | |
314 <para> | |
315 Feature: | |
316 <literal>Object.defineProperty()</literal>, | |
317 <literal>Object.defineProperties()</literal>, | |
318 <literal>Object.getOwnPropertyDescriptor()</literal> | |
319 methods. | |
320 </para> | |
321 </listitem> | |
322 | |
323 <listitem> | |
324 <para> | |
325 Feature: | |
326 <literal>Object.getPrototypeOf()</literal>, | |
327 <literal>Object.prototype.isPrototypeOf()</literal> | |
328 methods. | |
329 </para> | |
330 </listitem> | |
331 | |
332 <listitem> | |
333 <para> | |
334 Feature: | |
335 <literal>Object.preventExtensions()</literal>, | |
336 <literal>Object.isExtensible()</literal>, | |
337 <literal>Object.freeze()</literal>, | |
338 <literal>Object.isFrozen()</literal>, | |
339 <literal>Object.seal()</literal>, | |
340 <literal>Object.isSealed()</literal> | |
341 methods. | |
342 </para> | |
343 </listitem> | |
344 | |
345 <listitem> | |
346 <para> | |
347 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
348 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 349 </para> |
350 </listitem> | |
351 | |
352 <listitem> | |
353 <para> | |
354 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
355 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 356 </para> |
357 </listitem> | |
358 | |
359 <listitem> | |
360 <para> | |
361 Bugfix: | |
362 processing of large array indexes. | |
363 </para> | |
364 </listitem> | |
365 | |
366 <listitem> | |
367 <para> | |
368 Bugfix: | |
369 in <literal>parseInt()</literal> and | |
370 <literal>Date.parse()</literal>. | |
371 </para> | |
372 </listitem> | |
373 | |
374 </list> | |
375 </para> | |
376 | |
377 </section> | |
378 | |
379 | |
380 <section id="njs0.1.10" name="Changes with 0.1.10"> | |
381 | |
382 <para> | |
383 Release Date: | |
384 04 Apr 2017 | |
385 </para> | |
386 | |
387 <para> | |
388 <list type="bullet"> | |
389 | |
390 <listitem> | |
391 <para> | |
392 Feature: | |
393 nested functions and function closures. | |
394 </para> | |
395 </listitem> | |
396 | |
397 <listitem> | |
398 <para> | |
399 Feature: | |
400 <literal>Array.of()</literal>, | |
401 <literal>Array.prototype.fill()</literal>, | |
402 <literal>Array.prototype.find()</literal>, | |
403 <literal>Array.prototype.findIndex()</literal> | |
404 methods. | |
405 </para> | |
406 </listitem> | |
407 | |
408 <listitem> | |
409 <para> | |
410 Bugfix: | |
411 miscellaneous bugs and segmentation faults have been fixed. | |
412 </para> | |
413 </listitem> | |
414 | |
415 </list> | |
416 </para> | |
417 | |
418 </section> | |
419 | |
420 | |
421 <section id="njs0.1.9" name="Changes with 0.1.9"> | |
422 | |
423 <para> | |
424 Release Date: | |
425 01 Feb 2017 | |
426 </para> | |
427 | |
428 <para> | |
429 <list type="bullet"> | |
430 | |
431 <listitem> | |
432 <para> | |
433 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
434 global variables were not initialized when njs was used |
2130 | 435 in nginx. |
436 </para> | |
437 </listitem> | |
438 | |
439 </list> | |
440 </para> | |
441 | |
442 </section> | |
443 | |
444 | |
445 <section id="njs0.1.8" name="Changes with 0.1.8"> | |
446 | |
447 <para> | |
448 Release Date: | |
449 24 Jan 2017 | |
450 </para> | |
451 | |
452 <para> | |
453 <list type="bullet"> | |
454 | |
455 <listitem> | |
456 <para> | |
457 Change: | |
458 the <literal>strict</literal> mode is enforced, | |
459 variables must be explicitly declared. | |
460 </para> | |
461 </listitem> | |
462 | |
463 | |
464 <listitem> | |
465 <para> | |
466 Feature: | |
467 <literal>for</literal> and | |
468 <literal>for-in</literal> loops support variable declaration. | |
469 </para> | |
470 </listitem> | |
471 | |
472 <listitem> | |
473 <para> | |
474 Bugfix: | |
475 global and function scopes have been fixed. | |
476 </para> | |
477 </listitem> | |
478 | |
479 <listitem> | |
480 <para> | |
481 Bugfix: | |
482 now <literal>for-in</literal> loop does not discard the last value | |
483 of property variable. | |
484 </para> | |
485 </listitem> | |
486 | |
487 <listitem> | |
488 <para> | |
489 Bugfix: | |
490 miscellaneous bugs and segmentation faults have been fixed. | |
491 </para> | |
492 </listitem> | |
493 | |
494 </list> | |
495 </para> | |
496 | |
497 </section> | |
498 | |
499 | |
500 <section id="njs0.1.7" name="Changes with 0.1.7"> | |
501 | |
502 <para> | |
503 Release Date: | |
504 27 Dec 2016 | |
505 </para> | |
506 | |
507 <para> | |
508 <list type="bullet"> | |
509 | |
510 <listitem> | |
511 <para> | |
512 Change: | |
513 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
514 has been disabled at server and location levels. | |
515 </para> | |
516 </listitem> | |
517 | |
518 <listitem> | |
519 <para> | |
520 Feature: | |
521 exponentiation operators. | |
522 </para> | |
523 </listitem> | |
524 | |
525 <listitem> | |
526 <para> | |
527 Bugfix: | |
528 miscellaneous bugs and segmentation faults have been fixed. | |
529 </para> | |
530 </listitem> | |
531 | |
532 </list> | |
533 </para> | |
534 | |
535 </section> | |
536 | |
537 | |
538 <section id="njs0.1.6" name="Changes with 0.1.6"> | |
539 | |
540 <para> | |
541 Release Date: | |
542 13 Dec 2016 | |
543 </para> | |
544 | |
545 <para> | |
546 <list type="bullet"> | |
547 | |
548 <listitem> | |
549 <para> | |
550 Change: | |
551 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
552 has been disabled at server and location levels. | |
553 </para> | |
554 </listitem> | |
555 | |
556 <listitem> | |
557 <para> | |
558 Feature: | |
559 ES6 <literal>Math</literal> methods. | |
560 </para> | |
561 </listitem> | |
562 | |
563 <listitem> | |
564 <para> | |
565 Bugfix: | |
566 miscellaneous bugs and segmentation faults have been fixed. | |
567 </para> | |
568 </listitem> | |
569 | |
570 </list> | |
571 </para> | |
572 | |
573 </section> | |
574 | |
575 </article> |