4 ms·
Any upgrade guide? My 0.18 elm project doesn't seem to work with the latest version and the links it tells you to go to don't exist. This is pretty much consis
by bobbby 8y ago
Any upgrade guide? My 0.18 elm project doesn't seem to work with the latest version and the links it tells you to go to don't exist.
This is pretty much consistent with my elm experience, I've never found it professional enough to consider for a production application.
- Skinney 8y agoIt's in the release notes, as with every other open source project: https://github.com/elm/compiler/blob/master/upgrade-docs/0.19.md https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...
- bobbby 8y agoThanks It explicitly says I'm not allowed to tell you that the auto upgrade doesn't work for me and there's no details on how to do it manually. Sigh I'll try again in a few months.. maybe.
- Skinney 8y ago> there's no details on how to do it manually. The document I linked too contains the language and std-lib changes between 0.18 and 0.19, for the rest you use new packages. If you don't want to upgrade that's fine, but you're literally staring at the information on what to do.
- z5h 8y agoWhat if you created elm.js and compiled your code, and fixed what doesn't work according to the changes (https://github.com/elm/compiler/blob/master/upgrade-docs/0.19.md#changes https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...)?
- masklinn 8y ago> It explicitly says I'm not allowed to tell you that the auto upgrade doesn't work for me and there's no details on how to do it manually. Uh… what? All it says is that elm-upgrade exists but is an alpha, and issues should be reported to the elm-upgrade repository.
- bobbby 8y agoError message states Do not post about the alpha/RC version of elm-upgrade on reddit, twitter, HN , discourse etc That's already an issue about alpha.elm-lang.org being broken, changing it to point at package.elm-lang.org gets me further but the next set of errors are so unhelpful I'm giving up.
- choonkeat 8y agobut upgrade guide says its ok "talk things through" on the issues page, so I posted my solution there https://github.com/avh4/elm-upgrade/issues/44 https://github.com/avh4/elm-upgrade/issues/44
- toastal 8y agoavh4 has a tool called `elm-upgrade`[0] that gets you 80% of the way there. It worked fine for 0.17 -> 0.18 for me and helped me upgrade some libraries for 0.18 -> 0.19. The dev branches worked during the 0.19 alpha phase, so I'm sure it will be released shortly. [0]: https://github.com/avh4/elm-upgrade https://github.com/avh4/elm-upgrade