Closed michaelmoussa closed 7 years ago
My understanding, then, is that once this is merged and 2.0.0 is created, we will need to create new major or minor versions of the router implementations that pin to the new major version presented here, so that they can update their implementations of the
RouterInterface
; is that correct?
Yes. I think they'd need to be major, though, wouldn't they? If someone is simply letting Expressive do it's thing, then they wouldn't be affected by a change to the interface, but if anyone has actually implemented that interface, their implementation will be missing the new parameter.
Yes. I think they'd need to be major, though, wouldn't they? If someone is simply letting Expressive do it's thing, then they wouldn't be affected by a change to the interface, but if anyone has actually implemented that interface, their implementation will be missing the new parameter.
I realized that later myself. Additionally, it's more an issue for folks extending the implementations; the extensions, if they override that method, would be broken at that point if they do not define the additional, optional argument. As such, agreed that we need new major versions.
@michaelmoussa about commit c4526c3 please see: https://github.com/zendframework/zend-expressive/pull/418#issuecomment-270484049
... so you shouldn't update year in files you didn't change.
Thanks @webimpress, I hadn't seen that comment, but removing the update causes the license check to fail. How should I proceed, @weierophinney ?
removing the update causes the license check to fail. How should I proceed
Change the following in .docheader
:
%regexp:(20\d{2}-)?%%year%
to read:
%regexp:(20\d{2}-)?20\d{2}%
That will allow it to keep existing date ranges; unfortunately, it also has the side effect of not enforcing the current year for new files. I'll see if I can work with the author of the license checker library to figure out something more robust for the future, but the above will get us moving forward.
@weierophinney since there are a number of pending releases in various repos that may be affected (or depended on) by this, can you give this a quick sanity check before I release
2.0.0
?Process after 👍 :
CHANGELOG.md
from 1c7411f to reflect what the actual release date will be.master
to my fork (which will update this pull request).2.0.0
off of whatever the new commit hash for 1c7411f ends up being.develop
into sync withmaster
.dev-2.0.0
branch.End result should be that
2.0.0
is released,develop
andmaster
are in sync,dev-2.0.0
is deleted, and there is no unreleased code in any branch or PR (at the time this PR was submitted).Make sense?