mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
* symfony 5.4 (diff dev) * symfony 5.4 (working) * symfony 5.4 (update autoload) * symfony 5.4 (remove swiftmailer mailer implementation) * symfony 5.4 (php doc and split Global accessor class) ### Impacted packages: composer require php:">=7.2.5 <8.0.0" symfony/console:5.4.* symfony/dotenv:5.4.* symfony/framework-bundle:5.4.* symfony/twig-bundle:5.4.* symfony/yaml:5.4.* --update-with-dependencies composer require symfony/stopwatch:5.4.* symfony/web-profiler-bundle:5.4.* --dev --update-with-dependencies
1.3 KiB
1.3 KiB
CHANGELOG
5.4
- Add
dotenv:dumpcommand to compile the contents of the .env files into a PHP-optimized file called.env.local.php - Add
debug:dotenvcommand to list all dotenv files with variables and values - Add
$overrideExistingVarsonDotenv::bootEnv()andDotenv::loadEnv()
5.1.0
- added
Dotenv::bootEnv()to check for.env.local.phpbefore callingDotenv::loadEnv() - added
Dotenv::setProdEnvs()andDotenv::usePutenv() - made Dotenv's constructor accept
$envKeyand$debugKeyarguments, to define the name of the env vars that configure the env name and debug settings - deprecated passing
$usePutenvargument to Dotenv's constructor
5.0.0
- using
putenv()is disabled by default
4.3.0
- deprecated use of
putenv()by default. This feature will be opted-in with a constructor argument toDotenv
4.2.0
- added
Dotenv::overload()and$overrideExistingVarsas optional parameter ofDotenv::populate() - added
Dotenv::loadEnv()to load a .env file and its corresponding .env.local, .env.$env and .env.$env.local files if they exist
3.3.0
- [BC BREAK] Since v3.3.7, the latest Dotenv files override the previous ones. Real env vars are not affected and are not overridden.
- added the component