From 9d4bf6c60aa60a828609f64d1b5c50f71bb7ef62 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Mon, 24 Jun 2024 17:09:07 -0700 Subject: [PATCH] Version 0.8.5. --- CHANGES | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/CHANGES b/CHANGES index 348964f3..32eb840f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,53 @@ +Changes with njs 0.8.5 25 Jun 2024 + + nginx modules: + + *) Change: r.variables.var, r.requestText, r.responseText, + s.variables.var, and the "data" argument of the s.on() callback + with "upload" or "download" event types will now convert bytes + invalid in UTF-8 encoding into the replacement character. When + working with binary data, use r.rawVariables.var, r.requestBuffer, + r.responseBuffer, s.rawVariables.var, and the "upstream" or + "downstream" event type for s.on() instead. + + *) Feature: added timeout argument for shared dictionary methods + add(), set() and incr(). + + *) Bugfix: fixed checking for duplicate js_set variables. + + *) Bugfix: fixed request Host header when the port is non-standard. + + *) Bugfix: fixed handling of a zero-length request body in ngx.fetch() + and r.subrequest(). + + *) Bugfix: fixed heap-buffer-overflow in Headers.get(). + + *) Bugfix: fixed r.subrequest() error handling. + + Core: + + *) Feature: added zlib module for QuickJS engine. + + *) Bugfix: fixed zlib.inflate(). + + *) Bugfix: fixed String.prototype.replaceAll() with zero-length + argument. + + *) Bugfix: fixed retval handling after an exception in + Array.prototype.toSpliced(), Array.prototype.toReversed(), + Array.prototype.toSorted(). + + *) Bugfix: fixed RegExp.prototype[@@replace]() with replacements + containing "$'", "$\`" and strings with Unicode characters. + + *) Bugfix: fixed a one-byte overread in decodeURI() and + decodeURIComponent(). + + *) Bugfix: fixed tracking of argument scope. + + *) Bugfix: fixed integer overflow in Date.parse(). + + Changes with njs 0.8.4 16 Apr 2024 nginx modules: -- 2.47.3