# Revision history for ema ## 0.6.0.0 -- 2022-02-05 - Websocket API: Add `ema.switchRoute` to switch to other routes in live server. - Smaller core: remove helpers and examples (examples can be enabled by a flag) - Helpers - `Ema.Helpers.PathTree` moved to separate package *pathtree*. - `Ema.Helpers.FileSystem` moved to separate package *unionmount*. - `Ema.Helpers.Markdown` moved to separate package *commonmark-simple*. - `Ema.Helpers.Blaze` is no more. See `ema-template` if you need a ready made template using blaze HTML and TailwindCSS. - Examples `with-examples` cabal flag is made False by default. Examples are not exposed modules. - `Ema.Route.Slug` moved to separate package *url-slug* ## 0.4.0.0 -- 2022-01-19 - Pin TailwindCSS to 2.x, because the 3.x broke our CDN url - Remove unused Cabal deps (#61) - `Tailwind.layoutWith`: don't hardcode `` attrs - Tailwind: module revamped and renamed to `Tailwind.Helper.Blaze` - `runEma` and friends: - return the monadic's action's return value or generated files (dependent type) - CLI: add `run` subcommand that takes `--host` and `--port` (and remove environment hacks of $HOST and $PORT) ## 0.2.0.0 -- 2021-11-21 - TODO(doc) runEma's action gets the `CLI.Action` as argument, to prevent the `gen` command from needing to monitoring files. - Live Server - Avoid unncessary DOM patch on page load - Handle invalid routes gracefully without breaking websocket - Re-add `