What's New
Multi-environment env file support
setup and pull now write secrets to environment-specific local files instead of a single shared file.
| Environment | Regular projects | Cloudflare Workers |
|---|---|---|
dev |
.env.development.local |
.dev.vars |
prod |
.env.production.local |
.dev.vars.production |
This prevents dev and prod secrets from overwriting each other. The env parameter is optional — without it, behavior is unchanged (backward compatible).
Documentation
- Fixed default env in README examples (
prod, notdev) - Added env-specific file mapping table to all three language READMEs (en, zh, ja)