Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 15bbca9

Browse files
committed
Updated CHANGELOG for #20
1 parent 2d2ba38 commit 15bbca9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ All notable changes to this project will be documented in this file, in reverse
5050
- `LazyListenerAggregate`, which, provided a list of `LazyEventListeners` and/or
5151
definitions to use to create them, acts as an aggregate for attaching a number
5252
of such listeners at once.
53+
- [#20](https://github.com/zendframework/zend-eventmanager/pull/20) updates the
54+
trait `Zend\EventManager\Test\EventListenerIntrospectionTrait` so that the
55+
implementation will work with the v3 changes; the tests written for v2
56+
continue to pass, allowing this trait to be used to provide compatibility
57+
testing between v2 and v3.
5358

5459
### Deprecated
5560

@@ -82,6 +87,34 @@ All notable changes to this project will be documented in this file, in reverse
8287

8388
- `FilterIterator::insert()` has been modified to raise an exception if the value provided is not a callable.
8489

90+
## 2.6.2 - 2016-01-12
91+
92+
### Added
93+
94+
- [#19](https://github.com/zendframework/zend-eventmanager/pull/19) adds a new
95+
trait, `Zend\EventManager\Test\EventListenerIntrospectionTrait`, intended for
96+
composition in unit tests. It provides a number of methods that can be used
97+
to retrieve listeners with or without associated priority, and the assertion
98+
`assertListenerAtPriority(callable $listener, $priority, $event, EventManager $events, $message = '')`,
99+
which can be used for testing that a listener was registered at the specified
100+
priority with the specified event.
101+
102+
The features in this patch are intended to facilitate testing against both
103+
version 2 and version 3 of zend-eventmanager, as it provides a consistent API
104+
for retrieving lists of events and listeners between the two versions.
105+
106+
### Deprecated
107+
108+
- Nothing.
109+
110+
### Removed
111+
112+
- Nothing.
113+
114+
### Fixed
115+
116+
- Nothing.
117+
85118
## 2.6.0 - 2015-09-29
86119

87120
### Added

0 commit comments

Comments
 (0)