on master help sign in
Make obelisk depend on reflex-dom-core instead of reflex-dom
fe889f4Matthew Bauer
ChangeLog.md+6
@@ -2,6 +2,12 @@
2
2
3This project's release branch is `master`. This log is written from the perspective of the release branch: when changes hit `master`, they are considered released, and the date should reflect that release.
3This project's release branch is `master`. This log is written from the perspective of the release branch: when changes hit `master`, they are considered released, and the date should reflect that release.
4
4
5+## Unreleased
6+
7+* Obelisk now depends directly on reflex-dom-core instead of
8+ reflex-dom. This avoids requiring a jsaddle-webkit2gtk dependency in
9+ apps that are only using jsaddle-warp.
10+
5## v0.3.0.0 - 2019-12-20
11## v0.3.0.0 - 2019-12-20
6
12
7* Generalised `pathSegmentEncoder`, added `pathFieldEncoder`.
13* Generalised `pathSegmentEncoder`, added `pathFieldEncoder`.
lib/backend/obelisk-backend.cabal+1−1
@@ -21,7 +21,7 @@ library
21 obelisk-frontend,
21 obelisk-frontend,
22 obelisk-route,
22 obelisk-route,
23 obelisk-snap-extras,
23 obelisk-snap-extras,
24− reflex-dom,
24+ reflex-dom-core,
25 snap,
25 snap,
26 snap-server,
26 snap-server,
27 text,
27 text,
lib/backend/src/Obelisk/Backend.hs+1−1
@@ -44,7 +44,7 @@ import qualified Obelisk.ExecutableConfig.Lookup as Lookup
44import Obelisk.Frontend
44import Obelisk.Frontend
45import Obelisk.Route
45import Obelisk.Route
46import Obelisk.Snap.Extras (doNotCache, serveFileIfExistsAs)
46import Obelisk.Snap.Extras (doNotCache, serveFileIfExistsAs)
47−import Reflex.Dom
47+import Reflex.Dom.Core
48import Snap (MonadSnap, Snap, commandLineConfig, defaultConfig, getsRequest, httpServe, modifyResponse
48import Snap (MonadSnap, Snap, commandLineConfig, defaultConfig, getsRequest, httpServe, modifyResponse
49 , rqPathInfo, rqQueryString, setContentType, writeBS, writeText
49 , rqPathInfo, rqQueryString, setContentType, writeBS, writeText
50 , rqCookies, Cookie(..) , setHeader)
50 , rqCookies, Cookie(..) , setHeader)
lib/executable-config/lookup/obelisk-executable-config-lookup.cabal+1−1
@@ -39,7 +39,7 @@ library
39 primitive,
39 primitive,
40 monad-control,
40 monad-control,
41 reflex,
41 reflex,
42− reflex-dom,
42+ reflex-dom-core,
43 jsaddle
43 jsaddle
44
44
45 ghc-options: -Wall
45 ghc-options: -Wall
lib/executable-config/lookup/src/Obelisk/Configs.hs+1−1
@@ -35,7 +35,7 @@ import Data.Text (Text)
35import qualified Data.Text.Encoding as T
35import qualified Data.Text.Encoding as T
36import Reflex
36import Reflex
37import Reflex.Host.Class
37import Reflex.Host.Class
38−import Reflex.Dom
38+import Reflex.Dom.Core
39#ifndef ghcjs_HOST_OS
39#ifndef ghcjs_HOST_OS
40import Language.Javascript.JSaddle (MonadJSM)
40import Language.Javascript.JSaddle (MonadJSM)
41#endif
41#endif
lib/run/obelisk-run.cabal+1−1
@@ -33,7 +33,7 @@ library
33 , process
33 , process
34 , ref-tf
34 , ref-tf
35 , reflex
35 , reflex
36− , reflex-dom
36+ , reflex-dom-core
37 , snap-core
37 , snap-core
38 , streaming-commons
38 , streaming-commons
39 , text
39 , text