-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Breaking changes in dart 2.19 #50953
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
Comments
I think there is no way we can unroll any of these changes. The release process for 2.19 and corresponding Flutter release is basically almost done.
I am not sure about
Can you clarify what this refers to? I would assume that the hostname /cc @mit-mit |
The deprecation is not breaking, and the type change shouldn't be, so I'd also like to know what problems it has caused, in case it's something we can reasonably fix instead of waiting for 3.0 where If code depends on a (We still have a problem with the text message of cast errors, but that's cosmetic.) |
More concrete details about these would be appreciated. |
@bsutton can you please respond with further information? If not, we'll have to close this issue as not actionable... |
Close it out.
I do think File.create is going to be somewhat disruptive but it is what it
is.
My statement about CastError was incorrect - I"ve been playing with dart
2.12, 2.18, 2.19 and 3.x this week and got my wires crossed.
path change from pub.dartlang.org to pub.dev
I was referring to the directory structure of the .pub-cache
I have code that compiles a cli package directly from .pub-cache and the
dcli library has apis that let users ask questions like 'is package X
installed' 'is package x globally activated'. To implement this I scan the
.pub-cache directory structure.
This change will probably only affect fairly specialised packages like dcli.
…On Sat, Jan 14, 2023 at 1:58 AM Michael Thomsen ***@***.***> wrote:
@bsutton <https://github.com/bsutton> can you please respond with further
information? If not, we'll have to close this issue as not actionable...
—
Reply to this email directly, view it on GitHub
<#50953 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG32OFSU76FBES4PCEXDT3WSFUS5ANCNFSM6AAAAAATU2DRJE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks. 😄 |
This might be a bit late to the party, but I"m concerned about a number of breaking changes in dart 2.19
File.create
CastError
path change from pub.dartlang.org to pub.dev
When I first became aware of the above changes (well the last one I only encountered today) I didn't realise the impact nor how close to a 3.0 release we are.
I primarily build CLI apps (and maintain the DCli package). I've now encountered problems (in the wild) with the above changes breaking apps.
I do wonder, given how close we are to a 3.x release, whether these breaking changes should have been left to the 3.x release.
I've largely worked around the issues but worry it might have an extensive impact on the other CLI apps published via pub.dev.
The text was updated successfully, but these errors were encountered: