* 5.4:
[Cache] Removing null coalescing assignment operator on 5.4
[Cache] Fix storing binary keys when using pgsql
[FrameworkBundle] Add missing monolog channel tag for messenger services
[FrameworkBundle] Improve documentation about translation:extract --sort option
[VarDumper] Disable links for IntelliJ platform
[Notifier] Add bridge documentation
[HttpClient] Add hint about `timeout` and `max_duration` options
[HttpFoundation] Use separate caches for IpUtils checkIp4 and checkIp6
[FrameworkBundle] Fix wiring session.handler when handler_id is null
[FrameworkBundle] Workflow - Fix LogicException about a wrong configuration of "enabled" node
The `--sort` option only works with `--dump-messages` (i.e. not with
`--force`). It took me some time to realize that, and the documentation
didn't help me since it was showing an example that didn't work.
Contribute to https://github.com/symfony/symfony/issues/37918
* 6.1:
[DI] fix tests
[FrameworkBundle] fix merge
[FrameworkBundle] Filter out trans paths that are covered by a parent folder path
[Form] fix tests
[Serializer] Fixed framework.serializer.default_context is not working for JsonEncoder
[Ldap] Do not run ldap_set_option on failed connection
Correct compare float data
Bugfix: add \UnitEnum as a result of get() method
Fix AbstractFormLoginAuthenticator return types (fixes#47571).
Run composer with --ignore-platform-req=php+
[FrameworkBundle] Fix a phpdoc in mailer assertions
* 6.0:
[DI] fix tests
[FrameworkBundle] fix merge
[FrameworkBundle] Filter out trans paths that are covered by a parent folder path
[Form] fix tests
[Serializer] Fixed framework.serializer.default_context is not working for JsonEncoder
[Ldap] Do not run ldap_set_option on failed connection
Correct compare float data
Bugfix: add \UnitEnum as a result of get() method
Fix AbstractFormLoginAuthenticator return types (fixes#47571).
Run composer with --ignore-platform-req=php+
[FrameworkBundle] Fix a phpdoc in mailer assertions
* 5.4:
[FrameworkBundle] fix merge
[FrameworkBundle] Filter out trans paths that are covered by a parent folder path
[Form] fix tests
[Serializer] Fixed framework.serializer.default_context is not working for JsonEncoder
[Ldap] Do not run ldap_set_option on failed connection
Correct compare float data
Fix AbstractFormLoginAuthenticator return types (fixes#47571).
Run composer with --ignore-platform-req=php+
[FrameworkBundle] Fix a phpdoc in mailer assertions
* 5.4:
[FrameworkBundle] Add completion feature on translation:update command
[Security] Backport 6.0 compat fixes
Add completion feature on translation pull and push commands
[Console] Add completion to debug:translation command
[Console] Add autocompletion for security commands
choose the proper array element to decode the message
[RateLimiter] Add support for long intervals (months and years)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[FrameworkBundle] Add completion feature on translation:update command
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | Part of #43594
| License | MIT
| Doc PR | -
Adding completion for translation:update.
- [x] locale
- [X] bundle
- [X] --format
- [X] --domain
- [X] --sort
Test for
- [x] locale
- [x] bundle
- [X] --format
- [X] --domain
- [X] --sort
Locale completion still under discussion in https://github.com/symfony/symfony/pull/43644#pullrequestreview-786510272
Locale and bundle test still not complete
Commits
-------
2f301ae9e1 [FrameworkBundle] Add completion feature on translation:update command
* 5.4: (33 commits)
do not pass a boolean to the constructor of the Dotenv class
[Notifier] Fix low-deps tests
Deprecate Composer 1
[Filesystem] Add third argument `$lockFile` to `Filesystem::appendToFile()`
[TwigBundle] fix auto-enabling assets/expression/routing/yaml/workflow extensions
[PhpUnitBridge] fix symlink to bridge in docker by making its path relative
[Dotenv] Duplicate $_SERVER values in $_ENV if they don't exist
Fix markup
[Notifier] Add Expo bridge
Add polish translations (#43725)
Rename translation:update to translation:extract
[String] Add PLURAL_MAP "zombies" -- fix#43789
Added support for `statusCode` default parameter when loading a template directly from route using the `Symfony\Bundle\FrameworkBundle\Controller\TemplateController` controller.
[Validator] Update validators.bs.xlf
Cache voters that will always abstain
[Messenger] Fix `TraceableMessageBus` implementation so it can compute caller even when used within a callback
[Validator] Add the missing translations for Russian (ru)
[Validator] Added missing translations for Latvian (lv)
[Validator] Added missing translations
[Validator] Add missing translations for Vietnamese (VI)
...
* 5.4: (31 commits)
fix test
Clarify goals of AbstractController
cs fix
[Security][Validator] Add missing translations for Indonesian (id)
[Security] Deprecate legacy signatures
[Notifier] fix typo firebase
[SecurityBundle] Create a smooth upgrade path for security factories
Add trailing Line return if last line is non empty
Add trailing Line return if last line is non empty
[Security] Deprecate `PassportInterface`
Report mismatches between trans-unit id and source text via status script
Do not add namespace argument to NullAdapter in CachePoolPass
[FrameworkBundle] Update cache:clear help
[HttpFoundation] Add `litespeed_finish_request` to `Response`
Fix markup
(minor) remove author tags from test classes
[Notifier] add `SentMessageEvent` and `FailedMessageEvent`
[HttpFoundation] Mark Request::get() internal
Add missing to semi-colon to exception.js
[FrameworkBundle] remove dead conditions in Translation Commands
...
Since $targetPath is directly set just 3 lines above
!isset($targetPath[1]) will *always* evaluate to true.
This check was originally to support legacy paths which was removed in
b6eb1f4979db346ffe9fe7f6a5f335323f0c7175
* 4.4: (23 commits)
[Filesystem] Handle paths on different drives
[WebProfiler] Do not add src-elem CSP directives if they do not exist
[Yaml] fix parse error when unindented collections contain a comment
Execute docker dependent tests with github actions
Update exception.html.php
[3.4][Inflector] Improve testSingularize() argument name
[Inflector] Fix testPluralize() arguments names
[PhpUnitBridge] fix PHP 5.3 compat again
Skip validation when email is an empty object
fix sr_Latn translation
[Validator] fix lazy property usage.
Fix annotation
[Debug][ErrorHandler] cleanup phpunit.xml.dist files
[Translation] Fix for translation:update command updating ICU messages
[PhpUnitBridge] fix compat with PHP 5.3
bumped Symfony version to 4.4.9
updated VERSION for 4.4.8
updated CHANGELOG for 4.4.8
provide a useful message when extension types don't match
[Cache] Fixed not supported Redis eviction policies
...
* 4.4:
[Validator] fix access to uninitialized property when getting value
[HttpClient] Fix regex bearer
[Translator] Default value for 'sort' option in translation:update should be 'asc'
[HttpKernel] Fix stale-if-error behavior, add tests
[Intl] Provide more locale translations
[Mailer] Fix STARTTLS support for Postmark and Mandrill
[Messenger] Check for all serialization exceptions during message dec…
[Messenger] Fix bug when using single route with XML config
Fix exception message in Doctrine Messenger
[DI] CheckTypeDeclarationsPass now checks if value is type of parameter type
[SecurityBundle] fix security.authentication.provider.ldap_bind arguments
Improved error message when no supported user provider is found
Mysqli doesn't support the named parameters used by PdoAdapter
Added debug argument to decide if debug page should be shown or not
Mysqli doesn't support the named parameters used by PdoStore
Properly handle phpunit arguments for configuration file
[Mailer] add tests for http transports
* 4.4:
[DI] Fix EnvVar not loaded when Loader requires an env var
Fixed#34713 Move new messages to intl domain when possible
[FrameworkBundle] Fix small typo in output comment
chown and chgrp should also accept int as owner and group
Revert "Fixed translations file dumper behavior"
Fix RememberMe with null password
[Validator] Fix plurals for sr_Latn (Serbian language written in latin script) validation messages
Set booted flag to false when test kernel is unset
[FrameworkBundle] remove messenger cache if not enabled
[PhpUnitBridge][SymfonyTestsListenerTrait] Remove some unneeded code
[HttpClient] Fix strict parsing of response status codes
fix PHP const mapping keys using the inline notation
[SecurityBundle] Drop duplicated code
[FrameworkBundle] Make sure one can use fragments.hinclude_default_template
Fix that no-cache requires positive validation with the origin, even for fresh responses
Improve upgrading instructions for deprecated router options
[DI] Suggest typed argument when binding fails with untyped argument
* 4.4:
[Debug] fix ClassNotFoundFatalErrorHandler
[Routing] Fix using a custom matcher & generator dumper class
[Serializer] Fix cache in MetadataAwareNameConverter
[Dotenv] Fixed infinite loop with missing quote followed by quoted value
[HttpClient] Added missing sprintf
[TwigBridge] button_widget now has its title attr translated even if its label = null or false
[PhpUnitBridge] When using phpenv + phpenv-composer plugin, composer executable is wrapped into a bash script
[Messenger] Added check if json_encode succeeded
[Messenger] Added check if json_encode succeeded
[FrameworkBundle][ContainerLintCommand] Only skip .errored. services
[HttpClient] fix exception in case of PSR17 discovery failure
[DependencyInjection] Handle ServiceClosureArgument for callable in container linting
fix processing chain adapter based cache pool
[HttpKernel] release lock explicitly
[Security] Prevent canceled remember-me cookie from being accepted
[FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr
[Security\Guard] Fix missing typehints
do not render preferred choices as selected
* 4.3:
[Debug] fix ClassNotFoundFatalErrorHandler
[Routing] Fix using a custom matcher & generator dumper class
[Dotenv] Fixed infinite loop with missing quote followed by quoted value
[HttpClient] Added missing sprintf
[TwigBridge] button_widget now has its title attr translated even if its label = null or false
[PhpUnitBridge] When using phpenv + phpenv-composer plugin, composer executable is wrapped into a bash script
[Messenger] Added check if json_encode succeeded
[Security] Prevent canceled remember-me cookie from being accepted
[FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr
[Security\Guard] Fix missing typehints
* 3.4:
[Debug] fix ClassNotFoundFatalErrorHandler
[Dotenv] Fixed infinite loop with missing quote followed by quoted value
[TwigBridge] button_widget now has its title attr translated even if its label = null or false
[PhpUnitBridge] When using phpenv + phpenv-composer plugin, composer executable is wrapped into a bash script
[Security] Prevent canceled remember-me cookie from being accepted
[FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr
* 4.4: (21 commits)
[appveyor] exclude tty group
[HttpFoundation] Add types to private/final/internal methods and constructors.
Add types to private/final/internal methods and constructors.
SCA: minor code tweaks
Tweak output
[FrameworkBundle] Added --sort option for TranslationUpdateCommand
[HttpClient] fallbackto CURLMOPT_MAXCONNECTS when CURLMOPT_MAX_HOST_CONNECTIONS is not available
[DI] generate preload.php file for PHP 7.4 in cache folder
Allow version 2 of the contracts package.
[Serializer] Allow multi-dimenstion object array in AbstractObjectNormalizer
fixed typo
[HttpKernel] Fix Apache mod_expires Session Cache-Control issue
deprecated not passing dash symbol (-) to STDIN commands
[VarDumper] display ellipsed FQCN for nested classes
[VarDumper] Display fully qualified title
[Mailer] Change the syntax for DSNs using failover or roundrobin
Removed workaround introduced in 4.3
[Console] Added support for definition list
[OptionsResolver] Display full nested options hierarchy in exceptions
New welcome page
...