<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-release-of-htmx-2-0-what-you-need-to-know-tevvbanm2" -->

---
title: The Release of htmx 2.0: What You Need to Know | daily.dev
description: Htmx 2.0, a major update to the popular JavaScript framework replacement, has been released. It simplifies web development by using HTML attributes, dropping...
canonical: https://daily.dev/posts/the-release-of-htmx-2-0-what-you-need-to-know-tevvbanm2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Release of htmx 2.0: What You Need to Know | daily.dev
og:description: Htmx 2.0, a major update to the popular JavaScript framework replacement, has been released. It simplifies web development by using HTML attributes, dropping...
og:url: https://daily.dev/posts/the-release-of-htmx-2-0-what-you-need-to-know-tevvbanm2
og:image: https://api.daily.dev/og/posts/tEVVBAnm2.png
og:image:alt: The Release of htmx 2.0: What You Need to Know
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Release of htmx 2.0: What You Need to Know

**[Collections](https://daily.dev/sources/collections)** · 2 min read · 22 upvotes · 0 comments

## Summary

Htmx 2.0, a major update to the popular JavaScript framework replacement, has been released. It simplifies web development by using HTML attributes, dropping support for Internet Explorer, and improving HTTP DELETE requests. The update also separates extensions from the core repository and enhances the integration with web components. New features include the htmx.swap() method and continued support for asynchronous requests, CSS transitions, and WebSocket communications. An upgrade guide is available for migrating, although Htmx 2.0 is still in alpha and not yet ready for production use.

## Content

We are excited to announce the release of Htmx 2.0, a major update to our popular JavaScript framework replacement. With Htmx, developers can now build dynamic web applications using easily understood HTML attributes, eliminating the need for complex JavaScript frameworks.

One of the key changes in Htmx 2.0 is the dropping of support for Internet Explorer. This allows us to embrace modern web technologies and streamline the development process. Additionally, the new version separates extensions from the core repository, making it easier to manage and update them.

Another significant change is the modification of HTTP DELETE requests. This update improves the overall user experience and aligns Htmx with industry best practices.

Some of the exciting new features introduced in Htmx 2.0 include the htmx.swap() method, which provides a convenient way to swap elements on a webpage. We have also improved the integration with web components, allowing developers to seamlessly incorporate Htmx into their existing projects.

Furthermore, Htmx 2.0 continues to support asynchronous requests, CSS transitions, and WebSocket communications using HTML attributes. This ensures that developers can leverage the full power of Htmx to create responsive and interactive applications.

Migrating to Htmx 2.0 is described as straightforward, although it may require some work depending on the complexity of the existing codebase. To assist users in the upgrade process, we have provided a detailed upgrade guide that covers all the necessary steps.

While Htmx 2.0 is not yet ready for production use, we encourage developers to test the alpha release and provide feedback. Your input will help us refine the framework and ensure its stability and reliability.

Experience the future of web development with Htmx 2.0. Visit our website to download the latest version and start simplifying your web projects today!

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#html](https://daily.dev/tags/html), [#frontend](https://daily.dev/tags/frontend), [#htmx](https://daily.dev/tags/htmx)

[View this post on daily.dev](https://daily.dev/posts/the-release-of-htmx-2-0-what-you-need-to-know-tevvbanm2)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Release of htmx 2.0: What You Need to Know","url":"https://daily.dev/posts/the-release-of-htmx-2-0-what-you-need-to-know-tevvbanm2","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-release-of-htmx-2-0-what-you-need-to-know-tevvbanm2"},"datePublished":"2024-06-17T18:46:52.257Z","dateModified":"2024-06-19T10:38:48.370Z","description":"Htmx 2.0, a major update to the popular JavaScript framework replacement, has been released. It simplifies web development by using HTML attributes, dropping...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/19ad6f40b23d037f0f29a2026aae653b?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/19ad6f40b23d037f0f29a2026aae653b?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-release-of-htmx-2-0-what-you-need-to-know-tevvbanm2","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":22},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,javascript,html,frontend,htmx","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"The Release of htmx 2.0: What You Need to Know"}]}
```

