From e17bebebf57189a09f66c31d8a1ebc2b9a652c6f Mon Sep 17 00:00:00 2001 From: Carson Gross Date: Thu, 9 Apr 2026 12:48:13 -0600 Subject: [PATCH] bump for next beta --- package.json | 2 +- src/htmx.js | 2 +- .../docs/01-get-started/01-installation.md | 18 +++++++++--------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 0d013554..5e88a443 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "htmx.org", - "version": "4.0.0-beta1", + "version": "4.0.0-beta2", "description": "A hypermedia-oriented JavaScript library", "main": "dist/htmx.js", "module": "dist/htmx.esm.js", diff --git a/src/htmx.js b/src/htmx.js index 7141b227..f4638e05 100644 --- a/src/htmx.js +++ b/src/htmx.js @@ -102,7 +102,7 @@ var htmx = (() => { } __initHtmxConfig() { - this.version = '4.0.0-beta1' + this.version = '4.0.0-beta2' this.config = { logAll: false, prefix: "", diff --git a/www/src/content/docs/01-get-started/01-installation.md b/www/src/content/docs/01-get-started/01-installation.md index 282fb8fd..414b306b 100644 --- a/www/src/content/docs/01-get-started/01-installation.md +++ b/www/src/content/docs/01-get-started/01-installation.md @@ -12,7 +12,7 @@ htmx is a single JavaScript file with no dependencies. No build step is required Add this in your `` tag: ```html - ``` @@ -20,7 +20,7 @@ Add this in your `` tag: ### Unminified ```html - ``` @@ -29,7 +29,7 @@ Add this in your `` tag: ```html ``` @@ -38,7 +38,7 @@ Add this in your `` tag: ```html ``` @@ -47,7 +47,7 @@ Add this in your `` tag: Instead of using a CDN, consider [self-hosting in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). -1. Download htmx.min.js +1. Download htmx.min.js 2. Save it to your project (e.g., `/js/htmx.min.js`) 3. Add this in your `` tag: @@ -57,16 +57,16 @@ Instead of using a CDN, consider [self-hosting in production](https://blog.wesle ### Other formats -Download: htmx.js (unminified) +Download: htmx.js (unminified) -Download: htmx.esm.min.js (ES module) +Download: htmx.esm.min.js (ES module) -Download: htmx.esm.js (ES module, unminified) +Download: htmx.esm.js (ES module, unminified) ## npm ```sh -npm install htmx.org@4.0.0-beta1 +npm install htmx.org@4.0.0-beta2 ``` ```javascript