Releases: purescript-halogen/purescript-halogen
Releases · purescript-halogen/purescript-halogen
v2.1.0
v2.0.1
v2.0.0
v1.2.1
v1.2.0
- Added
ProComponent
newtype, providing aProfunctor
over thei o
parts of aComponent
(@natefaubion) - Added
min
andmax
properties to HTML DSL (@natefaubion) - Added support for clipboard events (@themoritz)
v1.1.0
v1.0.0
Many breaking changes since v0.12, including:
Component
s 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 moreCoproducts
!)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.ref
s in the HTML no longer raise an event, but are accessed through theHalogenM
DSL- Component lifecycle handler ordering has been made predictable
See the updated guide!
v1.0.0-rc.6
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
Merge pull request #394 from garyb/lifecycle-handlers Prevent lifecycle handlers being clobbered by receiver-raised rendering
v1.0.0-rc.4
Merge pull request #393 from garyb/video-props Add various <video>-related properties