QBH3
407408b947
Update sse.md ( #3303 )
...
version of sse extension does not match the sha384 hash, i believe it to be the newer 2.2.3 version of htmx-ext-sse
2025-05-08 08:22:55 +02:00
Devin Muzzy
0404d0137b
documentation clarification for htmx:load ( #3299 )
...
htmx:load doc clarification
2025-05-01 08:33:09 +02:00
Simon Hartley
f4cc8382a4
Correction for confirm example ( #3296 )
2025-04-30 08:10:40 +02:00
Simon Hartley
ff190eef26
Add substr lint ( #3295 )
...
Co-authored-by: scrhartley <scrhartley@github.com>
2025-04-28 07:15:03 +02:00
Simon Hartley
53496ff428
Fix typo ( #3294 )
...
Co-authored-by: scrhartley <scrhartley@github.com>
2025-04-28 07:12:33 +02:00
Carson Gross
a9b673c93c
Merge branch 'dev' of github.com:bigskysoftware/htmx into dev
2025-04-24 14:24:45 -06:00
MichaelWest22
5520566fc3
Add historyRestoreAsHxRequest config to optionally disable hx-request header from history restore requests ( #3278 )
...
* Added Config to optionally disable the breaking HX-Request change made recently
* fix broken resolved conflict
2025-04-24 14:21:23 -06:00
Simon Hartley
db8e5e03cb
Fix event not being available in hx-vals/hx-vars when hx-trigger has delay ( #3196 )
...
Fix event not being available in hx-vals/hx-vars when hx-trigger uses delay
Co-authored-by: scrhartley <scrhartley@github.com>
2025-04-24 13:58:31 -06:00
Emil Hemdal
e01027b938
Write title as innerText instead of innerHTML ( #3173 )
...
* Change innerHTML to innerText for title element
Some security checks are grumpy when using innerHTML. Using innerText
instead calms them.
Signed-off-by: Emil Hemdal <emil@hemdal.se>
* Add Type Hints/Cast
* Change to textContent instead of innerText
Also remove type hinting/casting since it is no longer needed
Signed-off-by: Emil Hemdal <emil@hemdal.se>
---------
Signed-off-by: Emil Hemdal <emil@hemdal.se>
2025-04-24 13:57:34 -06:00
Simon Hartley
6a585f9f3c
Get rid of latest usages of substr ( #3074 )
...
* Replace latest usages of substr
* Replace usage of substr in tests
---------
Co-authored-by: scrhartley <scrhartley@github.com>
2025-04-24 13:56:55 -06:00
MichaelWest22
05d37e6ea6
Remove old IE support ( #3277 )
...
* Remove old IE support
* don't need regex in normalizePath
* fix verifyPath to handle about: situations like some iframes now that there is no fallback
* improve diff
* fix logic mistake in last diff improvment
* Update url normlization test post testing upgrade
* remove un-needed document
2025-04-24 13:56:05 -06:00
MichaelWest22
d3bcd787ba
proxy window.location for testing and extension overrides ( #3283 )
...
* proxy window.location for testing and extension overrides
* when not whe in test name
2025-04-24 13:55:27 -06:00
MichaelWest22
408850a08e
Additional Code Coverage ( #3282 )
...
* Improve loc coverage by removing dead paths caused by bad type checks and add some tests for other paths
* removed exception for https://github.com/microsoft/playwright/issues/5894 that was fixed in 2022 with webkit 16.0
2025-04-24 13:54:43 -06:00
MichaelWest22
21dc121fce
handle removing request lock on errors ( #3284 )
...
* handle removing request lock on errors
* Fixed non function verifyUrl tests and added tests for the double requests this PR fixes
2025-04-24 13:53:14 -06:00
Shawn Duncan
0da03839ce
Create SECURITY.md ( #3288 )
...
* Create SECURITY.md
* Update SECURITY.md
Remove boiler plate text
2025-04-24 13:41:47 -06:00
Ajani Bilby
86893ebf4c
Docs: Update Link ( #3281 )
...
use a permalink
2025-04-21 09:11:55 +02:00
Yawar Amin
4d16626cf4
Adjust examples ( #3280 )
...
Autofocus when editing, and update text to match example code.
2025-04-20 10:52:08 +02:00
Simon Hartley
bc7a6b8c55
Documentation update for events ( #3279 )
2025-04-20 10:49:26 +02:00
Carson Gross
63016891a6
Merge branch 'master' into dev
2025-04-17 17:58:26 -06:00
Carson Gross
f8b71843da
Merge remote-tracking branch 'origin/dev' into dev
2025-04-17 17:58:04 -06:00
MichaelWest22
24a0106f76
Update testing framework to web-test-runner and improve code coverage ( #3273 )
...
* Fix old npm dependencies
* implement web-test-runner tests for headless alongside Mocha browser tests
* Increase test and code coverage
* update to 100% coverage and impove eslint
* Update testing Doco
* revert all htmx changes and updates/disable tests needed
* fix browser mocha test
* Default testing to use playwrite only instead of puppeter
* playwright install fix
* Imporve test summary reporting
* flatten false looks closer to original
2025-04-17 17:55:43 -06:00
Johannes Neumeier
e8f5990c1b
Mention hx-include does not match disabled fields. Fixes #3053 ( #3274 )
2025-04-17 07:55:11 +02:00
Simon Hartley
6836e87a6c
Docs - add sections and search filtering for community extensions ( #3260 )
...
Docs - add sections and search filtering for community extensions
Co-authored-by: scrhartley <scrhartley@github.com>
2025-04-07 22:24:39 -05:00
Pierre Chapuis
3830fa7b2c
fix customized confirmation example ( #3262 )
2025-04-05 10:25:47 +02:00
FumingPower
0578564a25
docs: Add dynamic-url to community extensions list ( #3259 )
...
* docs: Add dynamic-url to community extensions list
* docs: applied minor corrections
2025-04-03 07:56:39 +02:00
Simon Hartley
b1c1a1ba23
Documentation update for hx-swap ( #3261 )
2025-04-02 10:29:14 -06:00
Simon Hartley
aa3dbf0c50
Documentation update for debug extension ( #3255 )
2025-03-28 08:03:47 +01:00
librasteve
838f49d977
Adding Raku / Cro Templates to Fragments list ( #3253 )
...
17:31]librasteve: hello, we recently added fragment to the Raku Cro Templates (as inspired by HTMX LOB) and I thought you may like to add to the list of fragments at https://htmx.org/essays/template-fragments/ , something like Raku / Cro Template (https://github.com/croservices/cro-website/blob/main/docs/reference/cro-webapp-template-syntax.md#fragments ) ~librasteve
[18:15]1cg: Hi there
[18:16]1cg: That looks great, yes, can you create a PR here w/ a link to that page: https://github.com/bigskysoftware/htmx/blob/master/www/content/essays/template-fragments.md
[18:16]1cg: and then send me a link to the PR and I'll integrate it
[19:17]librasteve: cool - will do
2025-03-28 08:00:03 +01:00
Carson Gross
a2681e3ee2
remove deco sponsorship
2025-03-27 10:43:26 -06:00
Carson Gross
f42117628c
fix all the sponsor images
2025-03-25 21:43:48 -06:00
Carson Gross
15085704f2
Merge remote-tracking branch 'origin/master'
2025-03-25 21:33:32 -06:00
Carson Gross
0d7434f998
fix jetbrains logo
2025-03-25 21:33:23 -06:00
Joundill
d1aa89192f
Documentation update for hx-get ( #3251 )
...
Update hx-get.md
Clarified notes on hx-get params
2025-03-25 08:44:22 +01:00
Simon Hartley
a3ac341994
Documentation update for hx-select-oob ( #3250 )
...
Co-authored-by: scrhartley <scrhartley@github.com>
2025-03-25 08:42:51 +01:00
Simon Hartley
abaf3de237
Documentation update for include-vals extension ( #3247 )
...
Documentation update for outdated extension
2025-03-25 08:38:19 +01:00
Simon Hartley
1b4e778ba6
Documentation improvements for idiomorph extension ( #3249 )
2025-03-25 08:36:33 +01:00
Simon Hartley
fec926d354
Documentation update for hx-trigger ( #3246 )
2025-03-24 08:08:41 +01:00
Simon Hartley
f8f7466d5c
Fix broken link in SSE extension docs ( #3241 )
2025-03-19 07:34:20 +01:00
Sebastian Davids
1d1a3ceeee
Fix JSDoc of getRespCodeTarget ( #3235 )
...
Signed-off-by: Sebastian Davids <sdavids@gmx.de>
2025-03-17 08:06:06 +01:00
James Cole
fcf7457766
Add attribute-tools Community Extension to doc ( #3229 )
...
added attribute-tools Community Extension to doc
2025-03-14 09:05:06 +01:00
Kai Schlamp
b76b1f6b9b
Add django-block-fragments to template-fragments essay ( #3227 )
2025-03-12 10:34:28 -05:00
Carson Gross
b8a29903dc
Merge remote-tracking branch 'origin/master'
2025-03-06 15:59:04 -07:00
Carson Gross
7b34baed84
remove ex-sponsors
2025-03-06 15:58:52 -07:00
su21
07d35186fb
Fix wording in changed
modifier description in hx-trigger.md ( #3219 )
...
Update the description of the `changed` event modifier from "the event will only change" to "the event will only fire" to clarify that the modifier controls when the `change` event triggers, improving accuracy and readability. Addresses a potential documentation error.
Fixes #3218
2025-03-06 08:16:19 +01:00
William Jackson
efcc6b2211
Add descriptions for /headers/* and /api ( #3221 )
...
* Add descriptions for /headers/* and /api
* Add a missing space in a description
2025-03-05 20:58:38 -07:00
jdocksey
103c72ed74
Documentation link added ( #3211 )
2025-02-25 09:08:02 +01:00
Cristian Molina
d8dc1ee93d
Small fix on alternatives.md ( #3204 )
...
Update alternatives.md
Fix "and" -> "an"
2025-02-22 08:29:58 +01:00
Carson Gross
61ad9549c3
format
2025-02-19 09:49:23 -07:00
Carson Gross
14f3c5efd8
format
2025-02-19 09:46:59 -07:00
Carson Gross
70736c4c8f
Merge remote-tracking branch 'origin/master'
2025-02-19 09:26:08 -07:00