parse-community / Parse-SDK-Flutter

The Dart/Flutter SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
573 stars 188 forks source link

Update Dependencies of parse sdk to 5.1.3 #966

Closed funjay closed 10 months ago

funjay commented 11 months ago

New Issue Checklist

Issue Description

Pub get fails Because no versions of parse_server_sdk_flutter match >6.0.0 <7.0.0 and parse_server_sdk_flutter 6.0.0 depends on parse_server_sdk ^5.1.2, parse_server_sdk_flutter ^6.0.0 requires parse_server_sdk ^5.1.2. And because parse_server_sdk >=4.0.0 depends on http ^0.13.5, parse_server_sdk_flutter ^6.0.0 requires http ^0.13.5

Parse_server_sdk is now 5.1.3 can we update the sdk_flutter to depend on the latest?

Steps to reproduce

Add parse_server_sdk_flutter: ^6.0.0 and any other package that depends on http: > 1.0.0

Actual Outcome

Fails with error above

Expected Outcome

Pub get should succeed without errors

Environment

Parse Flutter SDK

Server

Logs

parse-github-assistant[bot] commented 11 months ago

Thanks for opening this issue!

funjay commented 11 months ago

invalid

mbfakourii commented 11 months ago

invalid

I am looking into this possibility, unfortunately, in my last check, we had many conflict with other packages

mbfakourii commented 11 months ago

@funjay

According to our support policy, we currently cannot cancel our support for versions below 3 darts (Until May 2024).

My suggestion is to use dependency_overrides. like this

dependency_overrides:
  http: ^1.1.0