comparison xml/en/docs/njs/changes.xml @ 2889:6a4f8a0d669f

njs-0.7.7.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 30 Aug 2022 21:05:13 +0100
parents 60851da88db6
children cb5c3541cc30
comparison
equal deleted inserted replaced
2888:88956e57f930 2889:6a4f8a0d669f
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="53" 12 rev="54"
13 toc="no"> 13 toc="no">
14
15 <section id="njs0.7.7" name="Changes with njs 0.7.7">
16
17 <para>
18 Release Date:
19 30 August 2022
20 </para>
21
22 <para>
23 nginx modules:
24 <list type="bullet">
25
26 <listitem>
27 <para>
28 Feature:
29 the number of nginx configuration contexts where
30 js directives can be specified is extended.
31
32 <list type="bullet">
33
34 <listitem id="contexts">
35 <para>
36 HTTP:
37 the <link doc="../http/ngx_http_js_module.xml" id="js_import"/>,
38 <link doc="../http/ngx_http_js_module.xml" id="js_path"/>,
39 <link doc="../http/ngx_http_js_module.xml" id="js_set"/>, and
40 <link doc="../http/ngx_http_js_module.xml" id="js_var"/> directives
41 are allowed in
42 <literal>server</literal> and <literal>location</literal> contexts.
43 The <link doc="../http/ngx_http_js_module.xml" id="js_content"/>,
44 <link doc="../http/ngx_http_js_module.xml" id="js_body_filter"/> and
45 <link doc="../http/ngx_http_js_module.xml" id="js_header_filter"/>
46 are allowed in
47 <link doc="../http/ngx_http_rewrite_module.xml" id="if"/> context.
48 </para>
49 </listitem>
50
51 <listitem>
52 <para>
53 Stream:
54 the <link doc="../http/ngx_http_js_module.xml" id="js_import"/>,
55 <link doc="../http/ngx_http_js_module.xml" id="js_path"/>,
56 <link doc="../http/ngx_http_js_module.xml" id="js_set"/>, and
57 <link doc="../http/ngx_http_js_module.xml" id="js_var"/>
58 are allowed in
59 <literal>server</literal> context.
60 </para>
61 </listitem>
62
63 </list>
64
65 </para>
66 </listitem>
67
68 <listitem>
69 <para>
70 Feature:
71 added
72 <link doc="reference.xml" id="r_internal"><literal>r.internal</literal></link>
73 property.
74 </para>
75 </listitem>
76
77 <listitem>
78 <para>
79 Bugfix:
80 fixed reading response body in
81 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>.
82 </para>
83 </listitem>
84
85 <listitem>
86 <para>
87 Bugfix:
88 fixed
89 <link doc="../stream/ngx_stream_js_module.xml" id="js_fetch_timeout"/>
90 in <link doc="../stream/ngx_stream_js_module.xml">stream</link>.
91 </para>
92 </listitem>
93
94 <listitem>
95 <para>
96 Bugfix:
97 fixed socket leak with <literal>0</literal> fetch timeout.
98 </para>
99 </listitem>
100
101 </list>
102 </para>
103
104 <para>
105 Core:
106 <list type="bullet">
107
108 <listitem>
109 <para>
110 Feature:
111 extended
112 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module.
113 Added
114 <link doc="reference.xml" id="fs_opensync"><literal>fs.openSync()</literal></link>,
115 <link doc="reference.xml" id="fs_promises_open"><literal>fs.promises.open()</literal></link>,
116 <link doc="reference.xml" id="fs_fstatsync"><literal>fs.fstatSync()</literal></link>,
117 <link doc="reference.xml" id="fs_readsync"><literal>fs.readSync()</literal></link>,
118 <link doc="reference.xml" id="fs_writesync_buf"><literal>fs.writeSync()</literal></link>.
119 </para>
120
121 <para>
122 The following properties of
123 <link doc="reference.xml" id="fs_filehandle"><literal>FileHandle</literal></link>
124 are implemented:
125 <literal>fd</literal>,
126 <literal>read()</literal>,
127 <literal>stat()</literal>,
128 <literal>write()</literal>,
129 <literal>close()</literal>.
130 </para>
131 </listitem>
132
133 <listitem>
134 <para>
135 Bugfix:
136 fixed <literal>parseInt()</literal>,
137 <literal>parseFloat()</literal>,
138 <literal>Symbol.for()</literal>
139 with no arguments.
140 </para>
141 </listitem>
142
143 </list>
144 </para>
145
146 </section>
147
14 148
15 <section id="njs0.7.6" name="Changes with njs 0.7.6"> 149 <section id="njs0.7.6" name="Changes with njs 0.7.6">
16 150
17 <para> 151 <para>
18 Release Date: 152 Release Date: