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 parse_server_sdk_flutter dependency on parse_server_sdk from ^6.4.0 to ^7.0.0 #1026

Open
kirkmorrow opened this issue Dec 5, 2024 · 9 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@kirkmorrow
Copy link

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.

Copy link

parse-github-assistant bot commented Dec 5, 2024

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@kirkmorrow
Copy link
Author

kirkmorrow commented Dec 5, 2024

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.

@kirkmorrow
Copy link
Author

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."

@kirkmorrow
Copy link
Author

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.

@kirkmorrow kirkmorrow changed the title Upgrade http dependency Upgrade parse_server_sdk_flutter dependency on parse_server_sdk from ^6.4.0 to ^7.0.0 Dec 6, 2024
@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Dec 8, 2024
@2shrestha22
Copy link

2shrestha22 commented Dec 19, 2024

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.

@mtrezza
Copy link
Member

mtrezza commented Dec 20, 2024

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.

@kirkmorrow
Copy link
Author

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.

@2shrestha22
Copy link

One of them is a pure dart package and another in with flutter dependency. Dart package can be used without flutter.

@kirkmorrow
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

3 participants