Skip to content

chore: v12.0.0 release - #2339

Open
kamilmysliwiec wants to merge 21 commits into
masterfrom
v5.0.0
Open

chore: v12.0.0 release#2339
kamilmysliwiec wants to merge 21 commits into
masterfrom
v5.0.0

Conversation

@kamilmysliwiec

@kamilmysliwiec kamilmysliwiec commented May 5, 2026

Copy link
Copy Markdown
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe: Release

What is the new behavior?

  • migrate to standard schema (zod, joi, valibot etc for validation)
  • cjs -> esm

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

nivek-ph and others added 19 commits July 30, 2025 09:48
* feat: add Zod validation support for configuration schema

* refactor: change import to type import and simplify JoiValidator constructor
… Zod v3 and v4

- Added a new type definition for ZodType that supports both Zod v3 and v4.
- Refactored validator imports to use the new ZodType definition.
- Updated AppModule to include methods for Zod v3, v4, and v4 mini schema validation.
- Enhanced e2e tests to validate environment variables using the new Zod schema methods.
…d remove Joi support

- Added `@standard-schema/spec` as a dependency for validation.
- Updated `ConfigModuleOptions` to use `StandardSchemaV1` for validation schema.
- Introduced `validateWithStandardSchema` utility for config validation.
- Removed Joi-related validation classes and interfaces.
- Updated tests to reflect changes in validation error handling.
- Added setup to clear process.env before each test and restore it afterward.
- Ensured environment variables are isolated during tests to prevent conflicts.
@kamilmysliwiec kamilmysliwiec changed the title chore: v5.0.0 release chore: v12.0.0 release May 25, 2026
@kamilmysliwiec

Copy link
Copy Markdown
Member Author

@nestjs/config@12.0.0-next.0 has just been published

fix(package.json): add missing default export
@Roman991

Roman991 commented Jun 3, 2026

Copy link
Copy Markdown

#2348 this fixes the missing default export

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants