Skip to content

Releases: purescript-halogen/purescript-halogen

v0.5.10

06 Jan 18:20
Compare
Choose a tag to compare

v0.5.9

13 Dec 12:31
Compare
Choose a tag to compare
  • Added missing rows and cols to properties and indexed properties (@montanonic)

v0.5.8

18 Nov 23:49
Compare
Choose a tag to compare
  • Added subscribe' to allow subscription to event sources in parent components. This involved some other changes to the types so may be a breaking change if anything other than the subscribe and eventSource parts of the API were used (@garyb)
  • Fixed rendering of width and height attributes (@garyb)
  • Added onMouseEnter for indexed events (@alidd)
  • Added autofocus property (@spicydonuts)

v0.5.7

06 Nov 16:19
Compare
Choose a tag to compare
  • Switch EventSource to use purescript-stalling-coroutines for filterable event sources (@jonsterling)
  • appendTo, appendToBody no longer wait for onload by default, an additional onLoad helper is exposed instead (@fisx)

v0.5.6

03 Nov 17:10
Compare
Choose a tag to compare
  • transform now allows partial state/query algebra transforms for components
  • Made transformChild safe using the new transform

v0.5.5

29 Oct 23:38
Compare
Choose a tag to compare
  • InstalledState is now a newtype to improve error messages when type mismatches occur (@natefaubion)
  • subscribe no longer blocks execution of the underlying Aff #222 (@garyb)

v0.5.4

28 Oct 15:59
Compare
Choose a tag to compare
  • Added a "halt" constructor to HalogenF to represent the empty case, also HalogenF is an explicit sum rather than synonym for a combination of coproducts now (@jonsterling)
  • Simplified some implementation details, updated docs (@garyb)

v0.5.3

27 Oct 17:34
Compare
Choose a tag to compare
  • Added autocomplete property and added style to the phantom row for elements

v0.5.2

21 Oct 11:59
Compare
Choose a tag to compare
  • Added appendTo utility (@zudov)
  • Added ComponentHTML, ComponentDSL, ParentHTML, ParentDSL synonyms for defining component functions with a style that resembles function types:
-- self-contained components
render :: s -> ComponentHTML f
eval :: Natural f (ComponentDSL s f g)

-- parent components
render :: s -> ParentHTML s' f f' g p
eval :: Natural f (ParentDSL s s' f f' g p)
peek :: forall a. f' a -> ParentDSL s s' f f' g p Unit

These types are also useful when splitting the render, eval, or peek implementations into several functions as the more specific Render, Eval, Peek synonyms weren't always helpful in these situations.

v0.5.1

17 Oct 16:16
Compare
Choose a tag to compare
  • initialize and finalize lifecycle handlers no longer require an explicit key (@natefaubion)

This is a breaking change, however the previous behaviour perhaps never should have been exposed in the first place.