@dudousxd/nestjs-authz-testing 0.2.0 → 0.3.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 +28 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @dudousxd/nestjs-authz-testing
|
|
2
2
|
|
|
3
|
+
## 0.3.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
|
+
|
|
12
|
+
## 0.3.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- Back on the 0.x line. The 1.x and 2.x versions were published by accident: a release-tooling peer cascade bumped this package to a major, not an API decision. 0.3.0 contains everything those versions shipped (console `authorize` support, tenancy, Node 24+ `engines`) with no other change. Upgrade from 1.x/2.x to 0.3.0; those versions are deprecated.
|
|
17
|
+
|
|
18
|
+
## 2.0.0
|
|
19
|
+
|
|
20
|
+
### Major Changes
|
|
21
|
+
|
|
22
|
+
- [#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.
|
|
23
|
+
|
|
24
|
+
## 1.0.0
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`750a6b3`](https://github.com/DavideCarvalho/nestjs-authz/commit/750a6b3f80deea3803dec8df5f9f8cf67a046ac1)]:
|
|
29
|
+
- @dudousxd/nestjs-authz@0.10.0
|
|
30
|
+
|
|
3
31
|
## 0.2.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudousxd/nestjs-authz-testing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Test helpers for @dudousxd/nestjs-authz on @nestjs/authorization: a real Gate on a Nest testing module, expectCan/expectCannot, in-memory RBAC fakes, route requirement inspection.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,27 +38,27 @@
|
|
|
38
38
|
"CHANGELOG.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@dudousxd/nestjs-authz": ">=0.
|
|
42
|
-
"@nestjs/authorization": "^0.1.3",
|
|
41
|
+
"@dudousxd/nestjs-authz": ">=0.10.0",
|
|
42
|
+
"@nestjs/authorization": "^0.1.3 || ^1.0.0",
|
|
43
43
|
"@nestjs/common": "^12.0.0",
|
|
44
44
|
"@nestjs/core": "^12.0.0",
|
|
45
45
|
"@nestjs/testing": "^12.0.0",
|
|
46
46
|
"reflect-metadata": ">=0.1.13"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@nestjs/authorization": "0.
|
|
49
|
+
"@nestjs/authorization": "1.0.0",
|
|
50
50
|
"@nestjs/common": "12.0.1",
|
|
51
51
|
"@nestjs/core": "12.0.1",
|
|
52
52
|
"@nestjs/testing": "12.0.1",
|
|
53
|
-
"@types/node": "
|
|
53
|
+
"@types/node": "24.19.4",
|
|
54
54
|
"reflect-metadata": "0.2.2",
|
|
55
55
|
"rxjs": "7.8.2",
|
|
56
56
|
"typescript": "5.9.3",
|
|
57
57
|
"vitest": "3.2.7",
|
|
58
|
-
"@dudousxd/nestjs-authz": "^0.
|
|
58
|
+
"@dudousxd/nestjs-authz": "^0.13.1"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
|
-
"node": ">=
|
|
61
|
+
"node": ">=24"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "tsc -p tsconfig.json --incremental false",
|