From 822303e23cb489efdc4fa3ca321f8468a2dd17fa Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 26 Oct 2023 14:26:53 +0100 Subject: Version bump. --- docs/changes.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index cd28bec3..74cd5db7 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -5,6 +5,36 @@ + + + + +NGINX Unit updated to 1.32.0. + + + + + + + + + + + +$request_id variable contains a string that is formed using random data and +can be used as a unique request identifier. + + + -- cgit From 1443d623d4b5d59e4463e025b4125be9a5aa3436 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Fri, 17 Nov 2023 17:27:31 +0000 Subject: Node.js: ServerResponse.flushHeaders() implemented. This closes #1006 issue on GitHub. Reviewed-by: Andrew Clayton --- docs/changes.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 2c01a1e0..6b1aaf71 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -33,6 +33,13 @@ can be used as a unique request identifier. + + +ServerRequest.flushHeaders() implemented in Node.js module to make it compatible +with Next.js. + + + -- cgit From 6452ca111c71188ab2813c763e6a0e86b48fbd56 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 25 Jan 2024 12:49:47 +0000 Subject: Node.js: fixed "httpVersion" variable format According to the Node.js documenation this variable should only include numbering scheme. Thanks to @dbit-xia. Closes: https://github.com/nginx/unit/issues/1085 --- docs/changes.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 6b1aaf71..f226e4f4 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -40,6 +40,13 @@ with Next.js. + + +ServerRequest.httpVersion variable format in Node.js module. + + + + -- cgit From dcbff27d9bc88c9e2049c52a441fa67d36ca7efc Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Mon, 29 Jan 2024 20:07:53 +0800 Subject: Docs: Update changes.xml for conditional access logging --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index f226e4f4..50867856 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -26,6 +26,12 @@ NGINX Unit updated to 1.32.0. + + +conditional access logging. + + + $request_id variable contains a string that is formed using random data and -- cgit From 3a2687bb714226ab13111cac2149afc660fa70e7 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Tue, 17 Oct 2023 16:22:44 -0700 Subject: Packages: added Ubuntu 23.10 "mantic" support. --- docs/changes.xml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 50867856..428da0ba 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -5,16 +5,43 @@ + + + + +Initial release of Java 21 module for NGINX Unit. + + + + + + + + + + +Initial release of Python 3.12 module for NGINX Unit. + + + + + + Date: Wed, 14 Feb 2024 18:16:01 +0000 Subject: fix: Take options as well as requestListener (#1091) * Take options as well as requestListener Unit-http have not kept up with the signature of nodejs's http package development. Nodejs allows an optional `options` object to be passed to the `createServer` function, we didn't. This resulted in function signature errors when user code that did make use of the options arg tried to call unit's replaced function. This change changes the signature to be more in line with how nodejs does it discarding it and printing a message to stdout. * Add test file to start node application with options * Add changes to docs/changes.xml Closes: https://github.com/nginx/unit/issues/1043 --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 428da0ba..a3549697 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -53,6 +53,12 @@ NGINX Unit updated to 1.32.0. + + +http.createServer() now accepts "options" argument introduced in Node.js v9.6.0, v8.12.0. + + + conditional access logging. -- cgit From 33c6c4d4c0e060a974791a472b739214366dead6 Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Wed, 31 Jan 2024 14:51:21 +0800 Subject: NJS: variable access support This commit introduces the 'vars' JavaScript object to NJS, enabling direct access to native variables such as $uri and $arg_foo. The syntax is `${vars.var_name}` or `${'vars[var_name]'}`. For example: { "action": { "share": "`/www/html${vars.uri}`" } } --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index a3549697..833ec20e 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -65,6 +65,12 @@ conditional access logging. + + +NJS variables access. + + + $request_id variable contains a string that is formed using random data and -- cgit From 697a58506235e89af1c8cc3cafc92b3d85a3467d Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Fri, 26 Jan 2024 14:58:43 +0000 Subject: Python: bytearray body support for ASGI module. @filiphanes requested support for bytearray and memoryview in the request body here: This patch implements bytearray body support only. Memoryview body still need to be implemented. --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 833ec20e..ba41f00d 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -78,6 +78,12 @@ can be used as a unique request identifier. + + +bytearray in response body for ASGI applications. + + + ServerRequest.flushHeaders() implemented in Node.js module to make it compatible -- cgit From 4d25c612247643329beb9e924d1feded3cf578ab Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 15 Feb 2024 18:28:51 +0000 Subject: Edited changes.xml for the 1.32.0 release --- docs/changes.xml | 90 +++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 80 insertions(+), 10 deletions(-) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index ba41f00d..ccc87ef7 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -53,9 +53,17 @@ NGINX Unit updated to 1.32.0. - + + + + + + + -http.createServer() now accepts "options" argument introduced in Node.js v9.6.0, v8.12.0. +WebAssembly Components using WASI interfaces defined in wasi:http/proxy@0.2.0. @@ -80,12 +88,62 @@ can be used as a unique request identifier. -bytearray in response body for ASGI applications. +options to set control socket permissions. + + + + + +Ruby arrays in response headers, improving compatibility with Rack v3.0. +Python bytearray response bodies for ASGI applications. + + + + + +router could crash while sending large files. Thanks to rustedsword. + + + + + +serving static files from a network filesystem could lead to error. + + + + + +"uidmap" and "gidmap" isolation options validation. + + + + + +abstract UNIX socket name could be corrupted during configuration validation. +Thanks to Alejandro Colomar. + + + + + +HTTP header field value encoding could be misinterpreted in Python module. + + + + + +Node.js http.createServer() accepts and ignores the "options" argument, +improving compatibility with strapi applications, among others. + + + + + ServerRequest.flushHeaders() implemented in Node.js module to make it compatible with Next.js. @@ -97,13 +155,25 @@ ServerRequest.httpVersion variable format in Node.js module. + + +Node.js module handles standard library imports prefixed with "node:", making it +possible to run newer Nuxt applications, among others. + + - - + + +Node.js tarball location changed to avoid build/install errors. + + - + + +Go module sets environment variables necessary for building on macOS/arm64 +systems. + + @@ -182,8 +252,8 @@ compatibility with Node.js 15.0.0 and above. -Node.JS unit-http NPM module now has appropriate default paths for -macOS/arm64 systems. +Node.JS unit-http NPM module now has appropriate default paths for macOS/arm64 +systems. -- cgit From 088117008c9e8f397a58cc8d8070ce047beff12f Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 15 Feb 2024 19:20:23 +0000 Subject: Added version 1.32.0 CHANGES --- docs/changes.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index ccc87ef7..4d64a16d 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -44,7 +44,7 @@ Initial release of Python 3.12 module for NGINX Unit. unit-jsc19 unit-jsc20 unit-jsc21 unit-wasm" ver="1.32.0" rev="1" - date="" time="" + date="2024-02-27" time="18:00:00 +0000" packager="Nginx Packaging <nginx-packaging@f5.com>"> @@ -58,7 +58,7 @@ NGINX Unit updated to 1.32.0. -- cgit