-
Notifications
You must be signed in to change notification settings - Fork 113
docs: Release 1.33 news doc #168
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
e57bf56
docs: add CLI doc draft
JTorreG 9c7093f
docs: update based on feedback
JTorreG 46704bb
docs: update CLI
JTorreG 404516e
Apply suggestions from code review
JTorreG 3d8cf53
Apply suggestions from code review
JTorreG e7169b3
Apply suggestions from code review
JTorreG 2e40b88
Update source/unitctl.rst
JTorreG c75c10a
Update source/unitctl.rst
JTorreG aa1d932
Update source/unitctl.rst
JTorreG 94f91e3
Update source/unitctl.rst
JTorreG db57049
Update source/unitctl.rst
JTorreG 23a127d
Apply suggestions from code review
JTorreG 8699d5c
docs: preliminary draft
JTorreG 85282d7
Update source/news/2024/unit-1.33.0-released.rst
JTorreG 2c816c0
docs: update doc
JTorreG 1c6b1fe
Merge pull request #161 from nginx/unitctl-docs
JTorreG 1e26893
docs: update news
JTorreG 934f65a
docs: update date
JTorreG 3180b8f
Update source/news/2024/unit-1.33.0-released.rst
JTorreG 47faede
Update source/news/2024/unit-1.33.0-released.rst
JTorreG a7fb364
Update source/news/2024/unit-1.33.0-released.rst
JTorreG 1e91444
Update source/news/2024/unit-1.33.0-released.rst
JTorreG f14d729
docs: fixes
JTorreG 9229ec7
docs: options in bold
JTorreG 6d1c2e5
docs: update news desc.
JTorreG 865929e
docs: remove `a` (regression)
JTorreG b3e25c7
fix: fix previews
JTorreG f283a05
fix: fix nav subsections
JTorreG c05c130
Update source/news/2024/unit-1.33.0-released.rst
JTorreG b54745e
Merge pull request #170 from nginx/issue-169
JTorreG d3f8259
docs: update features, config options, all of fame
JTorreG 203dbc6
Update source/news/2024/unit-1.33.0-released.rst
JTorreG 1340b06
docs: add bugfix
JTorreG dba084a
docs: remove sudo on copy
JTorreG d91b4fe
docs: add changes from PR 167
JTorreG 147e7f0
docs: split code blocks
JTorreG 796f7ea
docs: update release 1.33 date
JTorreG 48bf2ad
docs: update factory description
JTorreG 09c5995
docs: add unitctl note
JTorreG 8249097
docs: note updates
JTorreG 4f13e65
Merge pull request #174 from nginx/release-1.33-note
JTorreG 70bc453
Update source/unitctl.rst
JTorreG 3be24ca
Update source/unitctl.rst
JTorreG f944bc4
Update source/unitctl.rst
JTorreG 9a7658d
Update source/unitctl.rst
JTorreG dc4070b
Update source/unitctl.rst
JTorreG 4c63353
Update source/unitctl.rst
JTorreG 43dfe74
docs: update dates
JTorreG File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
scripting | ||
certificates | ||
statusapi | ||
unitctl | ||
howto/index | ||
troubleshooting | ||
community |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,14 @@ News of 2024 | |
|
||
News archive for the year 2024. | ||
|
||
.. nxt_news_entry:: | ||
:author: Unit Team | ||
:description: Version 1.33.0 | ||
:email: [email protected] | ||
:title: Unit 1.33.0 Released | ||
:url: news/2024/unit-1.33.0-released | ||
:date: 2024-08-29 | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.. nxt_news_entry:: | ||
:author: Unit Team | ||
:description: Version 1.32.1 is a maintenance release that fixes bugs in the new WebAssembly Language Module and in our njs implementation. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
:orphan: | ||
|
||
#################### | ||
Unit 1.33.0 Released | ||
#################### | ||
|
||
We are pleased to announce the release of NGINX Unit 1.33.0. This release includes | ||
a number of new features and changes: | ||
|
||
************************* | ||
New configuration options | ||
************************* | ||
|
||
This release introduces two new configuration options: | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#. **listen_threads** | ||
|
||
This option can be set under **/settings/listen_threads** and controls the | ||
number of threads the router process creates to handle client | ||
connections. By default Unit creates the same number of threads as there | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
are CPUs available. | ||
|
||
#. **backlog** | ||
|
||
This option can be set under **/listeners/backlog**. This is a per-listener | ||
option that sets the the backlog parameter as passed to the **listen(2)** | ||
system-call, which defines the maximum length for the queue of pending | ||
connections for the socket. | ||
|
||
This is analogous to the **backlog** parameter of the **listen** directive in | ||
NGINX. | ||
|
||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
**************** | ||
unitctl CLI tool | ||
**************** | ||
|
||
:ref:`unitctl <unitctl>` is a powerful, Rust-based CLI tool that allows you to | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
deploy, manage, and configure Unit in your environment. | ||
|
||
**************************** | ||
Chunked request body support | ||
**************************** | ||
|
||
Unit can now accept chunked requests rather than returning **411 | ||
Length Required**. This feature is experimental and can | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
be enabled setting the **/settings/chunked_transform** configuration option | ||
to true. | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
************************************* | ||
Changes in behavior and other updates | ||
************************************* | ||
|
||
* On Linux, we now default to a **listen(2)** backlog of -1, which means we | ||
use the OS's default: 4096 for Linux 5.4 and later; 128 for older versions. | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
The previous default for Unit was 511. | ||
|
||
* Under systemd, Unit once again runs in **forking** mode. This allows the | ||
per-application logging feature to work out the box. | ||
|
||
* The Python language module now supports **Application Factories** | ||
(thanks to Gourav). | ||
|
||
********************** | ||
Changes for developers | ||
********************** | ||
|
||
We have made some changes to the build system: | ||
|
||
=============================================== | ||
Prettified make output by default with GNU make | ||
=============================================== | ||
|
||
Instead of getting the normal compiler command for each target being built | ||
you now get a simplified line like: | ||
|
||
.. code-block:: console | ||
|
||
CC build/src/nxt_cgroup.o | ||
|
||
|
||
You can use the `V=1` option to get the old verbose output, for example: | ||
|
||
.. code-block:: console | ||
|
||
make V=1 | ||
|
||
============== | ||
Make variables | ||
============== | ||
|
||
You can now control some aspects of the build process by passing variables to | ||
make (like the above). The currently supported variables are: | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.. list-table:: | ||
:widths: 15 80 5 | ||
:header-rows: 1 | ||
|
||
* - Option | ||
- Description | ||
- Default | ||
* - **D=1** | ||
- Enables debug builds (-O0) | ||
- 0 | ||
* - **E=0** | ||
- Disables -Werror | ||
- 1 | ||
* - **V=1** | ||
- Enables verbose output | ||
- 0 | ||
* - **EXTRA_CFLAGS=** | ||
- Add extra compiler options | ||
- | ||
|
||
=========== | ||
GCC & Clang | ||
=========== | ||
|
||
We removed support for a bunch of esoteric compilers. GCC and Clang are now the | ||
only supported compilers for building Unit. | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
========== | ||
-std=gnu11 | ||
========== | ||
|
||
We now build with **-std=gnu11** (C11 with GNU extensions). While previously we | ||
didn't explicitly set the -std= option, as we were supporting CentOS 7 (which is now | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
EOL), we were effectively limited to **-std=gnu89/90**. | ||
|
||
|
||
************ | ||
Wall of fame | ||
************ | ||
|
||
Special Thanks to all external contributors helping us | ||
making Unit better! With 1.33.0 we would like to send a shout out to: | ||
|
||
- Alejandro Colomar | ||
- Costas Drongos | ||
- Gourav | ||
- Remi Collet | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Special thanks to Arjun for his fuzzing work. | ||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
************** | ||
Full Changelog | ||
************** | ||
|
||
.. code-block:: none | ||
|
||
Changes with Unit 1.33.0 29 Aug 2024 | ||
|
||
*) Feature: show list of loaded language modules in the /status | ||
endpoint. | ||
|
||
*) Feature: make the number of router threads configurable. | ||
|
||
*) Feature: make the listen(2) backlog configurable. | ||
|
||
*) Feature: add fuzzing via oss-fuzz. | ||
|
||
*) Feature: add Python application factory support. | ||
|
||
*) Feature: add chunked request body support. | ||
|
||
*) Feature: add "if" option to the "match" object. | ||
|
||
*) Feature: Unit ships with a new Rust based CLI application "unitctl". | ||
|
||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
*) Change: under systemd unit runs in forking mode (once again). | ||
|
||
*) Change: if building with njs, version 0.8.3 or later is now required. | ||
|
||
*) Change: Unit now builds with -std=gnu11 (C11 with GNU extensions). | ||
|
||
*) Change: Unit now creates the full directory path for the PID file and | ||
control socket. | ||
|
||
*) Change: build system improvements, including pretty printing the make | ||
output and enabling various make variables to influence the build | ||
process (see: make help). | ||
|
||
*) Change: better detection of available runnable CPUs on Linux. | ||
|
||
*) Change: default listen(2) backlog on Linux now defaults to Kernel | ||
default. | ||
|
||
JTorreG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
*) Bugfix: don't create the $runstatedir directory which triggered an | ||
Alpine packaging error. | ||
|
||
*) Bugfix: wasm-wasi-component application process hangs after receiving | ||
restart signal from the control endpoint. | ||
|
||
*) Bugfix: njs variables accessed with a JS template literal should not | ||
be cacheable. | ||
|
||
*) Bugfix: don't modify REQUEST_URI. | ||
|
||
*) Bugfix: properly handle deleting arrays of certificates. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.