-
-
Notifications
You must be signed in to change notification settings - Fork 198
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 parse_server_sdk_flutter dependency on parse_server_sdk from ^6.4.0 to ^7.0.0 #1026
Comments
Thanks for opening this issue!
|
According to the information here, http 1.2.0 requires Dart 3.2 and which I believe means it could be used today. The latest version is 1.2.2 but requires Dart 3.3. |
For more clarity... It appears that the dependency has been already updated in the latest parse_server_sdk. However, parse_server_sdk_flutter still depends on an older 6.4.0 version of parse_server_sdk which requires http ^0.13.5. "Because parse_server_sdk_flutter >=8.0.0 depends on parse_server_sdk ^6.4.0 which depends on http ^0.13.5, parse_server_sdk_flutter >=8.0.0 requires http ^0.13.5." |
Searching further is appears that parse_server_sdk moved from http ^0.13.5 to ^1.1.0 with version 7.0.0. So the real request is to update the parse_server_sdk dependency from ^6.4.0 to ^7.0.0. |
I had similar experience. I tried to convince the team to upgrade dependencies regularly to keep up with other packages but it has LTS release cycle causing dependencies issues. Previous discussion: #1000. To overcome these issue I had to fork the repo and update dependencies regularly. Here is the repo: https://github.com/2shrestha22/Parse-SDK-Flutter/. You can checkout to develop branch for latest updates. Flutter community really needs a regularly updated repo. |
We have a pinned issue with #968 if anyone wants to make a case for why we should change our support policy. We're open to suggestions, and please read through the discussion there so far to understand which arguments lead to the current support policy, in order to address these arguments. |
This discussion got larger than I would have anticipated when I opened the issue. I guess at a fundamental level I don't understand why there are two packages maintained in the same Git repository and maintained by the same people, yet one package has a hard dependency on an outdated version of the other package. I'd get it if it were a dependency on package maintained outside of the developers' control. But the fact that parse_server_sdk_flutter MUST use an old version of parse_server_sdk just makes zero sense to me. Shouldn't releases of the two packages be coordinated as closely as possible? Just my 2 cents... obviously there is something larger at play here that I don't understand yet. |
One of them is a pure dart package and another in with flutter dependency. Dart package can be used without flutter. |
Oh I get that part. I just assumed there would be better coordination between releases. |
New Feature / Enhancement Checklist
Current Limitation
The http dependency is still on 0.13.5, while the latest is 1.x.x, which was released 18 months ago. This is becoming an issue as I'd like to add other modules to my app that have a requirement of http ^1.0.0.
Feature / Enhancement Description
Upgrade the dependency to latest.
Example Use Case
Make parse_server_sdk_flutter compatible with other packages.
Alternatives / Workarounds
None, I want to use dnsolve which has no version that works with http 0.x.x.
The text was updated successfully, but these errors were encountered: