Htmx 4.0.0 has been released

The htmx team has released version 4.0.0, which migrates the library's internals from XMLHttpRequest to the fetch API. While the update maintains near-identical functionality to version 2.x, it includes minor behavioral changes and sets the stage for long-term web service stability.
Why it matters
As a popular library for building dynamic web interfaces, this update impacts thousands of developers who rely on htmx for simplified frontend development.
The htmx team is very happy to announce the release of htmx 4.0.0! This is the culmination of 8 months of work (plus at game ) and we are very happy with the results.
The idea of htmx 4 started to germinate when I decided to create fixi and, in doing so, got more familiar with the fetch() API and async programming in JavaScript. (htmx had always used XMLHttpRequest due to backwards compatibility issues.)
One chance evening I was contacted by Christian, who had some interesting ideas around streaming HTML that got me thinking that moving the internals to fetch() would simplify things for him and for the library in general. After a bit of work I managed to get Michael and Alex on board, and we were off to the races.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in