Carson Gross
613f7b61d5
Support an opt-in cache-buster parameter that is sent up with htmx GET requests but that is stripped from the URL pushed into the browser's history
2023-01-08 17:35:07 -07:00
Carson Gross
447211742e
IE support: return null explicitly, fixes https://github.com/bigskysoftware/htmx/issues/1047
2023-01-06 15:59:40 -07:00
Carson Gross
666c6aa8e5
support clicking on elements within a button element as well as directly on the element itself.
...
based on https://github.com/bigskysoftware/htmx/pull/1168
2023-01-06 14:18:00 -07:00
Ben Beecher
546fba2776
Hotfix for swapping fields that don't support setSelectionRange ( #1187 )
...
* Hotfix for swapping fields that don't support setSelectionRange
* Fix test
2023-01-04 08:54:38 -07:00
Carson Gross
f5633b489f
Merge remote-tracking branch 'origin/dev' into dev
2023-01-01 17:22:58 -07:00
Carson Gross
43d36af560
fix type reference
2023-01-01 17:22:48 -07:00
Ben Beecher
b9464f3f84
add documentation on scrollBehavior ( #1159 )
2022-12-19 13:41:54 -06:00
Thomas Eizinger
899c454580
Actually pass original event on to htmx:configRequest
( #1156 )
...
* Add failing test
* Use all arguments of `handler`
2022-12-17 07:19:39 -06:00
Carson Gross
30f762aa47
Merge branch 'master' into dev
2022-12-06 13:10:58 -07:00
Ben Pate
d1fc85779f
Merge pull request #1147 from alexbezhan/preload-always
...
Ability to trigger preload always (not once)
2022-12-05 11:57:43 -07:00
dependabot[bot]
8440139228
Bump decode-uri-component from 0.2.0 to 0.2.2 ( #1151 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:01:55 -06:00
Hilman Ramadhan
8a24a2c3cf
add twitter on footer ( #1098 )
2022-12-03 17:01:43 -06:00
dependabot[bot]
85937b6907
Bump engine.io from 6.2.0 to 6.2.1 ( #1138 )
...
Bumps [engine.io](https://github.com/socketio/engine.io ) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/socketio/engine.io/releases )
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/engine.io/compare/6.2.0...6.2.1 )
---
updated-dependencies:
- dependency-name: engine.io
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:01:03 -06:00
dependabot[bot]
2039e98dd8
Bump github.com/labstack/echo/v4 in /www/test/1.8.3/test/servers/ws ( #1122 )
...
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo ) from 4.3.0 to 4.9.0.
- [Release notes](https://github.com/labstack/echo/releases )
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/labstack/echo/compare/v4.3.0...v4.9.0 )
---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:00:36 -06:00
Mark Croxton
4419bc4c90
History cache embargo ( #1113 )
...
* Add hx-history="false" to prevent sensitive or session data entering the localStorage cache
* Correctly get value of hx-history attribute.
* Add test for hx-history attribute.
* Allow history cache to be disabled when multiple `hx-history` attributes are present in a document, and any one of them is set to false.
* Add documentation for `hx-history` attribute.
* Add `hx-history` attribute to reference doc
* Correct the order of the `hx-history` attr in the reference doc.
2022-12-03 16:56:15 -06:00
Denis Palashevskii
36b017bc26
Add events support for WebSockets ( #1126 )
...
* Add events support for WebSockets
* Stop reconnection attempts after element has been removed
* Add tests for websockets
* Hide socker wrapper behind a more strict interface to avoid breaking changes in the future
* Fix legacy websocket tests interfering with new extension tests
* Minor doc fixes
* Add `wsBinaryType` configuration option
2022-12-03 16:53:59 -06:00
Billy Keyes
8520f6f374
Fix handling of repeated empty inputs ( #1144 )
...
Native form handling submits repeated empty inputs as an array with an
empty value for each input, but htmx would only submit the first
non-empty input and any following inputs. Fix the value collection code
so that it correctly distinguishes between empty values and new inputs.
2022-12-02 09:35:59 -07:00
Sumit Sarkar
8aacfdbe2b
Update template-fragments.md ( #1145 )
2022-12-01 20:55:48 -07:00
Carson Gross
90db47fbea
bump version
2022-12-01 08:05:32 -07:00
Carson Gross
a96163830d
fix issue where a script element removes itself from the DOM on evaluation (apparently eCharts does this)
2022-12-01 08:03:47 -07:00
Carson Gross
63b6dc018a
Merge branch 'master' into dev
2022-12-01 08:01:22 -07:00
Ben Croker
105a894e21
Fix broken sentence
2022-11-30 08:15:26 -05:00
Carson Gross
20e43ddae2
a bit more cleanup
2022-11-29 09:03:09 -07:00
Carson Gross
940d61f5af
a bit more cleanup
2022-11-29 09:00:47 -07:00
Carson Gross
de4bd167ff
Merge remote-tracking branch 'origin/master'
2022-11-28 07:07:13 -07:00
Carson Gross
e808b8f994
only process code highlighting under the new content (to avoid redoing the dom)
2022-11-28 07:07:04 -07:00
Alex
c682701da8
Preload always
2022-11-28 11:36:25 +00:00
Josh McFarland
5e9f62b2aa
Verbiage correction. ( #1137 )
...
Fixes verbiage under "Data Only Events" in www/attributes/hx-sse.
2022-11-27 19:49:34 -06:00
Ben Croker
42dcebde2d
Readability suggestions and typo fixes ( #1143 )
...
* Readability suggestions and typo fixes
I stumbled upon this essay and, on reading it, added a few readability suggestions and typo fixes. I also added some a React component example, to help demonstrate how hypermedia is emphasized over the scripting of the hypermedia in the hyperscript example.
* Revert modified quote (whoops!)
2022-11-27 19:49:15 -06:00
Carson Gross
26e80bfc49
rework article
2022-11-24 05:15:54 -07:00
Carson Gross
dafb45a348
rework article
2022-11-24 05:09:06 -07:00
Carson Gross
71f1ff58b3
rework article
2022-11-24 05:03:02 -07:00
Carson Gross
508490498b
improve
2022-11-17 10:18:40 -07:00
Carson Gross
443925c8eb
link
2022-11-17 10:07:40 -07:00
Carson Gross
ff70720ca0
improvement
2022-11-17 10:04:29 -07:00
Carson Gross
012bd30afe
improvement
2022-11-17 09:48:52 -07:00
Carson Gross
cd23ed8a4c
add section on inline scripting + links
2022-11-17 09:24:03 -07:00
Carson Gross
5aba94e821
improve
2022-11-17 07:33:19 -07:00
Carson Gross
29d999f98d
improve
2022-11-17 07:32:31 -07:00
Carson Gross
e61e2914b1
fix
2022-11-17 07:26:47 -07:00
Carson Gross
bf3d572cf6
fix typo
2022-11-17 07:25:15 -07:00
Carson Gross
bc2999b9e3
fix typo
2022-11-17 07:21:47 -07:00
Carson Gross
0c1fe6b749
fix link
2022-11-17 07:21:19 -07:00
Carson Gross
70acc18d2c
new essay
2022-11-17 07:11:34 -07:00
Carson Gross
b3b0b7021a
improve essay
2022-11-16 20:49:02 -07:00
Carson Gross
c9fdc152e6
improve essay
2022-11-16 20:47:59 -07:00
Carson Gross
8fb795984c
Merge remote-tracking branch 'origin/master'
2022-11-16 20:43:28 -07:00
Carson Gross
08b043a144
improve essay
2022-11-16 20:43:18 -07:00
Mark Croxton
e2ecde0cb1
Normalise history cache key URLs, and prevent collisions in boosted anchors that use relative links. ( #1112 )
2022-11-09 10:34:30 -07:00
Waldir Pimenta
f8ae9cc32f
Fix typos and whitespace in www/events.md ( #1123 )
...
Co-authored-by: 1cg <469183+1cg@users.noreply.github.com>
2022-11-09 10:32:57 -07:00