File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55* Make the ` /dist/htmx.esm.js ` file the ` main ` file in ` package.json ` to make installing htmx smoother
66* Update ` htmx.d.ts ` & include it in the distribution
7-
8-
9- ## [ 2.0.0] - 2024-06-17
10-
11- * Removed extensions and moved to their own repos linked off of < https://extensions.htmx.org >
12- * The website now supports dark mode! (Thanks [ @pokonski ] ( https://github.com/pokonski ) !)
13- * The older, deprecated [ SSE & WS] ( https://v1.htmx.org/docs/#websockets-and-sse ) attributes were removed
14- * Better support for [ Web Components & Shadow DOM] ( https://htmx.org/examples/web-components/ )
15- * HTTP ` DELETE ` requests now use parameters, rather than form encoded bodies, for their payload (This is in accordance w/ the spec.)
16- * Module support was split into different files:
17- * We now provide specific files in ` /dist ` for the various JavaScript module styles:
18- * ESM Modules: ` /dist/htmx.esm.js `
19- * AMD Modules: ` /dist/htmx.amd.js `
20- * CJS Modules: ` /dist/htmx.cjs.js `
21- * The ` /dist/htmx.js ` file continues to be browser-loadable
22- * The ` hx-on ` attribute, with its special syntax, has been removed in favor of the less-hacky ` hx-on: ` syntax.
23- * See the [ Upgrade Guide] ( https://htmx.org/migration-guide-htmx-1/ ) for more details on upgrade steps
24- * The ` selectAndSwap() ` internal API method was replaced with the public (and much better) [ ` swap() ` ] ( /api/#swap ) method
25-
26- ## [ 2.0.1] - 2024-06-17
7+ * A fix to avoid removing text-only templates on htmx cleanup
278
289## [ 2.0.0] - 2024-06-17
2910
You can’t perform that action at this time.
0 commit comments