@aifabrix/miso-client 5.0.6 → 5.2.0
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/CHANGELOG.md +49 -0
- package/README.md +10 -0
- package/package.json +11 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [5.2.0] - 2026-11-10
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Node runtime support** - The published SDK now requires Node.js 24 or newer.
|
|
15
|
+
Node.js 22 is no longer supported.
|
|
16
|
+
|
|
17
|
+
### Technical
|
|
18
|
+
|
|
19
|
+
- Run required SDK, packed-consumer, bootstrap, HTTP and server/browser demo
|
|
20
|
+
validation on Node.js 24, remove the Node.js 22 compatibility lane and delete
|
|
21
|
+
the optional Node.js 26 readiness job.
|
|
22
|
+
- Cancel superseded pull-request validation while keeping `main` and manual runs
|
|
23
|
+
independent, and align the repository with the canonical platform policy.
|
|
24
|
+
- Allow freshly published internal `@aifabrix/*` packages through the existing
|
|
25
|
+
dependency release-age policy while preserving its controls for external
|
|
26
|
+
packages.
|
|
27
|
+
|
|
28
|
+
### Migration
|
|
29
|
+
|
|
30
|
+
- Upgrade the application runtime to Node.js 24 before adopting version 5.2.0.
|
|
31
|
+
Node.js 22 consumers must remain on an earlier SDK version until their runtime
|
|
32
|
+
is upgraded.
|
|
33
|
+
- This minor release is an explicitly approved version-policy exception and is
|
|
34
|
+
not runtime-backward-compatible for Node.js 22 users.
|
|
35
|
+
|
|
36
|
+
## [5.1.0] - 2026-10-23
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- **Node runtime support** - The published SDK support floor moves from the
|
|
41
|
+
previously documented Node.js 18+ contract to Node.js 22+, while repository
|
|
42
|
+
development and the private demo applications use Node.js 24.
|
|
43
|
+
|
|
44
|
+
### Technical
|
|
45
|
+
|
|
46
|
+
- Pin pnpm 12.11.2, adopt the canonical platform baseline and controlled install
|
|
47
|
+
policies, and add required Node.js 22/24 plus non-blocking Node.js 26 CI coverage.
|
|
48
|
+
- Add independent packed-package consumers for CommonJS/ESM exports, Node-only
|
|
49
|
+
bootstrap isolation, and Express 4/5 declarations, while retaining server,
|
|
50
|
+
frontend, browser-bundle, HTTP and bootstrap validation.
|
|
51
|
+
- Update the publication workflow to Node.js 24, exact pnpm, packed-consumer proof
|
|
52
|
+
and npm provenance, and add grouped dependency update configuration.
|
|
53
|
+
|
|
54
|
+
### Migration
|
|
55
|
+
|
|
56
|
+
- Consumers on Node.js 18 or 20 must upgrade to a supported Node.js 22 or newer
|
|
57
|
+
runtime before adopting the next published package containing this change.
|
|
58
|
+
|
|
10
59
|
## [5.0.6] - 2026-10-15
|
|
11
60
|
|
|
12
61
|
### Technical
|
package/README.md
CHANGED
|
@@ -118,6 +118,9 @@ The **AI Fabrix Miso Client SDK** provides authentication, authorization, and lo
|
|
|
118
118
|
|
|
119
119
|
Get your application secured in 30 seconds.
|
|
120
120
|
|
|
121
|
+
Requires Node.js 24 or newer. This repository develops and validates the SDK on
|
|
122
|
+
Node.js 24.
|
|
123
|
+
|
|
121
124
|
### Step 1: Install
|
|
122
125
|
|
|
123
126
|
```bash
|
|
@@ -1059,6 +1062,13 @@ The SDK consists of five core services:
|
|
|
1059
1062
|
|
|
1060
1063
|
→ [Docs index](docs/README.md)
|
|
1061
1064
|
|
|
1065
|
+
### CI runtime validation
|
|
1066
|
+
|
|
1067
|
+
Pull requests and pushes to `main` run the required Node.js 24 SDK checks and the
|
|
1068
|
+
Node.js 24 server/browser demo. Superseded validation is cancelled only for a
|
|
1069
|
+
newer run of the same pull request; `main` pushes and manual workflow runs remain
|
|
1070
|
+
independent. Publishing continues through the separate release workflow.
|
|
1071
|
+
|
|
1062
1072
|
---
|
|
1063
1073
|
|
|
1064
1074
|
## 🌐 Setup Your Application
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aifabrix/miso-client",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "AI Fabrix Client SDK - Authentication, authorization, logging, and Express.js utilities",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,6 +37,9 @@
|
|
|
37
37
|
],
|
|
38
38
|
"author": "AI Fabrix Team",
|
|
39
39
|
"license": "MIT",
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=24.0.0"
|
|
42
|
+
},
|
|
40
43
|
"peerDependencies": {
|
|
41
44
|
"express": "^4.18.0 || ^5.0.0"
|
|
42
45
|
},
|
|
@@ -47,7 +50,7 @@
|
|
|
47
50
|
},
|
|
48
51
|
"dependencies": {
|
|
49
52
|
"@types/jsonwebtoken": "^9.0.10",
|
|
50
|
-
"axios": "^1.
|
|
53
|
+
"axios": "^1.20.0",
|
|
51
54
|
"dotenv": "^17.4.2",
|
|
52
55
|
"ioredis": "^5.11.1",
|
|
53
56
|
"jose": "^5.10.0",
|
|
@@ -58,7 +61,7 @@
|
|
|
58
61
|
"@types/express": "^5.0.6",
|
|
59
62
|
"@types/express-serve-static-core": "^5.1.2",
|
|
60
63
|
"@types/jest": "^30.0.0",
|
|
61
|
-
"@types/node": "^
|
|
64
|
+
"@types/node": "^24.0.0",
|
|
62
65
|
"@types/serve-static": "^2.2.0",
|
|
63
66
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
64
67
|
"@typescript-eslint/parser": "^6.21.0",
|
|
@@ -67,8 +70,10 @@
|
|
|
67
70
|
"eslint-config-prettier": "^9.1.2",
|
|
68
71
|
"express": "^5.2.1",
|
|
69
72
|
"jest": "^30.4.2",
|
|
73
|
+
"js-yaml": "^4.3.2",
|
|
70
74
|
"minimatch": "9.0.7",
|
|
71
75
|
"prettier": "^3.9.6",
|
|
76
|
+
"smol-toml": "1.9.1",
|
|
72
77
|
"ts-jest": "^29.4.12",
|
|
73
78
|
"ts-node": "^10.9.2",
|
|
74
79
|
"typescript": "^6.0.3"
|
|
@@ -89,6 +94,8 @@
|
|
|
89
94
|
"homepage": "https://github.com/esystemsdev/aifabrix-miso-client",
|
|
90
95
|
"scripts": {
|
|
91
96
|
"silent": "node scripts/run-silent.mjs",
|
|
97
|
+
"check:platform-baseline": "node scripts/platform-baseline-check.mjs --profile miso-client",
|
|
98
|
+
"prebuild": "pnpm run check:platform-baseline",
|
|
92
99
|
"build": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsc && node -e \"require('fs').copyFileSync('src/express/express.d.ts', 'dist/express/express.d.ts')\"",
|
|
93
100
|
"build:silent": "pnpm run silent -- build:silent .temp/validation/01-build \"pnpm run build\"",
|
|
94
101
|
"test": "node --unhandled-rejections=warn -r ./tests/setup-rejection-handler.js node_modules/jest/bin/jest.js --runInBand --detectOpenHandles --no-coverage",
|
|
@@ -118,6 +125,7 @@
|
|
|
118
125
|
"server:start:dev:silent": "pnpm run silent -- --detach server:start:dev:silent .temp/validation/server-05-start-dev \"pnpm --dir server run start:dev\"",
|
|
119
126
|
"all": "pnpm run lint:fix && pnpm run test && pnpm run test:integration:api && pnpm run test:integration && pnpm run build",
|
|
120
127
|
"test:bootstrap:package": "node tests/package/bootstrap-runtime.smoke.mjs",
|
|
128
|
+
"test:package:packed": "node tests/package/packed-consumer.smoke.mjs",
|
|
121
129
|
"test:e2e": "node --test tests/e2e/*.test.mjs",
|
|
122
130
|
"test:encryption:live": "node tests/manual/encryption-live.mjs"
|
|
123
131
|
}
|