-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Tracking issue for removal of deprecated SDK constant names #31813
Comments
As part of this we should have a script that automatically ports old code. We should use that to port Flutter, as a proof of concept. We should then hook that script into |
I'll file an issue for that. We may want to consider whether we can do that for at least some of the wave 3 changes as well. |
The difficulty is this would (likely) require analysis-driven refactoring. We have an internal tool that is near completion for this task. We could spend a couple weeks and open source it, but this needs to be a P1 directive and coordinated ASAP, and not just be a "oh it's |
It's something we should have before we remove the uppercase constants; I'm not aware of anything that's driving us to remove them by a particular date. |
@Hixie Is the infrastructure for upgrading user code via flutter upgrade built out already? That is, is there an existing system which identifies user files to be updated etc can just call out to an appropriate tool? Or does all of that need to be figured out as part of this? |
Fix it package here: https://pub.dartlang.org/packages/dart2_fix |
When is the next step for this? |
I'll prepare some docs and an announcement email and follow up on the relevant email lists today. |
What's the next step here, @leafpetersen ? |
@lrhn is going to coordinate this. @zanderso is working on the dart:io part of this. @keertip will handle internal code. @devoncarew will update dart2_fix once we have the list of dart:io renames. |
dart:io is complete. What is remaining? |
Removal of usages in packages. |
Once we have a roll to flutter this can be closed. |
We've rolled flutter, this is done. |
Why did we close this? The deprecated constants in at least Line 568 in 55aa031
|
https://api.dartlang.org/stable/2.0.0/dart-io/HttpHeaders-class.html
That's...embarrassing...
…On Tue, Aug 21, 2018 at 3:54 PM Nate Bosch ***@***.***> wrote:
Reopened #31813 <#31813>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#31813 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABCin3W5-Wyen_fN6QruQx4eUEpyzfBks5uTI-kgaJpZM4RYUGG>
.
|
Given the expense of deleting the deprecated sdk constants, and relatively low user value to deleting them, I don't think we should delete the I think it would make sense to close this issue as covering the non-dart:io constant deletion for Dart 2.0, and open a new issue to determine what if anything we should do with the dart:io constants. |
SGTM considering non-dart:io constants complete and opening a new issue for dart:io constant. |
The old all caps names for constants in the SDK have been deprecated in favor of camel case versions. This issue tracks the removal of the of old deprecated names.
TODO:
This is part of the larger Dart 2.0 corelib changes tracked here: #31812 .
The text was updated successfully, but these errors were encountered: