News for hackers. Stuff that matters.
Re:Small Assets without the Headache in Elm 0.19 by bobbby on Tuesday August 21, 2018 @10:25AM (#17809863)
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.

Re:Small Assets without the Headache in Elm 0.19 by Skinney on Tuesday August 21, 2018 @10:27AM (#17809887)
It's in the release notes, as with every other open source project: https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...
Re:Small Assets without the Headache in Elm 0.19 by bobbby on Tuesday August 21, 2018 @10:41AM (#17810004)
Thanks

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.

Re:Small Assets without the Headache in Elm 0.19 by Skinney on Tuesday August 21, 2018 @10:45AM (#17810040)
> 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.

Re:Small Assets without the Headache in Elm 0.19 by z5h on Tuesday August 21, 2018 @10:46AM (#17810049)
What 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.1...)?
Re:Small Assets without the Headache in Elm 0.19 by masklinn on Tuesday August 21, 2018 @10:50AM (#17810073)
> 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.

Re:Small Assets without the Headache in Elm 0.19 by bobbby on Tuesday August 21, 2018 @11:31AM (#17810484)
Error 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.

Re:Small Assets without the Headache in Elm 0.19 by masklinn on Tuesday August 21, 2018 @11:48AM (#17810654)
It's just telling you that it's pointless to post about issues on social media because the tool is in alpha and is obviously going to fail in many cases…
Re:Small Assets without the Headache in Elm 0.19 by leshow on Tuesday August 21, 2018 @03:33PM (#17812934)
Funny how it was recommended at the start of this thread, in light of that.
Re:Small Assets without the Headache in Elm 0.19 by choonkeat on Tuesday August 21, 2018 @10:11PM (#17815710)
but 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

Re:Small Assets without the Headache in Elm 0.19 by toastal on Tuesday August 21, 2018 @11:02AM (#17810194)
avh4 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