Skip to content

Releases: purescript-halogen/purescript-halogen

v2.1.0

08 Jun 20:03
Compare
Choose a tag to compare

v2.0.1

25 Apr 01:00
Compare
Choose a tag to compare
  • Fixed a bug with subscriptions not being cleaned up when subtrees of components were removed
  • Fixed a bug where the done function for EventSources could be run twice

v2.0.0

17 Apr 20:40
Compare
Choose a tag to compare
  • Updated for PureScript 0.11
  • Added element, keyed, attr support for Namespaced values

v1.2.1

22 Mar 16:49
Compare
Choose a tag to compare
  • Fixed dom-indexed dependency so the HTMLform type is usable (#433)

v1.2.0

20 Mar 17:08
Compare
Choose a tag to compare
  • Added ProComponent newtype, providing a Profunctor over the i o parts of a Component (@natefaubion)
  • Added min and max properties to HTML DSL (@natefaubion)
  • Added support for clipboard events (@themoritz)

v1.1.0

07 Mar 00:07
Compare
Choose a tag to compare
  • Added accept property (for file <input>s) (@jacereda)
  • Bumped lower version bounds of dependencies to ensure a fix in halogen-vdom is used

v1.0.0

28 Feb 19:10
Compare
Choose a tag to compare

Many breaking changes since v0.12, including:

  • Components now don't reveal their state in their type signatures. This has many knock on implications - a major one being a drastic simplification of types for parent components (no more Coproducts!)
  • peek is gone in favour of a dedicated mechanism for raising / listening to messages
  • Components can have "input values" now, that allow data to be passed down when a parent re-renders
  • Rendering is more efficient, due to patching only taking place at the component level
  • No more virtual-dom dependency required, by default a native PS virtual dom is used
  • The HTML type that components render is now parameterised to potentially allow for non-HTML components (React Native, for example - although no driver is provided for this)
  • The non-indexed HTML DSL is no longer provided
  • EventSource subscriptions have been overhauled. Components can also choose to unsubscribe now, and will automatically unsubscribe when finalized.
  • refs in the HTML no longer raise an event, but are accessed through the HalogenM DSL
  • Component lifecycle handler ordering has been made predictable

See the updated guide!

v1.0.0-rc.6

23 Feb 16:31
Compare
Choose a tag to compare
v1.0.0-rc.6 Pre-release
Pre-release

Fixed since the last RC:

  • Using get does not cause components to re-render now
  • Processing of event handlers is queued until rendering completes, to prevent overlapping renders
  • A warning will now be printed in the console when duplicate slots addresses are used within a component

v1.0.0-rc.5

15 Feb 15:24
Compare
Choose a tag to compare
v1.0.0-rc.5 Pre-release
Pre-release
Merge pull request #394 from garyb/lifecycle-handlers

Prevent lifecycle handlers being clobbered by receiver-raised rendering

v1.0.0-rc.4

13 Feb 22:35
Compare
Choose a tag to compare
v1.0.0-rc.4 Pre-release
Pre-release
Merge pull request #393 from garyb/video-props

Add various <video>-related properties