The new update made me lost a few hours this morning, here are my two lessons learned, hope it helps others:
- "on" is a reserved word and cannot be used for states. I have a lot of modules where I used "on" as a name. - This is a tricky one: states.current no longer returns a string, but an object of all attributes of the state. That means now you need to use states.current.name
Maybe I didn't read the update notes, but the documentation hasn't been updated. The change in states was a big one though.