Repository navigation
v1.0.2 – Stable Environment Loader (No Override Mode)
🚀 Improvements in Environment Loading
This release introduces a fully safe and stable EnvironmentLoader
implementation that prevents .env files from overriding variables
already defined by the runtime, CI/CD pipelines, or PHPUnit tests.
🔒 Key Fixes
- Added pre-load snapshot of all existing $_ENV and putenv variables.
- Restored all pre-existing variables after Dotenv load.
- Ensures that test-injected credentials are never replaced by .env files.
- Guarantees consistent behavior across all Maatify libraries.
- Improves isolation during integration and unit tests.
🎯 Result
Environment handling is now deterministic, predictable, and immune
to accidental overrides — especially in complex multi-library setups.
This update prepares the foundation for stable cross-library
environment management under the maatify/bootstrap ecosystem.