@nathapp/nestjs-data 3.0.4 → 3.2.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @nathapp/nestjs-data@3.0.4 build
2
+ > @nathapp/nestjs-data@3.2.1 build
3
3
  > rimraf dist && tsc -p tsconfig.json
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,81 @@
1
1
  # @nathapp/nestjs-data
2
2
 
3
+ ## 3.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0610b83: Fix Exception Bug on nestjs-common
8
+ - Updated dependencies [0610b83]
9
+ - @nathapp/nestjs-common@3.2.1
10
+
11
+ ## 3.2.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 1876b9a: ### nestjs-auth
16
+
17
+ - Add JWKS support via `JwksJwtStrategyProvider` and `createJwksStrategyProvider` factory — enables remote key resolution through `jwks-rsa` (optional peer dep)
18
+ - Add `validateJwksOptions` security guard and `JwksOptions` interface
19
+ - Export `JwksJwtStrategyProvider` and `JwksOptions` from the public API
20
+ - Fix permission guard and JWT module immutability issues from code review
21
+
22
+ ### nestjs-typeorm
23
+
24
+ - Add `AbstractTypeOrmRepository<TDomain, TEntity, TId>` — portable `IRepository` implementation decoupled from TypeORM internals
25
+ - Add `TYPEORM_TRANSACTION_ALS` DI token and publish it from `forRoot`/`forRootAsync`
26
+ - `forCustomRepository` now instantiates `AbstractTypeOrmRepository` subclasses with the correct per-DataSource tx manager token
27
+ - Add `getTypeOrmTransactionManagerToken(name?)` helper for multi-DataSource wiring
28
+ - Named DataSource tx tokens no longer collide; default DataSource still aliases the global `TRANSACTION_MANAGER` symbol
29
+
30
+ ### nestjs-prisma
31
+
32
+ - Add `getPrismaTransactionManagerToken(name?)` helper for multi-DataSource wiring
33
+ - `forRoot` / `forRootAsync` register named tx manager token + default-only guard to prevent collision
34
+
35
+ ### nestjs-data
36
+
37
+ - Add `IRepository<TDomain, TId>` portable repository contract
38
+ - Fix missing `@nathapp/nestjs-common` peer dep for turborepo build resolution
39
+
40
+ ### nestjs-common
41
+
42
+ - Add `request-ip` utility for extracting client IP across Express and Fastify adapters
43
+
44
+ ### nestjs-cache
45
+
46
+ - Fix cache interceptor, cache manager, and cache tag registry immutability and type issues
47
+
48
+ ### nestjs-app
49
+
50
+ - Fix `nathapp.ts` and `app-factory.ts` code review findings (immutability, error handling)
51
+
52
+ ### nestjs-queue
53
+
54
+ - Upgrade `uuid` dependency from `^9.0.0` to `^11.1.1` (security)
55
+ - Fix BullMQ health check to use `IRedisClient.info()` (aligned with BullMQ interface)
56
+
57
+ ### nestjs-notification
58
+
59
+ - Upgrade `nodemailer` dev dep from `^7` to `^8` — resolves SMTP command injection CVEs (GHSA-c7w3-x93f-qmm8, GHSA-vvjj-xcjg-gr5g)
60
+
61
+ ### nestjs-storage
62
+
63
+ - Fix code review findings (immutability, validation)
64
+
65
+ ### nestjs-throttler
66
+
67
+ - Fix code review findings
68
+
69
+ ### All packages
70
+
71
+ - Upgrade AJV to v8 (removes root override that broke `@fastify/ajv-compiler`)
72
+ - Align all package versions to 3.1.3 as baseline for this minor release
73
+
74
+ ### Patch Changes
75
+
76
+ - Updated dependencies [1876b9a]
77
+ - @nathapp/nestjs-common@3.2.0
78
+
3
79
  ## 3.0.4
4
80
 
5
81
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nathapp/nestjs-data",
3
- "version": "3.0.4",
3
+ "version": "3.2.1",
4
4
  "description": "ORM-agnostic data access abstractions for NestJS",
5
5
  "scripts": {
6
6
  "clean": "rimraf dist/ .turbo/",
@@ -13,17 +13,17 @@
13
13
  "types": "dist/index.d.ts",
14
14
  "main": "dist/index.js",
15
15
  "dependencies": {
16
- "@nathapp/nestjs-common": "^3.0.0"
16
+ "@nathapp/nestjs-common": "^3.2.1"
17
17
  },
18
18
  "devDependencies": {
19
+ "@golevelup/ts-jest": "^0.6.1",
19
20
  "@nathapp/eslint-config": "1.0.1",
20
21
  "@nathapp/typescript-config": "1.0.1",
21
- "@golevelup/ts-jest": "^0.6.1",
22
22
  "eslint": "^8.57.0",
23
23
  "typescript": "^5"
24
24
  },
25
25
  "peerDependencies": {
26
- "@nestjs/common": "^10.0.0 || ^11.0.0",
27
- "@nathapp/nestjs-common": "^3.0.0"
26
+ "@nathapp/nestjs-common": "^3.0.0",
27
+ "@nestjs/common": "^10.0.0 || ^11.0.0"
28
28
  }
29
29
  }