Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-12 | NJS: loader should be registered using njs_vm_set_module_loader() | Andrei Zeliankou | 1 | -10/+8 | |
This change makes NJS module incompatible with NJS older than 0.8.3. Therefore, the configuration version check has been adjusted accordingly. This change was introduced in NJS 0.8.3 here: <https://hg.nginx.com/njs/rev/ad1a7ad3c715> | |||||
2024-02-20 | NJS: variable access support | Zhidao HONG | 1 | -2/+3 | |
This commit introduces the 'vars' JavaScript object to NJS, enabling direct access to native variables such as $uri and $arg_foo. The syntax is `${vars.var_name}` or `${'vars[var_name]'}`. For example: { "action": { "share": "`/www/html${vars.uri}`" } } | |||||
2024-02-20 | NJS: Simplified nxt_js_call() | Zhidao HONG | 1 | -40/+17 | |
2023-07-12 | NJS: workaround for the warning in nxt_js_call() on Freebsd12 gcc. | Zhidao HONG | 1 | -4/+3 | |
2023-07-11 | NJS: supported 0.8.0. | Zhidao HONG | 1 | -15/+15 | |
2023-05-08 | NJS: supported loadable modules. | Zhidao HONG | 1 | -26/+222 | |
2023-01-30 | NJS: adding the missing vm destruction. | Zhidao HONG | 1 | -0/+17 | |
This commit fixed the njs memory leak happened in the config validation, updating and http requests. | |||||
2022-11-22 | NJS: added http request prototype. | Zhidao HONG | 1 | -3/+72 | |
2022-11-20 | Basic njs support. | Zhidao HONG | 1 | -0/+230 | |