Skip to content

v0.4.8

Choose a tag to compare

@Ethosa Ethosa released this 13 Apr 13:25
· 1303 commits to master since this release

Changelog

  • Support staticDir in SSG routing (#8).
    server.routes:
      staticDir "myDirectory"
  • Support regex patterns SSG routing (#9).
    server.routes:
      "/regex/pattern{patternId:/[a-zA-Z0-9_]/}"
        echo patternId
  • Support SPA with JS backend.
    var app = newApp()
    app.routes:
      "#/":
        echo path
        buildHtml(`div`):
          "Hello, world!"
      "#/hello!":
        buildHtml(`div`):
          "No, bye!"
    app.start()
  • New syntax sugar (#10).
  • Some fixes and improves (#11)