comparison xml/en/docs/njs/changes.xml @ 2353:21f3a93fbe97

njs-0.3.0
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 26 Mar 2019 17:19:37 +0300
parents 5eba0f7b24a9
children 7952cd8af485
comparison
equal deleted inserted replaced
2352:1101e24c6d14 2353:21f3a93fbe97
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="14" 12 rev="15"
13 toc="no"> 13 toc="no">
14
15 <section id="njs0.3.0" name="Changes with 0.3.0">
16
17 <para>
18 Release Date:
19 26 March 2019
20 </para>
21
22 <para>
23 nginx modules:
24 <list type="bullet">
25
26 <listitem>
27 <para>
28 Feature:
29 added the <literal>js_path</literal> directive for
30 <link doc="../http/ngx_http_js_module.xml" id="js_path">http</link> and
31 <link doc="../stream/ngx_stream_js_module.xml" id="js_path">stream</link>.
32 </para>
33 </listitem>
34
35 <listitem>
36 <para>
37 Change:
38 returning undefined value instead of empty strings
39 for absent properties in the following objects:
40 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>,
41 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>,
42 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>,
43 <link doc="reference.xml" id="r_variables"><literal>r.variables{}</literal></link>,
44 <link doc="reference.xml" id="s_variables"><literal>s.variables{}</literal></link>.
45 </para>
46 </listitem>
47
48 <listitem>
49 <para>
50 Change:
51 returning undefined value instead of throwing an exception for
52 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link>
53 when request body is unavailable.
54 </para>
55 </listitem>
56
57 <listitem>
58 <para>
59 Bugfix:
60 fixed crash while iterating over
61 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>
62 when a value is absent in a key-value pair.
63 </para>
64 </listitem>
65
66 </list>
67 </para>
68
69 <para>
70 Core:
71 <list type="bullet">
72
73 <listitem>
74 <para>
75 Feature:
76 added initial ES6 modules support.
77 Default import and default export statements are supported.
78 Thanks to 洪志道 (Hong Zhi Dao).
79 </para>
80 </listitem>
81
82 <listitem>
83 <para>
84 Feature:
85 added <literal>Object.prototype.propertyIsEnumerable()</literal>.
86 </para>
87 </listitem>
88
89 <listitem>
90 <para>
91 Feature:
92 reporting file name and function name in disassembler output.
93 </para>
94 </listitem>
95
96 <listitem>
97 <para>
98 Bugfix:
99 fixed function redeclarations in interactive shell.
100 Thanks to 洪志道 (Hong Zhi Dao).
101 </para>
102 </listitem>
103
104 <listitem>
105 <para>
106 Bugfix:
107 fixed RegExp literals parsing.
108 </para>
109 </listitem>
110
111 <listitem>
112 <para>
113 Bugfix:
114 fixed setting length of UTF8 string in
115 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>.
116 </para>
117 </listitem>
118
119 <listitem>
120 <para>
121 Bugfix:
122 fixed <literal>nxt_file_dirname()</literal> for paths with no dir component.
123 </para>
124 </listitem>
125
126 </list>
127 </para>
128
129 </section>
130
14 131
15 <section id="njs0.2.8" name="Changes with 0.2.8"> 132 <section id="njs0.2.8" name="Changes with 0.2.8">
16 133
17 <para> 134 <para>
18 Release Date: 135 Release Date: