v1.10.0 - Reactive env vars, README audit, CLI --from-env
Features
-
watchEnv() - reactive environment variable watching for long-running processes (@ctroenv/core). Polls the source for changes, fires onChange callbacks, and supports AbortSignal. See the watch-env-reactivity blog post.
-
CLI init --from-env - scaffold a schema stub from an existing .env file. Saves typing when adding CtroEnv to an existing project:
�ash ctroenv init --from-env .env.local
Documentation
- README audit - cross-checked all 6 package READMEs against source code:
- Fixed ParseResult type in core README (success not ok)
- Fixed workersSource() signature in core README
- Fixed custom validator examples to use errInvalid/errType helpers
- Added watchEnv() API docs to root and core READMEs
- Added --from-env flag docs to CLI and root READMEs
- Exported colorize and ormatLevel from @ctroenv/shared
- Blog post: Reactive Environment Variables with watchEnv
Internal
- All packages version-bumped consistently
- README audit tooling added to CI pipeline
Full Changelog: v1.9.0...v1.10.0