@dudousxd/nestjs-authz-drizzle 0.5.0 → 0.5.1

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @dudousxd/nestjs-authz-drizzle
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#104](https://github.com/DavideCarvalho/nestjs-authz/pull/104) [`7391fc8`](https://github.com/DavideCarvalho/nestjs-authz/commit/7391fc8ca81f316aaca509bf78011f924d786488) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Support the official 1.0 releases: the `@nestjs/authorization` peer range is now `^0.1.3 || ^1.0.0`
8
+ (and, on the core package, `@nestjs/authentication` is `^0.1.5 || ^1.0.0`). Nothing else changes;
9
+ 0.1.x keeps working. The core package's `CanArgsResolver` stays authz's tuple-typed resolver, distinct
10
+ from the official `CanArgsResolver<P, A>`; both are accepted as the `@Can()` argument.
11
+
3
12
  ## 0.5.0
4
13
 
5
14
  ### 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.10+ and Node 24+.
23
+ Requires NestJS 12, `@nestjs/authorization` ^0.1.3 or ^1.0.0, `@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": "0.5.0",
3
+ "version": "0.5.1",
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": {
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "peerDependencies": {
42
42
  "@dudousxd/nestjs-authz": ">=0.10.0",
43
- "@nestjs/authorization": "^0.1.3",
43
+ "@nestjs/authorization": "^0.1.3 || ^1.0.0",
44
44
  "@nestjs/common": "^12.0.0",
45
45
  "@nestjs/core": "^12.0.0",
46
46
  "drizzle-orm": ">=0.40.0 <1.0.0",
@@ -48,25 +48,25 @@
48
48
  "@nestjs/drizzle": ">=0.0.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@electric-sql/pglite": "0.4.6",
52
- "@nestjs/authorization": "0.1.3",
51
+ "@electric-sql/pglite": "0.6.1",
52
+ "@nestjs/authorization": "1.0.0",
53
53
  "@nestjs/common": "12.0.1",
54
54
  "@nestjs/core": "12.0.1",
55
55
  "@nestjs/drizzle": "0.0.2",
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": "24.19.2",
59
+ "@types/node": "24.19.4",
60
60
  "@types/pg": "8.23.1",
61
61
  "@types/supertest": "6.0.3",
62
- "drizzle-orm": "0.45.2",
63
- "pg": "8.23.0",
62
+ "drizzle-orm": "0.45.4",
63
+ "pg": "8.23.1",
64
64
  "reflect-metadata": "0.2.2",
65
65
  "rxjs": "7.8.2",
66
66
  "supertest": "7.2.2",
67
67
  "typescript": "5.9.3",
68
68
  "vitest": "3.2.7",
69
- "@dudousxd/nestjs-authz": "^0.12.0"
69
+ "@dudousxd/nestjs-authz": "^0.13.1"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=24"