This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/VarDumper/CHANGELOG.md
Fabien Potencier 6aec1297ca feature #32680 [Messenger][Profiler] Collect the stamps at the end of dispatch (ogizanagi)
This PR was merged into the 4.4 branch.

Discussion
----------

[Messenger][Profiler] Collect the stamps at the end of dispatch

| Q             | A
| ------------- | ---
| Branch?       | 4.4 <!-- see below -->
| Bug fix?      | no
| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | N/A   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | N/A

Currently, only the stamps added before dispatching the message are shown in the profiler.
This PR adds a section to show stamps after dispatch (`HandledStamp`, `SentStamp`, ...).

![Capture d’écran 2019-07-23 à 15 44 04](https://user-images.githubusercontent.com/2211145/61717102-bb28f500-ad60-11e9-93ec-bb2875d176ce.png)

Commits
-------

ee68b1dfa7 [Messenger][Profiler] Collect the stamps at the end of dispatch
2019-07-27 08:22:04 +02:00

1.7 KiB

CHANGELOG

4.4.0

  • added VarDumperTestTrait::setUpVarDumper() and VarDumperTestTrait::tearDownVarDumper() to configure casters & flags to use in tests
  • added ImagineCaster and infrastructure to dump images
  • added the stamps of a message after it is dispatched in TraceableMessageBus and MessengerDataCollector collected data

4.3.0

  • added DsCaster to support dumping the contents of data structures from the Ds extension

4.2.0

  • support selecting the format to use by setting the environment variable VAR_DUMPER_FORMAT to html or cli

4.1.0

  • added a ServerDumper to send serialized Data clones to a server
  • added a ServerDumpCommand and DumpServer to run a server collecting and displaying dumps on a single place with multiple formats support
  • added CliDescriptor and HtmlDescriptor descriptors for server:dump CLI and HTML formats support

4.0.0

  • support for passing \ReflectionClass instances to the Caster::castObject() method has been dropped, pass class names as strings instead
  • the Data::getRawData() method has been removed
  • the VarDumperTestTrait::assertDumpEquals() method expects a 3rd $context = null argument and moves $message = '' argument at 4th position.
  • the VarDumperTestTrait::assertDumpMatchesFormat() method expects a 3rd $context = null argument and moves $message = '' argument at 4th position.

3.4.0

  • added AbstractCloner::setMinDepth() function to ensure minimum tree depth
  • deprecated MongoCaster

2.7.0

  • deprecated Cloner\Data::getLimitedClone(). Use withMaxDepth, withMaxItemsPerDepth or withRefHandles instead.