From: Dmitry Volyntsev Date: Mon, 12 Jan 2026 23:01:50 +0000 (-0800) Subject: Version 0.9.5. X-Git-Tag: 0.9.5 X-Git-Url: http://www.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=b9ac319d8bfa696e3943bebbe494e8e723952bdf;p=njs.git Version 0.9.5. --- diff --git a/CHANGES b/CHANGES index 1b5eb546..0f0c6730 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,47 @@ +Changes with njs 0.9.5 13 Jan 2026 + + nginx modules: + + *) Feature: added native module support for QuickJS engine. + The following directives were added: js_load_http_native_module, + js_load_stream_native_module. + + *) Bugfix: fixed js_body_filter with multiple chunks for QuickJS + engine. + + *) Bugfix: fixed buffer_type inheritance in if blocks for js_body_filter. + Previously, when js_body_filter was used inside an if block, + the data parameter received Buffer type instead of the expected + String type. + + *) Bugfix: fixed js_body_filter when data is not in memory. + Previously, when upstream data was delivered from nginx cache, + js_body_filter was not able to process it correctly. + + *) Bugfix: improved r.subrequest() error handling. + Fixed a problem of a lost write event when the njs handler + making r.subrequest() is called from a lua handler as a + subrequest. + + Core: + + *) Bugfix: fixed XMLAttr object. + Pointer to xmlAttr could become invalid when the parent XMLNode + was modified. + + *) Bugfix: fixed XMLNode update. + + *) Bugfix: fixed ArrayBuffer with detached buffers. + + *) Bugfix: added missing detached array checks. + + *) Bugfix: fixed fs.mkdir() and friends. + + *) Bugfix: fixed path restoration in fs.mkdir() and friends on + error. + + *) Bugfix: fixed missed allocation check in promise code. + Changes with njs 0.9.4 28 Oct 2025 nginx modules: