mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
bumped version in wrong branch 😑
This commit is contained in:
parent
7c9fd4bc93
commit
69d4d49363
@ -1,10 +1,5 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
|
||||||
## [1.6.1] - 2021-10-01
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [1.6.0] - 2021-10-01
|
## [1.6.0] - 2021-10-01
|
||||||
|
|
||||||
* Completely reworked `<script>` tag support that now supports the `<script src="...'/>` form
|
* Completely reworked `<script>` tag support that now supports the `<script src="...'/>` form
|
||||||
|
@ -35,7 +35,7 @@ By removing these arbitrary constraints htmx completes HTML as a
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- Load from unpkg -->
|
<!-- Load from unpkg -->
|
||||||
<script src="https://unpkg.com/htmx.org@1.6.1" ></script>
|
<script src="https://unpkg.com/htmx.org@1.6.0" ></script>
|
||||||
<!-- have a button POST a click via AJAX -->
|
<!-- have a button POST a click via AJAX -->
|
||||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||||
Click Me
|
Click Me
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"AJAX",
|
"AJAX",
|
||||||
"HTML"
|
"HTML"
|
||||||
],
|
],
|
||||||
"version": "1.6.1",
|
"version": "1.6.0",
|
||||||
"homepage": "https://htmx.org/",
|
"homepage": "https://htmx.org/",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/bigskysoftware/htmx/issues"
|
"url": "https://github.com/bigskysoftware/htmx/issues"
|
||||||
|
@ -67,7 +67,7 @@ return (function () {
|
|||||||
createWebSocket: function(url){
|
createWebSocket: function(url){
|
||||||
return new WebSocket(url, []);
|
return new WebSocket(url, []);
|
||||||
},
|
},
|
||||||
version: "1.6.1"
|
version: "1.6.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
var VERBS = ['get', 'post', 'put', 'delete', 'patch'];
|
var VERBS = ['get', 'post', 'put', 'delete', 'patch'];
|
||||||
|
@ -103,13 +103,13 @@ It can be used via [NPM](https://www.npmjs.com/) as "`htmx.org`" or downloaded o
|
|||||||
[unpkg](https://unpkg.com/browse/htmx.org/) or your other favorite NPM-based CDN:
|
[unpkg](https://unpkg.com/browse/htmx.org/) or your other favorite NPM-based CDN:
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<script src="https://unpkg.com/htmx.org@1.6.1"></script>
|
<script src="https://unpkg.com/htmx.org@1.6.0"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
For added security, you can load the script using [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity).
|
For added security, you can load the script using [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity).
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<script src="https://unpkg.com/htmx.org@1.6.1" integrity="UPDATE" crossorigin="anonymous"></script>
|
<script src="https://unpkg.com/htmx.org@1.6.1" integrity="sha384-G4dtlRlMBrk5fEiRXDsLjriPo8Qk5ZeHVVxS8KhX6D7I9XXJlNqbdvRlp9/glk5D" crossorigin="anonymous"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
## <a name="ajax"></a> [AJAX](#ajax)
|
## <a name="ajax"></a> [AJAX](#ajax)
|
||||||
|
@ -61,8 +61,8 @@ If you wish to put a template into another file, you can use a directive such as
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>JS Bin</title>
|
<title>JS Bin</title>
|
||||||
<script src="https://unpkg.com/htmx.org@1.6.1"></script>
|
<script src="https://unpkg.com/htmx.org@1.6.0"></script>
|
||||||
<script src="https://unpkg.com/htmx.org@1.6.1/dist/ext/client-side-templates.js"></script>
|
<script src="https://unpkg.com/htmx.org@1.6.0/dist/ext/client-side-templates.js"></script>
|
||||||
<script src="https://unpkg.com/mustache@latest"></script>
|
<script src="https://unpkg.com/mustache@latest"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -34,7 +34,7 @@ By removing these arbitrary constraints, htmx completes HTML as a [hypertext](ht
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- Load from unpkg -->
|
<!-- Load from unpkg -->
|
||||||
<script src="https://unpkg.com/htmx.org@1.6.1"></script>
|
<script src="https://unpkg.com/htmx.org@1.6.0"></script>
|
||||||
<!-- have a button POST a click via AJAX -->
|
<!-- have a button POST a click via AJAX -->
|
||||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||||
Click Me
|
Click Me
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: layout.njk
|
layout: layout.njk
|
||||||
tags: ['posts', 'announcements']
|
|
||||||
title: htmx 1.6.0 has been released!
|
title: htmx 1.6.0 has been released!
|
||||||
date: 2021-10-02
|
date: 2021-10-02
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user