Skip to content

Commit 9cf2137

Browse files
sigurdmCommit Queue
authored andcommitted
Bump pub to 59406faad8959e332da98260bab894feb8500908
Changes: ``` > git log --format="%C(auto) %h %s" b2c03b4..59406fa https://dart.googlesource.com/pub.git/+/59406faa Add 'tag_pattern' feature to git dependencies (4427) https://dart.googlesource.com/pub.git/+/141f46ec Use UTC for testing timestamps passed to git (4580) https://dart.googlesource.com/pub.git/+/6e9a308d Clarify relationship between Description and ResolvedDescription (4579) https://dart.googlesource.com/pub.git/+/935bec68 Move hasMultipleVersions to Description (4576) https://dart.googlesource.com/pub.git/+/99e84bc4 Resolve pubspec dependencies relative to the Resolved description of their containing package (4575) https://dart.googlesource.com/pub.git/+/0264dd07 Fix dependency_overrides validator in workspaces (4564) https://dart.googlesource.com/pub.git/+/21fc6784 Suggest using code-fences in bug template (4556) https://dart.googlesource.com/pub.git/+/96d38c78 Improve the bug reporting template (4554) https://dart.googlesource.com/pub.git/+/cc6968e6 Fix handling of ignore patterns ending in * (4552) ``` Diff: https://dart.googlesource.com/pub.git/+/b2c03b448a47fdd52800609b9222cd737be3a934..59406faad8959e332da98260bab894feb8500908/ Change-Id: I482de99d3219a9fa6e8e423237b984bb1fbeb499 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429320 Commit-Queue: Sigurd Meldgaard <[email protected]> Reviewed-by: Jonas Jensen <[email protected]>
1 parent 6e71aa8 commit 9cf2137

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@ constraint][language version] lower bound to 3.9 or greater (`sdk: '^3.9.0'`).
3838
Container<dynamic>().value('Invocation with missing runtime checks!');
3939
```
4040

41+
#### Pub
42+
43+
- Git dependencies can now be version-solved based on git tags.
44+
45+
Use a `tag_pattern` in the descriptor and a version constraint, and all
46+
commits matching the pattern will be considered during resolution. For
47+
example:
48+
49+
```yaml
50+
dependencies:
51+
my_dependency:
52+
git:
53+
url: https://github.com/example/my_dependency
54+
tag_pattern: v{{version}}
55+
version: ^2.0.1
56+
```
57+
4158
## 3.8.0
4259
4360
**Released on:** 2025-05-20

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ vars = {
140140
"material_color_utilities_rev": "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e",
141141
"native_rev": "6d51ecf34385e5872c43f1856d3fad6349200811", # rolled manually while native assets are experimental
142142
"protobuf_rev": "b7753f6fc29402679e05e9a510074002f0826d48",
143-
"pub_rev": "b2c03b448a47fdd52800609b9222cd737be3a934", # rolled manually
143+
"pub_rev": "59406faad8959e332da98260bab894feb8500908", # rolled manually
144144
"shelf_rev": "082d3ac2d13a98700d8148e8fad8f3e12a6fd0e1",
145145
"sync_http_rev": "dc54465f07d9652875deeade643256dafa2fbc6c",
146146
"tar_rev": "5a1ea943e70cdf3fa5e1102cdbb9418bd9b4b81a",

0 commit comments

Comments
 (0)