Warning: temporary break in package:meta

57 views
Skip to first unread message

Franklin Yow

unread,
Jul 10, 2020, 5:36:35 PM7/10/20
to anno...@dartlang.org

We temporarily had an unintentional breaking change in package:meta.  If you used versions 1.2.0 or 1.2.1 of package:meta and are now hitting an error, please see the below. 


The Issue

In ver. 1.9.1 of package:pedantic, we moved the “unawaited” method to ver. 1.2.0 of package:meta. We found out that this change might cause errors for some users who are unable to get the latest versions of both of these packages, as well as the test_core package.


The Fix

We reverted the change in package:pedantic, and published ver. 1.9.2.

We reverted the change in package:meta, and published ver 1.2.2.


Note that the fix can break users who depended on `unawaited` from package:meta right after its release, since that API was then removed in 1.2.2. This was determined to be less painful overall than continuing with the change.


What to do if you are affected

If you are seeing errors related to “unawaited”, please update to the latest version of package:pedantic and package:meta.


See also

https://github.com/dart-lang/sdk/issues/42635

https://github.com/dart-lang/test/issues/1294


Franklin Yow | Program Manager | CoreDev Multiplatform | fran...@google.com | 206-531-1401

Reply all
Reply to author
Forward
0 new messages