mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-26 20:40:41 +00:00
prep next release
This commit is contained in:
parent
cc2466b1f8
commit
fb78106dc6
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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`).
|
||||
|
Loading…
x
Reference in New Issue
Block a user