on master help sign in
Merge branch 'develop' into add-obelisk-profiling-feature
b830877Elliot Cameron
ChangeLog.md+14
@@ -39,6 +39,20 @@ executable that is built with profiling enabled.
39
39
40## v0.3.0.0 - 2019-12-20
40## v0.3.0.0 - 2019-12-20
41
41
42+* Change the structure of Obelisk routes to use a designated
43+ `FullRoute` type. This combines frontend and backend routes into one
44+ structure. This is a **breaking** change which requires Obelisk apps
45+ to take specific migrations. They are:
46+ * Rewrite the implementation of `_backend_routeEncoder` in
47+ `Backend` to use `mkFullRouteEncoder` instead of
48+ `handleEncoder`. Specifically, the backend and frontend cases of
49+ the top-level `pathComponentEncoder` become the second and third
50+ arguments of `mkFullRouteEncoder` respectively, while the
51+ missing route becomes the first argument. An example of how to
52+ do this is available in [a reflex-examples
53+ commit](https://github.com/reflex-frp/reflex-examples/commits/28f566c3e7dc615578dc74297b7c620c1f13683e).
54+ * Replace type constructions of `InL` with `FullRoute_Backend` and
55+ `InR` with `FullRoute_Frontend`.
42* Generalised `pathSegmentEncoder`, added `pathFieldEncoder`.
56* Generalised `pathSegmentEncoder`, added `pathFieldEncoder`.
43* Added some `Prism`s to the encoder library for manipulating `DSum`s.
57* Added some `Prism`s to the encoder library for manipulating `DSum`s.
44* Add `ob doc` command, which lists paths to haddock documentation for specified packages.
58* Add `ob doc` command, which lists paths to haddock documentation for specified packages.