* 6.4:
[RateLimiter] Fix retryAfter when consuming exactly all remaining tokens in FixedWindow and TokenBucket
[RateLimiter] Fix retryAfter value on last token consume (SlidingWindow)
[RateLimiter] Fix reservations outside the second fixed window
[Filesystem] makePathRelative with existing files, remove ending /
[Config][Routing] Fix exclude option being ignored for non-glob and PSR-4 resources
[Serializer][Validator] Fix propertyPath in ConstraintViolationListNormalizer with MetadataAwareNameConverter
[Messenger][Amqp] Don't use retry routing key when sending to failure transport
[Messenger] Fix re-sending failed messages to a different failure transport
[DependencyInjection] Fix #[AsTaggedItem] discovery through multi-level decoration chains
[DependencyInjection] Fix PriorityTaggedServiceTrait not discovering #[AsTaggedItem] on decorated services
[Mailer] Clarify the purpose of SentMessage's "message id" concept
[TwigBridge] Fix Bootstrap 4 form error layout
[Form] Fix merging POST params and files when collection entries have mismatched indices
[Validator] Fix type error for non-array items when Unique::fields is set
[HttpKernel] Fix default locale ignored when Accept-Language has no enabled-locale match
[FrameworkBundle] Make `ConfigDebugCommand` use its container to resolve env vars
[Console] Fix various completion edge cases
[Messenger][AmazonSqs] Add test for default queue_name when not set in DSN path or options
* 7.3:
fix test
Restore Relay 8.5 test
account for PHP_ZTS being a boolean value on PHP 8.4+
[Intl] Update data to ICU 78.1
[Notifier][Smsbox] Add tests for `Mode` enum
[DependencyInjection] Remove unused variable
[Console] Fix exception message when abbreviation matches multiple hidden commands
[FrameworkBundle] Fix TypeError when traversing scalar values in debug:config
[DependencyInjection] Fix loop corruption in CheckTypeDeclarationsPass
[Security] Fix UserBadge validation bypass via identifier normalizer
[DependencyInjection] Fix invalid PHP syntax for nullable TypedReference in PhpDumper
Fix typo in comment
[Translation][Routing] Fix typos
[Config] Fix nullable EnumNode with BackedEnum
[String] Fix normalization in trimPrefix/trimSuffix
* 6.4:
Restore Relay 8.5 test
account for PHP_ZTS being a boolean value on PHP 8.4+
[Intl] Update data to ICU 78.1
[Console] Fix exception message when abbreviation matches multiple hidden commands
[FrameworkBundle] Fix TypeError when traversing scalar values in debug:config
[DependencyInjection] Fix loop corruption in CheckTypeDeclarationsPass
[DependencyInjection] Fix invalid PHP syntax for nullable TypedReference in PhpDumper
Fix typo in comment
[Translation][Routing] Fix typos
[String] Fix normalization in trimPrefix/trimSuffix
This PR was merged into the 6.2 branch.
Discussion
----------
[FrameworkBundle] Add `resolve-env` option to debug:config command
| Q | A
| ------------- | ---
| Branch? | 6.2
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | Fix#40582
| License | MIT
| Doc PR | _NA_
Add `--resolve-env` option to `debug:config` command to display actual values of environment variables in dumped configuration.
This main purpose of this command is debugging as its name suggests. In order to help the developer to debug its configuration, it is convenient to display the actual value of environment variables present in the dumped configuration, instead of placeholders.
Here is the result:
```
$ symfony console debug:config framework | grep secret
secret: '%env(APP_SECRET)%'
secrets:
vault_directory: '/home/alexandredaubois/(...)/config/secrets/%env(default:kernel.environment:APP_RUNTIME_ENV)%'
$ symfony console debug:config framework --resolve-env | grep secret
secret: 90d83502629d64dec4cd6e33c9b31267
secrets:
vault_directory: /home/alexandredaubois/(...)/config/secrets/dev
```
Commits
-------
bdc8e0224c [FrameworkBundle] Add `resolve-env` option to debug:config command
* 6.0:
Fix merge
[Mime] Throw exception when body in Email attach method is not ok
[VarDumper][VarExporter] Deal with DatePeriod->include_end_date on PHP 8.2
[Cache] Throw when "redis_sentinel" is used with a non-Predis "class" option
fix merge
Bootstrap 4 fieldset for row errors
[Form] Fix same choice loader with different choice values
[Filesystem] Safeguard (sym)link calls
Fix dumping extension config without bundle
[HttpClient] Honor "max_duration" when replacing requests with async decorators
[HttpClient] Add missing HttpOptions::setMaxDuration()
[HttpKernel] Fix missing null type in `ErrorListener::__construct()`
[HttpFoundation] [Session] Overwrite invalid session id
* 5.4:
Fix merge
[Mime] Throw exception when body in Email attach method is not ok
[VarDumper][VarExporter] Deal with DatePeriod->include_end_date on PHP 8.2
[Cache] Throw when "redis_sentinel" is used with a non-Predis "class" option
fix merge
Bootstrap 4 fieldset for row errors
[Form] Fix same choice loader with different choice values
[Filesystem] Safeguard (sym)link calls
Fix dumping extension config without bundle
[HttpClient] Honor "max_duration" when replacing requests with async decorators
[HttpClient] Add missing HttpOptions::setMaxDuration()
[HttpFoundation] [Session] Overwrite invalid session id
* 4.4:
[Mime] Throw exception when body in Email attach method is not ok
[VarDumper][VarExporter] Deal with DatePeriod->include_end_date on PHP 8.2
[Cache] Throw when "redis_sentinel" is used with a non-Predis "class" option
Bootstrap 4 fieldset for row errors
Fix dumping extension config without bundle
* 5.4:
[PropertyInfo] Support the list pseudo-type
Add completion for DebugConfig name and path arguments
Remove return types that confuse our types patching script