Skip to content

bump http lib version - #120

Open
danReynolds wants to merge 1 commit into
knoxpo:masterfrom
danReynolds:feature/bumphttp
Open

bump http lib version#120
danReynolds wants to merge 1 commit into
knoxpo:masterfrom
danReynolds:feature/bumphttp

Conversation

@danReynolds

Copy link
Copy Markdown

Looking to bump to the 1.0 HTTP lib.

Comment thread pubspec.yaml
dependencies:
meta: ^1.6.0
http: ^0.13.0
http: ^1.0.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why not make it less restrictive, i.e.

http: ">=0.13.0 <2.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why not make it less restrictive, i.e.

http: ">=0.13.0 <2.0.0"

Cause some other packages use http 1.0.0 already. It means that we need to downgrade all others, in order to work with algolia

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'm not sure you understood the version restriction above.

Btw, you can always resort to dependency_overrides if your requirement for ^1.0.0 is so dire.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I suggest going with http: ">=0.13.0 <2.0.0" as well. It would greatly ease transition.

See for example the google sign-in package

@nzackoya

Copy link
Copy Markdown

Please merge as soon as possible. Currently in order not to face issues with version incompatibility, I'll need to use this branch as a patch

@iDaviddd

Copy link
Copy Markdown

bump

@treeder

treeder commented Jul 12, 2023

Copy link
Copy Markdown

Would be nice to get this in.

@NeatFastro

Copy link
Copy Markdown

any update for the merger date?

@techouse

techouse commented Aug 15, 2023

Copy link
Copy Markdown

any update for the merger date?

In the mantime you can simply do

dependency_overrides:
  http: ^1.0.0

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.

7 participants