zendframework / zend-expressive-helpers

Helper classes for Expressive
BSD 3-Clause "New" or "Revised" License
33 stars 18 forks source link

Zend\Expressive\Helper\ServerUrlMiddleware does not implement Interop\Http\ServerMiddleware\MiddlewareInterface yet #38

Closed RalfEggert closed 7 years ago

RalfEggert commented 7 years ago

The class Zend\Expressive\Helper\ServerUrlMiddleware does not implement Interop\Http\ServerMiddleware\MiddlewareInterface yet. Same for the UrlHelperMiddleware. Both are used with the newest Zend\Expressive skeleton.

When will they be updated?

weierophinney commented 7 years ago

Chicken-and-egg problem. We couldn't update them until Expressive 2.0 was released, but changing them to implement http-interop is also a BC break, which would mean we need a new major version of this library, which affects the installer... which also needed zend-expressive 2.0 before it could bump.

Now that these two are in place, we can update, as existing users can use either version, with the new version being slightly more performant (as no decoration is required).

It looks like @xtreamwayz has opened #40 to do this.