Skip to content

Commit 6c6b769

Browse files
xeioexy82
authored andcommitted
njs-0.8.10.
1 parent e3789f3 commit 6c6b769

File tree

2 files changed

+183
-1
lines changed

2 files changed

+183
-1
lines changed

Diff for: xml/en/docs/njs/changes.xml

+172-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,180 @@
99
<article name="Changes"
1010
link="/en/docs/njs/changes.html"
1111
lang="en"
12-
rev="75"
12+
rev="76"
1313
toc="no">
1414

15+
<section id="njs0.8.10" name="Changes with njs 0.8.10">
16+
17+
<para>
18+
Release Date:
19+
08 April 2025
20+
</para>
21+
22+
<para>
23+
nginx modules:
24+
<list type="bullet">
25+
26+
<listitem>
27+
<para>
28+
Feature:
29+
reading <link doc="reference.xml" id="r_request_text"><literal>r.requestText</literal></link>
30+
or
31+
<link doc="reference.xml" id="r_request_buffer"><literal>r.requestBuffer</literal></link>
32+
from a temporary file.
33+
Previously, an exception was thrown when accessing
34+
<link doc="reference.xml" id="r_request_text"><literal>r.requestText</literal></link>
35+
or
36+
<link doc="reference.xml" id="r_request_buffer"><literal>r.requestBuffer</literal></link>
37+
if the size of the client request body exceeded
38+
<link doc="../http/ngx_http_core_module.xml" id="client_body_buffer_size"><literal>client_body_buffer_size</literal></link>.
39+
</para>
40+
</listitem>
41+
42+
<listitem>
43+
<para>
44+
Improvement:
45+
improved reporting of unhandled promise rejections.
46+
</para>
47+
</listitem>
48+
49+
<listitem>
50+
<para>
51+
Bugfix:
52+
fixed name corruption in variables and headers processing.
53+
</para>
54+
</listitem>
55+
56+
<listitem>
57+
<para>
58+
Bugfix:
59+
fixed <link doc="reference.xml" id="dict_incr"><literal>incr()</literal></link>
60+
method of a shared dictionary with an empty init argument for the
61+
<link doc="engine.xml">QuickJS</link> engine.
62+
</para>
63+
</listitem>
64+
65+
<listitem>
66+
<para>
67+
Bugfix:
68+
accepting response headers with underscore characters in
69+
<link doc="reference.xml" id="ngx_fetch">Fetch API</link>.
70+
</para>
71+
</listitem>
72+
73+
</list>
74+
</para>
75+
76+
<para>
77+
Core:
78+
<list type="bullet">
79+
80+
<listitem>
81+
<para>
82+
Change:
83+
fixed
84+
<link doc="reference.xml" id="xml_serialize_tostring"><literal>serializeToString()</literal></link>.
85+
Previously, <link doc="reference.xml" id="xml_serialize_tostring"><literal>serializeToString()</literal></link> was
86+
<link doc="reference.xml" id="xml_exclusivec14n"><literal>exclusiveC14n()</literal></link>
87+
which returned a string instead of Buffer.
88+
According to the published documentation, it
89+
should be <link doc="reference.xml" id="xml_c14n"><literal>c14n()</literal></link>.
90+
</para>
91+
</listitem>
92+
93+
<listitem>
94+
<para>
95+
Feature:
96+
added
97+
<link doc="reference.xml" id="builtin_crypto"><literal>WebCrypto</literal></link>
98+
API for the
99+
<link doc="engine.xml">QuickJS</link> engine.
100+
</para>
101+
</listitem>
102+
103+
<listitem>
104+
<para>
105+
Feature:
106+
added <link doc="reference.xml" id="textencoder"><literal>TextEncoder</literal></link>
107+
and
108+
<link doc="reference.xml" id="textdecoder"><literal>TextDecoder</literal></link>
109+
for the
110+
<link doc="engine.xml">QuickJS</link> engine.
111+
</para>
112+
</listitem>
113+
114+
<listitem>
115+
<para>
116+
Feature:
117+
added <link doc="reference.xml" id="querystring"><literal>querystring</literal></link>
118+
module for the
119+
<link doc="engine.xml">QuickJS</link> engine.
120+
</para>
121+
</listitem>
122+
123+
<listitem>
124+
<para>
125+
Feature:
126+
added <link doc="reference.xml" id="crypto"><literal>crypto</literal></link>
127+
module for the
128+
<link doc="engine.xml">QuickJS</link> engine.
129+
</para>
130+
</listitem>
131+
132+
<listitem>
133+
<para>
134+
Feature:
135+
added <link doc="reference.xml" id="xml"><literal>xml</literal></link> module
136+
for the
137+
<link doc="engine.xml">QuickJS</link> engine.
138+
</para>
139+
</listitem>
140+
141+
<listitem>
142+
<para>
143+
Feature:
144+
added support for the <literal>QuickJS-NG</literal> library.
145+
</para>
146+
</listitem>
147+
148+
<listitem>
149+
<para>
150+
Bugfix:
151+
fixed
152+
<link doc="reference.xml" id="buffer_concat"><literal>Buffer.concat()</literal></link>
153+
with a single argument in <link doc="engine.xml">QuickJS</link>.
154+
</para>
155+
</listitem>
156+
157+
<listitem>
158+
<para>
159+
Bugfix:
160+
added missed syntax error for <literal>await</literal> in template literal.
161+
</para>
162+
</listitem>
163+
164+
<listitem>
165+
<para>
166+
Bugfix:
167+
fixed non-NULL terminated strings formatting in exceptions for the
168+
<link doc="engine.xml">QuickJS</link> engine.
169+
</para>
170+
</listitem>
171+
172+
<listitem>
173+
<para>
174+
Bugfix:
175+
fixed compatibility with recent change in <link doc="engine.xml">QuickJS</link>
176+
and <literal>QuickJS-NG</literal>.
177+
</para>
178+
</listitem>
179+
180+
</list>
181+
</para>
182+
183+
</section>
184+
185+
15186
<section id="njs0.8.9" name="Changes with njs 0.8.9">
16187

17188
<para>

Diff for: xml/index.xml

+11
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@
2727
<year href="2009.html" year="2009" />
2828
</years>
2929

30+
<event date="2025-04-08">
31+
<para>
32+
<link doc="en/docs/njs/index.xml">njs-0.8.10</link>
33+
version has been
34+
<link doc="en/docs/njs/changes.xml" id="njs0.8.10">released</link>,
35+
featuring
36+
WebCrypto API, TextEncoder/TextDecoder, querystring, crypto, and xml modules
37+
for the <link doc="en/docs/njs/engine.xml">QuickJS</link> engine.
38+
</para>
39+
</event>
40+
3041
<event date="2025-02-26">
3142
<para>
3243
<link url="https://unit.nginx.org/">unit-1.34.2</link> bugfix version has been

0 commit comments

Comments
 (0)