Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.32.0 #1133

Merged
merged 4 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,57 @@

Changes with Unit 1.32.0 27 Feb 2024

*) Feature: WebAssembly Components using WASI interfaces defined in
wasi:http/[email protected].

*) Feature: conditional access logging.

*) Feature: NJS variables access.

*) Feature: $request_id variable contains a string that is formed using
random data and can be used as a unique request identifier.

*) Feature: options to set control socket permissions.

*) Feature: Ruby arrays in response headers, improving compatibility
with Rack v3.0.

*) Feature: Python bytearray response bodies for ASGI applications.

*) Bugfix: router could crash while sending large files. Thanks to
rustedsword.

*) Bugfix: serving static files from a network filesystem could lead to
error.

*) Bugfix: "uidmap" and "gidmap" isolation options validation.

*) Bugfix: abstract UNIX socket name could be corrupted during
configuration validation. Thanks to Alejandro Colomar.

*) Bugfix: HTTP header field value encoding could be misinterpreted in
Python module.

*) Bugfix: Node.js http.createServer() accepts and ignores the "options"
argument, improving compatibility with strapi applications, among
others.

*) Bugfix: ServerRequest.flushHeaders() implemented in Node.js module to
make it compatible with Next.js.

*) Bugfix: ServerRequest.httpVersion variable format in Node.js module.

*) Bugfix: Node.js module handles standard library imports prefixed with
"node:", making it possible to run newer Nuxt applications, among
others.

*) Bugfix: Node.js tarball location changed to avoid build/install
errors.

*) Bugfix: Go module sets environment variables necessary for building
on macOS/arm64 systems.


Changes with Unit 1.31.1 19 Oct 2023

*) Feature: allow to set the HTTP response status in Wasm module.
Expand Down
124 changes: 113 additions & 11 deletions docs/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,38 @@
<change_log title="unit">


<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-python3.12
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-jsc21
unit-wasm"
ver="1.33.0" rev="1"
date="" time=""
packager="Nginx Packaging &lt;[email protected]&gt;">

<change>
<para>
NGINX Unit updated to 1.33.0.
</para>
</change>

</changes>


<changes apply="unit" ver="1.33.0" rev="1"
date="" time=""
packager="Nginx Packaging &lt;[email protected]&gt;">

</changes>


<changes apply="unit-jsc21" ver="1.32.0" rev="1"
date="2023-10-17" time="16:00:00 -0700"
packager="Nginx Packaging &lt;[email protected]&gt;">
Expand Down Expand Up @@ -44,7 +76,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 &lt;[email protected]&gt;">

<change>
Expand All @@ -53,9 +85,17 @@ NGINX Unit updated to 1.32.0.
</para>
</change>

<change type="bugfix">

</changes>


<changes apply="unit" ver="1.32.0" rev="1"
date="2024-02-27" time="18:00:00 +0000"
packager="Nginx Packaging &lt;[email protected]&gt;">

<change type="feature">
<para>
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/[email protected].0.
</para>
</change>

Expand All @@ -80,12 +120,62 @@ can be used as a unique request identifier.

<change type="feature">
<para>
bytearray in response body for ASGI applications.
options to set control socket permissions.
</para>
</change>

<change type="feature">
<para>
Ruby arrays in response headers, improving compatibility with Rack v3.0.
</para>
</change>

<change type="feature">
<para>
Python bytearray response bodies for ASGI applications.
</para>
</change>

<change type="bugfix">
<para>
router could crash while sending large files. Thanks to rustedsword.
</para>
</change>

<change type="bugfix">
<para>
serving static files from a network filesystem could lead to error.
</para>
</change>

<change type="bugfix">
<para>
"uidmap" and "gidmap" isolation options validation.
</para>
</change>

<change type="bugfix">
<para>
abstract UNIX socket name could be corrupted during configuration validation.
Thanks to Alejandro Colomar.
</para>
</change>

<change type="bugfix">
<para>
HTTP header field value encoding could be misinterpreted in Python module.
</para>
</change>

<change type="bugfix">
<para>
Node.js http.createServer() accepts and ignores the "options" argument,
improving compatibility with strapi applications, among others.
</para>
</change>

<change type="bugfix">
<para>
ServerRequest.flushHeaders() implemented in Node.js module to make it compatible
with Next.js.
</para>
Expand All @@ -97,13 +187,25 @@ ServerRequest.httpVersion variable format in Node.js module.
</para>
</change>

<change type="bugfix">
<para>
Node.js module handles standard library imports prefixed with "node:", making it
possible to run newer Nuxt applications, among others.
</para>
</change>

</changes>

<change type="bugfix">
<para>
Node.js tarball location changed to avoid build/install errors.
</para>
</change>

<changes apply="unit" ver="1.32.0" rev="1"
date="" time=""
packager="Nginx Packaging &lt;[email protected]&gt;">
<change type="bugfix">
<para>
Go module sets environment variables necessary for building on macOS/arm64
systems.
</para>
</change>

</changes>

Expand Down Expand Up @@ -182,8 +284,8 @@ compatibility with Node.js 15.0.0 and above.

<change type="bugfix">
<para>
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.
</para>
</change>

Expand Down
2 changes: 1 addition & 1 deletion docs/unit-openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
title: "NGINX Unit 1.31.1"
title: "NGINX Unit 1.32.0"
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,
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/Dockerfile.go1.21
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
LABEL org.opencontainers.image.version="1.31.1"
LABEL org.opencontainers.image.version="1.32.0"

RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
Expand All @@ -15,7 +15,7 @@ RUN set -ex \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
&& git clone --depth 1 -b 1.31.1-1 https://github.com/nginx/unit \
&& git clone --depth 1 -b 1.32.0-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/Dockerfile.go1.22
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
LABEL org.opencontainers.image.version="1.31.1"
LABEL org.opencontainers.image.version="1.32.0"

RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
Expand All @@ -15,7 +15,7 @@ RUN set -ex \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
&& git clone --depth 1 -b 1.31.1-1 https://github.com/nginx/unit \
&& git clone --depth 1 -b 1.32.0-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/Dockerfile.jsc11
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
LABEL org.opencontainers.image.version="1.31.1"
LABEL org.opencontainers.image.version="1.32.0"

RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
Expand All @@ -15,7 +15,7 @@ RUN set -ex \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
&& git clone --depth 1 -b 1.31.1-1 https://github.com/nginx/unit \
&& git clone --depth 1 -b 1.32.0-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/Dockerfile.minimal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
LABEL org.opencontainers.image.version="1.31.1"
LABEL org.opencontainers.image.version="1.32.0"

RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
Expand All @@ -15,7 +15,7 @@ RUN set -ex \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
&& git clone --depth 1 -b 1.31.1-1 https://github.com/nginx/unit \
&& git clone --depth 1 -b 1.32.0-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/Dockerfile.node20
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
LABEL org.opencontainers.image.version="1.31.1"
LABEL org.opencontainers.image.version="1.32.0"

RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
Expand All @@ -15,7 +15,7 @@ RUN set -ex \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
&& git clone --depth 1 -b 1.31.1-1 https://github.com/nginx/unit \
&& git clone --depth 1 -b 1.32.0-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/Dockerfile.node21
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
LABEL org.opencontainers.image.version="1.31.1"
LABEL org.opencontainers.image.version="1.32.0"

RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
Expand All @@ -15,7 +15,7 @@ RUN set -ex \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
&& git clone --depth 1 -b 1.31.1-1 https://github.com/nginx/unit \
&& git clone --depth 1 -b 1.32.0-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/Dockerfile.perl5.36
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
LABEL org.opencontainers.image.version="1.31.1"
LABEL org.opencontainers.image.version="1.32.0"

RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
Expand All @@ -15,7 +15,7 @@ RUN set -ex \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
&& git clone --depth 1 -b 1.31.1-1 https://github.com/nginx/unit \
&& git clone --depth 1 -b 1.32.0-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/Dockerfile.perl5.38
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
LABEL org.opencontainers.image.version="1.31.1"
LABEL org.opencontainers.image.version="1.32.0"

RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
Expand All @@ -15,7 +15,7 @@ RUN set -ex \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
&& git clone --depth 1 -b 1.31.1-1 https://github.com/nginx/unit \
&& git clone --depth 1 -b 1.32.0-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
Expand Down
Loading
Loading