酒店预订平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 2.1 KiB

3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. CHANGELOG
  2. =========
  3. 4.4.0
  4. -----
  5. * `AddEventAliasesPass` has been added, allowing applications and bundles to extend the event alias mapping used by `RegisterListenersPass`.
  6. * Made the `event` attribute of the `kernel.event_listener` tag optional for FQCN events.
  7. 4.3.0
  8. -----
  9. * The signature of the `EventDispatcherInterface::dispatch()` method should be updated to `dispatch($event, string $eventName = null)`, not doing so is deprecated
  10. * deprecated the `Event` class, use `Symfony\Contracts\EventDispatcher\Event` instead
  11. 4.1.0
  12. -----
  13. * added support for invokable event listeners tagged with `kernel.event_listener` by default
  14. * The `TraceableEventDispatcher::getOrphanedEvents()` method has been added.
  15. * The `TraceableEventDispatcherInterface` has been deprecated.
  16. 4.0.0
  17. -----
  18. * removed the `ContainerAwareEventDispatcher` class
  19. * added the `reset()` method to the `TraceableEventDispatcherInterface`
  20. 3.4.0
  21. -----
  22. * Implementing `TraceableEventDispatcherInterface` without the `reset()` method has been deprecated.
  23. 3.3.0
  24. -----
  25. * The ContainerAwareEventDispatcher class has been deprecated. Use EventDispatcher with closure factories instead.
  26. 3.0.0
  27. -----
  28. * The method `getListenerPriority($eventName, $listener)` has been added to the
  29. `EventDispatcherInterface`.
  30. * The methods `Event::setDispatcher()`, `Event::getDispatcher()`, `Event::setName()`
  31. and `Event::getName()` have been removed.
  32. The event dispatcher and the event name are passed to the listener call.
  33. 2.5.0
  34. -----
  35. * added Debug\TraceableEventDispatcher (originally in HttpKernel)
  36. * changed Debug\TraceableEventDispatcherInterface to extend EventDispatcherInterface
  37. * added RegisterListenersPass (originally in HttpKernel)
  38. 2.1.0
  39. -----
  40. * added TraceableEventDispatcherInterface
  41. * added ContainerAwareEventDispatcher
  42. * added a reference to the EventDispatcher on the Event
  43. * added a reference to the Event name on the event
  44. * added fluid interface to the dispatch() method which now returns the Event
  45. object
  46. * added GenericEvent event class
  47. * added the possibility for subscribers to subscribe several times for the
  48. same event
  49. * added ImmutableEventDispatcher