- #849 (patch)
Generate code for Python, Rust, Go, and PHP with new per-language decorators (@generatePythonEnv,@generateRustEnv,@generateGoEnv,@generatePhpEnv). Each emits a self-contained, idiomatic module — typed coerced values, a loader that parses the injected env, and aSENSITIVE_KEYSconstant — so it's usable out of the box. The TypeScript generator moves to@generateTsTypesand gains options to controlprocess.env/import.meta.envaugmentation and a monorepo-friendlyexposeEnv=localmode.@generateTypes(lang=ts)still works as a deprecated alias. Thevarlock typegencommand is renamed tovarlock codegen(withtypegenkept as a deprecated alias). Note:@disableProcessEnvInjectionnow requires a statictrue/falsevalue — env-dependent values likeforEnv(prod)are a schema error, since generated code must not differ per environment.
Published to
- ✅ custom