Skip to content

πŸ”§ EnvironmentLoader Cleanup & Behavior Stabilization β€” v1.0.4

Latest

Choose a tag to compare

@Maatify Maatify released this 13 Nov 22:15
· 8 commits to main since this release

πŸ”§ EnvironmentLoader Cleanup & Behavior Stabilization

This release removes the outdated logic responsible for "restoring" the original
$_ENV values after .env loading.
The behavior previously caused unexpected overrides when applications passed their
own environment variables β€” especially during tests, workers, or containerized flows.

βœ” What Changed

  • Removed the environment "rollback" loop.
  • Loader now respects the final evaluated environment without forced preservation.
  • Internal flow is simpler, faster, and more predictable.

βœ” Why This Matters

  • Fixes several edge cases where variables appeared to "disappear" after loading.
  • Avoids unintended overrides in multi-stage environment setups.
  • Ensures consistency across Bootstrap + DataAdapters + all Maatify libraries.

πŸš€ Version

1.0.4