#Lustre v5.3.0 released! ^.^

1 messages · Page 1 of 1 (latest)

swift dust
#

docs: https://hexdocs.pm/lustre/
announcement: https://hexdocs.pm/lustre/announcements/2025-08-08.html
github: https://github.com/lustre-labs/lustre

A little more than a month since the last release, we ruined the monthly release streak 😭 this one is way more exciting than the last though!

  • It's now possible to teleport lustre elements to other parts of the page outside your lustre app using the new lustre_portal package. You can find the deets on the package docs here: https://hexdocs.pm/lustre_portal/index.html

  • A very shiny context api has landed allowing components to communicate downward into slotted children without touching them directly. For nerds, this is a faithful implementation of the wccg context proposal

  • @rough sonnet has done an incredible job rewriting a big part of lustre's vdom meaning all those fragment bugs that cause is deep pain should go away and everyone's lustre app just got significantly more resilient to things like browser extensions mucking with the DOM.

The release announcement dives into each of these in a bit more detail, if it sounds interesting i'd really encourage you to read it 💕 A doubly biggly thanks to yoshi because really this release was like, 70% her lucy

Looking to the future what are we working on?

  • I'm working on lustre/ui (still, again, etc) and perhaps unsurprisingly the goodies in this release will help me move forward nicely ^.^

  • I don't wanna jinx it but yoshi and i reckon we can add one more really nice feature before we can consider v5 complete 👀

  • I have an overhaul of the guide on the backburner that I think will complete our example suite well and do a much better job introducing folks to fundamental concepts.

#

Getting in early to hijack the comments and beg you to DM me if you're using lustre in production. please! 🥺

sharp snow
#

This comes within hours of me deciding to test run Lustre for our new front end. I've been away from Gleam writing a whole lot of Elixir and Rust but think it might be time to make the jump. Thanks for all the hard work on this!❤️

swift dust
#

Exactly as planned 😎

oblique nova
#

you should hire that Yoshi

swift dust
#

open source is famously lucrative like that

oblique nova
#

so I've heard

swift dust
#

obligatory 5.3.1 patch release 😄

steel bough
#

Really nice work! Both thanks to Yoshi and Hayleigh. I feel I'm really improving with gleam/lustre... With Javascript (frameworks) you never feel you can really get it right but with Lustre it does

wanton portal
swift dust
#

we can implement this feature by attaching "click" handler to document object.

Did you try this already?

#

Personally i would use the browser native dialog because this functionality is built in, but nothing stopping you doing this

wanton portal
#

Yes, <dialog /> is a replacement for modal popup. But how about dropdown menu?

swift dust
#

Could use the popover api for that, light dismiss behaviour is built in

wanton portal
#

Popover API almost matches my need, except that the element will appear on top layer, I don't really want my dropdown menu to be on top.

swift dust
#

#1293860472759779370 message

#

#general message

#

when you start a lustre app, what you get back is a function to send actions to the runtime, and one action is dispatching a message to your app