v0.6.0.0
-
Fix a bug in
Obelisk.Route.Frontend
whererouteLink
,routeLinkDynAttr
, anddynRouteLink
would not behave exactly like<a href="...">
when run by JavaScript. These functions now scroll to the top of the page when the link is clicked. (#540) -
Fix a bug in
ob run
/ob watch
/ob repl
where nested Obelisk projects would also be loaded into the session. These are now ignored. (#652) -
Improve behavior of
ob run
/ob watch
/ob repl
when multiple packages with the same name are encountered. Obelisk now issues a warning and tells you which one it will use. (#653) -
Removed
Obelisk.Backend.mkRouteToUrl
since it is easily written in terms ofObelisk.Route.renderObeliskRoute
:mkRouteToUrl validFullEncoder (k :/ v) = renderObeliskRoute validFullEncoder (FullRoute_Frontend (ObeliskRoute_App k) :/ v)
-
Add
Obelisk.Backend.renderAllJsPath
to expose URL path toghcjs/all.js
. (#545) -
Add argument to
serveDefaultObeliskApp
,serveObeliskApp
, andserveGhcjsApp
to take the path toall.js
instead of hard-coding it. (#545)