nestjs-api-forge 1.0.5 → 1.0.6
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/README.md +12 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -473,23 +473,29 @@ rxjs ^7
|
|
|
473
473
|
|
|
474
474
|
## 📋 Changelog
|
|
475
475
|
|
|
476
|
-
### v1.
|
|
476
|
+
### v1.0.6 — Current
|
|
477
|
+
- **Changelog updated** — all versions documented with accurate entries aligned to npm release history
|
|
478
|
+
|
|
479
|
+
### v1.0.5
|
|
480
|
+
- **Open source documentation** — full README rewrite with badges, "What it does" table, response shape examples, and complete API reference
|
|
481
|
+
- **Community health files** — `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, `CONTRIBUTORS.md`, `REPOSITORY_RULES.md`
|
|
482
|
+
- **GitHub templates** — bug report and feature request issue templates, `FUNDING.yml`, `CODEOWNERS`
|
|
483
|
+
- **ESLint setup** — ESLint v10 flat config (`eslint.config.mjs`) with `@typescript-eslint` integration; `npm run lint` now works out of the box
|
|
484
|
+
|
|
485
|
+
### v1.0.4
|
|
477
486
|
- `ForgeValidationPipe` — structured validation errors with nested field support (dot-notation)
|
|
478
487
|
- `@ForgeMeta(extra)` — merge custom fields into response `meta` per route or controller
|
|
479
488
|
- `@ForgeDeprecated(notice?)` — deprecation flag in `meta` + `Deprecation: true` response header
|
|
489
|
+
- `@ForgeMessage`, `@ForgeRawResponse`, `@ApiForge` decorators
|
|
480
490
|
- `ApiResponseDto.accepted()` — 202 Accepted helper
|
|
481
491
|
- Correlation ID passthrough (`correlationIdHeader` option)
|
|
482
492
|
- Response time measurement (`includeResponseTime` option)
|
|
483
493
|
- `forRootAsync` fix — options factory now runs once instead of twice
|
|
484
494
|
- 3 new exceptions: `MethodNotAllowedException`, `PaymentRequiredException`, `GatewayTimeoutException`
|
|
485
|
-
|
|
486
|
-
### v1.0.4
|
|
487
|
-
- Decorators: `@ForgeMessage`, `@ForgeRawResponse`, `@ForgeMeta`, `@ForgeDeprecated`, `@ApiForge`
|
|
488
|
-
- `ForgeValidationPipe` with structured field-level errors
|
|
489
495
|
- Response metadata support (`includePath`, `includeTimestamp`, `includeRequestId`, `includeResponseTime`)
|
|
490
496
|
|
|
491
497
|
### v1.0.3
|
|
492
|
-
-
|
|
498
|
+
- Update repository URL format in `package.json`
|
|
493
499
|
|
|
494
500
|
### v1.0.0
|
|
495
501
|
- Initial release — `ApiForgeModule.forRoot()`, `ForgeExceptionFilter`, `ForgeResponseInterceptor`, `ApiResponseDto`, and 10 typed exceptions
|
package/package.json
CHANGED