Skip to content

Instantly share code, notes, and snippets.

@neslinesli93
Created March 9, 2019 16:06
Show Gist options
  • Save neslinesli93/a347453f9b020d4385bcfa70e149df6c to your computer and use it in GitHub Desktop.
Save neslinesli93/a347453f9b020d4385bcfa70e149df6c to your computer and use it in GitHub Desktop.

WARNING! 4 of your dependencies have not yet been upgraded to support Elm 0.19.

Here are some common upgrade steps that you will need to do manually:

  • NoRedInk/elm-json-decode-pipeline
    • Changes uses of Json.Decode.Pipeline.decode to Json.Decode.succeed
  • elm/core
    • Replace uses of toString with String.fromInt, String.fromFloat, or Debug.toString as appropriate
  • elm/time
  • elm/html
    • If you used Html.program*, install elm/browser and switch to Browser.element or Browser.document
    • If you used Html.beginnerProgram, install elm/browser and switch Browser.sandbox
  • elm/browser
    • Change code using Navigation.program* to use Browser.application
    • Use the Browser.Key passed to your init function in any calls to Browser.Navigation.pushUrl/replaceUrl/back/forward
  • elm/url
    • Changes uses of Navigation.Location to Url.Url
    • Change code using UrlParser.* to use Url.Parser.*
  • elm/random
    • Change references to Random.Pcg.* to Random.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment