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

upgrade web dependecy to ^1.0.0. #389

Closed
Ali-Fadaei opened this issue Aug 26, 2024 · 3 comments
Closed

upgrade web dependecy to ^1.0.0. #389

Ali-Fadaei opened this issue Aug 26, 2024 · 3 comments

Comments

@Ali-Fadaei
Copy link

Ali-Fadaei commented Aug 26, 2024

current web: 0.5.1 dependency got incompatibly error with some other packages.

@llfbandit
Copy link
Owner

Current dependency is already set at web: ">=0.5.1 <2.0.0"
Please ensure you upgraded to record_web: 1.1.2 in pubspec.lock file.

@Ali-Fadaei
Copy link
Author

Screenshot 2024-08-27 115016

thanks for response.

why it won't set to 1.1.2 automatically?
pubspec.lock file is generated by pub get and can't be edited when CI/CD builds the App.

@llfbandit
Copy link
Owner

Running pub get doesn't upgrade your dependencies.
You need to use pub upgrade for this, especially for transitive dependencies.

Like in this issue, record package hasn't changed while sub-packages have.

With, pub get, Your CI just takes the lock file to retrieve the dependencies and stay constitent with the state of your development. This is absolutly normal, you don't want any diff between what you had on your side and what you will push to your users.

Note: each time I release record root package, I try to update the dependencies to enforce a seamless upgrade for you.

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

2 participants