details: https://hg.nginx.org/njs/rev/db36e0384d97
branches:
changeset: 2146:db36e0384d97
user: Dmitry Volyntsev
date: Mon Feb 06 09:36:13 2023 -0800
description:
Tests: fixed js tests for Fetch API for nginx-1.22 and below.
The fix is to move a test with multiple headers returned
details: https://hg.nginx.org/njs/rev/ab54ef24feac
branches:
changeset: 2143:ab54ef24feac
user: David CARLIER
date: Sun May 28 15:36:46 2023 +0100
description:
Random: prioritise CCRandomGenerateBytes over getentropy on macOs.
It is recommended approach by Apple itself.
diffstat:
details: https://hg.nginx.org/njs/rev/2e8563c8143b
branches:
changeset: 2142:2e8563c8143b
user: Dmitry Volyntsev
date: Fri May 26 21:54:12 2023 -0700
description:
Parser: improved error message for import statement.
This closes #642 issue on Github.
diffstat:
src/njs_parser.c
details: https://hg.nginx.org/njs/rev/9213a609cb17
branches:
changeset: 2141:9213a609cb17
user: Dmitry Volyntsev
date: Fri May 26 21:05:15 2023 -0700
description:
Added %TypedArray%.prototype.toReversed().
diffstat:
src/njs_typed_array.c| 27 +++
src
details: https://hg.nginx.org/njs/rev/fa60c896acaa
branches:
changeset: 2140:fa60c896acaa
user: Dmitry Volyntsev
date: Fri May 26 20:58:22 2023 -0700
description:
Added %TypedArray%.prototype.toSorted().
diffstat:
src/njs_typed_array.c| 20 +---
src/test
details: https://hg.nginx.org/njs/rev/84eadc155d46
branches:
changeset: 2139:84eadc155d46
user: Dmitry Volyntsev
date: Fri May 26 20:58:19 2023 -0700
description:
Removed dead store introduced in 398f4de34fe7.
Found by Coverity (CID 1530432).
diffstat:
src/njs_array.c | 11
details: https://hg.nginx.org/njs/rev/e74e56120102
branches:
changeset: 2137:e74e56120102
user: Dmitry Volyntsev
date: Fri May 26 19:13:41 2023 -0700
description:
Introduced Array.prototype.toReversed().
diffstat:
src/njs_array.c | 46
details: https://hg.nginx.org/njs/rev/76a8034b15e1
branches:
changeset: 2136:76a8034b15e1
user: Dmitry Volyntsev
date: Fri May 26 19:13:41 2023 -0700
description:
Introduced Array.prototype.toSpliced().
diffstat:
src/njs_array.c | 101
details: https://hg.nginx.org/njs/rev/05c7f0b31856
branches:
changeset: 2135:05c7f0b31856
user: Dmitry Volyntsev
date: Fri May 26 19:13:39 2023 -0700
description:
HTTP: throwing an exception in r.internalRedirect() while filtering.
A user is notified explicitly
details: https://hg.nginx.org/njs/rev/398f4de34fe7
branches:
changeset: 2134:398f4de34fe7
user: Dmitry Volyntsev
date: Wed May 24 22:04:38 2023 -0700
description:
Implemented Array.prototype.toSorted().
diffstat:
src/njs_array.c | 457
details: https://hg.nginx.org/njs/rev/a0807bc0ec72
branches:
changeset: 2133:a0807bc0ec72
user: Dmitry Volyntsev
date: Tue May 23 23:47:43 2023 -0700
description:
Types: added TS types for ngx properties added in 25b55a064e42.
diffstat:
test/ts/test.ts | 6 ++--
ts
details: https://hg.nginx.org/njs/rev/873830a0a78f
branches:
changeset: 2132:873830a0a78f
user: Dmitry Volyntsev
date: Tue May 23 20:58:40 2023 -0700
description:
WebCrypto: introduced CryptoKey properties.
The following properties for CryptoKey were added:
algorithm
details: https://hg.nginx.org/njs/rev/510d8ebedfba
branches:
changeset: 2130:510d8ebedfba
user: Dmitry Volyntsev
date: Mon May 22 22:48:58 2023 -0700
description:
WebCrypto: sorted njs_webcrypto_alg accoding to njs_webcrypto_alg_t.
So njs_webcrypto_alg[alg->type] can be used to
details: https://hg.nginx.org/njs/rev/646374a97d8c
branches:
changeset: 2131:646374a97d8c
user: Dmitry Volyntsev
date: Mon May 22 22:48:59 2023 -0700
description:
WebCrypto: making njs_webcrypto_key_t more compact by using union.
diffstat:
external/njs_webcrypto_module.c | 260
details: https://hg.nginx.org/njs/rev/08a912ab9520
branches:
changeset: 2129:08a912ab9520
user: Dmitry Volyntsev
date: Mon May 22 17:59:47 2023 -0700
description:
Tests: imported nginx modules tests from nginx-tests.
diffstat:
nginx/t/README | 12 +
nginx/t
details: https://hg.nginx.org/njs/rev/e7aedbc18246
branches:
changeset: 2128:e7aedbc18246
user: Dmitry Volyntsev
date: Fri May 19 21:29:23 2023 -0700
description:
Removed leftover String.prototype.toBytes() from benchmark test.
The String.prototype.toBytes() and friends were
details: https://hg.nginx.org/njs/rev/9b4d3514d68d
branches:
changeset: 2127:9b4d3514d68d
user: Dmitry Volyntsev
date: Fri May 19 20:22:16 2023 -0700
description:
Shell: removed support for building with GNU readline.
diffstat:
auto/readline| 23
details: https://hg.nginx.org/njs/rev/7cd80c77433b
branches:
changeset: 2125:7cd80c77433b
user: Dmitry Volyntsev
date: Fri May 19 20:22:15 2023 -0700
description:
FS: added support of OpenBSD for fs.stat() and friends.
diffstat:
auto/stat| 18
details: https://hg.nginx.org/njs/rev/5889afe2a4b7
branches:
changeset: 2126:5889afe2a4b7
user: Dmitry Volyntsev
date: Fri May 19 20:22:16 2023 -0700
description:
Shell: improved working with libedit.
Previously, libedit unlike GNU readline does not reinstall
details: https://hg.nginx.org/njs/rev/3ec3e7d2ce5f
branches:
changeset: 2124:3ec3e7d2ce5f
user: Dmitry Volyntsev
date: Fri May 19 20:22:14 2023 -0700
description:
Added support of regular expressions not supported directly by PCRE2.
The following patterns were fixed
details: https://hg.nginx.org/njs/rev/4d26300ddc64
branches:
changeset: 2123:4d26300ddc64
user: Dmitry Volyntsev
date: Thu May 18 18:33:36 2023 -0700
description:
Implemented Array.from().
diffstat:
src/njs_array.c | 91
details: https://hg.nginx.org/njs/rev/ce344efc8b46
branches:
changeset: 2121:ce344efc8b46
user: Dmitry Volyntsev
date: Wed May 17 17:11:41 2023 -0700
description:
Change: removed deprecated r.requestBody and r.responseBody.
Both properties were deprecated since 0.5.0.
diffstat
details: https://hg.nginx.org/njs/rev/25b55a064e42
branches:
changeset: 2122:25b55a064e42
user: Dmitry Volyntsev
date: Wed May 17 21:16:19 2023 -0700
description:
Modules: introduced global nginx properties.
The following properties were introduced:
ngx.build - an optional
details: https://hg.nginx.org/njs/rev/af41742d63a2
branches:
changeset: 2120:af41742d63a2
user: Dmitry Volyntsev
date: Wed May 17 00:39:56 2023 -0700
description:
Fixed implicit name for a function expression declared in arrays.
diffstat:
src/njs_generator.c | 9
details: https://hg.nginx.org/njs/rev/884100020b1b
branches:
changeset: 2119:884100020b1b
user: Dmitry Volyntsev
date: Wed May 17 00:39:45 2023 -0700
description:
Fixed evaluation of computed property names with function expressions.
Previously, while evaluating a property name
details: https://hg.nginx.org/njs/rev/71fa2f4b6adb
branches:
changeset: 2118:71fa2f4b6adb
user: "Sergey A. Osokin"
date: Fri May 12 19:38:29 2023 -0400
description:
Always use a sharp (#) symbol as the sed separator.
sed(1) command line utility may fail with the following error:
details: https://hg.nginx.org/njs/rev/ce29debb0b3d
branches:
changeset: 2117:ce29debb0b3d
user: Dmitry Volyntsev
date: Tue May 16 20:58:23 2023 -0700
description:
Removed unneeded variable after fd956d2a25a3.
diffstat:
external/njs_query_string_module.c | 6 --
1 files
details: https://hg.nginx.org/njs/rev/1f84f3c34bb0
branches:
changeset: 2116:1f84f3c34bb0
user: Dmitry Volyntsev
date: Wed May 10 22:36:53 2023 -0700
description:
Modules: added options to disable parts dependant on 3rd party libs.
The following environment variables are added
details: https://hg.nginx.org/njs/rev/a140e71b0fbf
branches:
changeset: 2115:a140e71b0fbf
user: Dmitry Volyntsev
date: Wed May 10 20:50:53 2023 -0700
description:
Fixed memory allocation failure introduced in fc8d1b125cef.
Found by Coverity (CID 1529969).
diffstat:
src
details: https://hg.nginx.org/njs/rev/89c821242caf
branches:
changeset: 2114:89c821242caf
user: Dmitry Volyntsev
date: Tue May 09 22:09:13 2023 -0700
description:
Fetch: insuring Host header is always the first header.
diffstat:
nginx/ngx_js_fetch.c | 49
details: https://hg.nginx.org/njs/rev/4aed0532158c
branches:
changeset: 2113:4aed0532158c
user: Dmitry Volyntsev
date: Tue May 09 22:09:13 2023 -0700
description:
Fetch: removed special treatment of forbidden headers.
In c43261bad627 (0.7.10), a notion of forbidden headers
# HG changeset patch
# User Dmitry Volyntsev
# Date 1683701820 25200
# Tue May 09 23:57:00 2023 -0700
# Node ID 85643f113750f1c49a7ea3dea568da4e3137ec4b
# Parent b71e69247483631bd8fc79a47cc32b762625b1fb
Configure: introduced --with-*-module-opt option.
--with-*-module-opt provides
details: https://hg.nginx.org/njs/rev/70e7701a4588
branches:
changeset: 2112:70e7701a4588
user: Dmitry Volyntsev
date: Tue May 09 18:58:52 2023 -0700
description:
Shell: added $262 as external in CLI.
diffstat:
external/njs_shell.c | 60
details: https://hg.nginx.org/njs/rev/fc8d1b125cef
branches:
changeset: 2111:fc8d1b125cef
user: Dmitry Volyntsev
date: Tue May 09 18:18:33 2023 -0700
description:
Shell: CLIs is rewritten using public API.
diffstat:
auto/make| 8 +-
external/njs_shell.c | 1591
details: https://hg.nginx.org/njs/rev/d610d744bbd2
branches:
changeset: 2110:d610d744bbd2
user: Dmitry Volyntsev
date: Mon May 08 22:03:32 2023 -0700
description:
Shell: simplified input completion handler.
Previously, the completion logic was split between njs_vm_completion
details: https://hg.nginx.org/njs/rev/2467a70fd45a
branches:
changeset: 2109:2467a70fd45a
user: Dmitry Volyntsev
date: Mon May 08 16:40:50 2023 -0700
description:
HTTP: fixed r.status setter when filtering.
diffstat:
nginx/ngx_http_js_module.c | 1 +
1 files changed, 1
On 06.05.2023 16:12, Maxim Dounin wrote:
Hello!
On Fri, May 05, 2023 at 11:05:09PM -0700, Dmitry Volyntsev wrote:
# HG changeset patch
# User Dmitry Volyntsev
# Date 1683353037 25200
# Fri May 05 23:03:57 2023 -0700
# Node ID 4891e0920d7c0e89def28694686e34294c69acf1
# Parent
# HG changeset patch
# User Dmitry Volyntsev
# Date 1683353037 25200
# Fri May 05 23:03:57 2023 -0700
# Node ID 4891e0920d7c0e89def28694686e34294c69acf1
# Parent b71e69247483631bd8fc79a47cc32b762625b1fb
Configure: introduced --without-libxslt.
This allows to explicitly disable libxslt
details: https://hg.nginx.org/njs/rev/bc78369be278
branches:
changeset: 2108:bc78369be278
user: Dmitry Volyntsev
date: Fri May 05 20:08:58 2023 -0700
description:
Removed dead store introduced in fd956d2a25a3.
Found by Clang static analyzer.
diffstat:
external
details: https://hg.nginx.org/njs/rev/40af42ad829b
branches:
changeset: 2107:40af42ad829b
user: Dmitry Volyntsev
date: Fri May 05 20:08:57 2023 -0700
description:
Tests: unit tests are rewritten using public API.
njs_to_int32_test is replaced with ordinary script tests.
diffstat
details: https://hg.nginx.org/njs/rev/4df790f42ce7
branches:
changeset: 2106:4df790f42ce7
user: Dmitry Volyntsev
date: Fri May 05 20:08:56 2023 -0700
description:
Change: non-compliant deprecated String methods were removed.
The following methods were removed:
String.bytesFrom
details: https://hg.nginx.org/njs/rev/314a2a9fe9c7
branches:
changeset: 2105:314a2a9fe9c7
user: Dmitry Volyntsev
date: Fri May 05 20:08:55 2023 -0700
description:
Refactored $262 object as external.
This allows to decouple $262 object which is only needed
for tests from the njs
details: https://hg.nginx.org/njs/rev/4c4e5b60c766
branches:
changeset: 2104:4c4e5b60c766
user: Dmitry Volyntsev
date: Thu May 04 22:15:46 2023 -0700
description:
WebCrypto: fixed building with OpenSSL 1.1.0.
The issue was introduced in 0681bf66 (0.7.10).
This closes #636
details: https://hg.nginx.org/njs/rev/f1432043a6a4
branches:
changeset: 2103:f1432043a6a4
user: Dmitry Volyntsev
date: Tue May 02 20:50:57 2023 -0700
description:
WebCrypto: module is rewritten using public API.
diffstat:
external/njs_webcrypto_module.c | 1227
details: https://hg.nginx.org/njs/rev/18385a4a90ad
branches:
changeset: 2102:18385a4a90ad
user: Dmitry Volyntsev
date: Tue May 02 20:50:55 2023 -0700
description:
FS: module is rewritten using public API.
diffstat:
external/njs_fs_module.c | 1485
details: https://hg.nginx.org/njs/rev/a86328810249
branches:
changeset: 2099:a86328810249
user: Dmitry Volyntsev
date: Tue May 02 20:50:46 2023 -0700
description:
Fixed typos introduced in 5e7fc8efebdc.
diffstat:
external/njs_zlib_module.c | 20 ++--
1 files
details: https://hg.nginx.org/njs/rev/b2cbf06ba017
branches:
changeset: 2100:b2cbf06ba017
user: Dmitry Volyntsev
date: Tue May 02 20:50:52 2023 -0700
description:
Crypto: module is rewritten using public API.
diffstat:
external/njs_crypto_module.c | 149
details: https://hg.nginx.org/njs/rev/fd956d2a25a3
branches:
changeset: 2101:fd956d2a25a3
user: Dmitry Volyntsev
date: Tue May 02 20:50:55 2023 -0700
description:
QueryString: module is rewritten using public API.
diffstat:
external/njs_query_string_module.c | 561
details: https://hg.nginx.org/njs/rev/1776189b0de6
branches:
changeset: 2097:1776189b0de6
user: Dmitry Volyntsev
date: Tue May 02 20:33:30 2023 -0700
description:
Public header cleanup.
diffstat:
src/njs.h | 4 +---
src/njs_sprintf.h | 6 +++---
2 files changed, 4
details: https://hg.nginx.org/njs/rev/830c81bb573f
branches:
changeset: 2098:830c81bb573f
user: Dmitry Volyntsev
date: Mon May 01 17:54:48 2023 -0700
description:
Introduced njs_value_buffer_get().
diffstat:
external/njs_fs_module.c | 31 ---
src
details: https://hg.nginx.org/njs/rev/5d814dca2327
branches:
changeset: 2096:5d814dca2327
user: Dmitry Volyntsev
date: Mon May 01 20:45:32 2023 -0700
description:
Made njs_string.h includable independently from njs_main.h.
diffstat:
src/njs.h| 18 ++--
src/njs_regexp.c
details: https://hg.nginx.org/njs/rev/4fa5ddc91108
branches:
changeset: 2095:4fa5ddc91108
user: Dmitry Volyntsev
date: Thu Apr 27 17:28:52 2023 -0700
description:
WebCrypto: fixed retval of crypto.getRandomValues().
Previously, crypto.getRandomValues() did not return any value
details: https://hg.nginx.org/njs/rev/a868f772ef16
branches:
changeset: 2094:a868f772ef16
user: Dmitry Volyntsev
date: Wed Apr 26 21:19:48 2023 -0700
description:
Refactored njs_object_iterate() API.
As a side-effect it fixes dangling-pointer compilation error
found by GCC 13.1
details: https://hg.nginx.org/njs/rev/ebb1eb0d4e43
branches:
changeset: 2093:ebb1eb0d4e43
user: Dmitry Volyntsev
date: Wed Apr 26 19:38:27 2023 -0700
description:
Source files sorted into groups.
System, data structures, VM, parser, generator, standard objects.
diffstat:
auto
details: https://hg.nginx.org/njs/rev/677fc88d8d6d
branches:
changeset: 2092:677fc88d8d6d
user: Dmitry Volyntsev
date: Wed Apr 26 19:38:23 2023 -0700
description:
Types: added ts types for "zlib" module.
diffstat:
test/ts/test.ts |9 +++
ts/
details: https://hg.nginx.org/njs/rev/5f18ec3b9e53
branches:
changeset: 2091:5f18ec3b9e53
user: Dmitry Volyntsev
date: Wed Apr 26 19:38:21 2023 -0700
description:
Types: added forgotten ts types for XML modification API.
diffstat:
test/ts/test.ts | 17 ++-
ts
details: https://hg.nginx.org/njs/rev/2efa017faaed
branches:
changeset: 2090:2efa017faaed
user: Dmitry Volyntsev
date: Wed Apr 26 19:38:13 2023 -0700
description:
Types: added definitions for Hash.copy() method.
diffstat:
test/ts/test.ts| 1 +
ts/njs_modules
details: https://hg.nginx.org/njs/rev/9fbae1f025e2
branches:
changeset: 2089:9fbae1f025e2
user: Dmitry Volyntsev
date: Wed Apr 26 17:27:48 2023 -0700
description:
Tests: dropping all environment variables in a portable way.
This fixes njs_unit_test crash on macOS.
The issue
details: https://hg.nginx.org/njs/rev/0c95481158e4
branches:
changeset: 2088:0c95481158e4
user: Dmitry Volyntsev
date: Wed Apr 19 00:20:37 2023 -0700
description:
Change: native methods are provided with retval argument.
Previously, native methods were expected to return
On 4/18/23 10:26 AM, PGNet Dev wrote:
I'm building nginx mainline v1.24 on Fedora.
on F37, with gcc 12,
gcc --version
gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for
details: https://hg.nginx.org/njs/rev/5665eebfd00c
branches:
changeset: 2087:5665eebfd00c
user: Dmitry Volyntsev
date: Wed Apr 12 18:26:42 2023 -0700
description:
VM: simplified NJS_VMCODE_TEMPLATE_LITERAL instruction.
diffstat:
src/njs_vmcode.c | 40
details: https://hg.nginx.org/njs/rev/b2bd614ce046
branches:
changeset: 2086:b2bd614ce046
user: Dmitry Volyntsev
date: Wed Apr 12 18:26:40 2023 -0700
description:
VM: removed unused NJS_VMCODE_OBJECT_COPY instruction.
diffstat:
src/njs_disassembler.c | 2 -
src/njs_vmcode.c
details: https://hg.nginx.org/njs/rev/29ddc56f7aa5
branches:
changeset: 2085:29ddc56f7aa5
user: Dmitry Volyntsev
date: Mon Apr 10 23:06:34 2023 -0700
description:
Simplified functional stack unwinding.
diffstat:
src/njs_function.c | 73
details: https://hg.nginx.org/njs/rev/46c0af7318b8
branches:
changeset: 2084:46c0af7318b8
user: Dmitry Volyntsev
date: Mon Apr 10 23:06:29 2023 -0700
description:
Version bump.
diffstat:
src/njs.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines
Hello,
I'm glad to announce a new release of NGINX JavaScript module (njs).
Notable new features:
- "zlib" module:
: const zlib = require('zlib');
: zlib.deflateRawSync('αβγ').toString('base64')
: /* "O7fx3KZzmwE=" */
:
: zlib.inflateRawSync(Buffer.from('O7fx3KZzmwE=', 'base64')).toString()
:
Hello,
I'm glad to announce a new release of NGINX JavaScript module (njs).
Notable new features:
- "zlib" module:
: const zlib = require('zlib');
: zlib.deflateRawSync('αβγ').toString('base64')
: /* "O7fx3KZzmwE=" */
:
: zlib.inflateRawSync(Buffer.from('O7fx3KZzmwE=', 'base64')).toString()
:
details: https://hg.nginx.org/njs/rev/a421d49d1d5c
branches:
changeset: 2083:a421d49d1d5c
user: Dmitry Volyntsev
date: Mon Apr 10 09:53:24 2023 -0700
description:
Added tag 0.7.12 for changeset a1faa64d4972
diffstat:
.hgtags | 1 +
1 files changed, 1 insertions(+), 0 deletions
details: https://hg.nginx.org/njs/rev/a1faa64d4972
branches:
changeset: 2082:a1faa64d4972
user: Dmitry Volyntsev
date: Mon Apr 10 09:50:19 2023 -0700
description:
Version 0.7.12.
diffstat:
CHANGES | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diffs
details: https://hg.nginx.org/njs/rev/da32f93aa990
branches:
changeset: 2081:da32f93aa990
user: Dmitry Volyntsev
date: Tue Apr 04 22:19:49 2023 -0700
description:
Tests: improved shell_test portability to different environments.
diffstat:
auto/expect | 1 +
1 files changed, 1
details: https://hg.nginx.org/njs/rev/294b69d82ea4
branches:
changeset: 2080:294b69d82ea4
user: Dmitry Volyntsev
date: Tue Apr 04 22:19:48 2023 -0700
description:
VM: removed vm->variables_hash.
diffstat:
src/njs_builtin.c | 4 ++--
src/njs_shell.c | 7 ---
src/njs_v
details: https://hg.nginx.org/njs/rev/b2cacf654542
branches:
changeset: 2079:b2cacf654542
user: Dmitry Volyntsev
date: Tue Apr 04 22:17:26 2023 -0700
description:
VM: removed vm->global_items.
diffstat:
src/njs_vm.c | 15 ---
src/njs_vm.h | 1 -
2 files changed
details: https://hg.nginx.org/njs/rev/8dcea0ba0bf8
branches:
changeset: 2078:8dcea0ba0bf8
user: Dmitry Volyntsev
date: Wed Mar 29 20:28:33 2023 -0700
description:
Aligned Number constructor to the spec.
Previously, negative hexadecimal numbers were accepted as valid,
whereas
details: https://hg.nginx.org/njs/rev/5e7fc8efebdc
branches:
changeset: 2077:5e7fc8efebdc
user: Dmitry Volyntsev
date: Mon Mar 27 22:41:27 2023 -0700
description:
Added "zlib" module.
- zlib.deflateRawSync(string|buffer, options?) compresses data using
defla
details: https://hg.nginx.org/njs/rev/ec007866a53b
branches:
changeset: 2076:ec007866a53b
user: Orgad Shaneh
date: Wed Mar 22 15:22:37 2023 +0200
description:
Fix compiler detection when CC has a wrapper.
For example CC='ccache gcc'.
diffstat:
auto/cc | 2 +-
1 files changed, 1
details: https://hg.nginx.org/njs/rev/edf1c2aef957
branches:
changeset: 2074:edf1c2aef957
user: Dmitry Volyntsev
date: Mon Mar 20 21:25:47 2023 -0700
description:
Crypto: added Hash.copy() method.
This closes #625 issue on Github.
diffstat:
external/njs_crypto_module.c | 42
details: https://hg.nginx.org/njs/rev/95f57822bdaa
branches:
changeset: 2072:95f57822bdaa
user: Dmitry Volyntsev
date: Fri Mar 10 14:15:29 2023 -0800
description:
Fetch: fixed Headers() constructor.
Previously, the 'guard' field of ngx_js_headers_t structure was uninitialized
details: https://hg.nginx.org/njs/rev/acacd5d3a276
branches:
changeset: 2071:acacd5d3a276
user: Dmitry Volyntsev
date: Fri Mar 10 13:28:21 2023 -0800
description:
Version bump.
diffstat:
src/njs.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines
Hello,
I'm glad to announce a new release of NGINX JavaScript module (njs).
Notable new features:
- XMLNode API to modify XML documents:
: const xml = require("xml");
: let data = `ToveJani`;
: let doc = xml.parse(data);
:
: doc.$root.to.$attr$b = 'bar2';
: doc.$root.to.setAttribute('c',
Hello,
I'm glad to announce a new release of NGINX JavaScript module (njs).
Notable new features:
- XMLNode API to modify XML documents:
: const xml = require("xml");
: let data = `ToveJani`;
: let doc = xml.parse(data);
:
: doc.$root.to.$attr$b = 'bar2';
: doc.$root.to.setAttribute('c',
details: https://hg.nginx.org/njs/rev/7072e95495a4
branches:
changeset: 2070:7072e95495a4
user: Dmitry Volyntsev
date: Thu Mar 09 13:21:48 2023 -0800
description:
Added tag 0.7.11 for changeset 26dd3824b9f3
diffstat:
.hgtags | 1 +
1 files changed, 1 insertions(+), 0 deletions
details: https://hg.nginx.org/njs/rev/26dd3824b9f3
branches:
changeset: 2069:26dd3824b9f3
user: Dmitry Volyntsev
date: Thu Mar 09 09:26:03 2023 -0800
description:
Version 0.7.11.
diffstat:
CHANGES | 31 +++
1 files changed, 31 insertions(+), 0
details: https://hg.nginx.org/njs/rev/10127d70e941
branches:
changeset: 2068:10127d70e941
user: Dmitry Volyntsev
date: Tue Mar 07 20:51:45 2023 -0800
description:
Fixed String.prototype.replace() with replacement containing "$'", "$`".
Previously, the result
details: https://hg.nginx.org/njs/rev/107c7098bd6d
branches:
changeset: 2067:107c7098bd6d
user: Dmitry Volyntsev
date: Tue Mar 07 20:38:08 2023 -0800
description:
Making njs_string_prop() a macro.
diffstat:
src/njs_string.c | 25 -
src/njs_string.h | 26
details: https://hg.nginx.org/njs/rev/e3a609ff9001
branches:
changeset: 2065:e3a609ff9001
user: Dmitry Volyntsev
date: Fri Mar 03 18:50:23 2023 -0800
description:
Improved njs_string_create_chb().
Adding a more informative description when the function cannot build a
valid UTF-8
details: https://hg.nginx.org/njs/rev/8170f061bbde
branches:
changeset: 2066:8170f061bbde
user: Dmitry Volyntsev
date: Tue Mar 07 20:35:00 2023 -0800
description:
Introduced njs_string_offset() which support any string.
diffstat:
src/njs_iterator.c | 2 +-
src/njs_json.c
details: https://hg.nginx.org/njs/rev/9367f3dfe0d9
branches:
changeset: 2064:9367f3dfe0d9
user: Artem S. Povalyukhin
date: Fri Mar 03 22:57:30 2023 +0300
description:
Fixed njs_string_to_number() with additional space symbols.
This closes #621 issue on Github.
diffstat:
details: https://hg.nginx.org/njs/rev/7ad9dd5da3fb
branches:
changeset: 2063:7ad9dd5da3fb
user: Dmitry Volyntsev
date: Fri Mar 03 17:49:11 2023 -0800
description:
Fixed Array.prototype.sort() when array is changed while sorting.
Previously, the fast-path check did not take
details: https://hg.nginx.org/njs/rev/163229f0c552
branches:
changeset: 2062:163229f0c552
user: Dmitry Volyntsev
date: Fri Mar 03 17:49:10 2023 -0800
description:
Fetch: fixed typo in debug level.
diffstat:
nginx/ngx_js_fetch.c | 4 ++--
1 files changed, 2 insertions(+), 2
details: https://hg.nginx.org/njs/rev/700f267bd903
branches:
changeset: 2061:700f267bd903
user: Dmitry Volyntsev
date: Wed Mar 01 21:38:09 2023 -0800
description:
XML: removed XML_PARSE_DTDVALID during a document parsing.
When XML_PARSE_DTDVALID is enabled libxml2 parses
details: https://hg.nginx.org/njs/rev/7197f860de2f
branches:
changeset: 2060:7197f860de2f
user: Dmitry Volyntsev
date: Tue Feb 28 20:34:38 2023 -0800
description:
XML: fixed memory leaks in node.$tags set handler.
If xmlAddChild() failed the node pointer leaked
details: https://hg.nginx.org/njs/rev/688c4b1d9626
branches:
changeset: 2059:688c4b1d9626
user: Dmitry Volyntsev
date: Tue Feb 28 20:34:31 2023 -0800
description:
XML: fixed memory leak when exception happens in node.addChild().
The issue was introduced in 3891f338e2c9.
Found
details: https://hg.nginx.org/njs/rev/4911271d5453
branches:
changeset: 2058:4911271d5453
user: Dmitry Volyntsev
date: Tue Feb 28 00:26:45 2023 -0800
description:
Fixed attaching of a stack to an error object.
This problem is similar to previous commits. When
details: https://hg.nginx.org/njs/rev/3e33a686a9fd
branches:
changeset: 2057:3e33a686a9fd
user: Dmitry Volyntsev
date: Mon Feb 27 23:55:55 2023 -0800
description:
WebCrypto: fixed compilation with --debug=YES.
The issue was introduced in 2e3bbe8743af (0.7.10).
diffstat:
external
details: https://hg.nginx.org/njs/rev/293fe42c5e1c
branches:
changeset: 2056:293fe42c5e1c
user: Dmitry Volyntsev
date: Mon Feb 27 22:14:36 2023 -0800
description:
Fixed a func instance dumping with "name" as getter.
After njs_value_property() call the value argu
details: https://hg.nginx.org/njs/rev/a79b6a75cfab
branches:
changeset: 2055:a79b6a75cfab
user: Dmitry Volyntsev
date: Mon Feb 27 22:14:36 2023 -0800
description:
Fixed njs_object_property() with NJS_WHITEOUT properties.
Previosly, an error object dumping might result in invalid
details: https://hg.nginx.org/njs/rev/e4cef2c70d7c
branches:
changeset: 2054:e4cef2c70d7c
user: Dmitry Volyntsev
date: Mon Feb 27 22:14:36 2023 -0800
description:
Fixed array instance with a getter property dumping.
This closes #618 issue on Github.
diffstat:
src/njs_json.c
details: https://hg.nginx.org/njs/rev/1aa137411b09
branches:
changeset: 2053:1aa137411b09
user: Dmitry Volyntsev
date: Mon Feb 27 22:14:34 2023 -0800
description:
Fixed Error() instance dumping when "name" prop is not primitive.
Previously, njs_error_to_string2() might
details: https://hg.nginx.org/njs/rev/e92881f2b395
branches:
changeset: 2052:e92881f2b395
user: Dmitry Volyntsev
date: Mon Feb 27 19:05:03 2023 -0800
description:
Unit tests: replacing njs_vm_retval_string() with njs_vm_retval_dump().
The change allows to cover CLI behaviour more
details: https://hg.nginx.org/njs/rev/0f5b52a42f97
branches:
changeset: 2050:0f5b52a42f97
user: Dmitry Volyntsev
date: Mon Feb 27 18:16:01 2023 -0800
description:
Stream: added missed linking with libxml2 for the dynamic module.
The issue was introduced in 99b9f83e4d4d (0.7.10
details: https://hg.nginx.org/njs/rev/2af586015b65
branches:
changeset: 2048:2af586015b65
user: Dmitry Volyntsev
date: Fri Feb 17 22:38:25 2023 -0800
description:
Added njs_vm_value_to_c_string().
diffstat:
src/njs.h| 7 +++
src/njs_string.c | 38
201 - 300 of 1791 matches
Mail list logo