-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[dwds/webdev] Latest -dev
SDK constraint allows for 3.1.0 stable without new DDC debugger API
#53459
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
Note that isn't an issue with these packages themselves, more of something confusing happening with the 3.1.0 dev releases. However, since 3.1.0 stable is already out, it seems it has to be fixed in webdev, with a new release with the updated constraint and either a retraction of 3.0.7 or a hotfix 3.0.7 release with a lowered dwds version. |
-dev
SDK constraint allows for 3.1.0 stable without new DDC debugger API
Thanks @parlough for reporting this, and for the workaround fixing it in webdev. Looks like an issue with the SDK 3.1.0 release? Transferring to the sdk repo. Please advise how to handle out-of-order releases in the future. |
-dev
SDK constraint allows for 3.1.0 stable without new DDC debugger API-dev
SDK constraint allows for 3.1.0 stable without new DDC debugger API
/cc @sigmundch |
Just discussed this with @annagrin, after dart-lang/webdev#2207 has landed we will need to:
|
Sounds like a plan. Thanks for following up! |
Update SDK constraints for most packages to the first `dev` release of 3.2.0 since the stable 3.1.0 release doesn't actually include the DDC debugger runtime API changes, but will allow for package resolution with the `3.1.0-...-dev` constraint and a 3.1.0 SDK. This will prevent that. Others are updated to stable releases. Issue reference: dart-lang/sdk#53459
The hotfix release of Webdev has been published: https://pub.dev/packages/webdev/versions/3.0.7+1 Running |
I'm going to close this issue since this specific instance of the issue was fixed. Thanks all! If you are experiencing similar issues, make sure you are using Related follow-up work/issues are being tracked separately:
|
@parlough Just got this with Dart 3.1.5 SDK:
|
Hi @mnordine - could you open a separate bug for your issue? Please also include your Dart version. Thank you! |
Done. |
For some reason, changes that landed in
3.1.0-263.0-dev
through3.1.0-348.0-dev
weren't part of Dart 3.1.0 stable. As a result, the new DDC runtime debugger API (which landed during this period) is not available for users of a stable SDK.However, the SDK constraint of
package:dwds
andpackage:webdev
of>=3.1.0-340.0.dev
which is correct for-dev
releases, also allows for a 3.1.0 stable SDK without the changes. So if you have a3.1.X
stable Dart version and rundart pub global activate webdev
resolution will allow forpackage:webdev:3.0.7
, but once debugging an app, you will get issues due to the incompatibilities.Steps to reproduce:
3.1.0
or3.1.1
currently.dart create -t web my_app
webdev serve --debug
main()
and try to evaluate something to get an error.An example resulting error when trying to evaluate main
Related discussion: #53298 (comment)
The text was updated successfully, but these errors were encountered: