Mercurial > hg > nginx-site
annotate xml/en/docs/njs/changes.xml @ 2501:2b494b8ff72d
Documented the "Entry exists" error in the API.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 12 Feb 2020 15:10:47 +0000 |
parents | 805c4b84cc61 |
children | 8ad2ea80e0c2 |
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" |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
12 rev="27" |
2130 | 13 toc="no"> |
14 | |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
15 <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
|
16 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
17 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
18 Release Date: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
19 21 January 2020 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
20 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
21 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
22 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
23 nginx modules: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
24 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
25 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
26 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
27 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
28 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
29 added <literal>Promise</literal> support for |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
30 <link doc="reference.xml" id="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
|
31 If a callback is not provided, |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
32 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
33 returns an ordinary |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
34 <literal>Promise</literal> object |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
35 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
|
36 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
37 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
38 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
39 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
40 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
41 Change: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
42 <link doc="reference.xml" id="r_parent"><literal>r.parent()</literal></link> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
43 property handler now returns |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
44 <literal>undefined</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
45 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
|
46 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
47 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
48 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
49 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
50 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
51 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
52 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
53 Core: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
54 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
55 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
56 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
57 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
58 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
59 added <literal>Promise</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
60 Implemented according to the specification without: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
61 <literal>Promise.all()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
62 <literal>Promise.allSettled()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
63 <literal>Promise.race()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
64 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
65 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
66 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
67 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
68 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
69 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
70 added initial Typed-arrays support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
71 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
72 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
73 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
74 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
75 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
76 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
77 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
78 added <literal>ArrayBuffer</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
79 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
80 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
81 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
82 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
83 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
84 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
85 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
86 added initial <literal>Symbol</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
87 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
88 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
89 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
90 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
91 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
92 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
93 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
94 added externals support for |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
95 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
96 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
97 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
98 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
99 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
100 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
101 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
102 added <literal>Object.is()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
103 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
104 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
105 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
106 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
107 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
108 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
109 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
110 added <literal>Object.setPrototypeOf()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
111 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
112 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
113 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
114 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
115 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
116 <para> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
117 Feature: |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
118 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
|
119 </para> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
120 </listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
121 |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
122 <listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
123 <para> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
124 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
125 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
126 <literal>Object.getPrototypeOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
127 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
128 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
129 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
130 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
131 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
132 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
133 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
134 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
135 <literal>Object.prototype.valueOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
136 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
137 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
138 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
139 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
140 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
141 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
142 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
143 fixed |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
144 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
145 with unprintable values and replacer function. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
146 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
147 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
148 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
149 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
150 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
151 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
152 fixed operator <literal>in</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
153 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
154 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
155 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
156 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
157 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
158 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
159 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
160 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
161 <literal>Object.defineProperties()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
162 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
163 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
164 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
165 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
166 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
167 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
168 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
169 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
170 <literal>Object.create()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
171 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
172 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
173 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
174 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
175 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
176 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
177 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
178 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
179 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
180 <literal>Number.prototype.toString(radix)</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
181 when fast-math is enabled. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
182 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
183 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
184 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
185 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
186 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
187 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
188 fixed <literal>RegExp()</literal> instance properties. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
189 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
190 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
191 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
192 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
193 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
194 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
195 fixed import segfault. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
196 Thanks to 洪志道 (Hong Zhi Dao). |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
197 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
198 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
199 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
200 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
201 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
202 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
203 </section> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
204 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
205 |
2466 | 206 <section id="njs0.3.7" name="Changes with njs 0.3.7"> |
207 | |
208 <para> | |
209 Release Date: | |
210 19 November 2019 | |
211 </para> | |
212 | |
213 <para> | |
214 nginx modules: | |
215 <list type="bullet"> | |
216 | |
217 <listitem> | |
218 <para> | |
219 Improvement: | |
220 refactored iteration over external objects. | |
221 </para> | |
222 </listitem> | |
223 | |
224 </list> | |
225 </para> | |
226 | |
227 <para> | |
228 Core: | |
229 <list type="bullet"> | |
230 | |
231 <listitem> | |
232 <para> | |
233 Feature: | |
234 added <literal>Object.assign()</literal>. | |
235 </para> | |
236 </listitem> | |
237 | |
238 <listitem> | |
239 <para> | |
240 Feature: | |
241 added <literal>Array.prototype.copyWithin()</literal>. | |
242 </para> | |
243 </listitem> | |
244 | |
245 <listitem> | |
246 <para> | |
247 Feature: | |
248 added support for labels in <literal>console.time()</literal>. | |
249 </para> | |
250 </listitem> | |
251 | |
252 <listitem> | |
253 <para> | |
254 Change: | |
255 removed <literal>console.help()</literal> from CLI. | |
256 </para> | |
257 </listitem> | |
258 | |
259 <listitem> | |
260 <para> | |
261 Improvement: | |
262 moved constructors and top-level objects to global object. | |
263 </para> | |
264 </listitem> | |
265 | |
266 <listitem> | |
267 <para> | |
268 Improvement: | |
269 arguments validation for configure script. | |
270 </para> | |
271 </listitem> | |
272 | |
273 <listitem> | |
274 <para> | |
275 Improvement: | |
276 refactored JSON methods. | |
277 </para> | |
278 </listitem> | |
279 | |
280 <listitem> | |
281 <para> | |
282 Bugfix: | |
283 fixed heap-buffer-overflow in | |
284 <literal>njs_array_reverse_iterator()</literal> function. | |
285 The following functions were affected: | |
286 <literal>Array.prototype.lastIndexOf()</literal>, | |
287 <literal>Array.prototype.reduceRight()</literal>. | |
288 </para> | |
289 </listitem> | |
290 | |
291 <listitem> | |
292 <para> | |
293 Bugfix: | |
294 fixed | |
295 <literal>[[Prototype]]</literal> slot of <literal>NativeErrors</literal>. | |
296 </para> | |
297 </listitem> | |
298 | |
299 <listitem> | |
300 <para> | |
301 Bugfix: | |
302 fixed | |
303 <literal>NativeError.prototype.message</literal> properties. | |
304 </para> | |
305 </listitem> | |
306 | |
307 <listitem> | |
308 <para> | |
309 Bugfix: | |
310 added conversion of | |
311 <literal>this</literal> value to object in | |
312 <literal>Array.prototype functions</literal>. | |
313 </para> | |
314 </listitem> | |
315 | |
316 <listitem> | |
317 <para> | |
318 Bugfix: | |
319 fixed iterator for | |
320 <literal>Array.prototype.find()</literal> and | |
321 <literal>Array.prototype.findIndex()</literal> | |
322 functions. | |
323 </para> | |
324 </listitem> | |
325 | |
326 <listitem> | |
327 <para> | |
328 Bugfix: | |
329 fixed | |
330 <literal>Array.prototype.includes()</literal> and | |
331 <literal>Array.prototype.join()</literal> with | |
332 <literal>undefined</literal> argument. | |
333 </para> | |
334 </listitem> | |
335 | |
336 <listitem> | |
337 <para> | |
338 Bugfix: | |
339 fixed <literal>constructor</literal> property of | |
340 <literal>Hash</literal> and | |
341 <literal>Hmac</literal> | |
342 objects. | |
343 </para> | |
344 </listitem> | |
345 | |
346 <listitem> | |
347 <para> | |
348 Bugfix: | |
349 fixed <literal>__proto__</literal> property of getters and setters. | |
350 </para> | |
351 </listitem> | |
352 | |
353 <listitem> | |
354 <para> | |
355 Bugfix: | |
356 fixed <literal>Date</literal> object string formatting. | |
357 </para> | |
358 </listitem> | |
359 | |
360 <listitem> | |
361 <para> | |
362 Bugfix: | |
363 fixed handling of | |
364 <literal>NaN</literal> and <literal>-0</literal> arguments in | |
365 <literal>Math.min()</literal> and | |
366 <literal>Math.max()</literal>. | |
367 </para> | |
368 </listitem> | |
369 | |
370 <listitem> | |
371 <para> | |
372 Bugfix: | |
373 fixed <literal>Math.round()</literal> | |
374 according to the specification. | |
375 </para> | |
376 </listitem> | |
377 | |
378 <listitem> | |
379 <para> | |
380 Bugfix: | |
381 reimplemented <literal>bound</literal> functions | |
382 according to the specification. | |
383 </para> | |
384 </listitem> | |
385 | |
386 </list> | |
387 </para> | |
388 | |
389 </section> | |
390 | |
391 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
392 <section id="njs0.3.6" name="Changes with njs 0.3.6"> |
2446 | 393 |
394 <para> | |
395 Release Date: | |
396 22 October 2019 | |
397 </para> | |
398 | |
399 <para> | |
400 nginx modules: | |
401 <list type="bullet"> | |
402 | |
403 <listitem> | |
404 <para> | |
405 Improvement: | |
406 getting special headers from | |
407 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
408 </para> | |
409 </listitem> | |
410 | |
411 </list> | |
412 </para> | |
413 | |
414 <para> | |
415 Core: | |
416 <list type="bullet"> | |
417 | |
418 <listitem> | |
419 <para> | |
420 Feature: | |
421 added new <literal>Function()</literal> support. | |
422 </para> | |
423 </listitem> | |
424 | |
425 <listitem> | |
426 <para> | |
427 Feature: | |
428 added <literal>Number.prototype.toFixed()</literal>. | |
429 </para> | |
430 </listitem> | |
431 | |
432 <listitem> | |
433 <para> | |
434 Feature: | |
435 added <literal>Number.prototype.toPrecision()</literal>. | |
436 </para> | |
437 </listitem> | |
438 | |
439 <listitem> | |
440 <para> | |
441 Feature: | |
442 added <literal>Number.prototype.toExponential()</literal>. | |
443 </para> | |
444 </listitem> | |
445 | |
446 <listitem> | |
447 <para> | |
448 Improvement: | |
449 making <literal>prototype</literal> property of function instances writable. | |
450 </para> | |
451 </listitem> | |
452 | |
453 <listitem> | |
454 <para> | |
455 Improvement: | |
456 limiting recursion depth while compiling. | |
457 </para> | |
458 </listitem> | |
459 | |
460 <listitem> | |
461 <para> | |
462 Improvement: | |
463 moving global functions to the global object. | |
464 </para> | |
465 </listitem> | |
466 | |
467 <listitem> | |
468 <para> | |
469 Bugfix: | |
470 fixed prototype mutation for object literals. | |
471 </para> | |
472 </listitem> | |
473 | |
474 <listitem> | |
475 <para> | |
476 Bugfix: | |
477 fixed heap-buffer-overflow while parsing regexp literals. | |
478 </para> | |
479 </listitem> | |
480 | |
481 <listitem> | |
482 <para> | |
483 Bugfix: | |
484 fixed integer-overflow while parsing exponent of number literals. | |
485 </para> | |
486 </listitem> | |
487 | |
488 <listitem> | |
489 <para> | |
490 Bugfix: | |
491 fixed <literal>parseFloat()</literal>. | |
492 </para> | |
493 </listitem> | |
494 | |
495 <listitem> | |
496 <para> | |
497 Bugfix: | |
498 fixed <literal>Array.prototype</literal> functions | |
499 according to the specification. | |
500 The following functions were fixed: | |
501 <literal>every</literal>, | |
502 <literal>includes</literal>, | |
503 <literal>indexOf</literal>, | |
504 <literal>filter</literal>, | |
505 <literal>find</literal>, | |
506 <literal>findIndex</literal>, | |
507 <literal>forEach</literal>, | |
508 <literal>lastIndexOf</literal>, | |
509 <literal>map</literal>, | |
510 <literal>pop</literal>, | |
511 <literal>push</literal>, | |
512 <literal>reduce</literal>, | |
513 <literal>reduceRight</literal>, | |
514 <literal>shift</literal>, | |
515 <literal>some</literal>, | |
516 <literal>unshift</literal>. | |
517 </para> | |
518 </listitem> | |
519 | |
520 <listitem> | |
521 <para> | |
522 Bugfix: | |
523 fixed handing of accessor descriptors in <literal>Object.freeze()</literal>. | |
524 </para> | |
525 </listitem> | |
526 | |
527 <listitem> | |
528 <para> | |
529 Bugfix: | |
530 fixed | |
531 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
532 when first argument is not a string. | |
533 </para> | |
534 </listitem> | |
535 | |
536 <listitem> | |
537 <para> | |
538 Bugfix: | |
539 fixed stack-use-after-scope in <literal>Array.prototype.map()</literal>. | |
540 </para> | |
541 </listitem> | |
542 | |
543 <listitem> | |
544 <para> | |
545 Bugfix: | |
546 <literal>Date.prototype.toUTCString()</literal> | |
547 format was aligned to ES9. | |
548 </para> | |
549 </listitem> | |
550 | |
551 <listitem> | |
552 <para> | |
553 Bugfix: | |
554 fixed buffer overflow in | |
555 <literal>Number.prototype.toString(radix)</literal>. | |
556 </para> | |
557 </listitem> | |
558 | |
559 <listitem> | |
560 <para> | |
561 Bugfix: | |
562 fixed | |
563 <literal>Regexp.prototype.test()</literal> | |
564 for regexps with backreferences. | |
565 </para> | |
566 </listitem> | |
567 | |
568 <listitem> | |
569 <para> | |
570 Bugfix: | |
571 fixed | |
572 <literal>Array.prototype.map()</literal> | |
573 for objects with nonexistent values. | |
574 </para> | |
575 </listitem> | |
576 | |
577 <listitem> | |
578 <para> | |
579 Bugfix: | |
580 fixed | |
581 <literal>Array.prototype.pop()</literal> and | |
582 <literal>shift()</literal> for sparse objects. | |
583 </para> | |
584 </listitem> | |
585 | |
586 <listitem> | |
587 <para> | |
588 Bugfix: | |
589 fixed <literal>Date.UTC()</literal> according to the specification. | |
590 </para> | |
591 </listitem> | |
592 | |
593 <listitem> | |
594 <para> | |
595 Bugfix: | |
596 fixed <literal>Date()</literal> constructor according to the specification. | |
597 </para> | |
598 </listitem> | |
599 | |
600 <listitem> | |
601 <para> | |
602 Bugfix: | |
603 fixed type of <literal>Date.prototype</literal>. | |
604 Thanks to Artem S. Povalyukhin. | |
605 </para> | |
606 </listitem> | |
607 | |
608 <listitem> | |
609 <para> | |
610 Bugfix: | |
611 fixed <literal>Date.prototype.setTime()</literal>. | |
612 Thanks to Artem S. Povalyukhin. | |
613 </para> | |
614 </listitem> | |
615 | |
616 <listitem> | |
617 <para> | |
618 Bugfix: | |
619 fixed default number of arguments expected by built-in functions. | |
620 </para> | |
621 </listitem> | |
622 | |
623 <listitem> | |
624 <para> | |
625 Bugfix: | |
626 fixed <literal>caller</literal> and <literal>arguments</literal> | |
627 properties of a function instance. | |
628 Thanks to Artem S. Povalyukhin. | |
629 </para> | |
630 </listitem> | |
631 | |
632 </list> | |
633 </para> | |
634 | |
635 </section> | |
636 | |
637 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
638 <section id="njs0.3.5" name="Changes with njs 0.3.5"> |
2420 | 639 |
640 <para> | |
641 Release Date: | |
642 15 August 2019 | |
643 </para> | |
644 | |
645 <para> | |
646 Core: | |
647 <list type="bullet"> | |
648 | |
649 <listitem> | |
650 <para> | |
651 Bugfix: | |
652 fixed module importing using <literal>require()</literal>. | |
653 The bug was introduced in <link id="0.3.4"/>. | |
654 </para> | |
655 </listitem> | |
656 | |
657 <listitem> | |
658 <para> | |
659 Bugfix: | |
660 fixed <literal>[[SetPrototypeOf]]</literal>. | |
661 </para> | |
662 </listitem> | |
663 | |
664 </list> | |
665 </para> | |
666 | |
667 </section> | |
668 | |
669 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
670 <section id="njs0.3.4" name="Changes with njs 0.3.4"> |
2414 | 671 |
672 <para> | |
673 Release Date: | |
674 13 August 2019 | |
675 </para> | |
676 | |
677 <para> | |
678 Core: | |
679 <list type="bullet"> | |
680 | |
681 <listitem> | |
682 <para> | |
683 Feature: | |
684 added <literal>Object</literal> shorthand methods and computed property names. | |
685 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
686 </para> | |
687 </listitem> | |
688 | |
689 <listitem> | |
690 <para> | |
691 Feature: | |
692 added getter/setter literal support. | |
693 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
694 </para> | |
695 </listitem> | |
696 | |
697 <listitem> | |
698 <para> | |
699 Feature: | |
700 added | |
701 <link doc="reference.xml" id="renamesync"><literal>fs.renameSync()</literal></link>. | |
702 </para> | |
703 </listitem> | |
704 | |
705 <listitem> | |
706 <para> | |
707 Feature: | |
708 added | |
709 <link doc="reference.xml" id="string_trimend"><literal>String.prototype.trimEnd()</literal></link> | |
710 and | |
711 <link doc="reference.xml" id="string_trimstart"><literal>String.prototype.trimStart()</literal></link>. | |
712 </para> | |
713 </listitem> | |
714 | |
715 <listitem> | |
716 <para> | |
717 Improvement: | |
718 added memory-sanitizer support. | |
719 </para> | |
720 </listitem> | |
721 | |
722 <listitem> | |
723 <para> | |
724 Improvement: | |
725 Unicode case tables updated to version 12.1. | |
726 </para> | |
727 </listitem> | |
728 | |
729 <listitem> | |
730 <para> | |
731 Improvement: | |
732 added UTF8 validation for string literals. | |
733 </para> | |
734 </listitem> | |
735 | |
736 <listitem> | |
737 <para> | |
738 Bugfix: | |
739 fixed reading files with zero size in | |
740 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
741 </para> | |
742 </listitem> | |
743 | |
744 <listitem> | |
745 <para> | |
746 Bugfix: | |
747 extended the list of space separators in | |
748 <link doc="reference.xml" id="string_trim"><literal>String.prototype.trim()</literal></link>. | |
749 </para> | |
750 </listitem> | |
751 | |
752 <listitem> | |
753 <para> | |
754 Bugfix: | |
755 fixed using of uninitialized value in | |
756 <link doc="reference.xml" id="string_padstart"><literal>String.prototype.padStart()</literal></link>. | |
757 </para> | |
758 </listitem> | |
759 | |
760 <listitem> | |
761 <para> | |
762 Bugfix: | |
763 fixed | |
764 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> for <literal>$0</literal> and <literal>$&</literal> replacement string. | |
765 </para> | |
766 </listitem> | |
767 | |
768 <listitem> | |
769 <para> | |
770 Bugfix: | |
771 fixed | |
772 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
773 for byte strings with regex argument. | |
774 </para> | |
775 </listitem> | |
776 | |
777 <listitem> | |
778 <para> | |
779 Bugfix: | |
780 fixed global match in | |
781 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
782 with regexp argument. | |
783 </para> | |
784 </listitem> | |
785 | |
786 <listitem> | |
787 <para> | |
788 Bugfix: | |
789 fixed | |
790 <literal>Array.prototype.slice()</literal> | |
791 for primitive types. | |
792 </para> | |
793 </listitem> | |
794 | |
795 <listitem> | |
796 <para> | |
797 Bugfix: | |
798 fixed heap-buffer-overflow while importing module. | |
799 </para> | |
800 </listitem> | |
801 | |
802 <listitem> | |
803 <para> | |
804 Bugfix: | |
805 fixed UTF-8 character escaping. | |
806 </para> | |
807 </listitem> | |
808 | |
809 <listitem> | |
810 <para> | |
811 Bugfix: | |
812 fixed | |
813 <link doc="reference.xml" id="object_values"><literal>Object.values()</literal></link> | |
814 and | |
815 <link doc="reference.xml" id="object_entries"><literal>Object.entries()</literal></link> | |
816 for shared objects. | |
817 </para> | |
818 </listitem> | |
819 | |
820 <listitem> | |
821 <para> | |
822 Bugfix: | |
823 fixed uninitialized memory access in | |
824 <link doc="reference.xml" id="string_match"><literal>String.prototype.match()</literal></link>. | |
825 </para> | |
826 </listitem> | |
827 | |
828 <listitem> | |
829 <para> | |
830 Bugfix: | |
831 fixed | |
832 <link doc="reference.xml" id="string_match"><literal>String.prototype.match()</literal></link> | |
833 for byte strings with regex argument. | |
834 </para> | |
835 </listitem> | |
836 | |
837 <listitem> | |
838 <para> | |
839 Bugfix: | |
840 fixed | |
841 <literal>Array.prototype.lastIndexOf()</literal> | |
842 with undefined arguments. | |
843 </para> | |
844 </listitem> | |
845 | |
846 <listitem> | |
847 <para> | |
848 Bugfix: | |
849 fixed | |
850 <link doc="reference.xml" id="string_substring"><literal>String.prototype.substring()</literal></link> | |
851 with empty substring. | |
852 </para> | |
853 </listitem> | |
854 | |
855 <listitem> | |
856 <para> | |
857 Bugfix: | |
858 fixed invalid memory access in | |
859 <link doc="reference.xml" id="string_substring"><literal>String.prototype.substring()</literal></link>. | |
860 </para> | |
861 </listitem> | |
862 | |
863 <listitem> | |
864 <para> | |
865 Bugfix: | |
866 fixed | |
867 <link doc="reference.xml" id="string_fromcharcode"><literal>String.fromCharCode()</literal></link> | |
868 for code points more than <literal>65535</literal> and <literal>NaN</literal>. | |
869 </para> | |
870 </listitem> | |
871 | |
872 <listitem> | |
873 <para> | |
874 Bugfix: | |
875 fixed | |
876 <link doc="reference.xml" id="string_tolowercase"><literal>String.prototype.toLowerCase()</literal></link> | |
877 and | |
878 <link doc="reference.xml" id="string_touppercase"><literal>String.prototype.toUpperCase()</literal></link>. | |
879 </para> | |
880 </listitem> | |
881 | |
882 <listitem> | |
883 <para> | |
884 Bugfix: | |
885 fixed <literal>Error()</literal> constructor with no arguments. | |
886 </para> | |
887 </listitem> | |
888 | |
889 <listitem> | |
890 <para> | |
891 Bugfix: | |
892 fixed <literal>in</literal> operator for values with accessor descriptors. | |
893 </para> | |
894 </listitem> | |
895 | |
896 <listitem> | |
897 <para> | |
898 Bugfix: | |
899 fixed | |
900 <literal>Object.defineProperty()</literal> | |
901 for non-boolean descriptor props. | |
902 </para> | |
903 </listitem> | |
904 | |
905 <listitem> | |
906 <para> | |
907 Bugfix: | |
908 fixed | |
909 <literal>Error.prototype.toString()</literal> | |
910 with UTF8 string properties. | |
911 </para> | |
912 </listitem> | |
913 | |
914 <listitem> | |
915 <para> | |
916 Bugfix: | |
917 fixed | |
918 <literal>Error.prototype.toString()</literal> | |
919 with non-string values for <literal>name</literal> and <literal>message</literal>. | |
920 </para> | |
921 </listitem> | |
922 | |
923 </list> | |
924 </para> | |
925 | |
926 </section> | |
927 | |
928 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
929 <section id="njs0.3.3" name="Changes with njs 0.3.3"> |
2402 | 930 |
931 <para> | |
932 Release Date: | |
933 25 June 2019 | |
934 </para> | |
935 | |
936 <para> | |
937 nginx modules: | |
938 <list type="bullet"> | |
939 | |
940 <listitem> | |
941 <para> | |
942 Improvement: | |
943 getting of special response headers in | |
944 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
945 </para> | |
946 </listitem> | |
947 | |
948 <listitem> | |
949 <para> | |
950 Improvement: | |
951 working with unknown methods in | |
952 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
953 </para> | |
954 </listitem> | |
955 | |
956 <listitem> | |
957 <para> | |
958 Improvement: | |
959 added support for null as a second argument of | |
960 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
961 </para> | |
962 </listitem> | |
963 | |
964 <listitem> | |
965 <para> | |
966 Bugfix: | |
967 fixed processing empty output chain in stream body filter. | |
968 </para> | |
969 </listitem> | |
970 | |
971 </list> | |
972 </para> | |
973 | |
974 <para> | |
975 Core: | |
976 <list type="bullet"> | |
977 | |
978 <listitem> | |
979 <para> | |
980 Feature: | |
981 added runtime support for property getter/setter. | |
982 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
983 </para> | |
984 </listitem> | |
985 | |
986 <listitem> | |
987 <para> | |
988 Feature: | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
989 added |
2414 | 990 <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
|
991 global object. |
2402 | 992 </para> |
993 </listitem> | |
994 | |
995 <listitem> | |
996 <para> | |
997 Feature: | |
998 writable most of built-in properties and methods. | |
999 </para> | |
1000 </listitem> | |
1001 | |
1002 <listitem> | |
1003 <para> | |
1004 Feature: | |
1005 added generic implementation of | |
1006 <literal>Array.prototype.fill()</literal>. | |
1007 </para> | |
1008 </listitem> | |
1009 | |
1010 <listitem> | |
1011 <para> | |
1012 Bugfix: | |
1013 fixed integer-overflow in | |
1014 <link doc="reference.xml" id="string_concat"><literal>String.prototype.concat()</literal></link>. | |
1015 </para> | |
1016 </listitem> | |
1017 | |
1018 <listitem> | |
1019 <para> | |
1020 Bugfix: | |
1021 fixed setting of object properties. | |
1022 </para> | |
1023 </listitem> | |
1024 | |
1025 <listitem> | |
1026 <para> | |
1027 Bugfix: | |
1028 fixed | |
1029 <literal>Array.prototype.toString()</literal>. | |
1030 </para> | |
1031 </listitem> | |
1032 | |
1033 <listitem> | |
1034 <para> | |
1035 Bugfix: | |
1036 fixed | |
1037 <literal>Date.prototype.toJSON()</literal>. | |
1038 </para> | |
1039 </listitem> | |
1040 | |
1041 <listitem> | |
1042 <para> | |
1043 Bugfix: | |
1044 fixed overwriting “constructor” property of built-in prototypes. | |
1045 </para> | |
1046 </listitem> | |
1047 | |
1048 <listitem> | |
1049 <para> | |
1050 Bugfix: | |
1051 fixed processing of invalid surrogate pairs in strings. | |
1052 </para> | |
1053 </listitem> | |
1054 | |
1055 <listitem> | |
1056 <para> | |
1057 Bugfix: | |
1058 fixed processing of invalid surrogate pairs in JSON strings. | |
1059 </para> | |
1060 </listitem> | |
1061 | |
1062 <listitem> | |
1063 <para> | |
1064 Bugfix: | |
1065 fixed heap-buffer-overflow in | |
1066 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase()</literal></link> | |
1067 and | |
1068 <link doc="reference.xml" id="string_touppercase"><literal>toLowerCase()</literal></link>. | |
1069 </para> | |
1070 </listitem> | |
1071 | |
1072 <listitem> | |
1073 <para> | |
1074 Bugfix: | |
1075 fixed escaping lone closing square brackets in | |
1076 <literal>RegExp()</literal> constructor. | |
1077 </para> | |
1078 </listitem> | |
1079 | |
1080 <listitem> | |
1081 <para> | |
1082 Bugfix: | |
1083 fixed handling zero byte characters inside RegExp pattern strings. | |
1084 </para> | |
1085 </listitem> | |
1086 | |
1087 <listitem> | |
1088 <para> | |
1089 Bugfix: | |
1090 fixed | |
1091 <link doc="reference.xml" id="string_tobytes"><literal>String.prototype.toBytes()</literal></link> | |
1092 for ASCII strings. | |
1093 </para> | |
1094 </listitem> | |
1095 | |
1096 <listitem> | |
1097 <para> | |
1098 Bugfix: | |
1099 fixed truth value of JSON numbers in | |
1100 <link doc="reference.xml" id="core_json_parse"><literal>JSON.parse()</literal></link>. | |
1101 </para> | |
1102 </listitem> | |
1103 | |
1104 <listitem> | |
1105 <para> | |
1106 Bugfix: | |
1107 fixed use-of-uninitialized-value in | |
1108 <literal>njs_string_replace_join()</literal>. | |
1109 </para> | |
1110 </listitem> | |
1111 | |
1112 <listitem> | |
1113 <para> | |
1114 Bugfix: | |
1115 fixed <literal>parseInt('-0')</literal>. | |
1116 Thanks to Artem S. Povalyukhin. | |
1117 </para> | |
1118 </listitem> | |
1119 | |
1120 </list> | |
1121 </para> | |
1122 | |
1123 </section> | |
1124 | |
1125 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1126 <section id="njs0.3.2" name="Changes with njs 0.3.2"> |
2387 | 1127 |
1128 <para> | |
1129 Release Date: | |
1130 21 May 2019 | |
1131 </para> | |
1132 | |
1133 <para> | |
1134 Core: | |
1135 <list type="bullet"> | |
1136 | |
1137 <listitem> | |
1138 <para> | |
1139 Feature: | |
1140 added support for template literals. | |
1141 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1142 </para> | |
1143 </listitem> | |
1144 | |
1145 <listitem> | |
1146 <para> | |
1147 Feature: | |
1148 executing command from command line arguments. | |
1149 </para> | |
1150 </listitem> | |
1151 | |
1152 <listitem> | |
1153 <para> | |
1154 Feature: | |
1155 added support for RegExp <literal>groups</literal> object (ES9). | |
1156 </para> | |
1157 </listitem> | |
1158 | |
1159 <listitem> | |
1160 <para> | |
1161 Feature: | |
1162 added block scoped function definitions support. | |
1163 </para> | |
1164 </listitem> | |
1165 | |
1166 <listitem> | |
1167 <para> | |
1168 Feature: | |
1169 added support for building with GNU Readline library. | |
1170 </para> | |
1171 </listitem> | |
1172 | |
1173 <listitem> | |
1174 <para> | |
1175 Feature: | |
1176 made configurable | |
1177 <literal>length</literal>, | |
1178 <literal>name</literal>, | |
1179 and most of built-in methods. | |
1180 </para> | |
1181 </listitem> | |
1182 | |
1183 <listitem> | |
1184 <para> | |
1185 Feature: | |
1186 made all constructor properties configurable. | |
1187 </para> | |
1188 </listitem> | |
1189 | |
1190 <listitem> | |
1191 <para> | |
1192 Bugfix: | |
1193 fixed <literal>Regexp.prototype.exec()</literal> for Unicode-only regexps. | |
1194 </para> | |
1195 </listitem> | |
1196 | |
1197 <listitem> | |
1198 <para> | |
1199 Bugfix: | |
1200 fixed <literal>njs_vm_value_dump()</literal> for empty string values. | |
1201 </para> | |
1202 </listitem> | |
1203 | |
1204 <listitem> | |
1205 <para> | |
1206 Bugfix: | |
1207 fixed RegExp constructor for regexp value arguments. | |
1208 </para> | |
1209 </listitem> | |
1210 | |
1211 <listitem> | |
1212 <para> | |
1213 Bugfix: | |
1214 fixed walking over prototypes chain during iteration over an object. | |
1215 </para> | |
1216 </listitem> | |
1217 | |
1218 <listitem> | |
1219 <para> | |
1220 Bugfix: | |
1221 fixed overflow in <literal>Array.prototype.concat()</literal>. | |
1222 </para> | |
1223 </listitem> | |
1224 | |
1225 <listitem> | |
1226 <para> | |
1227 Bugfix: | |
1228 fixed length calculation for UTF-8 string with escape characters. | |
1229 </para> | |
1230 </listitem> | |
1231 | |
1232 <listitem> | |
1233 <para> | |
1234 Bugfix: | |
1235 fixed parsing surrogate pair presents as UTF-16 escape sequences. | |
1236 </para> | |
1237 </listitem> | |
1238 | |
1239 <listitem> | |
1240 <para> | |
1241 Bugfix: | |
1242 fixed processing the “*” quantifier for | |
1243 <literal>String.prototype.match()</literal>. | |
1244 </para> | |
1245 </listitem> | |
1246 | |
1247 <listitem> | |
1248 <para> | |
1249 Bugfix: | |
1250 fixed <literal>Date()</literal> constructor with one argument. | |
1251 </para> | |
1252 </listitem> | |
1253 | |
1254 <listitem> | |
1255 <para> | |
1256 Bugfix: | |
1257 fixed arrays expansion. | |
1258 </para> | |
1259 </listitem> | |
1260 | |
1261 <listitem> | |
1262 <para> | |
1263 Bugfix: | |
1264 fixed heap-buffer-overflow in | |
1265 <literal>String.prototype.replace()</literal>. | |
1266 </para> | |
1267 </listitem> | |
1268 | |
1269 <listitem> | |
1270 <para> | |
1271 Bugfix: | |
1272 fixed heap-buffer-overflow in | |
1273 <literal>String.prototype.lastIndexOf()</literal>. | |
1274 </para> | |
1275 </listitem> | |
1276 | |
1277 <listitem> | |
1278 <para> | |
1279 Bugfix: | |
1280 fixed regexp literals parsing with escaped backslash | |
1281 and backslash in square brackets. | |
1282 </para> | |
1283 </listitem> | |
1284 | |
1285 <listitem> | |
1286 <para> | |
1287 Bugfix: | |
1288 fixed regexp literals with lone closing brackets. | |
1289 </para> | |
1290 </listitem> | |
1291 | |
1292 <listitem> | |
1293 <para> | |
1294 Bugfix: | |
1295 fixed uninitialized-memory-access in | |
1296 <literal>Object.defineProperties()</literal>. | |
1297 </para> | |
1298 </listitem> | |
1299 | |
1300 <listitem> | |
1301 <para> | |
1302 Bugfix: | |
1303 fixed processing the “*” quantifier for | |
1304 <literal>String.prototype.replace()</literal>. | |
1305 </para> | |
1306 </listitem> | |
1307 | |
1308 <listitem> | |
1309 <para> | |
1310 Bugfix: | |
1311 fixed <literal>Array.prototype.slice()</literal> for UTF8-invalid byte strings. | |
1312 </para> | |
1313 </listitem> | |
1314 | |
1315 <listitem> | |
1316 <para> | |
1317 Bugfix: | |
1318 fixed <literal>String.prototype.split()</literal> for UTF8-invalid byte strings. | |
1319 </para> | |
1320 </listitem> | |
1321 | |
1322 <listitem> | |
1323 <para> | |
1324 Bugfix: | |
1325 fixed handling of empty block statements. | |
1326 </para> | |
1327 </listitem> | |
1328 | |
1329 </list> | |
1330 </para> | |
1331 | |
1332 </section> | |
1333 | |
1334 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1335 <section id="njs0.3.1" name="Changes with njs 0.3.1"> |
2369 | 1336 |
1337 <para> | |
1338 Release Date: | |
1339 16 April 2019 | |
1340 </para> | |
1341 | |
1342 <para> | |
1343 Core: | |
1344 <list type="bullet"> | |
1345 | |
1346 <listitem> | |
1347 <para> | |
1348 Feature: | |
1349 added arrow functions support. | |
1350 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1351 </para> | |
1352 </listitem> | |
1353 | |
1354 <listitem> | |
1355 <para> | |
1356 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1357 added <literal>Object.getOwnPropertyNames()</literal>. |
2369 | 1358 Thanks to Artem S. Povalyukhin. |
1359 </para> | |
1360 </listitem> | |
1361 | |
1362 <listitem> | |
1363 <para> | |
1364 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1365 added <literal>Object.getOwnPropertyDescriptors()</literal>. |
2369 | 1366 Thanks to Artem S. Povalyukhin. |
1367 </para> | |
1368 </listitem> | |
1369 | |
1370 <listitem> | |
1371 <para> | |
1372 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1373 making <literal>__proto__</literal> accessor descriptor |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1374 of <literal>Object</literal> instances mutable. |
2369 | 1375 </para> |
1376 </listitem> | |
1377 | |
1378 <listitem> | |
1379 <para> | |
1380 Feature: | |
1381 added shebang support in CLI. | |
1382 </para> | |
1383 </listitem> | |
1384 | |
1385 <listitem> | |
1386 <para> | |
1387 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1388 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
|
1389 In module mode global, this is unavailable. |
2369 | 1390 </para> |
1391 </listitem> | |
1392 | |
1393 <listitem> | |
1394 <para> | |
1395 Bugfix: | |
1396 fixed editline detection. | |
1397 </para> | |
1398 </listitem> | |
1399 | |
1400 <listitem> | |
1401 <para> | |
1402 Bugfix: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1403 fixed <literal>Function.prototype.bind()</literal>. |
2369 | 1404 Thanks to 洪志道 (Hong Zhi Dao). |
1405 </para> | |
1406 </listitem> | |
1407 | |
1408 <listitem> | |
1409 <para> | |
1410 Bugfix: | |
1411 fixed checking of duplication of parameters for functions. | |
1412 Thanks to 洪志道 (Hong Zhi Dao). | |
1413 </para> | |
1414 </listitem> | |
1415 | |
1416 <listitem> | |
1417 <para> | |
1418 Bugfix: | |
1419 fixed function declaration with the same name as a variable. | |
1420 Thanks to 洪志道 (Hong Zhi Dao). | |
1421 </para> | |
1422 </listitem> | |
1423 | |
1424 <listitem> | |
1425 <para> | |
1426 Improvement: | |
1427 code related to parsing of objects, variables and | |
1428 functions is refactored. | |
1429 Thanks to 洪志道 (Hong Zhi Dao). | |
1430 </para> | |
1431 </listitem> | |
1432 | |
1433 <listitem> | |
1434 <para> | |
1435 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1436 large-value output improved in <literal>console.log()</literal>. |
2369 | 1437 </para> |
1438 </listitem> | |
1439 | |
1440 <listitem> | |
1441 <para> | |
1442 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1443 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
|
1444 in a compliant way (without escaping and quotes). |
2369 | 1445 </para> |
1446 </listitem> | |
1447 | |
1448 <listitem> | |
1449 <para> | |
1450 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1451 using ES6 version of |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1452 <literal>ToInt32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1453 <literal>ToUint32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1454 <literal>ToLength()</literal>. |
2369 | 1455 </para> |
1456 </listitem> | |
1457 | |
1458 </list> | |
1459 </para> | |
1460 | |
1461 </section> | |
1462 | |
1463 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1464 <section id="njs0.3.0" name="Changes with njs 0.3.0"> |
2353 | 1465 |
1466 <para> | |
1467 Release Date: | |
1468 26 March 2019 | |
1469 </para> | |
1470 | |
1471 <para> | |
1472 nginx modules: | |
1473 <list type="bullet"> | |
1474 | |
1475 <listitem> | |
1476 <para> | |
1477 Feature: | |
1478 added the <literal>js_path</literal> directive for | |
1479 <link doc="../http/ngx_http_js_module.xml" id="js_path">http</link> and | |
1480 <link doc="../stream/ngx_stream_js_module.xml" id="js_path">stream</link>. | |
1481 </para> | |
1482 </listitem> | |
1483 | |
1484 <listitem> | |
1485 <para> | |
1486 Change: | |
1487 returning undefined value instead of empty strings | |
1488 for absent properties in the following objects: | |
1489 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>, | |
1490 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>, | |
1491 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>, | |
1492 <link doc="reference.xml" id="r_variables"><literal>r.variables{}</literal></link>, | |
1493 <link doc="reference.xml" id="s_variables"><literal>s.variables{}</literal></link>. | |
1494 </para> | |
1495 </listitem> | |
1496 | |
1497 <listitem> | |
1498 <para> | |
1499 Change: | |
1500 returning undefined value instead of throwing an exception for | |
1501 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> | |
1502 when request body is unavailable. | |
1503 </para> | |
1504 </listitem> | |
1505 | |
1506 <listitem> | |
1507 <para> | |
1508 Bugfix: | |
1509 fixed crash while iterating over | |
1510 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> | |
1511 when a value is absent in a key-value pair. | |
1512 </para> | |
1513 </listitem> | |
1514 | |
1515 </list> | |
1516 </para> | |
1517 | |
1518 <para> | |
1519 Core: | |
1520 <list type="bullet"> | |
1521 | |
1522 <listitem> | |
1523 <para> | |
1524 Feature: | |
1525 added initial ES6 modules support. | |
1526 Default import and default export statements are supported. | |
1527 Thanks to 洪志道 (Hong Zhi Dao). | |
1528 </para> | |
1529 </listitem> | |
1530 | |
1531 <listitem> | |
1532 <para> | |
1533 Feature: | |
1534 added <literal>Object.prototype.propertyIsEnumerable()</literal>. | |
1535 </para> | |
1536 </listitem> | |
1537 | |
1538 <listitem> | |
1539 <para> | |
1540 Feature: | |
1541 reporting file name and function name in disassembler output. | |
1542 </para> | |
1543 </listitem> | |
1544 | |
1545 <listitem> | |
1546 <para> | |
1547 Bugfix: | |
1548 fixed function redeclarations in interactive shell. | |
1549 Thanks to 洪志道 (Hong Zhi Dao). | |
1550 </para> | |
1551 </listitem> | |
1552 | |
1553 <listitem> | |
1554 <para> | |
1555 Bugfix: | |
1556 fixed RegExp literals parsing. | |
1557 </para> | |
1558 </listitem> | |
1559 | |
1560 <listitem> | |
1561 <para> | |
1562 Bugfix: | |
1563 fixed setting length of UTF8 string in | |
1564 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
1565 </para> | |
1566 </listitem> | |
1567 | |
1568 <listitem> | |
1569 <para> | |
1570 Bugfix: | |
1571 fixed <literal>nxt_file_dirname()</literal> for paths with no dir component. | |
1572 </para> | |
1573 </listitem> | |
1574 | |
1575 </list> | |
1576 </para> | |
1577 | |
1578 </section> | |
1579 | |
1580 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1581 <section id="njs0.2.8" name="Changes with njs 0.2.8"> |
2331 | 1582 |
1583 <para> | |
1584 Release Date: | |
1585 26 February 2019 | |
1586 </para> | |
1587 | |
1588 <para> | |
1589 nginx modules: | |
1590 <list type="bullet"> | |
1591 | |
1592 <listitem> | |
1593 <para> | |
1594 Change: | |
1595 properties of HTTP request deprecated in <link id="njs0.2.2">0.2.2</link> | |
1596 are removed. | |
1597 </para> | |
1598 </listitem> | |
1599 | |
1600 <listitem> | |
1601 <para> | |
1602 Feature: | |
1603 added support for delete operation in | |
1604 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
1605 </para> | |
1606 </listitem> | |
1607 | |
1608 <listitem> | |
1609 <para> | |
1610 Feature: | |
1611 added support for setting nginx variables. | |
1612 </para> | |
1613 </listitem> | |
1614 | |
1615 <listitem> | |
1616 <para> | |
1617 Bugfix: | |
1618 fixed | |
1619 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> | |
1620 for empty body value. | |
1621 </para> | |
1622 </listitem> | |
1623 | |
1624 <listitem> | |
1625 <para> | |
1626 Improvement: | |
1627 setting special response headers in | |
1628 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
1629 </para> | |
1630 </listitem> | |
1631 | |
1632 </list> | |
1633 </para> | |
1634 | |
1635 <para> | |
1636 Core: | |
1637 <list type="bullet"> | |
1638 | |
1639 <listitem> | |
1640 <para> | |
1641 Feature: | |
1642 added labels support. | |
1643 </para> | |
1644 </listitem> | |
1645 | |
1646 <listitem> | |
1647 <para> | |
1648 Feature: | |
1649 added <literal>setImmediate()</literal> method. | |
1650 </para> | |
1651 </listitem> | |
1652 | |
1653 <listitem> | |
1654 <para> | |
1655 Feature: | |
1656 added support for shorthand property names for Object literals. | |
1657 </para> | |
1658 </listitem> | |
1659 | |
1660 <listitem> | |
1661 <para> | |
1662 Bugfix: | |
1663 fixed <literal>Function.prototype.bind()</literal>. | |
1664 </para> | |
1665 </listitem> | |
1666 | |
1667 <listitem> | |
1668 <para> | |
1669 Bugfix: | |
1670 fixed parsing of string literals containing newline characters. | |
1671 </para> | |
1672 </listitem> | |
1673 | |
1674 <listitem> | |
1675 <para> | |
1676 Bugfix: | |
1677 fixed line number in reporting variable reference errors. | |
1678 </para> | |
1679 </listitem> | |
1680 | |
1681 <listitem> | |
1682 <para> | |
1683 Bugfix: | |
1684 fixed creation of long UTF8 strings. | |
1685 </para> | |
1686 </listitem> | |
1687 | |
1688 <listitem> | |
1689 <para> | |
1690 Bugfix: | |
1691 fixed | |
1692 setting special response headers in | |
1693 <link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link> | |
1694 for Unicode strings. | |
1695 </para> | |
1696 </listitem> | |
1697 | |
1698 <listitem> | |
1699 <para> | |
1700 Bugfix: | |
1701 fixed heap-buffer-overflow in | |
1702 <link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link>. | |
1703 </para> | |
1704 </listitem> | |
1705 | |
1706 <listitem> | |
1707 <para> | |
1708 Bugfix: | |
1709 fixed <literal>Array.prototype.fill()</literal>. | |
1710 Thanks to Artem S. Povalyukhin. | |
1711 </para> | |
1712 </listitem> | |
1713 | |
1714 <listitem> | |
1715 <para> | |
1716 Improvement: | |
1717 code related to function invocation is refactored. | |
1718 Thanks to 洪志道 (Hong Zhi Dao). | |
1719 </para> | |
1720 </listitem> | |
1721 | |
1722 <listitem> | |
1723 <para> | |
1724 Improvement: | |
1725 code related to variables is refactored. | |
1726 Thanks to 洪志道 (Hong Zhi Dao). | |
1727 </para> | |
1728 </listitem> | |
1729 | |
1730 <listitem> | |
1731 <para> | |
1732 Improvement: parser is refactored. | |
1733 Thanks to 洪志道 (Hong Zhi Dao). | |
1734 </para> | |
1735 </listitem> | |
1736 | |
1737 <listitem> | |
1738 <para> | |
1739 Improvement: | |
1740 reporting filenames in exceptions. | |
1741 </para> | |
1742 </listitem> | |
1743 | |
1744 </list> | |
1745 </para> | |
1746 | |
1747 </section> | |
1748 | |
1749 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1750 <section id="njs0.2.7" name="Changes with njs 0.2.7"> |
2312 | 1751 |
1752 <para> | |
1753 Release Date: | |
1754 25 December 2018 | |
1755 </para> | |
1756 | |
1757 <para> | |
1758 Core: | |
1759 <list type="bullet"> | |
1760 | |
1761 <listitem> | |
1762 <para> | |
1763 Feature: | |
1764 rest parameters syntax (destructuring is not supported). | |
1765 Thanks to Alexander Pyshchev. | |
1766 </para> | |
1767 </listitem> | |
1768 | |
1769 <listitem> | |
1770 <para> | |
1771 Feature: | |
1772 added | |
1773 <link doc="reference.xml" id="object_entries"><literal>Object.entries()</literal></link> | |
1774 method. | |
1775 </para> | |
1776 </listitem> | |
1777 | |
1778 <listitem> | |
1779 <para> | |
1780 Feature: | |
1781 added | |
1782 <link doc="reference.xml" id="object_values"><literal>Object.values()</literal></link> | |
1783 method. | |
1784 </para> | |
1785 </listitem> | |
1786 | |
1787 <listitem> | |
1788 <para> | |
1789 Improvement: | |
1790 code generator refactored and simplified. | |
1791 </para> | |
1792 </listitem> | |
1793 | |
1794 <listitem> | |
1795 <para> | |
1796 Bugfix: | |
1797 fixed automatic semicolon insertion. | |
1798 </para> | |
1799 </listitem> | |
1800 | |
1801 <listitem> | |
1802 <para> | |
1803 Bugfix: | |
1804 fixed assignment expression from compound assignment. | |
1805 </para> | |
1806 </listitem> | |
1807 | |
1808 <listitem> | |
1809 <para> | |
1810 Bugfix: | |
1811 fixed comparison of Byte and UTF8 strings. | |
1812 </para> | |
1813 </listitem> | |
1814 | |
1815 <listitem> | |
1816 <para> | |
1817 Bugfix: | |
1818 fixed type of iteration variable in for-in with array values. | |
1819 </para> | |
1820 </listitem> | |
1821 | |
1822 <listitem> | |
1823 <para> | |
1824 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
1825 fixed building on platforms without librt. |
2312 | 1826 </para> |
1827 </listitem> | |
1828 | |
1829 <listitem> | |
1830 <para> | |
1831 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
1832 miscellaneous bugs have been fixed. |
2312 | 1833 </para> |
1834 </listitem> | |
1835 | |
1836 </list> | |
1837 </para> | |
1838 | |
1839 </section> | |
1840 | |
1841 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1842 <section id="njs0.2.6" name="Changes with njs 0.2.6"> |
2285 | 1843 |
1844 <para> | |
1845 Release Date: | |
1846 27 November 2018 | |
1847 </para> | |
1848 | |
1849 <para> | |
1850 Core: | |
1851 <list type="bullet"> | |
1852 | |
1853 <listitem> | |
1854 <para> | |
1855 Feature: | |
1856 making built-in prototypes mutable. | |
1857 </para> | |
1858 </listitem> | |
1859 | |
1860 <listitem> | |
1861 <para> | |
1862 Feature: | |
1863 making global object mutable. | |
1864 </para> | |
1865 </listitem> | |
1866 | |
1867 <listitem> | |
1868 <para> | |
1869 Feature: | |
1870 <literal>console.time()</literal> and | |
1871 <literal>console.timeEnd()</literal> methods. | |
1872 </para> | |
1873 </listitem> | |
1874 | |
1875 <listitem> | |
1876 <para> | |
1877 Feature: | |
1878 allowing variables and functions to be redeclared. | |
1879 </para> | |
1880 </listitem> | |
1881 | |
1882 <listitem> | |
1883 <para> | |
1884 Feature: | |
1885 extending <literal>Object.defineProperty()</literal> spec conformance. | |
1886 </para> | |
1887 </listitem> | |
1888 | |
1889 <listitem> | |
1890 <para> | |
1891 Feature: | |
1892 introduced quiet mode for CLI to handle simple expressions from stdin. | |
1893 </para> | |
1894 </listitem> | |
1895 | |
1896 <listitem> | |
1897 <para> | |
1898 Feature: | |
1899 introduced compact form of backtraces to handle stack overflows. | |
1900 </para> | |
1901 </listitem> | |
1902 | |
1903 <listitem> | |
1904 <para> | |
1905 Improvement: | |
1906 improved wording for various exceptions. | |
1907 </para> | |
1908 </listitem> | |
1909 | |
1910 <listitem> | |
1911 <para> | |
1912 Bugfix: | |
1913 fixed closure values handling. | |
1914 </para> | |
1915 </listitem> | |
1916 | |
1917 <listitem> | |
1918 <para> | |
1919 Bugfix: | |
1920 fixed equality operator for various value types. | |
1921 </para> | |
1922 </listitem> | |
1923 | |
1924 <listitem> | |
1925 <para> | |
1926 Bugfix: | |
1927 fixed handling of “this” keyword in various scopes. | |
1928 </para> | |
1929 </listitem> | |
1930 | |
1931 <listitem> | |
1932 <para> | |
1933 Bugfix: | |
1934 fixed handling non-object values in <literal>Object.keys()</literal>. | |
1935 </para> | |
1936 </listitem> | |
1937 | |
1938 <listitem> | |
1939 <para> | |
1940 Bugfix: | |
1941 fixed parsing of throw statement inside <literal>if</literal> statement. | |
1942 </para> | |
1943 </listitem> | |
1944 | |
1945 <listitem> | |
1946 <para> | |
1947 Bugfix: | |
1948 fixed parsing of newline after throw statement. | |
1949 </para> | |
1950 </listitem> | |
1951 | |
1952 <listitem> | |
1953 <para> | |
1954 Bugfix: | |
1955 fixed parsing of statements in if statement without newline. | |
1956 </para> | |
1957 </listitem> | |
1958 | |
1959 <listitem> | |
1960 <para> | |
1961 Bugfix: | |
1962 fixed size <literal>uint32_t</literal> overflow | |
1963 in <literal>njs_array_expand()</literal>. | |
1964 </para> | |
1965 </listitem> | |
1966 | |
1967 <listitem> | |
1968 <para> | |
1969 Bugfix: | |
1970 fixed <literal>typeof</literal> operator | |
1971 for <literal>object_value</literal> type. | |
1972 </para> | |
1973 </listitem> | |
1974 | |
1975 <listitem> | |
1976 <para> | |
1977 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
1978 miscellaneous bugs have been fixed. |
2285 | 1979 </para> |
1980 </listitem> | |
1981 | |
1982 </list> | |
1983 </para> | |
1984 | |
1985 </section> | |
1986 | |
1987 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1988 <section id="njs0.2.5" name="Changes with njs 0.2.5"> |
2264 | 1989 |
1990 <para> | |
1991 Release Date: | |
1992 30 October 2018 | |
1993 </para> | |
1994 | |
1995 <para> | |
1996 nginx modules: | |
1997 <list type="bullet"> | |
1998 | |
1999 <listitem> | |
2000 <para> | |
2001 Bugfix: | |
2002 fixed counting pending events in stream module. | |
2003 </para> | |
2004 </listitem> | |
2005 | |
2006 <listitem> | |
2007 <para> | |
2008 Bugfix: | |
2009 fixed <literal>s.off()</literal> in stream module. | |
2010 </para> | |
2011 </listitem> | |
2012 | |
2013 <listitem> | |
2014 <para> | |
2015 Bugfix: | |
2016 fixed processing of data chunks in <literal>js_filter</literal> in stream module. | |
2017 </para> | |
2018 </listitem> | |
2019 | |
2020 <listitem> | |
2021 <para> | |
2022 Bugfix: | |
2023 fixed http <literal>status</literal> and | |
2024 <literal>contentType</literal> getter in http module. | |
2025 </para> | |
2026 </listitem> | |
2027 | |
2028 <listitem> | |
2029 <para> | |
2030 Bugfix: | |
2031 fixed http response and parent getters in http module. | |
2032 </para> | |
2033 </listitem> | |
2034 | |
2035 </list> | |
2036 </para> | |
2037 | |
2038 <para> | |
2039 Core: | |
2040 <list type="bullet"> | |
2041 | |
2042 <listitem> | |
2043 <para> | |
2044 Feature: | |
2045 arguments object support. | |
2046 </para> | |
2047 </listitem> | |
2048 | |
2049 <listitem> | |
2050 <para> | |
2051 Feature: | |
2052 non-integer fractions support. | |
2053 </para> | |
2054 </listitem> | |
2055 | |
2056 <listitem> | |
2057 <para> | |
2058 Improvement: | |
2059 handling non-array values in <literal>Array.prototype.slice()</literal>. | |
2060 </para> | |
2061 </listitem> | |
2062 | |
2063 <listitem> | |
2064 <para> | |
2065 Bugfix: | |
2066 fixed <literal>Array.prototype.length</literal> setter | |
2067 </para> | |
2068 </listitem> | |
2069 | |
2070 <listitem> | |
2071 <para> | |
2072 Bugfix: | |
2073 fixed <literal>njs_array_alloc()</literal> for length > 2**31. | |
2074 </para> | |
2075 </listitem> | |
2076 | |
2077 <listitem> | |
2078 <para> | |
2079 Bugfix: | |
2080 handling int overflow in <literal>njs_array_alloc()</literal> on 32bit archs. | |
2081 </para> | |
2082 </listitem> | |
2083 | |
2084 <listitem> | |
2085 <para> | |
2086 Bugfix: | |
2087 fixed code size mismatch error message. | |
2088 </para> | |
2089 </listitem> | |
2090 | |
2091 <listitem> | |
2092 <para> | |
2093 Bugfix: | |
2094 fixed delete operator in a loop. | |
2095 </para> | |
2096 </listitem> | |
2097 | |
2098 <listitem> | |
2099 <para> | |
2100 Bugfix: | |
2101 fixed <literal>Object.getOwnPropertyDescriptor()</literal> for complex object | |
2102 (inherited from <literal>Array</literal> and <literal>string</literal> values). | |
2103 </para> | |
2104 </listitem> | |
2105 | |
2106 <listitem> | |
2107 <para> | |
2108 Bugfix: | |
2109 fixed <literal>Object.prototype.hasOwnProperty()</literal> | |
2110 for non-object properties | |
2111 </para> | |
2112 </listitem> | |
2113 | |
2114 <listitem> | |
2115 <para> | |
2116 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2117 miscellaneous bugs have been fixed. |
2264 | 2118 </para> |
2119 </listitem> | |
2120 | |
2121 </list> | |
2122 </para> | |
2123 | |
2124 </section> | |
2125 | |
2126 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2127 <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
|
2128 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2129 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2130 Release Date: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2131 18 September 2018 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2132 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2133 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2134 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2135 nginx modules: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2136 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2137 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2138 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2139 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2140 Change: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2141 stream module handlers refactored. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2142 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2143 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2144 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2145 New methods and properties: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2146 <link doc="reference.xml" id="s_on">s.on()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2147 <link doc="reference.xml" id="s_off">s.off()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2148 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2149 <link doc="reference.xml" id="s_done">s.done()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2150 <link doc="reference.xml" id="s_decline">s.decline()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2151 <link doc="reference.xml" id="s_deny">s.deny()</link>. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2152 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2153 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2154 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2155 Removed properties of the |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2156 <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
|
2157 <literal>s.OK</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2158 <literal>s.ABORT</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2159 <literal>s.AGAIN</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2160 <literal>s.DECLINED</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2161 <literal>s.ERROR</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2162 (replaced with |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2163 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2164 <link doc="reference.xml" id="s_done">s.done()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2165 <link doc="reference.xml" id="s_deny">s.deny()</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2166 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2167 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2168 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2169 <literal>s.buffer</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2170 (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
|
2171 the corresponding callback, for writing use |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2172 <link doc="reference.xml" id="s_send">s.send()</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2173 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2174 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2175 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2176 <literal>s.fromUpstream</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2177 (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
|
2178 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2179 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2180 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2181 <literal>s.eof</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2182 (replaced with <literal></literal> |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2183 <link doc="reference.xml" id="s_on_callback_last">flags.last</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2184 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2185 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2186 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2187 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2188 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2189 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2190 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2191 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2192 Core: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2193 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2194 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2195 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2196 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2197 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2198 added <literal>Function.prototype.length</literal>. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2199 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2200 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2201 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2202 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2203 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2204 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2205 introduced sandboxing mode. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2206 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2207 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2208 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2209 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2210 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2211 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2212 added exception strings where appropriate. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2213 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2214 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2215 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2216 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2217 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2218 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2219 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
|
2220 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2221 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2222 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2223 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2224 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2225 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2226 throwing <literal>TypeError</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2227 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
|
2228 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2229 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2230 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2231 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2232 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2233 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2234 fixed <literal>Object.defineProperty()</literal> for existing properties. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2235 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2236 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2237 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2238 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2239 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2240 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2241 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
|
2242 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2243 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2244 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2245 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2246 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2247 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2248 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
|
2249 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2250 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2251 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2252 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2253 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2254 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2255 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
|
2256 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2257 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2258 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2259 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2260 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2261 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2262 fixed <literal>Object.prototype.toString</literal> for different value types. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2263 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2264 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2265 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2266 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2267 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2268 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2269 fixed <literal>Object()</literal> constructor for object types arguments. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2270 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2271 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2272 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2273 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2274 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2275 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2276 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
|
2277 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2278 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2279 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2280 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2281 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2282 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2283 fixed <literal>String.slice()</literal> for undefined arguments. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2284 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2285 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2286 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2287 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2288 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2289 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2290 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
|
2291 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2292 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2293 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2294 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2295 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2296 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2297 </section> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2298 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2299 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2300 <section id="njs0.2.3" name="Changes with njs 0.2.3"> |
2213 | 2301 |
2302 <para> | |
2303 Release Date: | |
2304 31 July 2018 | |
2305 </para> | |
2306 | |
2307 <para> | |
2308 nginx modules: | |
2309 <list type="bullet"> | |
2310 | |
2311 <listitem> | |
2312 <para> | |
2313 Bugfix: | |
2314 making a subrequest from a <literal>Reply</literal> object caused | |
2315 a segmentation fault. | |
2316 </para> | |
2317 </listitem> | |
2318 | |
2319 <listitem> | |
2320 <para> | |
2321 Bugfix: | |
2322 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
|
2323 <link doc="reference.xml" id="http">HTTP Request</link> |
2213 | 2324 object caused a segmentation fault. |
2325 </para> | |
2326 </listitem> | |
2327 | |
2328 </list> | |
2329 </para> | |
2330 | |
2331 <para> | |
2332 Core: | |
2333 <list type="bullet"> | |
2334 | |
2335 <listitem> | |
2336 <para> | |
2337 Feature: | |
2338 added the pretty string representation for values. | |
2339 </para> | |
2340 </listitem> | |
2341 | |
2342 <listitem> | |
2343 <para> | |
2344 Feature: | |
2345 correctly printing floating point numbers. | |
2346 </para> | |
2347 </listitem> | |
2348 | |
2349 <listitem> | |
2350 <para> | |
2351 Feature: | |
2352 correctly parsing floating point numbers. | |
2353 </para> | |
2354 </listitem> | |
2355 | |
2356 <listitem> | |
2357 <para> | |
2358 Feature: | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2359 <link doc="reference.xml" id="string_bytesfrom">String.bytesFrom()</link> method |
2213 | 2360 (decoding <literal>hex</literal>, |
2361 <literal>base64</literal>, | |
2362 <literal>base64url</literal> into a byte string). | |
2363 </para> | |
2364 </listitem> | |
2365 | |
2366 <listitem> | |
2367 <para> | |
2368 Feature: | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2369 <link doc="reference.xml" id="string_padstart">String.padStart()</link> and |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2370 <link doc="reference.xml" id="string_padend">String.padEnd()</link> methods. |
2213 | 2371 </para> |
2372 </listitem> | |
2373 | |
2374 <listitem> | |
2375 <para> | |
2376 Feature: | |
2377 added support of binary literals. | |
2378 </para> | |
2379 </listitem> | |
2380 | |
2381 <listitem> | |
2382 <para> | |
2383 Improvement: | |
2384 added information about illegal token in number parsing. | |
2385 </para> | |
2386 </listitem> | |
2387 | |
2388 <listitem> | |
2389 <para> | |
2390 Improvement: | |
2391 allowed uppercased <literal>O</literal> in octal literal values. | |
2392 </para> | |
2393 </listitem> | |
2394 | |
2395 <listitem> | |
2396 <para> | |
2397 Improvement: | |
2398 added support for multiple arguments in <literal>console.log()</literal>. | |
2399 </para> | |
2400 </listitem> | |
2401 | |
2402 <listitem> | |
2403 <para> | |
2404 Bugfix: | |
2405 fixed applying <literal>call()</literal> to methods of external values. | |
2406 </para> | |
2407 </listitem> | |
2408 | |
2409 <listitem> | |
2410 <para> | |
2411 Bugfix: | |
2412 fixed addition operator applied to an object. | |
2413 </para> | |
2414 </listitem> | |
2415 | |
2416 <listitem> | |
2417 <para> | |
2418 Bugfix: | |
2419 fixed exception handling in <literal>njs_vm_value_to_ext_string()</literal>. | |
2420 </para> | |
2421 </listitem> | |
2422 | |
2423 <listitem> | |
2424 <para> | |
2425 Bugfix: | |
2426 fixed <literal>Number()</literal> with boolean, null and undefined arguments. | |
2427 </para> | |
2428 </listitem> | |
2429 | |
2430 <listitem> | |
2431 <para> | |
2432 Bugfix: | |
2433 fixed error handling of setting non-numeric <literal>Array.length</literal>. | |
2434 </para> | |
2435 </listitem> | |
2436 | |
2437 <listitem> | |
2438 <para> | |
2439 Bugfix: | |
2440 fixed autocompletion for global objects. | |
2441 </para> | |
2442 </listitem> | |
2443 | |
2444 <listitem> | |
2445 <para> | |
2446 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2447 miscellaneous bugs have been fixed. |
2213 | 2448 </para> |
2449 </listitem> | |
2450 | |
2451 </list> | |
2452 </para> | |
2453 | |
2454 </section> | |
2455 | |
2456 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2457 <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
|
2458 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2459 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2460 Release Date: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2461 19 June 2018 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2462 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2463 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2464 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2465 nginx modules: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2466 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2467 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2468 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2469 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2470 Change: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2471 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
|
2472 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
|
2473 New members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2474 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2475 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2476 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2477 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2478 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2479 <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
|
2480 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2481 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2482 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2483 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2484 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2485 <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
|
2486 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2487 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2488 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2489 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2490 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2491 <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
|
2492 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2493 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2494 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2495 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2496 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2497 <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
|
2498 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2499 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2500 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2501 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2502 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2503 <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
|
2504 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2505 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2506 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2507 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2508 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2509 <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
|
2510 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2511 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2512 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2513 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2514 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2515 <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
|
2516 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2517 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2518 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2519 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2520 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2521 <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
|
2522 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2523 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2524 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2525 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2526 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2527 <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
|
2528 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2529 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2530 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2531 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2532 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2533 <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
|
2534 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2535 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2536 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2537 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2538 Deprecated members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2539 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2540 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2541 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2542 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2543 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2544 <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
|
2545 or <literal>req.responseBody</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2546 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2547 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2548 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2549 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2550 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2551 <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
|
2552 or <literal>req.headersOut</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2553 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2554 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2555 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2556 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2557 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2558 <literal>req.response</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2559 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2560 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2561 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2562 </list> |
2363
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2563 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
|
2564 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2565 <list type="bullet"> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2566 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2567 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2568 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2569 <literal>res.contentLength</literal> (use |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2570 <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
|
2571 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2572 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2573 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2574 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2575 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2576 <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
|
2577 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2578 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2579 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2580 </list> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
2581 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
|
2582 <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
|
2583 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2584 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2585 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2586 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2587 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2588 Feature: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2589 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
|
2590 method. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2591 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2592 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2593 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2594 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2595 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2596 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2597 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2598 Core: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2599 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2600 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2601 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2602 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2603 Bugfix: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2604 fixed heap-buffer-overflow in <literal>crypto.createHmac()</literal>. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2605 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2606 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2607 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2608 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2609 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2610 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2611 </section> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2612 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2613 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2614 <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
|
2615 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2616 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2617 Release Date: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2618 31 May 2018 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2619 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2620 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2621 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2622 nginx modules: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2623 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2624 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2625 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2626 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2627 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2628 HTTP request body getter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2629 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2630 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2631 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2632 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2633 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2634 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2635 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
|
2636 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2637 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2638 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2639 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2640 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2641 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2642 improved logging for |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2643 <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
|
2644 <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
|
2645 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2646 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2647 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2648 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2649 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2650 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2651 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
|
2652 <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
|
2653 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2654 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2655 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2656 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2657 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2658 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2659 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
|
2660 <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
|
2661 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2662 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2663 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2664 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2665 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2666 Bugfix: fixed error logging in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2667 <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
|
2668 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2669 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2670 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2671 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2672 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2673 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2674 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2675 Core: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2676 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2677 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2678 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2679 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2680 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2681 added array length setter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2682 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2683 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2684 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2685 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2686 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2687 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2688 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
|
2689 <literal>njs.h</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2690 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2691 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2692 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2693 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2694 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2695 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2696 fixed crypto <literal>update()</literal> method after |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2697 <literal>digest()</literal> is called. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2698 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2699 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2700 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2701 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2702 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2703 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2704 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
|
2705 and > 64. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2706 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2707 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2708 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2709 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2710 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2711 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2712 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
|
2713 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2714 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2715 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2716 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2717 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2718 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2719 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
|
2720 <literal>JSON.stringify()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2721 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2722 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2723 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2724 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2725 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2726 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2727 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
|
2728 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2729 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2730 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2731 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2732 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2733 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2734 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
|
2735 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2736 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2737 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2738 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2739 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2740 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2741 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2742 fixed handling of properties in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2743 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2744 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2745 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2746 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2747 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2748 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2749 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2750 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
|
2751 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2752 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2753 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2754 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2755 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2756 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
|
2757 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2758 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2759 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2760 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2761 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2762 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2763 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
|
2764 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2765 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2766 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2767 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2768 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2769 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2770 miscellaneous bugs have been fixed. |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2771 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2772 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2773 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2774 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2775 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2776 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2777 </section> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2778 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
2779 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2780 <section id="njs0.2.0" name="Changes with njs 0.2.0"> |
2130 | 2781 |
2782 <para> | |
2783 Release Date: | |
2784 3 Apr 2018 | |
2785 </para> | |
2786 | |
2787 <para> | |
2788 <list type="bullet"> | |
2789 | |
2790 <listitem> | |
2791 <para> | |
2792 Feature: | |
2793 reporting njs version by CLI. | |
2794 </para> | |
2795 </listitem> | |
2796 | |
2797 <listitem> | |
2798 <para> | |
2799 Feature: | |
2800 textual description for type converting exceptions. | |
2801 </para> | |
2802 </listitem> | |
2803 | |
2804 <listitem> | |
2805 Feature: | |
2806 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
2807 <literal>clearTimeout()</literal> methods. |
2130 | 2808 </listitem> |
2809 | |
2810 <listitem> | |
2811 <para> | |
2812 Feature: | |
2813 Byte string to | |
2814 <literal>hex</literal>, | |
2815 <literal>base64</literal>, | |
2816 <literal>base64url</literal> encodings. | |
2817 </para> | |
2818 </listitem> | |
2819 | |
2820 <listitem> | |
2821 <para> | |
2822 Feature: | |
2823 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
2824 <literal>Crypto</literal> methods. | |
2825 </para> | |
2826 </listitem> | |
2827 | |
2828 <listitem> | |
2829 <para> | |
2830 Feature: | |
2831 HTTP and stream | |
2832 <literal>warn()</literal> and | |
2833 <literal>error()</literal> methods. | |
2834 </para> | |
2835 </listitem> | |
2836 | |
2837 <listitem> | |
2838 <para> | |
2839 Feature: | |
2840 HTTP <literal>subrequest()</literal> method. | |
2841 </para> | |
2842 </listitem> | |
2843 | |
2844 <listitem> | |
2845 <para> | |
2846 Feature: | |
2847 HTTP <literal>return()</literal> method. | |
2848 </para> | |
2849 </listitem> | |
2850 | |
2851 <listitem> | |
2852 <para> | |
2853 Bugfix: | |
2854 miscellaneous bugs have been fixed in the core and | |
2855 interactive shell. | |
2856 </para> | |
2857 </listitem> | |
2858 | |
2859 </list> | |
2860 </para> | |
2861 | |
2862 </section> | |
2863 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2864 <section id="njs0.1.15" name="Changes with njs 0.1.15"> |
2130 | 2865 |
2866 <para> | |
2867 Release Date: | |
2868 20 Nov 2017 | |
2869 </para> | |
2870 | |
2871 <para> | |
2872 <list type="bullet"> | |
2873 | |
2874 <listitem> | |
2875 <para> | |
2876 Feature: | |
2877 <literal>Error</literal>, | |
2878 <literal>EvalError</literal>, | |
2879 <literal>InternalError</literal>, | |
2880 <literal>RangeError</literal>, | |
2881 <literal>ReferenceError</literal>, | |
2882 <literal>SyntaxError</literal>, | |
2883 <literal>TypeError</literal>, | |
2884 <literal>URIError</literal> objects. | |
2885 </para> | |
2886 </listitem> | |
2887 | |
2888 <listitem> | |
2889 <para> | |
2890 Feature: | |
2891 octal literals support. | |
2892 </para> | |
2893 </listitem> | |
2894 | |
2895 <listitem> | |
2896 <para> | |
2897 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
2898 <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
|
2899 <literal>File system</literal> access methods: |
2130 | 2900 <literal>fs.readFile()</literal>, |
2901 <literal>fs.readFileSync()</literal>, | |
2902 <literal>fs.appendFile()</literal>, | |
2903 <literal>fs.appendFileSync()</literal>, | |
2904 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
2905 <literal>fs.writeFileSync()</literal>. |
2130 | 2906 </para> |
2907 </listitem> | |
2908 | |
2909 <listitem> | |
2910 <para> | |
2911 Feature: | |
2912 nginx modules print backtrace on exception. | |
2913 </para> | |
2914 </listitem> | |
2915 | |
2916 <listitem> | |
2917 <para> | |
2918 Bugfix: | |
2919 miscellaneous bugs have been fixed. | |
2920 </para> | |
2921 </listitem> | |
2922 | |
2923 </list> | |
2924 </para> | |
2925 | |
2926 </section> | |
2927 | |
2928 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2929 <section id="njs0.1.14" name="Changes with njs 0.1.14"> |
2130 | 2930 |
2931 <para> | |
2932 Release Date: | |
2933 09 Oct 2017 | |
2934 </para> | |
2935 | |
2936 <para> | |
2937 <list type="bullet"> | |
2938 | |
2939 <listitem> | |
2940 <para> | |
2941 Feature: | |
2942 JSON object. | |
2943 </para> | |
2944 </listitem> | |
2945 | |
2946 <listitem> | |
2947 <para> | |
2948 Feature: | |
2949 object level completions in interactive shell. | |
2950 </para> | |
2951 </listitem> | |
2952 | |
2953 <listitem> | |
2954 <para> | |
2955 Feature: | |
2956 various configure improvements. | |
2957 </para> | |
2958 </listitem> | |
2959 | |
2960 <listitem> | |
2961 <para> | |
2962 Bugfix: | |
2963 miscellaneous bugs have been fixed in the core and | |
2964 interactive shell. | |
2965 </para> | |
2966 </listitem> | |
2967 | |
2968 </list> | |
2969 </para> | |
2970 | |
2971 </section> | |
2972 | |
2973 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2974 <section id="njs0.1.13" name="Changes with njs 0.1.13"> |
2130 | 2975 |
2976 <para> | |
2977 Release Date: | |
2978 31 Aug 2017 | |
2979 </para> | |
2980 | |
2981 <para> | |
2982 <list type="bullet"> | |
2983 | |
2984 <listitem> | |
2985 <para> | |
2986 Feature: | |
2987 <literal>console.log()</literal> and | |
2988 <literal>console.help()</literal> | |
2989 methods in interactive shell. | |
2990 </para> | |
2991 </listitem> | |
2992 | |
2993 <listitem> | |
2994 <para> | |
2995 Feature: | |
2996 interactive shell prints backtrace on exception. | |
2997 </para> | |
2998 </listitem> | |
2999 | |
3000 <listitem> | |
3001 <para> | |
3002 Feature: | |
3003 interactive shell by default | |
3004 if <literal>libedit</literal> is available. | |
3005 </para> | |
3006 </listitem> | |
3007 | |
3008 <listitem> | |
3009 <para> | |
3010 Bugfix: | |
3011 processing of large files from | |
3012 <literal>stdin</literal> in command line mode. | |
3013 </para> | |
3014 </listitem> | |
3015 | |
3016 <listitem> | |
3017 <para> | |
3018 Bugfix: | |
3019 improved <literal>editline</literal> detection. | |
3020 </para> | |
3021 </listitem> | |
3022 | |
3023 </list> | |
3024 </para> | |
3025 | |
3026 </section> | |
3027 | |
3028 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3029 <section id="njs0.1.12" name="Changes with njs 0.1.12"> |
2130 | 3030 |
3031 <para> | |
3032 Release Date: | |
3033 08 Aug 2017 | |
3034 </para> | |
3035 | |
3036 <para> | |
3037 <list type="bullet"> | |
3038 | |
3039 <listitem> | |
3040 <para> | |
3041 Feature: | |
3042 Interactive shell. | |
3043 </para> | |
3044 </listitem> | |
3045 | |
3046 <listitem> | |
3047 <para> | |
3048 Bugfix: | |
3049 in <literal>Object.isSealed()</literal>. | |
3050 </para> | |
3051 </listitem> | |
3052 | |
3053 </list> | |
3054 </para> | |
3055 | |
3056 </section> | |
3057 | |
3058 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3059 <section id="njs0.1.11" name="Changes with njs 0.1.11"> |
2130 | 3060 |
3061 <para> | |
3062 Release Date: | |
3063 27 Jun 2017 | |
3064 </para> | |
3065 | |
3066 <para> | |
3067 <list type="bullet"> | |
3068 | |
3069 <listitem> | |
3070 <para> | |
3071 Feature: | |
3072 <literal>Object.keys()</literal>, | |
3073 <literal>Object.prototype.hasOwnProperty()</literal> | |
3074 methods. | |
3075 </para> | |
3076 </listitem> | |
3077 | |
3078 <listitem> | |
3079 <para> | |
3080 Feature: | |
3081 <literal>Object.defineProperty()</literal>, | |
3082 <literal>Object.defineProperties()</literal>, | |
3083 <literal>Object.getOwnPropertyDescriptor()</literal> | |
3084 methods. | |
3085 </para> | |
3086 </listitem> | |
3087 | |
3088 <listitem> | |
3089 <para> | |
3090 Feature: | |
3091 <literal>Object.getPrototypeOf()</literal>, | |
3092 <literal>Object.prototype.isPrototypeOf()</literal> | |
3093 methods. | |
3094 </para> | |
3095 </listitem> | |
3096 | |
3097 <listitem> | |
3098 <para> | |
3099 Feature: | |
3100 <literal>Object.preventExtensions()</literal>, | |
3101 <literal>Object.isExtensible()</literal>, | |
3102 <literal>Object.freeze()</literal>, | |
3103 <literal>Object.isFrozen()</literal>, | |
3104 <literal>Object.seal()</literal>, | |
3105 <literal>Object.isSealed()</literal> | |
3106 methods. | |
3107 </para> | |
3108 </listitem> | |
3109 | |
3110 <listitem> | |
3111 <para> | |
3112 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3113 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 3114 </para> |
3115 </listitem> | |
3116 | |
3117 <listitem> | |
3118 <para> | |
3119 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3120 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 3121 </para> |
3122 </listitem> | |
3123 | |
3124 <listitem> | |
3125 <para> | |
3126 Bugfix: | |
3127 processing of large array indexes. | |
3128 </para> | |
3129 </listitem> | |
3130 | |
3131 <listitem> | |
3132 <para> | |
3133 Bugfix: | |
3134 in <literal>parseInt()</literal> and | |
3135 <literal>Date.parse()</literal>. | |
3136 </para> | |
3137 </listitem> | |
3138 | |
3139 </list> | |
3140 </para> | |
3141 | |
3142 </section> | |
3143 | |
3144 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3145 <section id="njs0.1.10" name="Changes with njs 0.1.10"> |
2130 | 3146 |
3147 <para> | |
3148 Release Date: | |
3149 04 Apr 2017 | |
3150 </para> | |
3151 | |
3152 <para> | |
3153 <list type="bullet"> | |
3154 | |
3155 <listitem> | |
3156 <para> | |
3157 Feature: | |
3158 nested functions and function closures. | |
3159 </para> | |
3160 </listitem> | |
3161 | |
3162 <listitem> | |
3163 <para> | |
3164 Feature: | |
3165 <literal>Array.of()</literal>, | |
3166 <literal>Array.prototype.fill()</literal>, | |
3167 <literal>Array.prototype.find()</literal>, | |
3168 <literal>Array.prototype.findIndex()</literal> | |
3169 methods. | |
3170 </para> | |
3171 </listitem> | |
3172 | |
3173 <listitem> | |
3174 <para> | |
3175 Bugfix: | |
3176 miscellaneous bugs and segmentation faults have been fixed. | |
3177 </para> | |
3178 </listitem> | |
3179 | |
3180 </list> | |
3181 </para> | |
3182 | |
3183 </section> | |
3184 | |
3185 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3186 <section id="njs0.1.9" name="Changes with njs 0.1.9"> |
2130 | 3187 |
3188 <para> | |
3189 Release Date: | |
3190 01 Feb 2017 | |
3191 </para> | |
3192 | |
3193 <para> | |
3194 <list type="bullet"> | |
3195 | |
3196 <listitem> | |
3197 <para> | |
3198 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3199 global variables were not initialized when njs was used |
2130 | 3200 in nginx. |
3201 </para> | |
3202 </listitem> | |
3203 | |
3204 </list> | |
3205 </para> | |
3206 | |
3207 </section> | |
3208 | |
3209 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3210 <section id="njs0.1.8" name="Changes with njs 0.1.8"> |
2130 | 3211 |
3212 <para> | |
3213 Release Date: | |
3214 24 Jan 2017 | |
3215 </para> | |
3216 | |
3217 <para> | |
3218 <list type="bullet"> | |
3219 | |
3220 <listitem> | |
3221 <para> | |
3222 Change: | |
3223 the <literal>strict</literal> mode is enforced, | |
3224 variables must be explicitly declared. | |
3225 </para> | |
3226 </listitem> | |
3227 | |
3228 | |
3229 <listitem> | |
3230 <para> | |
3231 Feature: | |
3232 <literal>for</literal> and | |
3233 <literal>for-in</literal> loops support variable declaration. | |
3234 </para> | |
3235 </listitem> | |
3236 | |
3237 <listitem> | |
3238 <para> | |
3239 Bugfix: | |
3240 global and function scopes have been fixed. | |
3241 </para> | |
3242 </listitem> | |
3243 | |
3244 <listitem> | |
3245 <para> | |
3246 Bugfix: | |
3247 now <literal>for-in</literal> loop does not discard the last value | |
3248 of property variable. | |
3249 </para> | |
3250 </listitem> | |
3251 | |
3252 <listitem> | |
3253 <para> | |
3254 Bugfix: | |
3255 miscellaneous bugs and segmentation faults have been fixed. | |
3256 </para> | |
3257 </listitem> | |
3258 | |
3259 </list> | |
3260 </para> | |
3261 | |
3262 </section> | |
3263 | |
3264 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3265 <section id="njs0.1.7" name="Changes with njs 0.1.7"> |
2130 | 3266 |
3267 <para> | |
3268 Release Date: | |
3269 27 Dec 2016 | |
3270 </para> | |
3271 | |
3272 <para> | |
3273 <list type="bullet"> | |
3274 | |
3275 <listitem> | |
3276 <para> | |
3277 Change: | |
3278 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
3279 has been disabled at server and location levels. | |
3280 </para> | |
3281 </listitem> | |
3282 | |
3283 <listitem> | |
3284 <para> | |
3285 Feature: | |
3286 exponentiation operators. | |
3287 </para> | |
3288 </listitem> | |
3289 | |
3290 <listitem> | |
3291 <para> | |
3292 Bugfix: | |
3293 miscellaneous bugs and segmentation faults have been fixed. | |
3294 </para> | |
3295 </listitem> | |
3296 | |
3297 </list> | |
3298 </para> | |
3299 | |
3300 </section> | |
3301 | |
3302 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3303 <section id="njs0.1.6" name="Changes with njs 0.1.6"> |
2130 | 3304 |
3305 <para> | |
3306 Release Date: | |
3307 13 Dec 2016 | |
3308 </para> | |
3309 | |
3310 <para> | |
3311 <list type="bullet"> | |
3312 | |
3313 <listitem> | |
3314 <para> | |
3315 Change: | |
3316 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
3317 has been disabled at server and location levels. | |
3318 </para> | |
3319 </listitem> | |
3320 | |
3321 <listitem> | |
3322 <para> | |
3323 Feature: | |
3324 ES6 <literal>Math</literal> methods. | |
3325 </para> | |
3326 </listitem> | |
3327 | |
3328 <listitem> | |
3329 <para> | |
3330 Bugfix: | |
3331 miscellaneous bugs and segmentation faults have been fixed. | |
3332 </para> | |
3333 </listitem> | |
3334 | |
3335 </list> | |
3336 </para> | |
3337 | |
3338 </section> | |
3339 | |
3340 </article> |