Releases: collegevine/purescript-elmish
Releases · collegevine/purescript-elmish
v0.13.0
ReactElementis now a fullMonoidwithemptyas identity andappend
creatingReact.Fragmentelements.- Breaking: module
Elmish.React.DOMhas been removed and its contents
moved toElmish.React. - Breaking: module
Elmish.Tracehas been removed. Its sole export has been
part of the standarddebuglibrary for a while now. - Fixed a bug with
readForeignand nestedNullables: reading[1,"foo",2]
asNullable (Array Int)would complain that the second element is bogus
(which is true) and incorrectly state that the expected type wasNullable Int.
v0.12.0
v0.11.4
v0.11.1
v0.11.0
v0.10.1
v0.10.0
v0.9.1
v0.5.8
Changes
- Breaking: Removed the whole
Elmish.JsCallbackmodule. All use sites should convert toEffectFnN. #53 - React props for FFI-imported components are now allowed to have a
refprop. This was a silly restriction. #51 - Generated React component classes now have more descriptive names. This is to help with debugging and testing. #52
- Breaking:
Affis now the default running monad.ComponentDefrenamed toComponentDef',Transitionrenamed toTransition'. AddedComponentDefas type alias forComponentDef' Aff,Transitionas type alias forTransition' Aff. #48 - Added
CanReceiveFromJavaScript (Object a)instance for anyaand a specializedCanReceiveFromJavaScript (Array Foreign)instance as an optimization. #47 - Breaking:
readForeign'- a new function that's likereadForeign, but returns error information on failure. The breaking part is thatCanReceiveFromJavaScriptclass had to be modified to afford that. #45 - Breaking:
Dispatchvastly simplified, it's now basically just anmsg -> Effect Unitfunction. Consequently, many functions that were supporting the complexity have been removed, includingissueMsg,issueError,cmapMaybe,dispatchMsgFn,ignoreMsg. Operator aliases<|and<?|added forhandleandhandleMayberespectively. #33
Bug fixes
- Fixed a bug related to maintaining state in
wrapWithLocalState. #50 - Fixed a bug with
CanReceiveFromJavaScript (Array Foreign)instance: it had a superfluous constraint. readForeignfor records no longer requires nullable fields to be present in the record. #45