threepenny-gui 0.9.0.0 → 0.9.1.0
raw patch · 3 files changed
+13/−5 lines, 3 filesdep ~aesondep ~basedep ~hashablePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: aeson, base, hashable, template-haskell, text, vector
API changes (from Hackage documentation)
- Graphics.UI.Threepenny.Core: newtype Const a (b :: k) :: forall k. () => Type -> k -> Type
+ Graphics.UI.Threepenny.Core: newtype Const a (b :: k)
- Graphics.UI.Threepenny.Core: Const :: a -> Const a
+ Graphics.UI.Threepenny.Core: Const :: a -> Const a (b :: k)
- Graphics.UI.Threepenny.Core: WrapArrow :: a b c -> WrappedArrow b c
+ Graphics.UI.Threepenny.Core: WrapArrow :: a b c -> WrappedArrow (a :: Type -> Type -> Type) b c
- Graphics.UI.Threepenny.Core: WrapMonad :: m a -> WrappedMonad a
+ Graphics.UI.Threepenny.Core: WrapMonad :: m a -> WrappedMonad (m :: Type -> Type) a
- Graphics.UI.Threepenny.Core: [getConst] :: Const a -> a
+ Graphics.UI.Threepenny.Core: [getConst] :: Const a (b :: k) -> a
- Graphics.UI.Threepenny.Core: [unwrapArrow] :: WrappedArrow b c -> a b c
+ Graphics.UI.Threepenny.Core: [unwrapArrow] :: WrappedArrow (a :: Type -> Type -> Type) b c -> a b c
- Graphics.UI.Threepenny.Core: [unwrapMonad] :: WrappedMonad a -> m a
+ Graphics.UI.Threepenny.Core: [unwrapMonad] :: WrappedMonad (m :: Type -> Type) a -> m a
- Graphics.UI.Threepenny.Core: filterJust :: () => Event (Maybe a) -> Event a
+ Graphics.UI.Threepenny.Core: filterJust :: Event (Maybe a) -> Event a
- Reactive.Threepenny: filterJust :: () => Event (Maybe a) -> Event a
+ Reactive.Threepenny: filterJust :: Event (Maybe a) -> Event a
Files
- CHANGELOG.md +5/−0
- js/comm.js +4/−1
- threepenny-gui.cabal +4/−4
CHANGELOG.md view
@@ -1,5 +1,10 @@ ## Changelog for the `threepenny-gui` package +**0.9.1.0** – Maintenance and snapshot release++* Add support for websockets over SSL.+* Bump dependencies for compatibility with GHC 9.0.+ **0.9.0.0** – Maintenance and snapshot release * The events `contextmenu`, `mousedown`, `mousemove` and `mouseup` now return
js/comm.js view
@@ -15,7 +15,10 @@ Haskell.createWebSocket = function (url0, receive) { var that = {}; var optReloadOnDisconnect = false;- var url = 'ws:' + url0.slice(5) + '/websocket/';+ var url = new URL(url0);+ if (url.protocol === 'http:') { url.protocol = 'ws:' }+ if (url.protocol === 'https:') { url.protocol = 'wss:' }+ url.href = url.href + 'websocket/'; var ws = new WebSocket(url); // Close WebSocket when the browser window is closed.
threepenny-gui.cabal view
@@ -1,5 +1,5 @@ Name: threepenny-gui-Version: 0.9.0.0+Version: 0.9.1.0 Synopsis: GUI framework that uses the web browser as a display. Description: Threepenny-GUI is a GUI framework that uses the web browser as a display.@@ -109,10 +109,10 @@ if flag(rebug) cpp-options: -DREBUG ghc-options: -O2- build-depends: base >= 4.8 && < 4.15+ build-depends: base >= 4.8 && < 4.16 ,aeson (>= 0.7 && < 0.10) || == 0.11.* || (>= 1.0 && < 1.6) ,async >= 2.0 && < 2.3- ,bytestring >= 0.9.2 && < 0.11+ ,bytestring >= 0.9.2 && < 0.12 ,containers >= 0.4.2 && < 0.7 ,data-default >= 0.5.0 && < 0.8 ,deepseq >= 1.3.0 && < 1.5@@ -124,7 +124,7 @@ ,snap-server >= 0.9.0 && < 1.2 ,snap-core >= 0.9.0 && < 1.1 ,stm >= 2.2 && < 2.6- ,template-haskell >= 2.7.0 && < 2.17+ ,template-haskell >= 2.7.0 && < 2.18 ,text >= 0.11 && < 1.3 ,transformers >= 0.3.0 && < 0.6 ,unordered-containers == 0.2.*