Skip to content

v0.6.0.0

Compare
Choose a tag to compare
@3noch 3noch released this 20 Feb 16:24
· 992 commits to master since this release
fc876df
  • Fix a bug in Obelisk.Route.Frontend where routeLink, routeLinkDynAttr, and dynRouteLink 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 of Obelisk.Route.renderObeliskRoute:

    mkRouteToUrl validFullEncoder (k :/ v) = renderObeliskRoute validFullEncoder (FullRoute_Frontend (ObeliskRoute_App k) :/ v)
    
  • Add Obelisk.Backend.renderAllJsPath to expose URL path to ghcjs/all.js. (#545)

  • Add argument to serveDefaultObeliskApp, serveObeliskApp, and serveGhcjsApp to take the path to all.js instead of hard-coding it. (#545)