Componette

Componette

Kdyby

Kdyby / Events v5.0.1

Events for Nette Framework

download-cloud-line composer require kdyby/events
  • v5.0.1 v5.0.1

    What's Changed

    Full Changelog: v5.0.0...v5.0.1

  • v5.0.0 v5.0.0

    • ๐Ÿ˜ PHP Support 7.4 | 8.0 | 8.1

    Thanks @Jakub-Fajkus & @bckp

    & PeckaDesign

  • v4.0.0 v4.0.0

    • Dropped Travis, using GHA
    • ๐Ÿ˜ PHP Support only 7.4 | 8.0
    • Nette 3 support
    • Added makefile for composer, cs, phpstan, tests
    • Dropped dependency on Nette/Reflection
    • Dropped dependency on Kdyby/StrictObjects

    Thanks @PavelJurasek & @lutor & @AloisJasa & @adaamz

  • v4.0.0-rc v4.0.0 RC1

    • Dropped Travis, using GHA
    • ๐Ÿ˜ PHP Support only 7.4 | 8.0
    • Added makefile for composer, cs, phpstan, tests
    • Dropped dependency on Nette/Reflection
    • Dropped dependency on Kdyby/StrictObjects

    Thanks @PavelJurasek & @lutor & @AloisJasa & @adaamz

  • v3.1.3 v3.1.3

    • Fixed infinite loop.
  • v3.1.2 v3.1.2

    • #114: Fix wrong condition in EventsExtension::optimizeListeners() (@lutor).
  • v3.1.1 v3.1.1

    • Fix compatibility with PHP 7.2 (@xificurk).
  • v3.1.0 v3.1.0

    • #90 Fixed faulty loop management when unsubscribing listeners; thx @kytart

    This release is for Nette ~2.4

  • v3.0.3 v3.0.3

    • #90 Fixed faulty loop management when unsubscribing listeners; thx @kytart

    This release is for Nette 2.3.*

  • v3.0.2 v3.0.2

    • Compatibility with Nette 2.4; thx @mrtnzlml
    • Allow symfony/event-dispatcher ~3.0
    • DI: in CLI mode, ignore debugMode and disable diagnostics panel by default
    • #98 Panel: fixed missing .tracy-label wrapper; thx @JanTvrdik
    • #82 Closure can be registered as listener; thx @hranicka
    • #82 CallableSubscriber: allows to use __call(); thx @hranicka; For more info, look at the interface description
    • #94 Fixed registering subscribers in config section events.subscribers ; thx @sneznaovca

    This release is for Nette ~2.3 (which means also ~2.4).

  • v2.4.1 v2.4.1

    • Moved aliases hack to aliases.php and removed eval. by @Zemistr
    • Fixed removing listeners with aliased method name by @brabijan
    • DI: Ignore accessors in autowireEvents by @matej21
    • Add namespace to events in LifeCycleEvent
    • Fixed duplicate service creation using alias in Nette 2.3 by @richard-ejem
    • Panel: fixed callback typehint by @matej21 & @klimesf
    • Drop PHP 5.3 compatibility
    • #95 Fixed compatibility with nette/di v2.4; thx @enumag
    • #87 removeEventListener(): fixed emptying list of sorted events; thx @matej21

    This release is for Nette ~2.3 (You should start migrating to ~3.0 releases of Kdyby/Events)

  • v3.0.1 v3.0.1

    • #95 Fixed compatibility with nette/di v2.4; thx @enumag
    • #87 removeEventListener(): fixed emptying list of sorted events; thx @matej21

    This release is for Nette ~2.3

  • v3.0.0 v3.0.0

    • Added globalDispatchFirst option by @enumag
    • Moved aliases hack to aliases.php and removed eval. by @Zemistr
    • Fixed removing listeners with aliased method name by @brabijan
    • DI: Ignore accessors in autowireEvents by @matej21
    • Add namespace to events in LifeCycleEvent
    • Fixed duplicate service creation using alias in Nette 2.3 by @richard-ejem
    • Panel: fixed callback typehint by @matej21 & @klimesf
    • Drop PHP 5.3 compatibility

    This release is for Nette ~2.3

  • v2.4.0 v2.4.0

    This release is for Nette ~2.3

  • v2.3.2 v2.3.2

    This release is for Nette 2.2.*

  • v2.3.1 v2.3.1

    • [BC BREAK] Introduced NamespacedEventManager explanation here. But as long as you're using this extension according to the documentation, you're fine. This is only relevant to Kdyby\Doctrine, which fixes the BC Break internally

    This release is for Nette ~2.2

  • v2.1.4 v2.1.4

    • [BC BREAK] Introduced NamespacedEventManager explanation here. But as long as you're using this extension according to the documentation, you're fine. This is only relevant to Kdyby\Doctrine, which fixes the BC Break internally

    This release is for Nette 2.1.*

  • v2.3.0 v2.3.0

    • Event namespaces respect class inheritance #55 - this is a big improvement, thanks to @JanTvrdik and @norbe for making this happen!
    • If you happened to name a public persistent property onSomething and you presenter is a registered service, it would have been replaced by Event object which might result in breaking of the application. You would notice this during development, but it was a unnecesary situation. Now it's fixed, all properties that have annotation @persistent or @inject will be excluded from autowiring of Events.

    This release is for Nette 2.2.*

  • v2.1.3 v2.1.3

    • Event namespaces respect class inheritance #55 - this is a big improvement, thanks to @JanTvrdik and @norbe for making this happen!
    • If you happened to name a public persistent property onSomething and you presenter is a registered service, it would have been replaced by Event object which might result in breaking of the application. You would notice this during development, but it was a unnecesary situation. Now it's fixed, all properties that have annotation @persistent or @inject will be excluded from autowiring of Events.

    This release is for Nette 2.1.*

  • v2.2.0 v2.2.0

    • Bumped Nette dependency on 2.2
    • dropped last few usages of Nette\Callback
  • v2.1.1 v2.1.1

    • Locked Nette dependency to 2.1.*
    • fixed compiling of DI\Container::onInitialize to DI Container (there was an edge case, where it wasn't added to the container)
  • v2.1.0 v2.1.0

    • Fixed compatibility with Nette
    • Fixed registering objects without Subscriber interface
    • Diagnostics panel can be configured to output only sections that the programmer cares about
    events:
        debugger: # theese are default values
            dispatchTree: off
            dispatchLog: on
            events: on
            listeners: off

    And old options debugger: count and debugger: off still work.

    • Mirror for symfony components using it's EventDispatcher (partial compatibility bridge)
    • Calling getListeners() without arg returns array of arrays (better compatibility with Doctrine) thx @vojtech-dobes
    • better travis build process
  • v2.0.2 v2.0.2

    • Diagnostics: 'debugger: off' hides whole panel
    • EventManager can catch and process exceptions using IExceptionHandler
    • Dropped usage of deprecated Nette\Callback
  • v2.0.1 v2.0.1

    Bumped dependency on Nette to ~2.1@dev

  • v1.2.5 v1.2.5

    • Locked dependency to Nette 2.0.*
    • Debugger option to disable only panel and not bar
  • v2.0 v2.0

    First release to require development version of Nette

  • v1.2.4 v1.2.4

    • Added Event::append() & Event::prepend()
    • Fixed catching service creation exceptions in panel
  • v1.2.3 v1.2.3

    This version was released because it fixes the hack for placing onInitialize event at the right place in container.

  • v1.2.2 v1.2.2

    • Nette bar panel now shows callgraph #19
  • v1.2.0 v1.2.0

price-tag-2-line

Badges

guide-fill

Dependencies

php (^7.1)
nette/di (^3.0)
Componette Componette felix@nette.org