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

Add Upgrade guide from 1.0.0 to 2.0.0 #49

Open
deiga opened this issue Nov 19, 2018 · 5 comments
Open

Add Upgrade guide from 1.0.0 to 2.0.0 #49

deiga opened this issue Nov 19, 2018 · 5 comments

Comments

@deiga
Copy link

deiga commented Nov 19, 2018

Upgrading is quite difficult as the API has changed a fair bit.
Would it be possible to add an upgrade guide?

@evancz
Copy link
Member

evancz commented Nov 20, 2018

What are you running into? What sort of things do you think it'd be best to document?

@deiga
Copy link
Author

deiga commented Nov 21, 2018

@evancz The changed type signature for all requests was the biggest hurdle I encountered when I tried to do the upgrade.
As well as small things like parameters changing in the custom requests.

I didn't put much effort into it yet, but these felt so big that I just couldn't handle the upgrade right now :P

@bryce13950
Copy link

A quick guide on how the types have changed would be great. A simple document that shows 1.0.0 implementation, and then the same implementation in 2.0.0 would probably suffice.

@christelnagels
Copy link

christelnagels commented Mar 6, 2019

My friend @Hermanverschooten made a post on elm-discourse describing how he upgraded my code to 2.0,

@michaelglass
Copy link

michaelglass commented Jul 15, 2019

We just made a shim between 1.0 and 2.0 to help people upgrade from 1.0 to 2.0: https://github.com/NoRedInk/http-upgrade-shim

It provides an, albeit awkward, step-by-step approach to upgrading elm/http.

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

No branches or pull requests

5 participants