@dudousxd/nestjs-authz-drizzle 1.1.0 → 2.0.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 +6 -0
- package/README.md +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @dudousxd/nestjs-authz-drizzle
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#74](https://github.com/DavideCarvalho/nestjs-authz/pull/74) [`35421dc`](https://github.com/DavideCarvalho/nestjs-authz/commit/35421dc5b09bd271d5087d26e8536191ef6ba342) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - **Breaking:** require Node.js 24 or newer (`engines.node` is now `>=24`; it was `>=22`, and `>=20` for `-client` and `-react`). CI tests on Node 24 and 26. No API changes: see the Upgrading page in the docs.
|
|
8
|
+
|
|
3
9
|
## 1.1.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ between adapters leaves your data where it is.
|
|
|
20
20
|
pnpm add @dudousxd/nestjs-authz-drizzle @dudousxd/nestjs-authz @nestjs/authorization drizzle-orm
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Requires NestJS 12, `@nestjs/authorization` ^0.1.3, `@dudousxd/nestjs-authz` 0.
|
|
23
|
+
Requires NestJS 12, `@nestjs/authorization` ^0.1.3, `@dudousxd/nestjs-authz` 0.10+ and Node 24+.
|
|
24
24
|
`drizzle-orm` is a peer (`>=0.40.0 <1.0.0`). Any Drizzle Postgres driver works:
|
|
25
25
|
`node-postgres`, `postgres-js`, PGlite, Neon, and so on.
|
|
26
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudousxd/nestjs-authz-drizzle",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Drizzle ORM RBAC persistence + query-scope compiler for @dudousxd/nestjs-authz — roles, permissions, a Gate seam, and gate.scope() → Drizzle WHERE (zero connection ownership).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@nestjs/platform-express": "12.0.1",
|
|
57
57
|
"@nestjs/testing": "12.0.1",
|
|
58
58
|
"@testcontainers/postgresql": "12.1.0",
|
|
59
|
-
"@types/node": "
|
|
59
|
+
"@types/node": "24.19.2",
|
|
60
60
|
"@types/pg": "8.23.1",
|
|
61
61
|
"@types/supertest": "6.0.3",
|
|
62
62
|
"drizzle-orm": "0.45.2",
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
"supertest": "7.2.2",
|
|
67
67
|
"typescript": "5.9.3",
|
|
68
68
|
"vitest": "3.2.7",
|
|
69
|
-
"@dudousxd/nestjs-authz": "^0.
|
|
69
|
+
"@dudousxd/nestjs-authz": "^0.11.0"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=24"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
|
75
75
|
"@nestjs/drizzle": {
|