-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change in middlewareGroup function behaviour introduces a breaking change in v9.10.0 #42159
Labels
Comments
This commit was added with #42004 |
I am also having the same problem. I was creating middleware group with empty array to tag routes. Framework cannot find middleware group when I run it with this pr(#42004) |
Thanks all. We'll try to get this fixed asap. |
We got this reverted and will cut a release shortly. Thanks all. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Since the
v9.10.0
, I encounter many issues on a large project. I can only say "many issues" for now, because it's "just" failling tests here and there that doesn't seem related to each other, even if everything works fine when I roll back tov9.9.0
.I'm still in the process of digging the problem and to figure out why and when it happens.
However, I've determined this commit 05365f8 (part of
v9.10.0
) is the cause of these problems. If I checkout on it, it still doesn't work, the moment I manually revert the changes in themiddlewareGroup
public function, it works. With this reverted change,v9.10.0
works fine too.In the previous version, prior to 05365f8, the entire middleware group was replaced by a new set of middlewares. In the new version, after 05365f8, only the missing ones are added. At least it's what I understand for now.
Even if it's a small change, it's a breaking change that should be reverted.
What do you think?
Steps To Reproduce:
Not yet but the change in behaviour is clear enough to be discussed.
The text was updated successfully, but these errors were encountered: