* 5.4:
fix merge
[HttpClient] mark test transient
[Mime] Fix test
[Translation] Fix TranslationPullCommand with ICU translations
[PropertyInfo] Fix phpstan extractor issues
Allow package-versions-deprecated plugin
Update security.lb.xlf
[Notifier] Use correct factory for the msteams transport
Fix SessionListener without session in request
Remove direct dependency on composer/package-versions-deprecated
Remove the unused dependency on composer/package-versions-deprecated
[Security/Http] Fix cookie clearing on logout
[HttpClient] fix checking for recent curl consts
* 5.3:
[HttpClient] mark test transient
[Mime] Fix test
[Translation] Fix TranslationPullCommand with ICU translations
Allow package-versions-deprecated plugin
Update security.lb.xlf
[Notifier] Use correct factory for the msteams transport
Fix SessionListener without session in request
Remove direct dependency on composer/package-versions-deprecated
Remove the unused dependency on composer/package-versions-deprecated
[Security/Http] Fix cookie clearing on logout
[HttpClient] fix checking for recent curl consts
This dependency in the doctrine-bridge was added to enforce the
replacement of the ocramius/package-versions package used by the ORM, to
keep support for PHP versions we needed. But as of 2.7.4, the ORM
switched its dependency, so this is not necessary anymore.
* 5.3:
[HttpClient] Fix closing curl-multi handle too early on destruct
[PropertyInfo] fix precedence of __get() vs properties
[Form] Improve Persian (Farsi) Translation For Forms
[Uid] Add ulid keyword in composer.json
fix: lowest version of psr container supported
[HttpClient] Don't reset timeout counter when initializing requests
* 5.4: (27 commits)
feat: add completion for DebugAutowiring search argument
[Routing] Add support for aliasing routes
[DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait`
Fix CS
[Console] Open CompleteCommand for custom outputs
[Intl] Update the ICU data to 70.1
[Messenger] Add completion for failed messages commands.
Fix tests
Fixing missing full_stack variable that's needed by toolbar.html.twig
[PropertyInfo] Bump phpstan/phpdoc-parser
[Security] Backport type fixes
[VarExporter] escape unicode chars involved in directionality
[Framework] Add completion to debug:container
[Messenger] Add completion to command messenger:consume
[Intl] Update the ICU data to 70.1
Fix more generic types
Default access_decision_manager.strategy option with merge.
Fix typos
Update validators.ca.xlf
Add missing Validator translations for Estonian
...
Signed-off-by: Alexander M. Turek <me@derrabus.de>
* 5.4:
[FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter
[FrameworkBundle] Trigger deprecations on stderr instead of using trigger_deprecation call
Add PhpStanExtractor
[Messenger] allow processing messages in batches
[Console] Fix backslash escaping in bash completion
Add missing validators translation
add suggestions for debug:firewall, debug:form, debug:messenger, debug:router
[SecurityBundle] Deprecate not configuring explicitly a provider for custom_authenticators when there is more than one registered provider
[Inflector] Fix inflector for "zombies"
[Config] Add some cache on SelfCheckingResourceChecker
fix AJAX request unit spacing
fix ErrorExcception in CacheWarmerAggregate
Prevent FormLoginAuthenticator from responding to requests that should be handled by JsonLoginAuthenticator
Fix wait duration for fixed window policy
Add exact command used to trigger invocation to the completion debug log
[Translation] correctly handle intl domains with TargetOperation
Allow using param as connection atribute in `*.event_subscriber` and `*.event_listener` tags
This PR was merged into the 5.4 branch.
Discussion
----------
[PropertyInfo] Add `PhpStanExtractor`
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | Fix#38093
| License | MIT
| Doc PR | symfony/symfony-docs#...
This PR will add a PhpStanExtractor that is based on `phpstan/phpdoc-parser` library.
The PhpStan library allows us to manage union types in collection key values that we don't manage today.
### Todo
- [x] PhpStanExtractor
- [x] Add tests for unions types
- [x] Add FrameworkBundle glue (use this extractor if `phpstan/phpdoc-parser` is present)
- [x] Update CHANGELOG
Related PR:
- https://github.com/symfony/serializer-pack/pull/3 put the PhpStanExtractor as default extractor to use on the `serializer-pack` package.
Commits
-------
9931c3705d Add PhpStanExtractor
This PR was merged into the 6.0 branch.
Discussion
----------
[DependencyInjection][FrameworkBundle][SecurityBundle][TwigBundle] Require Composer's runtime API to be present
| Q | A
| ------------- | ---
| Branch? | 6.0
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | N/A
| License | MIT
| Doc PR | N/A
Recently, I was asked to help debugging a strange behavior of my client's app that surfaced only on some developer machines while others were fine. Turns out, a particular package was installed as a dev dependency (which was fine because we used it for dev tooling only at that time) and the difference between the environments was that the broken ones used Composer 2.
With `ContainerBuilder::willBeAvailable()`, we have introduced logic into the very heart of the framework that exposes significantly different behavior for Composer 1 and 2.
With this PR, I'd like to propose to make Composer's runtime API a requirement, essentially making the use of Composer 2 a requirement. Composer 2 has been released over a year ago and by now every developer should have been able to upgrade to version 2. I don't think that this constraint would push the ecosystem too hard.
Let's make everyone's lives easier by moving on to Composer 2.
Commits
-------
e08b36258b Require Composer's runtime API to be present
* 5.4:
[Runtime] Consider also $_ENV when resolving APP_RUNTIME and APP_RUNTIME_OPTIONS
[WebProfilerBundle] Add a "previews tab in mailer profiler for HTML email
[Config] Fix signature generation with nested attributes on PHP 8.1
[Cache] allow/provide psr/simple-cache v2
[Validator] Add missing translations for Slovenian (sl)
Add missing translations for Bosnian (bs)
Bump Symfony version to 4.4.34
Update VERSION for 4.4.33
Update CONTRIBUTORS for 4.4.33
Update CHANGELOG for 4.4.33
* 5.3:
[Runtime] Consider also $_ENV when resolving APP_RUNTIME and APP_RUNTIME_OPTIONS
[Config] Fix signature generation with nested attributes on PHP 8.1
[Cache] allow/provide psr/simple-cache v2
[Validator] Add missing translations for Slovenian (sl)
Add missing translations for Bosnian (bs)
Bump Symfony version to 4.4.34
Update VERSION for 4.4.33
Update CONTRIBUTORS for 4.4.33
Update CHANGELOG for 4.4.33
* 4.4:
[Config] Fix signature generation with nested attributes on PHP 8.1
[Cache] allow/provide psr/simple-cache v2
[Validator] Add missing translations for Slovenian (sl)
Add missing translations for Bosnian (bs)
Bump Symfony version to 4.4.34
Update VERSION for 4.4.33
Update CONTRIBUTORS for 4.4.33
Update CHANGELOG for 4.4.33
* 5.4:
fix SQLSRV throws for method_exists()
[HttpKernel] Add basic support for language negotiation
[Messenger] Add a middleware to log when transaction has been left open
[HttpClient] Add method to set response factory in mock client
Move array_merge calls out of loops to improve performance
Remove references to DBALException
[VarDumper] Fix handling of "new" in initializers on PHP 8.1
* 5.4:
[Serializer] Save missing arguments in MissingConstructorArgumentsException
remove support for deprecated "threadKey" parameter
Remove useless comment in test
[DomCrawler] Added Crawler::innerText() method
[Form] Add the EnumType
Fix iterrator in ServiceConfigurator
[Console] Add support of RGB functional notation for output colors
Add Slovak lang translation #41081
[Validator] Add error's uid to `Count` and `Length` constraints with "exactly" option enabled
[Validator] Add missing thai translation
[Yaml] Add 0 to float repr
[Translation] Add Burmese translation
[Notifier] Update FirebaseTransport.php
fix: #43086 remove shortcut e for option exclude of Yaml/LintCommand - solve conflict with --env -e
Map `multipart/form-data` as `form` Content-Type
[Serializer] Throw NotNormalizableValueException when type is not known or not in body in discriminator map
[Yaml] Use more concise float representation in dump
[FrameworkBundle] Remove translation data_collector BEFORE adding it to profiler
* 5.4:
Add Session Token to Amazon Mailer
[ErrorHandler] Update TentativeTypes
Prepare removing Doctrine Cache from remaining components
[ErrorHandler] Add helper script to patch type declarations
[Messenger] Do not reset services on WorkerRunningEvent anymore
[Messenger] Add back kernel.event_subscriber tag on StopWorkerOnCustomStopExceptionListener
Display the roles of the logged-in user in the Web Debug Toolbar -- bugfix
* 5.4: (33 commits)
[HttpFoundation] Fixed type mismatch
Bump Symfony version to 5.3.6
Update VERSION for 5.3.5
Update CHANGELOG for 5.3.5
Update VERSION for 5.2.13
Update CHANGELOG for 5.2.13
Bump Symfony version to 4.4.29
Update VERSION for 4.4.28
Update CHANGELOG for 4.4.28
fix Check if it has session before getSession()
[WebProfiler] "empty" filter bugfix. Filter with name "empty" is not exists in twig.
Bump Symfony version to 5.3.5
Update VERSION for 5.3.4
Update CHANGELOG for 5.3.4
Bump Symfony version to 4.4.28
Update VERSION for 4.4.27
Update CONTRIBUTORS for 4.4.27
Update CHANGELOG for 4.4.27
Update VERSION for 5.2.12
Update CHANGELOG for 5.2.12
...
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[Notifier] Add Amazon SNS bridge
| Q | A
| ------------- | ---
| Branch? | 5.x
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR | [symfony/symfony-docs#15486](https://github.com/symfony/symfony-docs/pull/15486)
| Recipe PR | symfony/recipes#847
Hi,
This PR add a bridge on Notifier component for Amazon SNS.
This bridge use `async-aws/sns` and only work on actual dev-master version of `asyc-aws/core`.
I'm working on recipe and doc PR.
Commits
-------
3dc6ad4b73 [Notifier] Add Amazon SNS bridge