Skip to content
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

pub.dev uses dev versions of dart/flutter toolchain #7484

Closed
espresso3389 opened this issue Feb 16, 2024 · 5 comments
Closed

pub.dev uses dev versions of dart/flutter toolchain #7484

espresso3389 opened this issue Feb 16, 2024 · 5 comments

Comments

@espresso3389
Copy link

If I publish a plugin that declares the version constraints like:

environment:
  sdk: '>=3.3.0 <4.0.0'
  flutter: '>=3.19'

I saw [ANALYSIS ISSUE]:

image

And I modified SDK min to 3.3.0-76.0.dev, then another flutter version error occurred.

image

So, I'm finally uses the following constraints:

environment:
  sdk: '>=3.3.0-76.0.dev <4.0.0'
  flutter: '>=3.19.0-0.4.pre'

But I finally got yet another error:

image

The problem actally does affect nothing. But when pub.dev introduces the stable versions?

@isoos
Copy link
Collaborator

isoos commented Feb 16, 2024

But when pub.dev introduces the stable versions?

We upgrade analysis SDKs on a custom schedule, manually, usually not long after their official release. As we tend to be not releasing a new site version on Friday, the 3.19 upgrade is expected to happen early next week.

@spydon
Copy link

spydon commented Feb 19, 2024

This also affects all API docs:
https://pub.dev/documentation/flame/1.16.0/

And you can't read the previous docs as a workaround either since they are redirected to the new version:
https://pub.dev/documentation/flame/1.15.0/

@spydon
Copy link

spydon commented Feb 20, 2024

Is there any plan to organize a coordination effort with the Flutter team so that this doesn't happen every new release?

@sigurdm
Copy link
Contributor

sigurdm commented Feb 20, 2024

The flutter sdk is updated now.

@espresso3389
Copy link
Author

I've confirmed my plugin is now correctly analyzed on pub.dev!

https://pub.dev/packages/pdfrx/versions/1.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants