@dudousxd/nestjs-authz-inertia 0.2.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @dudousxd/nestjs-authz-inertia
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
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`35421dc`](https://github.com/DavideCarvalho/nestjs-authz/commit/35421dc5b09bd271d5087d26e8536191ef6ba342)]:
12
+ - @dudousxd/nestjs-authz-client@0.3.0
13
+
14
+ ## 1.0.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`750a6b3`](https://github.com/DavideCarvalho/nestjs-authz/commit/750a6b3f80deea3803dec8df5f9f8cf67a046ac1)]:
19
+ - @dudousxd/nestjs-authz@0.10.0
20
+
3
21
  ## 0.2.0
4
22
 
5
23
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "0.2.0";
1
+ export declare const VERSION = "2.0.0";
2
2
  export { AuthzInertiaModule } from './module.js';
3
3
  export { AuthzInertiaInterceptor } from './authz-inertia.interceptor.js';
4
4
  export { AuthzDenialFilter, DEFAULT_LOGIN_URL, DEFAULT_FORBIDDEN_URL, } from './authz-denial.filter.js';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const VERSION = '0.2.0';
1
+ export const VERSION = '2.0.0';
2
2
  export { AuthzInertiaModule } from './module.js';
3
3
  export { AuthzInertiaInterceptor } from './authz-inertia.interceptor.js';
4
4
  export { AuthzDenialFilter, DEFAULT_LOGIN_URL, DEFAULT_FORBIDDEN_URL, } from './authz-denial.filter.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudousxd/nestjs-authz-inertia",
3
- "version": "0.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "Inertia.js integration for @dudousxd/nestjs-authz — share a user's abilities as props so client `can()` checks need no network request.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,10 +38,10 @@
38
38
  "CHANGELOG.md"
39
39
  ],
40
40
  "dependencies": {
41
- "@dudousxd/nestjs-authz-client": "^0.2.2"
41
+ "@dudousxd/nestjs-authz-client": "^0.3.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "@dudousxd/nestjs-authz": ">=0.9.0 <0.10.0",
44
+ "@dudousxd/nestjs-authz": ">=0.10.0",
45
45
  "@dudousxd/nestjs-context": ">=0.1.0",
46
46
  "@dudousxd/nestjs-inertia": ">=1.0.0",
47
47
  "@nestjs/authorization": "^0.1.3",
@@ -60,15 +60,15 @@
60
60
  "@nestjs/common": "12.0.1",
61
61
  "@nestjs/core": "12.0.1",
62
62
  "@nestjs/testing": "12.0.1",
63
- "@types/node": "22.20.5",
63
+ "@types/node": "24.19.2",
64
64
  "reflect-metadata": "0.2.2",
65
65
  "rxjs": "7.8.2",
66
66
  "typescript": "5.9.3",
67
67
  "vitest": "3.2.7",
68
- "@dudousxd/nestjs-authz": "^0.9.1"
68
+ "@dudousxd/nestjs-authz": "^0.11.0"
69
69
  },
70
70
  "engines": {
71
- "node": ">=22"
71
+ "node": ">=24"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "tsc -p tsconfig.json --incremental false",