aiwaf 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -13
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,7 +30,6 @@ availability at the cost of enforcement when the cache fails. Flask rejects
|
|
|
30
30
|
invalid Redis configuration at initialization, and FastAPI rejects requests
|
|
31
31
|
instead of silently selecting a process-local cache. Python `rediss://` URLs
|
|
32
32
|
are delegated to redis-py for TLS support when that driver is installed.
|
|
33
|
-
Java uses Jackson 2.22.3 to address advisories affecting 2.22.2.
|
|
34
33
|
|
|
35
34
|
Python Flask/FastAPI Redis buckets now update atomically across workers.
|
|
36
35
|
Django's native `django.core.cache.backends.redis.RedisCache` uses Redis
|
|
@@ -40,15 +39,15 @@ the supported Redis backends when sharing limits across workers.
|
|
|
40
39
|
|
|
41
40
|
Each package is versioned and released independently.
|
|
42
41
|
|
|
43
|
-
Python 1.1.
|
|
42
|
+
Python 1.1.5, Rust/Python 0.2.4, Node.js 1.1.3, WASM 0.2.3, and Java 1.3.3 are local release candidates; see the
|
|
44
43
|
[upgrade notes](docs/releases/2026-10-elv2.md).
|
|
45
44
|
|
|
46
45
|
| Runtime | Package | Repository version | Primary use |
|
|
47
46
|
| --- | --- | ---: | --- |
|
|
48
|
-
| Python | [`aiwaf`](https://pypi.org/project/aiwaf/) | `1.1.
|
|
49
|
-
| Node.js | [`aiwaf`](https://www.npmjs.com/package/aiwaf) | `1.1.
|
|
50
|
-
| Rust/Python | [`aiwaf-rust`](https://pypi.org/project/aiwaf-rust/) | `0.2.
|
|
51
|
-
| WebAssembly | [`aiwaf-wasm`](https://www.npmjs.com/package/aiwaf-wasm) | `0.2.
|
|
47
|
+
| Python | [`aiwaf`](https://pypi.org/project/aiwaf/) | `1.1.5` | Django, Flask, and FastAPI protection |
|
|
48
|
+
| Node.js | [`aiwaf`](https://www.npmjs.com/package/aiwaf) | `1.1.3` | Express and Node framework middleware |
|
|
49
|
+
| Rust/Python | [`aiwaf-rust`](https://pypi.org/project/aiwaf-rust/) | `0.2.4` | Native Python acceleration and JSON model inference |
|
|
50
|
+
| WebAssembly | [`aiwaf-wasm`](https://www.npmjs.com/package/aiwaf-wasm) | `0.2.3` | Rust detection and model primitives for JavaScript |
|
|
52
51
|
| Java | `io.github.aiwaf-project:aiwaf-java` | `1.3.3` | Spring MVC and Jakarta Servlet protection |
|
|
53
52
|
|
|
54
53
|
Supported framework integrations include Django, Flask, FastAPI, Express, Fastify, Hapi, Koa, NestJS, Next.js API routes, AdonisJS, Sails.js, Spring MVC, and Jakarta Servlet.
|
|
@@ -98,7 +97,7 @@ pip install "aiwaf[django]"
|
|
|
98
97
|
pip install "aiwaf[flask]"
|
|
99
98
|
pip install "aiwaf[fastapi]"
|
|
100
99
|
|
|
101
|
-
# Backward-compatible alias; Python 1.1.
|
|
100
|
+
# Backward-compatible alias; Python 1.1.5 already installs aiwaf-rust
|
|
102
101
|
pip install "aiwaf[rust]"
|
|
103
102
|
|
|
104
103
|
# Node.js middleware
|
|
@@ -122,7 +121,7 @@ Java 1.3.3, after it is published to Maven Central:
|
|
|
122
121
|
|
|
123
122
|
The Python package requires Python 3.10 or newer. Framework dependencies are optional, so install only the extra needed by the application.
|
|
124
123
|
|
|
125
|
-
Python 1.1.
|
|
124
|
+
Python 1.1.5 requires `aiwaf-rust>=0.2.4`; the `rust` extra remains an installation
|
|
126
125
|
alias. Publish the matching Rust wheel with `NativeCSVPipeline` support before
|
|
127
126
|
the Python release. The Rust release workflow builds Linux x86_64/aarch64,
|
|
128
127
|
musl x86_64, macOS x86_64/arm64 and Windows x86_64 wheels and checks the native
|
|
@@ -427,7 +426,7 @@ When `aiwaf_rust` is importable, supported acceleration paths are selected autom
|
|
|
427
426
|
|
|
428
427
|
### Rust-backed CSV runtime and training
|
|
429
428
|
|
|
430
|
-
The Python 1.1.
|
|
429
|
+
The Python 1.1.5 and `aiwaf-rust` 0.2.4 release candidates add native CSV storage,
|
|
431
430
|
shared policy evaluation, and training preparation for Django, Flask, and FastAPI.
|
|
432
431
|
Install matching Python and Rust builds and reload application workers to activate
|
|
433
432
|
the new capabilities. Older extensions retain the compatible Python fallback.
|
|
@@ -1329,10 +1328,10 @@ Release versions and tags must match the relevant manifest.
|
|
|
1329
1328
|
|
|
1330
1329
|
| Package | Manifest | Tag | Workflow |
|
|
1331
1330
|
| --- | --- | --- | --- |
|
|
1332
|
-
| Python `aiwaf` | `pyproject.toml` | `python-v1.1.
|
|
1333
|
-
| npm `aiwaf` | `js/package.json` | `js-v1.1.
|
|
1334
|
-
| PyPI `aiwaf-rust` | `rust/pyproject.toml` + `rust/Cargo.toml` | `rust-v0.2.
|
|
1335
|
-
| npm `aiwaf-wasm` | `rust/crates/aiwaf_wasm/Cargo.toml` | `wasm-v0.2.
|
|
1331
|
+
| Python `aiwaf` | `pyproject.toml` | `python-v1.1.5` | `python-publish.yml` |
|
|
1332
|
+
| npm `aiwaf` | `js/package.json` | `js-v1.1.3` | `npm-publish.yml` |
|
|
1333
|
+
| PyPI `aiwaf-rust` | `rust/pyproject.toml` + `rust/Cargo.toml` | `rust-v0.2.4` | `rust-publish.yml` |
|
|
1334
|
+
| npm `aiwaf-wasm` | `rust/crates/aiwaf_wasm/Cargo.toml` | `wasm-v0.2.3` | `wasm-publish.yml` |
|
|
1336
1335
|
| Maven `aiwaf-java` | `java/pom.xml` | `java-v1.3.3` | `java-publish.yml` |
|
|
1337
1336
|
|
|
1338
1337
|
Python and Rust publish to PyPI with trusted publishing. The npm workflows use npm trusted publishing and stage packages for approval. Configure the trusted publisher with organization `aiwaf-project`, repository `aiwaf`, the exact workflow filename, and the environment used by that workflow.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiwaf",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "AIWAF Web Application Firewall for JavaScript applications and major Node.js frameworks",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/parser": "^7.29.2",
|
|
39
|
-
"aiwaf-wasm": "^0.2.
|
|
39
|
+
"aiwaf-wasm": "^0.2.3",
|
|
40
40
|
"express": "^4.21.2",
|
|
41
41
|
"glob": "^13.0.6",
|
|
42
42
|
"knex": "^2.4.2",
|