diff options
author | Carson Gross <carson@bigsky.software> | 2024-12-12 13:12:49 -0700 |
---|---|---|
committer | Carson Gross <carson@bigsky.software> | 2024-12-12 13:12:49 -0700 |
commit | fb78106dc6ef20d3dfa7e54aca20408c4e4336fc (patch) | |
tree | 2dd0ac00405967137c8431d58b5b92b6f14565fa | |
parent | cc2466b1f87422548ef09707e4fa71fa35c9c3df (diff) | |
download | htmx-fb78106dc6ef20d3dfa7e54aca20408c4e4336fc.tar.gz htmx-fb78106dc6ef20d3dfa7e54aca20408c4e4336fc.zip |
prep next release
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/htmx.js | 2 | ||||
-rw-r--r-- | www/content/_index.md | 2 | ||||
-rw-r--r-- | www/content/docs.md | 8 |
6 files changed, 10 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bd5fd43..ab3fdec9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## [2.0.4] - 2024-12-13 + ## [2.0.3] - 2024-10-03 * Added support for the experimental `moveBefore()` functionality in [Chrome Canary](https://www.google.com/chrome/canary/), see the [demo page](/examples/move-before) for more information. @@ -32,7 +32,7 @@ By removing these arbitrary constraints htmx completes HTML as a ## quick start ```html - <script src="https://unpkg.com/htmx.org@2.0.3"></script> + <script src="https://unpkg.com/htmx.org@2.0.4"></script> <!-- have a button POST a click via AJAX --> <button hx-post="/clicked" hx-swap="outerHTML"> Click Me diff --git a/package.json b/package.json index ae3b3ac7..c55c245d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "AJAX", "HTML" ], - "version": "2.0.3", + "version": "2.0.4", "homepage": "https://htmx.org/", "bugs": { "url": "https://github.com/bigskysoftware/htmx/issues" diff --git a/src/htmx.js b/src/htmx.js index bef7352c..370cc0ff 100644 --- a/src/htmx.js +++ b/src/htmx.js @@ -277,7 +277,7 @@ var htmx = (function() { parseInterval: null, /** @type {typeof internalEval} */ _: null, - version: '2.0.3' + version: '2.0.4' } // Tsc madness part 2 htmx.onLoad = onLoadHelper diff --git a/www/content/_index.md b/www/content/_index.md index 0eb6da49..b5020d98 100644 --- a/www/content/_index.md +++ b/www/content/_index.md @@ -122,7 +122,7 @@ By removing these constraints, htmx completes HTML as a [hypertext](https://en.w <h2>quick start</h2> ```html - <script src="https://unpkg.com/htmx.org@2.0.3"></script> + <script src="https://unpkg.com/htmx.org@2.0.4"></script> <!-- have a button POST a click via AJAX --> <button hx-post="/clicked" hx-swap="outerHTML"> Click Me diff --git a/www/content/docs.md b/www/content/docs.md index e3e2d2cf..49677bae 100644 --- a/www/content/docs.md +++ b/www/content/docs.md @@ -120,13 +120,13 @@ The fastest way to get going with htmx is to load it via a CDN. You can simply a your head tag and get going: ```html -<script src="https://unpkg.com/htmx.org@2.0.3" integrity="sha384-0895/pl2MU10Hqc6jd4RvrthNlDiE9U1tWmX7WRESftEDRosgxNsQG/Ze9YMRzHq" crossorigin="anonymous"></script> +<script src="https://unpkg.com/htmx.org@2.0.4" integrity="sha384-TODO" crossorigin="anonymous"></script> ``` An unminified version is also available as well: ```html -<script src="https://unpkg.com/htmx.org@2.0.3/dist/htmx.js" integrity="sha384-BBDmZzVt6vjz5YbQqZPtFZW82o8QotoM7RUp5xOxV3nSJ8u2pSdtzFAbGKzTlKtg" crossorigin="anonymous"></script> +<script src="https://unpkg.com/htmx.org@2.0.5/dist/htmx.js" integrity="sha384-TODO" crossorigin="anonymous"></script> ``` While the CDN approach is extremely simple, you may want to consider @@ -136,7 +136,7 @@ While the CDN approach is extremely simple, you may want to consider The next easiest way to install htmx is to simply copy it into your project. -Download `htmx.min.js` [from unpkg.com](https://unpkg.com/htmx.org@2.0.3/dist/htmx.min.js) and add it to the appropriate directory in your project +Download `htmx.min.js` [from unpkg.com](https://unpkg.com/htmx.org@2.0.4/dist/htmx.min.js) and add it to the appropriate directory in your project and include it where necessary with a `<script>` tag: ```html @@ -148,7 +148,7 @@ and include it where necessary with a `<script>` tag: For npm-style build systems, you can install htmx via [npm](https://www.npmjs.com/): ```sh -npm install htmx.org@2.0.3 +npm install htmx.org@2.0.4 ``` After installing, you’ll need to use appropriate tooling to use `node_modules/htmx.org/dist/htmx.js` (or `.min.js`). |