bump for next beta

This commit is contained in:
Carson Gross
2026-04-09 12:48:13 -06:00
parent 2473189903
commit e17bebebf5
3 changed files with 11 additions and 11 deletions

View File

@@ -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",

View File

@@ -102,7 +102,7 @@ var htmx = (() => {
}
__initHtmxConfig() {
this.version = '4.0.0-beta1'
this.version = '4.0.0-beta2'
this.config = {
logAll: false,
prefix: "",

View File

@@ -12,7 +12,7 @@ htmx is a single JavaScript file with no dependencies. No build step is required
Add this in your `<head>` tag:
```html
<script src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta1"
<script src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta2"
integrity="sha384-8Xv0V1jW3pSa0gBFQRhaII4LIJH5RkMcFogG+JxxuJe+5pqh2A54vpZLmVM4i6eP"
crossorigin="anonymous"></script>
```
@@ -20,7 +20,7 @@ Add this in your `<head>` tag:
### Unminified
```html
<script src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta1/dist/htmx.js"
<script src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta2/dist/htmx.js"
integrity="sha384-jQ1sG+xKSq3ymWjKr95FsTq5QOIFwKnJXSVQCnWI2inCvqXdaD+Jzkdp8U9No3rK"
crossorigin="anonymous"></script>
```
@@ -29,7 +29,7 @@ Add this in your `<head>` tag:
```html
<script type="module"
src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta1/dist/htmx.esm.min.js"
src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta2/dist/htmx.esm.min.js"
integrity="sha384-PcS7xfab7VmrX3d1pc3sw10FpukcW7k3kZT2sFgm1lti8gAT/ti9n9KEq/qRnfLT"
crossorigin="anonymous"></script>
```
@@ -38,7 +38,7 @@ Add this in your `<head>` tag:
```html
<script type="module"
src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta1/dist/htmx.esm.js"
src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta2/dist/htmx.esm.js"
integrity="sha384-GoHEyMRmIqjopbRB7AsE8qzm+Igl0F5B1oP2R/zfLCTDY+HGWnuu1gzD7EowCuFO"
crossorigin="anonymous"></script>
```
@@ -47,7 +47,7 @@ Add this in your `<head>` tag:
Instead of using a CDN, consider [self-hosting in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn).
1. Download <a download href="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta1/dist/htmx.min.js">htmx.min.js</a>
1. Download <a download href="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta2/dist/htmx.min.js">htmx.min.js</a>
2. Save it to your project (e.g., `/js/htmx.min.js`)
3. Add this in your `<head>` tag:
@@ -57,16 +57,16 @@ Instead of using a CDN, consider [self-hosting in production](https://blog.wesle
### Other formats
Download: <a download href="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta1/dist/htmx.js">htmx.js</a> (unminified)
Download: <a download href="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta2/dist/htmx.js">htmx.js</a> (unminified)
Download: <a download href="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta1/dist/htmx.esm.min.js">htmx.esm.min.js</a> (ES module)
Download: <a download href="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta2/dist/htmx.esm.min.js">htmx.esm.min.js</a> (ES module)
Download: <a download href="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta1/dist/htmx.esm.js">htmx.esm.js</a> (ES module, unminified)
Download: <a download href="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta2/dist/htmx.esm.js">htmx.esm.js</a> (ES module, unminified)
## npm
```sh
npm install htmx.org@4.0.0-beta1
npm install htmx.org@4.0.0-beta2
```
```javascript