Carson Gross
70cf131070
update sha for release
2023-01-17 15:48:10 -07:00
Carson Gross
7ea35d03c6
IE fix
2023-01-17 15:12:35 -07:00
Carson Gross
d81690fa59
docs prep for 1.8.5 release
2023-01-17 15:02:02 -07:00
Carson Gross
a39ad590c2
include MockSocket for web socket tests
2023-01-17 14:36:46 -07:00
Denis Palashevskii
a097e6dd1e
Add websocket mocking library to www.js script ( #1207 )
2023-01-17 14:35:24 -07:00
Carson Gross
307e3eb227
prep for 1.8.5 release
2023-01-17 13:38:51 -07:00
Rowlando13
2d8355ade5
Fix line spacing ( #1203 )
2023-01-17 14:24:33 -06:00
Carson Gross
8d35686cf9
back out path normalization due to non-IE safe API use
2023-01-17 13:22:15 -07:00
Carson Gross
4968c41e8b
Merge branch 'master' into dev
2023-01-17 13:07:15 -07:00
Carson Gross
f0a6508250
set a min height so lazy loading works properly
2023-01-12 11:21:30 -07:00
Carson Gross
07c515399a
reorder images and make them lazy to maybe save bandwidth on netlify
2023-01-12 10:56:45 -07:00
Carson Gross
aba89df270
Merge branch 'master' of github.com:bigskysoftware/htmx
2023-01-12 10:41:35 -07:00
Carson Gross
15790c2831
prep 1.8.5 release
2023-01-10 07:13:35 -07:00
Carson Gross
dd041f96ea
clean up head support
2023-01-10 07:12:19 -07:00
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
Charles-Pierre Astolfi
075e43b567
Escape curly braces in the example ( #1175 )
...
Docs on the website are currently rendering incorrectly because of faulty escaping of curly braces (line 80 is rendered has `<p> and and </> htmx - high power tools for html and </p>`). Unfortunately, this fix breaks the rendering of the file on github (there are extra `{% raw %}` directives), but I think it's better than the other way around.
2023-01-01 10:10:15 -06:00
Wim Deblauwe
32c69ac0b1
Fix wrongly capitalized beforeend
( #1177 )
2023-01-01 10:09:41 -06:00
dependabot[bot]
b58bb795fb
Bump flat and mocha ( #1182 )
...
Bumps [flat](https://github.com/hughsk/flat ) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha ). These dependencies need to be updated together.
Updates `flat` from 4.1.1 to 5.0.2
- [Release notes](https://github.com/hughsk/flat/releases )
- [Commits](https://github.com/hughsk/flat/compare/4.1.1...5.0.2 )
Updates `mocha` from 7.2.0 to 10.2.0
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v10.2.0 )
---
updated-dependencies:
- dependency-name: flat
dependency-type: indirect
- dependency-name: mocha
dependency-type: direct:development
...
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>
2023-01-01 10:08:59 -06: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
Ben Pate
a3c414dcee
Merge pull request #1006 from leiffoged/patch-1
...
[RFC] Trigger preload module on htmx:load
2022-12-10 09:35:58 -07: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