All notable changes to code-distortion/fluent-dotenv will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added support for PHP 8.5
- Added support for PHP 8.4
- Updated package tooling
- Changed dependency phpcsstandards/php_codesniffer back to squizlabs/php_codesniffer - Thanks to jrfnl for the update
- Added the ability to load .env files with Windows directory separators (i.e. "\") in the path - thanks to Tomas Nev for identifying the problem
- Removed vlusas/phpdotenv from the list of dependencies - the choice of whether to use this or symfony/dotenv is now up to the user
- Added support for PHP 8.3
- Updated GitHub Actions workflow to improve platform coverage
- Warning in the documentation that putenv() (which isn't thread-safe) is used to change the getenv() variables temporarily during the .env loading process, when using symfony/dotenv < 5.1.0
- Added support for symfony/dotenv ^7.0
- Fixed bugs when using symfony/dotenv with old versions of PHP on Windows
- Removed usage of putenv() temporarily during the .env loading process from all usage of vlucas/phpdotenv (see just below about the new minimum version requirement)
- Removed usage of putenv() temporarily during the .env loading process from usage of symfony/dotenv 5.1.0+
- Removed support for (very old versions of) vlucas/phpdotenv < 1.1 - to ensure putenv() isn't used during the .env loading process
- Added support for PHP 8.2
- Updated tests so they run again
- Added support for symfony/dotenv:^6.0
- Updated GitHub Actions workflow to improve platform coverage
- Changed dependency list to refer to specific versions of PHP - to prevent installation on platforms with future versions of PHP before being tested
- Added support for PHP 8.1
- Added phpstan ^1.0 to dev dependencies
- Tweaks to documentation
- Added support for PHP 8.0
- PSR12 formatting
- Tweaks to documentation
- Beta release