./www/unit, Dynamic web application server

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.33.0nb1, Package name: unit-1.33.0nb1, Maintainer: osa

NGINX Unit is a lightweight dynamic open-source server for diverse
web applications.

Built from scratch, Unit can run web apps in different language
versions; fully configurable in runtime with zero interruption, it
enables on-the-fly granular management for engineering and operations.



Package options: inet6, pcre2, ssl

Master sites:

Filesize: 1001.421 KB

Version history: (Expand)


CVS history: (Expand)


   2024-10-23 15:15:19 by Sergey A. Osokin | Files touched by this commit (11) | Package updated
Log message:
*/*: update NGINX JavaScript 0.8.5 -> 0.8.7

Bump PKGREVISIONs for www/nginx, www/nginx-devel, www/unit.

<ChangeLog>

Changes with njs 0.8.7                                       22 Oct 2024

nginx modules:

*) Bugfix: eliminated unnecessary VM creation.
   Previously, njs consumed memory proportionally to the number of
   nginx locations. The issue was introduced in 9b674412 (0.8.6).

*) Improvement: added strict syntax validation for js_body_filter.

*) Improvement: improved error messages for module loading
   failures.

Core:

*) Feature: implemented fs.readlink() and friends.

*) Improvement: implemented lazy stack symbolization.

*) Bugfix: fixed heap-buffer-overflow in Buffer.prototype.indexOf().
   The issue was introduced in 5d15a8d6 (0.8.6).

*) Bugfix: fixed Buffer.prototype.lastIndexOf() when `from` is
   provided.

Changes with njs 0.8.6                                       02 Oct 2024

nginx modules:

*) Feature: introduced QuickJS engine.

*) Feature: added optional nocache flag for js_set directive.
   Thanks to Thomas P.

*) Feature: exposed capture group variables in HTTP module.
   Thanks to Thomas P.

Core:

*) Feature: added Buffer module for QuickJS engine.

*) Bugfix: fixed handling of empty labelled statement in a function.

*) Bugfix: fixed Function constructor handling when called without
   arguments.

*) Bugfix: fixed Buffer.prototype.writeInt8() and friends.

*) Bugfix: fixed Buffer.prototype.writeFloat() and friends.

*) Bugfix: fixed Buffer.prototype.lastIndexOf().

*) Bugfix: fixed Buffer.prototype.write().

*) Bugfix: fixed maybe-uninitialized warnings in error creation.

*) Bugfix: fixed 'ctx.codepoint' initialization in UTF-8 decoding.

*) Bugfix: fixed 'length' initialization in Array.prototype.pop().

*) Bugfix: fixed handling of encode arg in fs.readdir() and
   fs.realpath().

</ChangeLog>
   2024-09-22 05:36:46 by Sergey A. Osokin | Files touched by this commit (4) | Package removed
Log message:
www/unit: remove needless patches, update distinfo accordingly
   2024-09-22 05:30:58 by Sergey A. Osokin | Files touched by this commit (3) | Package updated
Log message:
*/*unit*: update NGINX Unit from 1.32.1 to 1.33.0

<ChangeLog>

*) Feature: make the number of router threads configurable.

*) Feature: make the listen(2) backlog configurable.

*) Feature: add Python application factory support.

*) Feature: add experimental chunked request body support. (Disabled by
   default).

*) Feature: add fuzzing via oss-fuzz.

*) Feature: add "if" option to the "match" object.

*) Feature: show list of loaded language modules in the /status
   endpoint.

*) Feature: Unit ships with a new Rust based CLI application "unitctl".

*) Feature: the wasm-wasi-component language module now inherits the
   processes environment.

*) 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.

*) Bugfix: don't modify REQUEST_URI.

*) Bugfix: fix a crash when interrupting a download via a proxy.

*) 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: properly handle deleting arrays of certificates.

*) Bugfix: don't create the $runstatedir directory which triggered an
   Alpine packaging error.

</ChangeLog>
   2024-06-27 18:03:25 by Sergey A. Osokin | Files touched by this commit (15) | Package updated
Log message:
*/*: update NGINX JavaScript 0.8.4 -> 0.8.5

Bump PKGREVISIONs for www/nginx, www/nginx-devel, www/unit.

<ChangeLog>

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().

</ChangeLog>
   2024-05-07 15:51:29 by Sergey A. Osokin | Files touched by this commit (1) | Package updated
Log message:
www/unit: update distinfo with checksums for recently added patches
   2024-05-07 15:49:33 by Sergey A. Osokin | Files touched by this commit (5) | Package updated
Log message:
*/*unit*: update NGINX Unit from 1.31.1 to 1.32.1

<ChangeLog>

Changes with Unit 1.32.1                                  26 Mar 2024

*) Bugfix: NJS variables in templates may have incorrect values due to
   improper caching.

*) Bugfix: Wasm application process hangs after receiving restart signal
   from the control.

Changes with Unit 1.32.0                                  27 Feb 2024

*) Feature: WebAssembly Components using WASI interfaces defined in
   wasi:http/proxy@0.2.0.

*) 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.

</ChangeLog>
   2023-10-25 18:04:47 by Sergey A. Osokin | Files touched by this commit (11) | Package updated
Log message:
*/*: update NGINX JavaScript 0.8.1 -> 0.8.2

Bump PKGREVISION for www/nginx, www/nginx-devel, and www/unit.

<ChangeLog>

nginx modules:

*) Feature: introduced console object. The following methods
   were introduced: error(), info(), log(), time(), timeEnd(),
   warn().

*) Bugfix: fixed HEAD response handling with large Content-Length
   in fetch API.

*) Bugfix: fixed items() method for a shared dictionary.

*) Bugfix: fixed delete() method for a shared dictionary.

Core:

*) Feature: extended "fs" module. Added existsSync().

*) Bugfix: fixed "xml" module. Fixed broken XML exception handling
   in parse() method.

*) Bugfix: fixed RegExp.prototype.exec() with global regexp and
   unicode input.

*) Bugfix: fixed return statement parsing with invalid expression.

</ChangeLog>
   2023-10-25 00:11:51 by Thomas Klausner | Files touched by this commit (2298)
Log message:
*: bump for openssl 3