-
Notifications
You must be signed in to change notification settings - Fork 4
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
Drop Illuminate/Support requirement #5
Conversation
👍 |
Well, it is used now laravel-laroute/src/Routes/Collection.php Line 40 in 4feb9ab
so this should be reverted I guess. |
Yes, we should revert 3582aef |
What? Then the new dependency would be laravel/helpers. |
This is fine, since lord/laroute require illuminate/support we don't need to require it in this package. |
Ha, totally forgot about that 😂👍 |
Well, that is kinda bad practice. The package should clearly state all its requirements. Hypotetically lord/laroute can drop illuminate/support as its requirement at any time and as a result also breaking your package. |
@sergiz I quite agree with you in theory but less in practice. The idea behind this change was that you could continue to use this package transparently without our intervention when a new release of Laravel occurs and that the package we are extending (lord/laroute) controls dependencies. But ok I will put back the prerequisites to make it "cleaner" and in this case we also have to add the laravel/routing dependency which is not the case from the beginning. |
I understand. Well, if you do not care about something breaking it, an option is also to specify dependency as ">=5.4". |
Ok we have decided to release a new 1.7.0 version with this compromise. (Otherwise yes: we know that we are not following SEMVER; it will be for a future 2.0) Thank you all |
Pretty sure you don't need to depend on
illuminate/support
as none of the code in the package uses it directly and the dependency is enforce by the parentlord/laroute
package 👍