v0.20.0
📦 Release v0.20.0 – Improved Developer Experience
- Upgraded from Vite v4 to Vite v5
- Reliable hot-reloading ( ✨ Thanks to @lydell)
- Removed
tsc
error overlay, causing issues for TypeScript users (✨ Reported by @kutyel ) - Fixes to the
Auth
module (✨ Reported by @domenkozar) - Blank
href
attributes don't perform refresh (✨ Reported by @domenkozar)
Breaking changes
-
For folks who customized the
Auth
module:Auth.viewLoadingPage
has been renamed toAuth.viewCustomPage
Auth.Action.showLoadingPage
toAuth.Action.loadCustomPage
- It no longer takes a
View Never
argument (this was a bug!) - You can define the custom page with the
Auth.viewCustomPage
function
- It no longer takes a
- A new example has been added at (https://github.com/elm-land/elm-land/tree/main/examples/20-auth-error-page)
-
If you are using an older version of Node.js, or CommonJS modules, checkout this (migration guide) from the Vite team