@dudousxd/nestjs-codegen 0.25.0 → 0.25.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,23 @@
1
1
  # @dudousxd/nestjs-codegen
2
2
 
3
+ ## 0.25.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0379b5a: Add NestJS 12 to the supported peer range.
8
+
9
+ `@dudousxd/nestjs-client`'s `@nestjs/common` peer read `^10.0.0 || ^11.0.0` and now also admits
10
+ `^12.0.0`. `@dudousxd/nestjs-codegen`'s peer already read `>=9.0.0`, so it admitted 12 unchanged;
11
+ its dev dependencies move onto the 12.x line so the suite runs against NestJS 12.
12
+
13
+ No source change was needed. NestJS 12 ships its core packages as pure ESM and these packages are
14
+ already `"type": "module"`; neither implements a `PipeTransform`, so the `ArgumentMetadata` generic
15
+ added in v12 does not reach this code, and neither subclasses `ConsoleLogger`.
16
+
17
+ The AST discovery path was exercised end-to-end against a real NestJS 12 application: the generated
18
+ client is byte-identical to the one produced before the bump, so v12's decorator and metadata
19
+ changes leave route and field discovery intact.
20
+
3
21
  ## 0.25.0
4
22
 
5
23
  ### Minor Changes
package/dist/cli/main.cjs CHANGED
@@ -5299,7 +5299,7 @@ async function watch(config, onChange, options = {}) {
5299
5299
  }
5300
5300
 
5301
5301
  // src/index.ts
5302
- var VERSION = "0.25.0";
5302
+ var VERSION = "0.25.1";
5303
5303
 
5304
5304
  // src/cli/codegen.ts
5305
5305
  async function runCodegen(opts = {}) {