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

Update http dependency #36

Merged
merged 2 commits into from
Jul 27, 2023
Merged

Conversation

DwayneCoussement
Copy link
Contributor

Summary of change

Just updates the http dependency so users can keep updating their http library and third party dependencies as well (think about firebase for example).

@rishabhpoddar rishabhpoddar requested a review from nkshah2 July 20, 2023 15:11
@@ -16,8 +16,8 @@ environment:
dependencies:
flutter:
sdk: flutter
http: ^0.13.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be better to leave the upper bound at 1.1.0 instead. It is the current stable release and 1.2 could have breaking changes that will cause issues if the SuperTokens SDK is not compatible with it when it comes out

Copy link
Contributor Author

@DwayneCoussement DwayneCoussement Jul 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey I am not sure I understand the upperbound is <1.2.0, which means that any hotfix in 1.1.X will still be compatible; but 1.2.0 will require a new check from the supertokens package

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also @nkshah2 if they did release a breaking change, wouldn't that go to 2.0 instead of 1.2 (for the http lib)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DwayneCoussement Youre right, I think we should still keep the lower bound to 0.13 to not force users to have to update

@nkshah2
Copy link
Contributor

nkshah2 commented Jul 21, 2023

Hi @DwayneCoussement

Thanks for the PR, added a quick comment and ill be happy to merge after that is resolved. Also please change the target branch of your pull request to be 0.2

@DwayneCoussement DwayneCoussement changed the base branch from master to 0.2 July 21, 2023 19:46
@@ -16,8 +16,8 @@ environment:
dependencies:
flutter:
sdk: flutter
http: ^0.13.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DwayneCoussement Youre right, I think we should still keep the lower bound to 0.13 to not force users to have to update

pubspec.yaml Outdated
http: ^0.13.0
shared_preferences: ^2.0.0
http: ">=1.0.0 <1.2.0"
shared_preferences: ^2.2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.1.0 made the minimum flutter sdk version required to be 3.3. I'd still like to support SDK version 3.0. maybe we make this >=2.0.0 <3.0.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

versions have been updated @nkshah2 👍

@rishabhpoddar rishabhpoddar merged commit 64f8eea into supertokens:0.2 Jul 27, 2023
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

Successfully merging this pull request may close these issues.

3 participants