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

Added support for http-interop/http-middleware 0.5.0 (no BC Break) #112

Merged
merged 1 commit into from
Oct 9, 2017
Merged

Added support for http-interop/http-middleware 0.5.0 (no BC Break) #112

merged 1 commit into from
Oct 9, 2017

Conversation

michalbundyra
Copy link
Member

We keep also support for previous version. Now it depends on the library consumer what version of http-middleware to use. We accomplish that by using external library webimpress/http-middleware-compatibility.

Please note that tests runs with lowest/locked/latest dependencies. I've set composer.lock on http-middleware 0.4.1, lowest will be 0.1.1 and latest 0.5.0. All test pass :)

Probably we don't need support version http-middleware 0.1.1 anymore, so can add conflict condition in composer. To support it, I've added in two place method next as proxy to method handle (also new method, to support http-middleware 0.5.0) - and now process is proxy to handle.

Definitely we need update documentation a bit more. I'm thinking about all examples in documentation. How we should do that? Use always http-middleware interfaces (what version?) or aliases from webimpress/http-middleware-compatibility? IMHO, final library users should use http-middleware interfaces directly.

We keep also support for previous version. Now it depends on the library
consumer what version of http-middleware to use. We accomplish that by
using external library `webimpress/http-middleware-compatibility`.
@michalbundyra michalbundyra changed the base branch from master to develop October 7, 2017 09:49
@michalbundyra
Copy link
Member Author

Rebased and changed target to develop branch.

@weierophinney weierophinney merged commit fc6e2fa into zendframework:develop Oct 9, 2017
weierophinney added a commit that referenced this pull request Oct 9, 2017
Added support for http-interop/http-middleware 0.5.0 (no BC Break)
weierophinney added a commit that referenced this pull request Oct 9, 2017
weierophinney added a commit that referenced this pull request Oct 9, 2017
@weierophinney
Copy link
Member

Thanks, @webimpress!

@weierophinney weierophinney added this to the 2.1.0 milestone Oct 9, 2017
@michalbundyra michalbundyra deleted the feature/http-middleware-0.5 branch October 9, 2017 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants