on master help sign in
Merge branch 'develop' into add-obelisk-profiling-feature
commitb8308770762354810161d20903197abd34e0bda5 authorElliot Cameron <3noch@users.noreply.github.com> dateMon 24 Feb 2020, 12:21 (7 years ago) parent9fb92890133449
1 file changed+14
ChangeLog.md+14
ChangeLog.md+14
@@ -39,6 +39,20 @@ executable that is built with profiling enabled.
3939
4040## v0.3.0.0 - 2019-12-20
4141
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`.
4256* Generalised `pathSegmentEncoder`, added `pathFieldEncoder`.
4357* Added some `Prism`s to the encoder library for manipulating `DSum`s.
4458* Add `ob doc` command, which lists paths to haddock documentation for specified packages.