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

Commit 99faabb

Browse files
committed
Add changelog for #592
1 parent 01d2bad commit 99faabb

File tree

1 file changed

+37
-11
lines changed

1 file changed

+37
-11
lines changed

CHANGELOG.md

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5+
## 2.2.1 - TBD
6+
7+
### Added
8+
9+
- Nothing.
10+
11+
### Changed
12+
13+
- Nothing.
14+
15+
### Deprecated
16+
17+
- Nothing.
18+
19+
### Removed
20+
21+
- Nothing.
22+
23+
### Fixed
24+
25+
- [#592](https://github.com/zendframework/zend-expressive/pull/592) fixes
26+
a v3 to v2 backwards port issue where the `Router\Middleware\DispatchMiddleware`
27+
is registered as an invokable and it should be registered with the
28+
`Router\Middleware\DispatchMiddlewareFactory`. This caused a
29+
"`DispatchMiddleware` already exists and cannot be overridden" exception.
30+
531
## 2.2.0 - 2018-03-12
632

733
### Added
@@ -46,47 +72,47 @@ All notable changes to this project will be documented in this file, in reverse
4672
- `Zend\Expressive\AppFactory`: if you are using this, you will need to switch
4773
to direct usage of `Zend\Expressive\Application` or a
4874
`Zend\Stratigility\MiddlewarePipe` instance.
49-
75+
5076
- `Zend\Expressive\ApplicationConfigInjectionTrait`: if you are using it, it is
5177
marked internal, and deprecated; it will be removed in version 3.
52-
78+
5379
- `Zend\Expressive\Container\NotFoundDelegateFactory`: the `NotFoundDelegate`
5480
will be renamed to `Zend\Expressive\Handler\NotFoundHandler` in version 3,
5581
making this factory obsolete.
56-
82+
5783
- `Zend\Expressive\Delegate\NotFoundDelegate`: this class becomes
5884
`Zend\Expressive\Handler\NotFoundHandler` in v3, and the new class is added in
5985
version 2.2 as well.
60-
86+
6187
- `Zend\Expressive\Emitter\EmitterStack`: the emitter concept is extracted from
6288
zend-diactoros to a new component, zend-httphandlerrunner. This latter
6389
component is used in version 3, and defines the `EmitterStack` class. Unless
6490
you are extending it or interacting with it directly, this change should not
6591
affect you; the `Zend\Diactoros\Response\EmitterInterface` service will be
6692
directed to the new class in that version.
67-
93+
6894
- `Zend\Expressive\IsCallableInteropMiddlewareTrait`: if you are using it, it is
6995
marked internal, and deprecated; it will be removed in version 3.
70-
96+
7197
- `Zend\Expressive\MarshalMiddlewareTrait`: if you are using it, it is marked
7298
internal, and deprecated; it will be removed in version 3.
73-
99+
74100
- `Zend\Expressive\Middleware\DispatchMiddleware`: this functionality has been
75101
moved to zend-expressive-router, under the `Zend\Expressive\Router\Middleware`
76102
namespace.
77-
103+
78104
- `Zend\Expressive\Middleware\ImplicitHeadMiddleware`: this functionality has been
79105
moved to zend-expressive-router, under the `Zend\Expressive\Router\Middleware`
80106
namespace.
81-
107+
82108
- `Zend\Expressive\Middleware\ImplicitOptionsMiddleware`: this functionality has been
83109
moved to zend-expressive-router, under the `Zend\Expressive\Router\Middleware`
84110
namespace.
85-
111+
86112
- `Zend\Expressive\Middleware\NotFoundHandler`: this will be removed in
87113
version 3, where you can instead pipe `Zend\Expressive\Handler\NotFoundHandler`
88114
directly instead.
89-
115+
90116
- `Zend\Expressive\Middleware\RouteMiddleware`: this functionality has been
91117
moved to zend-expressive-router, under the `Zend\Expressive\Router\Middleware`
92118
namespace.

0 commit comments

Comments
 (0)