Skip to content

Upgrade parse_server_sdk_flutter dependency on parse_server_sdk from ^6.4.0 to ^7.0.0 #1026

Open
@kirkmorrow

Description

@kirkmorrow

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.

Activity

parse-github-assistant

parse-github-assistant commented on Dec 5, 2024

@parse-github-assistant

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!
kirkmorrow

kirkmorrow commented on Dec 5, 2024

@kirkmorrow
Author

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

kirkmorrow commented on Dec 6, 2024

@kirkmorrow
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

kirkmorrow commented on Dec 6, 2024

@kirkmorrow
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.

changed the title [-]Upgrade http dependency[/-] [+]Upgrade parse_server_sdk_flutter dependency on parse_server_sdk from ^6.4.0 to ^7.0.0[/+] on Dec 6, 2024
added
type:featureNew feature or improvement of existing feature
on Dec 8, 2024
2shrestha22

2shrestha22 commented on Dec 19, 2024

@2shrestha22

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

mtrezza commented on Dec 20, 2024

@mtrezza
Member

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

kirkmorrow commented on Dec 20, 2024

@kirkmorrow
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

2shrestha22 commented on Dec 20, 2024

@2shrestha22

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

kirkmorrow

kirkmorrow commented on Dec 20, 2024

@kirkmorrow
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @mtrezza@kirkmorrow@2shrestha22

      Issue actions

        Upgrade parse_server_sdk_flutter dependency on parse_server_sdk from ^6.4.0 to ^7.0.0 · Issue #1026 · parse-community/Parse-SDK-Flutter