TECH Signal 514 2 feeds carried it
htmx 4.0.0 released with explicit attribute inheritance and fetch() migration
The htmx team announced version 4.0.0, introducing explicit attribute inheritance, standardized events, and a switch from XMLHttpRequest to fetch().
Engineers will need to adjust markup that relied on implicit attribute inheritance and update event listeners to the new naming scheme. The removal of localStorage-based history caching reduces edge-case bugs but may affect applications that depended on that behavior.
Written by elseif from the cluster below · every claim links back to a sourceThe three things worth knowing
Attributes are no longer inherited by default; developers must add ":inherited" to opt-in.
All htmx events now follow a standardized "htmx:phase:action" pattern, removing legacy event names.
History handling no longer uses localStorage by default, fetching pages on back navigation instead.
THE CLUSTER
↗