Enable constraintsFiltering for pub #44020
Closed
matthewnitschke-wk
started this conversation in
Suggest an Idea
Replies: 1 comment 2 replies
-
|
If you have an example of a specific package that we can test this with, that'd be appreciated! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Tell us more.
Currently the pub manager does not support constraintsFiltering. Meaning if your pubspec contains an
environmentfield, renovate will happily bump dependencies that no longer meet this environment constraintWithout knowing too much about renovate's internals, I don't anticipate this being too difficult to implement. The pub apis do already include environment data in
pubspec.environment, and it should be fairly easy to leverage the existing constraintsFiltering infrastructure for this managerconstraintsFiltering for pub would be quite helpful, as in dart, its a common practice to bump minimum dart sdk versions as minors breaking renovate PRs
Update
This has been implemented: #44171
Beta Was this translation helpful? Give feedback.
All reactions