devterms
devterms copied to clipboard
Update dependency @t3-oss/env-nextjs to ^0.13.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @t3-oss/env-nextjs (source) | ^0.11.1 -> ^0.13.0 |
Release Notes
t3-oss/t3-env (@​t3-oss/env-nextjs)
v0.13.0
Minor Changes
-
#​313
35577fcThanks @​EskiMojo14! - feat!: added ability to customise schema combinationCombination of schemas can now be customised using the
createFinalSchemaoption. This allows further refinement or transformation of the environment variables.For 99% of users, this is a non-breaking change. If you were relying on internal types, there's a type-only breaking change:
CreateEnvnow has the signatureCreateEnv<TFinalSchema, TExtends>, instead of the previousCreateEnv<TServer, TClient, TShared, TExtends>.- Previous behaviour can be achieved by using
DefaultCombinedSchema<TServer, TClient, TShared>as the type forTFinalSchema.
- Previous behaviour can be achieved by using
Patch Changes
v0.12.0
Minor Changes
-
#​299
b13d46bThanks @​EskiMojo14! - feat!: support standard schemaValidators can now be any validator that supports Standard Schema, for example Zod & Valibot.
This feature comes with some breaking changes:
- If using Zod, the minimum required version is now 3.24.
onValidationErrornow getsStandardSchemaV1.Issue[]instead ofZodError
-
#​310
eb37304Thanks @​EskiMojo14! - feat!: add valibot presetsPresets using Valibot are now available using the
/presets-valibotentrypoint.This feature comes with some breaking changes:
- Zod presets have now been moved to
/presets-zod.
- Zod presets have now been moved to
Patch Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.