File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,34 @@ Updated the Linter to `1.1.0`, which includes:
36
36
- new lint: ` use_named_constants ` .
37
37
- deprecation of ` avoid_as ` .
38
38
39
+ ### Pub
40
+
41
+ * ` dart pub publish ` now respects ` .pubignore ` files with gitignore-style rules.
42
+ ` .gitignore ` files in the repo are still respected if they are not
43
+ overridden by a ` .pubignore ` in the same directory.
44
+
45
+ pub no longer queries git for listing the files. This implies:
46
+ * Checked in files will now be ignored if they are included by a ` .gitignore `
47
+ rule.
48
+ * Global ignores are no longer taken into account.
49
+ * Even packages that are not in git source control will have their
50
+ ` .gitignore ` files respected.
51
+
52
+ * New flag ` dart pub deps --json ` gives a machine parsable overview of the
53
+ current dependencies.
54
+ * New command: ` dart pub cache clean ` . Will delete everything in your current
55
+ pub cache.
56
+ * Commands related to a single package now takes a ` --directory ` option to
57
+ operate on a package in the given directory instead of the working directory.
58
+ * git dependencies with a relative repo url would previously be interpreted
59
+ relative to the current package, even for transitive dependencies. This now
60
+ fails instead.
61
+
62
+ * Pub now uses a Dart library to read and write tar files.
63
+ This should fix several issues we had with incompatibilities between different
64
+ system ` tar ` s.
65
+ * ` PUB_HOSTED_URL ` can now include a trailing slash.
66
+
39
67
## 2.12.2 - 2021-03-17
40
68
41
69
This is a patch release that fixes crashes reported by Flutter 2 users (issue
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ vars = {
136
136
"pool_rev" : "7abe634002a1ba8a0928eded086062f1307ccfae" ,
137
137
"process_rev" : "56ece43b53b64c63ae51ec184b76bd5360c28d0b" ,
138
138
"protobuf_rev" : "0d03fd588df69e9863e2a2efc0059dee8f18d5b2" ,
139
- "pub_rev" : "0e657414a472e74ca5dd76ae0db50cc060251dec " ,
139
+ "pub_rev" : "255a3091fc278b04be74d246a3bec8743ef4d0b7 " ,
140
140
"pub_semver_rev" : "f50d80ef10c4b2fa5f4c8878036a4d9342c0cc82" ,
141
141
"resource_rev" : "6b79867d0becf5395e5819a75720963b8298e9a7" ,
142
142
"root_certificates_rev" : "7e5ec82c99677a2e5b95ce296c4d68b0d3378ed8" ,
@@ -156,6 +156,7 @@ vars = {
156
156
"stream_channel_tag" : "d7251e61253ec389ee6e045ee1042311bced8f1d" ,
157
157
"string_scanner_rev" : "1b63e6e5db5933d7be0a45da6e1129fe00262734" ,
158
158
"sync_http_rev" : "b59c134f2e34d12acac110d4f17f83e5a7db4330" ,
159
+ "tar_rev" : "b59c134f2e34d12acac110d4f17f83e5a7db4330" ,
159
160
"test_descriptor_tag" : "2.0.0" ,
160
161
"test_process_tag" : "2.0.0" ,
161
162
"term_glyph_rev" : "6a0f9b6fb645ba75e7a00a4e20072678327a0347" ,
You can’t perform that action at this time.
0 commit comments