| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 1.10.0 source code.tar.gz | 2026-05-18 | 312.7 kB | |
| 1.10.0 source code.zip | 2026-05-18 | 376.0 kB | |
| README.md | 2026-05-18 | 3.4 kB | |
| Totals: 3 Items | 692.1 kB | 0 | |
🍜 1.10.0
See the haddocks, miso repo and org for more information.
✨ Highlights
The major feature added in 1.10 is React-style fragments (VFrag). Horizontal groupings of nodes can now be defined and inlined into the DOM. This is equivalent to the React Fragment feature in React. This quality of life improvement moves us closer to parity with the React specification and allows Components to return list of nodes (to avoid extraneous DOM <div> wrappers).
:::haskell
view :: model -> View model action
view = \_ -> fragment [ "a", "b", div_ [ id_ "container" ] [ "content" ] ]
This feature is now in use in most example code. See the VFrag portion of the haddocks for more information.
Also within this release there were additional helper functions added for View templating, GHC version bumps, the mailChildren combinator and the generics-lens field combinator (Miso.Lens.Generic) courtesy of @goosedb. See below for more information.
What's Changed
- Update
transformersdependency version constraint by @dmjio in https://github.com/dmjio/miso/pull/1484 - Implement
mailChildrenfunction for child messaging by @dmjio in https://github.com/dmjio/miso/pull/1485 - Add library prefix to C functions by @georgefst in https://github.com/dmjio/miso/pull/1486
- Drop trailing zeros when encoding
Float/Doubleas JSON. by @dmjio in https://github.com/dmjio/miso/pull/1487 - Add
fragmentcombinator. by @dmjio in https://github.com/dmjio/miso/pull/1491 - Fix JSON lexing of surrogate pairs by @ners in https://github.com/dmjio/miso/pull/1489
- Bump WASM to GHC 9.14, flake bump by @dmjio in https://github.com/dmjio/miso/pull/1492
- Drop
<textarea>children. by @dmjio in https://github.com/dmjio/miso/pull/1493 - Modify
textarea_to include text parameter by @dmjio in https://github.com/dmjio/miso/pull/1494 - Drop
MisoStringargument fromtextarea_. by @dmjio in https://github.com/dmjio/miso/pull/1497 - Add
onInputWith. by @dmjio in https://github.com/dmjio/miso/pull/1498 - Add
hie.yamlby @dmjio in https://github.com/dmjio/miso/pull/1499 - Inherit parent
modelstate onComponentmount. by @dmjio in https://github.com/dmjio/miso/pull/1501 - WASM
repl-watchboot:mainon--after-startup-ghciby @ropwareJB in https://github.com/dmjio/miso/pull/1507 - Add
keyedby @dmjio in https://github.com/dmjio/miso/pull/1509 - Support overloaded labels for Miso.Lens by @goosedb in https://github.com/dmjio/miso/pull/1508
- fix: correct
nextSiblinglogic inupdateRef. by @dmjio in https://github.com/dmjio/miso/pull/1511 - Initial commit of keyed
VFrag. by @dmjio in https://github.com/dmjio/miso/pull/1510 - Remove superfluous render. by @dmjio in https://github.com/dmjio/miso/pull/1512
- Allow
VFragto be null by @dmjio in https://github.com/dmjio/miso/pull/1515
New Contributors
- @ropwareJB made their first contribution in https://github.com/dmjio/miso/pull/1507
- @goosedb made their first contribution in https://github.com/dmjio/miso/pull/1508
Full Changelog: https://github.com/dmjio/miso/compare/1.9.0...1.10.0