avh4 / elm-upgrade

Upgrade Elm projects

Home Page:https://www.npmjs.com/package/elm-upgrade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API migrations for Elm 0.19-rc

avh4 opened this issue Β· comments

This is a tentative list from the limited info about Elm 0.19

  • πŸ›‘ remove elm install ordering workaround (blocked on Elm)
  • add tests for non upgraded dependency
  • remove elm-package.json when done
  • add elm-lang/json if necessary
  • install test dependencies (blocked on elm-test)
  • add elm-lang/browser if necessary
  • for packages, move elm files to src/ (or warn)
  • move tests to tests/
  • update readme
  • for packages, warning if license is not in the whitelist
  • if more than 5 exposed modules, give warning (see upgrade docs)

js stuff

elm-format stuff

  • Tuple constructors (,,) are gone
  • Basics.(!) is gone
  • Basics.flip is gone
  • Basics.curry is gone
  • Basics.uncurry is gone
  • String escape sequences "\u{xxxx}"
  • large tuples are gone (should elm-format insert a warning comment?)
  • .program -> Browser.*
  • Json.parse returns Json.Error
  • name shadowing is not allowed
  • (maybe?) case on numbers becomes if/else?

Remaining items moved to #32