-
Notifications
You must be signed in to change notification settings - Fork 709
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
[2.19] More pub
(maybe)
#4533
Comments
I didn't find anywhere in the docs that these points would be valuable to elaborate on. The changes related to warnings and failures sufficiently sum up what's going on in their messages, so there doesn't need to be extra documentation to explain those. E.g. for " Side note for future me: It took me a while to figure out how to backtrack from the change log to find a source for more info. It seems simple now, but just in case, I'm writing it down for next time. Here's what to do:
|
@MaryaBelanger Thanks for completing this evaluation, everything make sense! As for your process, sounds like you found one that works well for you :D My personal process for pub (and other external repositories like Pretend I want to compare what is on the current stable (
This works for most situations, but if not I just look at the history before the most recent commit found in DEPs. Sidenote: For the pub.dev site, update/deploys are quite often and separate from the SDK release, so I just watch the repository and ignore any PRs which don't seem necessary to document. |
@parlough 😱 I'm speechless! I think you've mentioned this method to me before, but seeing how simple it is (and assuming it's applicable to all the development that goes into Dart), is really a game changer. We'll have to talk more about this offline! |
There are a few situations where that won't always work, but we can talk more about those offline :) |
This is an evaluation issue
Evaluating the potential need for documentation updates based on pub related items added to the change log late in the release cycle (bullets below)
Summary
The major points are being covered by 4514. This issue is just to make sure I double check dart.dev for everything else, though it's unlikely there's any significant change.
Evaluation
dart pub add foo:<constraint>
with an existing dependency will now update the constraint rather than fail.dart pub add
will now allow adding multiple packages from any source using the same YAML syntax as inpubspec.yaml
.Update
dart pub publish
to allowdependency_overrides
inpubspec.yaml
. They will still cause a publication warning. Note that onlydependency_overrides
from the root package effect resolution.Update
dart pub publish
to require a working resolution. If publishing a breaking release of mutually dependent packages usedependency_overrides
to obtain a resolution.dart pub publish
will now give a warning ifdart analyze
reports any diagnostics.dart pub publish
now shows the file sizes of large files in your package to prevent accidental publication of large unrelated files.Fix a bug in
dart pub upgrade --major-versions
where packages not requiring major updates would be held back unless needed.dart pub get
now fails gracefully when run from inside the pub-cacheThe text was updated successfully, but these errors were encountered: