Mercurial > hg > nginx-site
comparison xml/en/docs/njs/changes.xml @ 2507:8ad2ea80e0c2
njs-0.3.9
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 03 Mar 2020 15:45:30 +0000 |
parents | 805c4b84cc61 |
children | 051b111d06b3 |
comparison
equal
deleted
inserted
replaced
2506:feb8b843e482 | 2507:8ad2ea80e0c2 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Changes" | 9 <article name="Changes" |
10 link="/en/docs/njs/changes.html" | 10 link="/en/docs/njs/changes.html" |
11 lang="en" | 11 lang="en" |
12 rev="27" | 12 rev="28" |
13 toc="no"> | 13 toc="no"> |
14 | |
15 <section id="njs0.3.9" name="Changes with njs 0.3.9"> | |
16 | |
17 <para> | |
18 Release Date: | |
19 03 March 2020 | |
20 </para> | |
21 | |
22 <para> | |
23 nginx modules: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 added detached mode for | |
30 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
31 Responses to detached subrequests are ignored. | |
32 Unlike ordinary subrequests, | |
33 a detached subrequest can be created inside a variable handler. | |
34 </para> | |
35 </listitem> | |
36 | |
37 </list> | |
38 </para> | |
39 | |
40 <para> | |
41 Core: | |
42 <list type="bullet"> | |
43 | |
44 <listitem> | |
45 <para> | |
46 Feature: | |
47 added <literal>promises</literal> API for | |
48 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
49 Thanks to Artem S. Povalyukhin. | |
50 </para> | |
51 </listitem> | |
52 | |
53 <listitem> | |
54 <para> | |
55 Feature: | |
56 extended <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
57 module. | |
58 Added | |
59 <link doc="reference.xml" id="fs_accesssync"><literal>access()</literal></link>, | |
60 <link doc="reference.xml" id="fs_symlinksync"><literal>symlink()</literal></link>, | |
61 <link doc="reference.xml" id="fs_unlinksync"><literal>unlink()</literal></link>, | |
62 <link doc="reference.xml" id="fs_realpathsync"><literal>realpath()</literal></link>, | |
63 and friends. | |
64 Thanks to Artem S. Povalyukhin. | |
65 </para> | |
66 </listitem> | |
67 | |
68 <listitem> | |
69 <para> | |
70 Improvement: | |
71 introduced memory-efficient ordinary arrays. | |
72 </para> | |
73 </listitem> | |
74 | |
75 <listitem> | |
76 <para> | |
77 Improvement: | |
78 lexer refactoring. | |
79 </para> | |
80 </listitem> | |
81 | |
82 <listitem> | |
83 <para> | |
84 Bugfix: | |
85 fixed matching of native functions in backtraces. | |
86 </para> | |
87 </listitem> | |
88 | |
89 <listitem> | |
90 <para> | |
91 Bugfix: | |
92 fixed callback invocations in | |
93 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
94 Thanks to Artem S. Povalyukhin. | |
95 </para> | |
96 </listitem> | |
97 | |
98 <listitem> | |
99 <para> | |
100 Bugfix: | |
101 fixed <literal>Object.getOwnPropertySymbols()</literal>. | |
102 </para> | |
103 </listitem> | |
104 | |
105 <listitem> | |
106 <para> | |
107 Bugfix: | |
108 fixed heap-buffer-overflow in | |
109 <literal>njs_json_append_string()</literal>. | |
110 </para> | |
111 </listitem> | |
112 | |
113 <listitem> | |
114 <para> | |
115 Bugfix: | |
116 fixed | |
117 <link doc="reference.xml" id="encodeuri"><literal>encodeURI()</literal></link> | |
118 and | |
119 <link doc="reference.xml" id="decodeuri"><literal>decodeURI()</literal></link> | |
120 according to the specification. | |
121 </para> | |
122 </listitem> | |
123 | |
124 <listitem> | |
125 <para> | |
126 Bugfix: | |
127 fixed <literal>Number.prototype.toPrecision()</literal>. | |
128 </para> | |
129 </listitem> | |
130 | |
131 <listitem> | |
132 <para> | |
133 Bugfix: | |
134 fixed handling of space argument in | |
135 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>. | |
136 </para> | |
137 </listitem> | |
138 | |
139 <listitem> | |
140 <para> | |
141 Bugfix: | |
142 fixed | |
143 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> | |
144 with | |
145 <literal>Number()</literal> and | |
146 <literal>String()</literal> | |
147 objects. | |
148 </para> | |
149 </listitem> | |
150 | |
151 <listitem> | |
152 <para> | |
153 Bugfix: | |
154 fixed Unicode Escaping in | |
155 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> | |
156 according to specification. | |
157 </para> | |
158 </listitem> | |
159 | |
160 <listitem> | |
161 <para> | |
162 Bugfix: | |
163 fixed non-native module importing. | |
164 Thanks to 洪志道 (Hong Zhi Dao). | |
165 </para> | |
166 </listitem> | |
167 | |
168 <listitem> | |
169 <para> | |
170 Bugfix: | |
171 fixed | |
172 <literal>njs.dump()</literal> with the | |
173 <literal>Date()</literal> | |
174 instance in a container. | |
175 </para> | |
176 </listitem> | |
177 | |
178 </list> | |
179 </para> | |
180 | |
181 </section> | |
182 | |
14 | 183 |
15 <section id="njs0.3.8" name="Changes with njs 0.3.8"> | 184 <section id="njs0.3.8" name="Changes with njs 0.3.8"> |
16 | 185 |
17 <para> | 186 <para> |
18 Release Date: | 187 Release Date: |
696 | 865 |
697 <listitem> | 866 <listitem> |
698 <para> | 867 <para> |
699 Feature: | 868 Feature: |
700 added | 869 added |
701 <link doc="reference.xml" id="renamesync"><literal>fs.renameSync()</literal></link>. | 870 <link doc="reference.xml" id="fs_renamesync"><literal>fs.renameSync()</literal></link>. |
702 </para> | 871 </para> |
703 </listitem> | 872 </listitem> |
704 | 873 |
705 <listitem> | 874 <listitem> |
706 <para> | 875 <para> |