diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/changes.xml | 89 | ||||
-rw-r--r-- | docs/unit-openapi.yaml | 57 |
2 files changed, 145 insertions, 1 deletions
diff --git a/docs/changes.xml b/docs/changes.xml index fca9ebcd..60f259ad 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -16,6 +16,95 @@ unit-jsc14 unit-jsc15 unit-jsc16 unit-jsc17 unit-jsc18 unit-jsc19 unit-jsc20 unit-wasm" + ver="1.31.1" rev="1" + date="2023-10-19" time="18:00:00 +0300" + packager="Nginx Packaging <nginx-packaging@f5.com>"> + +<change> +<para> +NGINX Unit updated to 1.31.1. +</para> +</change> + +</changes> + + +<changes apply="unit" ver="1.31.1" rev="1" + date="2023-10-19" time="18:00:00 +0300" + packager="Nginx Packaging <nginx-packaging@f5.com>"> + +<change type="feature"> +<para> +allow to set the HTTP response status in Wasm module. +</para> +</change> + +<change type="feature"> +<para> +allow uploads larger than 4GiB in Wasm module. +</para> +</change> + +<change type="bugfix"> +<para> +application process could crash while rewriting URLs with query strings. +</para> +</change> + +<change type="bugfix"> +<para> +requests larger than about 64MiB could cause error in Wasm module. +</para> +</change> + +<change type="bugfix"> +<para> +when using many headers in Java module some of them could be +corrupted due to memory realocation issue. +</para> +</change> + +<change type="bugfix"> +<para> +ServerRequest.destroy() implemented in Node.js module to make it compatible +with some frameworks that might use it. +</para> +</change> + +<change type="bugfix"> +<para> +chunk argument of ServerResponse.write() can now be a Uint8Array to improve +compatibility with Node.js 15.0.0 and above. +</para> +</change> + +<change type="bugfix"> +<para> +Node.JS unit-http NPM module now has appropriate default paths for +macOS/arm64 systems. +</para> +</change> + +<change type="bugfix"> +<para> +build on musl libc with clang. +</para> +</change> + +</changes> + + +<changes apply="unit-php + unit-python unit-python2.7 + unit-python3.4 unit-python3.5 unit-python3.6 unit-python3.7 + unit-python3.8 unit-python3.9 unit-python3.10 unit-python3.11 + unit-go + unit-perl + unit-ruby + unit-jsc-common unit-jsc8 unit-jsc10 unit-jsc11 unit-jsc13 + unit-jsc14 unit-jsc15 unit-jsc16 unit-jsc17 unit-jsc18 + unit-jsc19 unit-jsc20 + unit-wasm" ver="1.31.0" rev="1" date="2023-08-31" time="18:00:00 +0300" packager="Nginx Packaging <nginx-packaging@f5.com>"> diff --git a/docs/unit-openapi.yaml b/docs/unit-openapi.yaml index 0301326d..4ce26fa0 100644 --- a/docs/unit-openapi.yaml +++ b/docs/unit-openapi.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - title: "NGINX Unit 1.30.0" + title: "NGINX Unit 1.31.1" description: "NGINX Unit is a lightweight and versatile application runtime that provides the essential components for your web application as a single open-source server: running application code, serving static assets, @@ -5887,6 +5887,7 @@ components: description: "An object whose options define a step's action." oneOf: - $ref: "#/components/schemas/configRouteStepActionPass" + - $ref: "#/components/schemas/configRouteStepActionProxy" - $ref: "#/components/schemas/configRouteStepActionReturn" - $ref: "#/components/schemas/configRouteStepActionShare" @@ -5903,6 +5904,32 @@ components: description: "Destination to which the action passes incoming requests." + rewrite: + $ref: "#/components/schemas/configRouteStepActionRewrite" + + response_headers: + $ref: "#/components/schemas/configRouteStepActionResponseHeaders" + + #/config/routes/{stepIndex}/action/proxy + #/config/routes/{routeName}/{stepIndex}/action/proxy + configRouteStepActionProxy: + type: object + description: "An object whose single option defines a step's proxy + action." + required: + - proxy + properties: + proxy: + type: string + description: "Socket address of an HTTP server to where the request + is proxied." + + rewrite: + $ref: "#/components/schemas/configRouteStepActionRewrite" + + response_headers: + $ref: "#/components/schemas/configRouteStepActionResponseHeaders" + #/config/routes/{stepIndex}/action/return #/config/routes/{routeName}/{stepIndex}/action/return configRouteStepActionReturn: @@ -5922,6 +5949,12 @@ components: type: string description: "URI; used if the return value implies redirection." + rewrite: + $ref: "#/components/schemas/configRouteStepActionRewrite" + + response_headers: + $ref: "#/components/schemas/configRouteStepActionResponseHeaders" + #/config/routes/{stepIndex}/action/share #/config/routes/{routeName}/{stepIndex}/action/share configRouteStepActionShare: @@ -5964,6 +5997,28 @@ components: description: "Turns on and off mount point resolution." default: true + rewrite: + $ref: "#/components/schemas/configRouteStepActionRewrite" + + response_headers: + $ref: "#/components/schemas/configRouteStepActionResponseHeaders" + + #/config/routes/{stepIndex}/action/rewrite + #/config/routes/{routeName}/{stepIndex}/action/rewrite + configRouteStepActionRewrite: + type: string + description: "Updates the URI of the incoming request before the action + is applied." + + #/config/routes/{stepIndex}/action/response_headers + #/config/routes/{routeName}/{stepIndex}/action/response_headers + configRouteStepActionResponseHeaders: + type: object + description: "Updates the header fields of Unit’s response before the + action is taken." + additionalProperties: + type: string + # /config/listeners/ configListeners: type: object |