-
-
Notifications
You must be signed in to change notification settings - Fork 89
Comparing changes
Open a pull request
base repository: symfony/messenger
base: v7.1.9
head repository: symfony/messenger
compare: v7.2.0
Commits on Jun 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 76a2cdf - Browse repository at this point
Copy the full SHA 76a2cdfView commit details
Commits on Jun 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99c25b2 - Browse repository at this point
Copy the full SHA 99c25b2View commit details
Commits on Jun 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 77ca40f - Browse repository at this point
Copy the full SHA 77ca40fView commit details -
feature #57426 [Messenger] Add
--format
option to the `messenger:st……ats` command (xvilo) This PR was squashed before being merged into the 7.2 branch. Discussion ---------- [Messenger] Add `--format` option to the `messenger:stats` command | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | yes <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix #48583 <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT As requested in #48583 add a way to output different in formats for `messenger:stats` command. This can be more easily used in, for example, `jq` or with external automations/scripts and such. Considerations I made: - To not, yet, make different classes for the output. In case a new output format is added this might be handy. - To not use an enum for output format, do we want this? - To ignore warnings for now, except for the `uncountable_transports`. If we want to warning in there, what format? Commits ------- 0e9f4588ec [Messenger] Add `--format` option to the `messenger:stats` command
Configuration menu - View commit details
-
Copy full SHA for a95a633 - Browse repository at this point
Copy the full SHA a95a633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e2bae3 - Browse repository at this point
Copy the full SHA 0e2bae3View commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f86150c - Browse repository at this point
Copy the full SHA f86150cView commit details
Commits on Jun 28, 2024
-
feature #57507 [Messenger] Introduce
#[AsMessage]
attribute for mes……sage routing (pounard) This PR was merged into the 7.2 branch. Discussion ---------- [Messenger] Introduce `#[AsMessage]` attribute for message routing | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | Fix #57506 | License | MIT Basic implementation of #57506. * Adds the `Symfony\Component\Messenger\Attribute\AsMessage` attribute, with the `$transport` parameter which can be `string` or `array`. * Implement runtime routing in `Symfony\Component\Messenger\Transport\Sender\SendersLocator`. Rationale: * Messages are not services, it cannot be computed during container compilation. * Reflection is very fast, it shouldn't be significant for performances, yet I don't have measured it yet. * YAML configuration and `Symfony\Component\Messenger\Stamp\TransportNamesStamp` will always override the attribute values, allowing users to change hardcoded routing on a per-environment basis. * This is the simplest implementation I could think of for discussion. Links and references: * symfony/symfony#33912 where the discussion started, 5 years ago. * symfony/symfony#49143 closed PR that was doing the same, but at compile time, rejected because the actual doctrine is that messages should never be services. * symfony/symfony#41179 is stilled opened, and awaiting for modifications, but it was written for an earlier version of Symfony and is inactive for a year or so, yet messenger code has evolved since, and this PR will never merge as-is, it requires to be fully rewrote, reason why I opened this new one. Commits ------- d65284239f feature #57506 [Messenger] introduce AsMessage attribute for message routing
Configuration menu - View commit details
-
Copy full SHA for 7d6afa4 - Browse repository at this point
Copy the full SHA 7d6afa4View commit details -
* 7.1: (21 commits) [Serializer] [ObjectNormalizer] Use bool filter when FILTER_BOOL is set [HttpClient][Mailer] Revert "Let curl handle transfer encoding", use HTTP/1.1 for Mailgun Reviewed Catalan missing translations [AssetMapper] Upgrade importmap polyfill [HttpClient] Fix initializing InformationalChunk Fix typo: synchronous -> synchronously forward exceptions caught in the AbstractObjectNormalizer [Serializer] Check if exception message in test is correct [Serializer] Check if exception message in test is correct take the new DOM HTMLElement class into account Ibexa is sponsoring Symfony 5.4, thanks to them! \o/ [FrameworkBundle] Fix warming up routes [VarDumper] Fix `FFICaster` test to be platform-adaptable [String] Add `alias` case to `EnglishInflector` [FrameworkBundle] Throw runtime exception when trying to use asset-mapper while http-client is disabled [SecurityBundle] Remove unused memory users’ `name` attribute from the XSD [VarExporter] generate __doUnserialize() method in ProxyHelper::generateLazyProxy() Double check if pcntl function exists Add additional headers in Scaleway bridge [VarDumper] Fix FFI caster test ...
Configuration menu - View commit details
-
Copy full SHA for 9b88a6a - Browse repository at this point
Copy the full SHA 9b88a6aView commit details
Commits on Jul 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 918489d - Browse repository at this point
Copy the full SHA 918489dView commit details -
Configuration menu - View commit details
-
Copy full SHA for af1d241 - Browse repository at this point
Copy the full SHA af1d241View commit details
Commits on Jul 9, 2024
-
* 7.1: fix merge [AssetMapper] Split test dirs in tests Fix typo Change incorrect check for the `stateless` request attribute [Validator] add setGroupProvider to AttributeLoader use copy() instead of rename() on Windows test: kebab-case to snake_case [PropertyInfo] Handle collection in PhpStan same as PhpDoc [Messenger] Passing to `WorkerMessageRetriedEvent` envelope with actual stamps after sent
Configuration menu - View commit details
-
Copy full SHA for 641b350 - Browse repository at this point
Copy the full SHA 641b350View commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5183786 - Browse repository at this point
Copy the full SHA 5183786View commit details
Commits on Jul 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4d00525 - Browse repository at this point
Copy the full SHA 4d00525View commit details
Commits on Aug 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3ddfefd - Browse repository at this point
Copy the full SHA 3ddfefdView commit details
Commits on Aug 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f342bd0 - Browse repository at this point
Copy the full SHA f342bd0View commit details
Commits on Aug 6, 2024
-
Code style change in
@PER-CS2.0
affecting@Symfony
(parentheses f……or anonymous classes)
Configuration menu - View commit details
-
Copy full SHA for 6940f83 - Browse repository at this point
Copy the full SHA 6940f83View commit details -
minor #57901 Code style change in `
@PER
-CS2.0affecting
`@Symfony……`` (parentheses for anonymous classes) (bonroyage) This PR was squashed before being merged into the 7.2 branch. Discussion ---------- Code style change in ``@PER`-CS2.0` affecting ``@Symfony`` (parentheses for anonymous classes) | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT I have created a PR (PHP-CS-Fixer/PHP-CS-Fixer#8140) in the PHP-CS-Fixer repo to bring the ``@PER`-CS2.0` ruleset in line with the specifications on the `new_with_parentheses` rule for anonymous classes. Since the ``@Symfony`` ruleset builds upon the ``@PER`-CS2.0` ruleset, they would like confirmation that the Symfony community is OK with this change affecting the Symfony ruleset as well. Should it not be, I'll push another commit there ensuring that the change does not affect ``@Symfony``. Therefore, this PR is not meant to be merged, but function as an RFC to get your opinion and show the effect it would have when applied to the Symfony source. Commits ------- 506e0dd327 Code style change in ``@PER`-CS2.0` affecting ``@Symfony`` (parentheses for anonymous classes)
Configuration menu - View commit details
-
Copy full SHA for a58a667 - Browse repository at this point
Copy the full SHA a58a667View commit details
Commits on Aug 12, 2024
-
* 7.1: (31 commits) [Serializer] Remove useless calls to `func_get_arg()` fix tests using Twig 3.12 skip tests requiring the intl extension if it's not installed 🐛 throw ParseException on invalid date [FrameworkBundle] Re-remove redundant name attribute from `default_context` fix permitted data type of the default choice [ExpressionLanguage] Improve test coverage Fix invalid phpdoc in ContainerBuilder [HttpKernel] [WebProfileBundle] Fix Routing panel for URLs with a colon [Form] NumberType: Fix parsing of numbers in exponential notation with negative exponent Fix importing PHP config in prepend extension method [Messenger] Prevent waiting time to overflow when using long delays [Security] consistent singular/plural translation in Dutch reset the validation context after validating nested constraints do not duplicate directory separators fix handling empty data in ValueToDuplicatesTransformer fix compatibility with redis extension 6.0.3+ synchronize unsupported scheme tests [String] Fixed Quorum plural, that was inflected to be only "Quora" and never "Quorums" Fix symfony/kaz-info-teh-notifier package ...
Configuration menu - View commit details
-
Copy full SHA for cff427c - Browse repository at this point
Copy the full SHA cff427cView commit details
Commits on Aug 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 15d5e7b - Browse repository at this point
Copy the full SHA 15d5e7bView commit details -
feature #57915 [Messenger] Allow setting retry delay by RecoverableEx…
…ceptionInterface (valtzu) This PR was merged into the 7.2 branch. Discussion ---------- [Messenger] Allow setting retry delay by RecoverableExceptionInterface | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | Fix #57756 | License | MIT Allow overriding retry delay from the retry strategy by providing it in the exception. Example use case is retrying http request based on `Retry-After` header. Commits ------- 68a096cdb2 Allow setting retry delay by RecoverableExceptionInterface
Configuration menu - View commit details
-
Copy full SHA for 1856245 - Browse repository at this point
Copy the full SHA 1856245View commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 390d685 - Browse repository at this point
Copy the full SHA 390d685View commit details
Commits on Aug 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b24a1e0 - Browse repository at this point
Copy the full SHA b24a1e0View commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3e34b41 - Browse repository at this point
Copy the full SHA 3e34b41View commit details
Commits on Sep 3, 2024
-
[Messenger] Allow to skip message in FailedMessagesRetryCommand
Update CHANGELOG message and help message
Thibaut Chieux committedSep 3, 2024 Configuration menu - View commit details
-
Copy full SHA for f1711be - Browse repository at this point
Copy the full SHA f1711beView commit details
Commits on Sep 8, 2024
-
* 7.1: Mitigate PHPUnit deprecations [TwigBundle] Add support for resetting globals between HTTP requests [Process] Fix backwards compatibility for invalid commands Mitigate PHPUnit deprecations [Cache] Fix compatibility with Redis 6.1.0 pre-releases [Validator] Add Catalan and Spanish translation for `Week` constraint Don't use is_resource() on non-streams [Ldap] Fix extension deprecation
Configuration menu - View commit details
-
Copy full SHA for 9571433 - Browse repository at this point
Copy the full SHA 9571433View commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e093da8 - Browse repository at this point
Copy the full SHA e093da8View commit details
Commits on Sep 25, 2024
-
* 7.1: Add PR template and auto-close PR on subtree split repositories
Configuration menu - View commit details
-
Copy full SHA for 03375bd - Browse repository at this point
Copy the full SHA 03375bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd6fd20 - Browse repository at this point
Copy the full SHA dd6fd20View commit details -
relax mock class name matching
Instead of performing some fuzzy matching on the automatically generated mock name (the pattern varies between different PHPUnit versions) we can simply use the actual exact class name.
Configuration menu - View commit details
-
Copy full SHA for 1ed2911 - Browse repository at this point
Copy the full SHA 1ed2911View commit details
Commits on Sep 26, 2024
-
minor #58391 relax mock class name matching (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- relax mock class name matching | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Instead of performing some fuzzy matching on the automatically generated mock name (the pattern varies between different PHPUnit versions) we can simply use the actual exact class name. Commits ------- 2c99e009d09 relax mock class name matching
Configuration menu - View commit details
-
Copy full SHA for d5608ca - Browse repository at this point
Copy the full SHA d5608caView commit details -
Configuration menu - View commit details
-
Copy full SHA for edfc2a8 - Browse repository at this point
Copy the full SHA edfc2a8View commit details
Commits on Sep 27, 2024
-
minor #58303 Miscellaneous tests improvements (alexandre-daubois)
This PR was merged into the 7.2 branch. Discussion ---------- Miscellaneous tests improvements | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Mainly missed occasions to use `assertCount()` and wrong arguments placement between expected and actual results. Also for `AbstractDivLayoutTestCase` the abstract class references data provider only defined in the subclass. I think it's a good idea to put the data providers next to the test methods instead. Commits ------- 94c43b4fbe Miscellaneous tests improvements
Configuration menu - View commit details
-
Copy full SHA for 5136af0 - Browse repository at this point
Copy the full SHA 5136af0View commit details -
feature #57270 [Messenger] Allow to skip message in `FailedMessagesRe…
…tryCommand` (Thibaut Chieux) This PR was merged into the 7.2 branch. Discussion ---------- [Messenger] Allow to skip message in `FailedMessagesRetryCommand` | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | Fix #50936 | License | MIT When retrying message with the command messenger:failed:retry, we have two options: - Retry : (It will be consumed and re-added to failed queue if it re-fail) - Delete But sometimes we have no clue if we can retry it or not but I now that we don't want to delete it yet. In that case we need to stop the command and go id by id. The interactive command is lost. The command should provide a way to skip a message to continue with the rest of the failed message. Commits ------- 7ec6914750 [Messenger] Allow to skip message in FailedMessagesRetryCommand
Configuration menu - View commit details
-
Copy full SHA for 0f8bb86 - Browse repository at this point
Copy the full SHA 0f8bb86View commit details
Commits on Oct 6, 2024
-
[Messenger] Notify transports which messages are still being processe…
…d, using `pcntl_alarm()`
Configuration menu - View commit details
-
Copy full SHA for 4bf5868 - Browse repository at this point
Copy the full SHA 4bf5868View commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8137d56 - Browse repository at this point
Copy the full SHA 8137d56View commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b61b332 - Browse repository at this point
Copy the full SHA b61b332View commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c139768 - Browse repository at this point
Copy the full SHA c139768View commit details
Commits on Oct 22, 2024
-
bug #58594 [Messenger] Check for
#[AsMessage]
attributes on parents…… (HypeMC) This PR was merged into the 7.2 branch. Discussion ---------- [Messenger] Check for `#[AsMessage]` attributes on parents | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT I've been testing the `#[AsMessage]` attribute and noticed that the attribute is not being read from parent classes or interfaces. This is different to how the `routing` option works, so currently, attributes can't fully replace the option. Commits ------- a164474fe36 [Messenger] Check for `#[AsMessage]` attributes on parents
Configuration menu - View commit details
-
Copy full SHA for ed10b36 - Browse repository at this point
Copy the full SHA ed10b36View commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3722a28 - Browse repository at this point
Copy the full SHA 3722a28View commit details
Commits on Nov 9, 2024
-
* 7.1: [AssetMapper] Fix `JavaScriptImportPathCompiler` regex for non-latin characters Definition::$class may not be class-string require Cache component versions compatible with Redis 6.1 [Twitter][Notifier] Fix post INIT upload [Messenger][RateLimiter] fix additional message handled when using a rate limiter [Serializer] Revert default groups [Serializer] fixed object normalizer for a class with `cancel` method Fix bucket size reduce when previously created with bigger size
Configuration menu - View commit details
-
Copy full SHA for ca6f254 - Browse repository at this point
Copy the full SHA ca6f254View commit details
Commits on Nov 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e80e728 - Browse repository at this point
Copy the full SHA e80e728View commit details
Commits on Nov 26, 2024
-
* 7.1: fix test [Messenger] fix `Envelope::all()` conditional return docblock
Configuration menu - View commit details
-
Copy full SHA for 2512b9b - Browse repository at this point
Copy the full SHA 2512b9bView commit details
There are no files selected for viewing