You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
request: Support Dart 3.9.0 Versions in Git dependencies #933
Currently melos version is failing to upgrade internal dependencies in the mono-repo when one package has a new version. In this example if Foo is updated to 1.1.0, the implementing package will not be updated to version: ^1.1.0
Reasoning
It is really great for private mono-repos that Dart is now supporting versioning via Git as this gives a great alternative to hosting a private pub. Implementing this feature in melos would benefit all private monorepos that use this new versioning
It is really great for private mono-repos that Dart is now supporting versioning via Git as this gives a great alternative to hosting a private pub. Implementing this feature in melos would benefit all private monorepos that use this new versioning
@FritzMatthaeus but are we allowed to publish packages with a tagged git dependency?
It is really great for private mono-repos that Dart is now supporting versioning via Git as this gives a great alternative to hosting a private pub. Implementing this feature in melos would benefit all private monorepos that use this new versioning
@FritzMatthaeus but are we allowed to publish packages with a tagged git dependency?
@xsahil03x: As i stated, we use melos in a context of private repositories. I think in a published package on pub.dev one should not use git dependencies in general.
@spydon: It seems that the dart team is not planning to implement this into the pubspec_parse package as they have closed the PR as not planned. What do you think? Are there other suitable ways that Melos could support the new tag_pattern?
@FritzMatthaeus they didn't close it as not planned, the issue is still open. But it indeed seems like it will take quite a while until they implement it (if ever). Maybe we can extend it inside of Melos while waiting, is this something you'd be interested in working on?
@FritzMatthaeus they didn't close it as not planned, the issue is still open. But it indeed seems like it will take quite a while until they implement it (if ever). Maybe we can extend it inside of Melos while waiting, is this something you'd be interested in working on?
@spydon sorry for getting back so late on your question. I do not have the time in private to work on this. So i'll have to check that with my employer, but i am confident to find some time in the upcoming weeks. I'll get in touch with you in case i need help on understanding the melos versioning process.
Activity
spydon commentedon Sep 1, 2025
Interesting, is this supported in pubspec_parse?
FritzMatthaeus commentedon Sep 1, 2025
@spydon: I am not sure if this question is adressed to me 😆 The feature has been implement in Dart in 3.9.0, see here
spydon commentedon Sep 2, 2025
@FritzMatthaeus yeah, because it has to be supported in that package before we can use it, so we'll have to open an issue there first.
spydon commentedon Sep 3, 2025
Created dart-lang/tools#2155
xsahil03x commentedon Dec 12, 2025
@FritzMatthaeus but are we allowed to publish packages with a tagged git dependency?
FritzMatthaeus commentedon Jan 12, 2026
@xsahil03x: As i stated, we use melos in a context of private repositories. I think in a published package on pub.dev one should not use git dependencies in general.
FritzMatthaeus commentedon Jan 12, 2026
@spydon: It seems that the dart team is not planning to implement this into the pubspec_parse package as they have closed the PR as not planned. What do you think? Are there other suitable ways that Melos could support the new tag_pattern?
Thx for your support
spydon commentedon Jan 12, 2026
@FritzMatthaeus they didn't close it as not planned, the issue is still open. But it indeed seems like it will take quite a while until they implement it (if ever). Maybe we can extend it inside of Melos while waiting, is this something you'd be interested in working on?
FritzMatthaeus commentedon Jan 23, 2026
@spydon sorry for getting back so late on your question. I do not have the time in private to work on this. So i'll have to check that with my employer, but i am confident to find some time in the upcoming weeks. I'll get in touch with you in case i need help on understanding the melos versioning process.
fix: support tag_pattern based versioning
fix: support tag_pattern based versioning
fix: support tag_pattern based versioning
fix: support tag_pattern based versioning
fix: support tag_pattern based versioning
feat: Support tag_pattern based versioning in git dependencies (inver…