Sukka
7df5969664
Replace jsDelivr w/ UNPKG ( #3234 )
...
Co-authored-by: 1cg <469183+1cg@users.noreply.github.com>
2025-06-03 07:14:03 -06:00
Ryan Kilpadi
5b4d77da6b
Attach hx-on handlers before processing nodes ( #3131 )
2025-06-02 15:50:19 -05:00
Carson Gross
e7bb245ef4
fix bad strings, merge master, update package-lock.json
2025-06-02 11:54:49 -06:00
Carson Gross
0aaab5a3c9
Merge branch 'master' into dev
...
# Conflicts:
# package-lock.json
# package.json
2025-06-02 11:52:35 -06:00
Carson Gross
d1d0cd916b
Merge remote-tracking branch 'origin/master'
2025-06-02 11:51:28 -06:00
Carson Gross
dd1914d503
update https://tacohiro.systems/ link
2025-06-02 11:51:21 -06:00
Carson Gross
e783c88670
move repeat logic on HX-Retarget header out to its own function.
2025-06-02 11:48:22 -06:00
Carson Gross
8ec48d9d29
Merge remote-tracking branch 'origin/dev' into dev
2025-06-02 11:47:55 -06:00
Piotr Tomiak
11ff1940f0
Automatically generate Web Types for the package based on current documentation ( #3071 )
2025-06-02 11:25:23 -06:00
ludicrousdisplay
28b31f23db
adding javalin-htmx examples to server integration examples ( #3104 )
...
* adding javalin-htmx examples to server integration examples
Adding two examples of using htmx with the javalin server library
* Update www/content/server-examples.md
Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
---------
Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
2025-06-02 11:21:38 -06:00
Vincent
53c5cf6df7
Remove obsolete npm command + fix links to ws/sse extensions ( #3208 )
...
Remove obsolete npm command + fix links to ws/SSE
2025-06-02 11:21:11 -06:00
Vincent
82546dbd47
Inherit list-keyword in hx-include / hx-indicator ( #1766 )
...
Inherit keyword in hx-include / hx-indicator
2025-06-02 11:20:24 -06:00
Jeremiah Johnson
4184d1fd0c
fix(swap): apply swap delay in swap function instead of handleAjaxResponse ( #2845 )
...
* fix(swap): apply swap delay in swap function instead of handleAjaxResponse
* add swap delay test
2025-06-02 11:19:11 -06:00
Oliver Haas
6d238f3d61
Feat/hx reselect support unset ( #3153 )
...
feat: handle 'unset'for HX-Reselect in swap function (+ test)
2025-06-02 11:01:20 -06:00
Simon Hartley
075ed73799
Fix target value in htmx:targetError when inheritance has been used ( #3178 )
...
Co-authored-by: scrhartley <scrhartley@github.com>
2025-06-02 10:58:31 -06:00
Carson Gross
70f41e0c6c
Merge remote-tracking branch 'origin/dev' into dev
2025-06-02 10:57:57 -06:00
JacobMonticello
e4ecc55586
Typo in addEventListener - use evt instead of event ( #3188 )
...
Use evt instead of event
Co-authored-by: Jacob monticello <Jacob Monticello>
2025-06-02 10:57:46 -06:00
Gustavo Guzmán
11a8e9c6c2
Feature: add extensionsToIgnore to withExtensions ( #3195 )
...
feat: add extensionsToIgnore to withExtensions
2025-06-02 10:56:51 -06:00
Carson Gross
646c8583be
Merge remote-tracking branch 'origin/dev' into dev
2025-06-02 10:56:11 -06:00
David Martiník
730bd8224d
Fixes issue 1537 - OOB does not escape query selector - updated version ( #3304 )
...
* Fixes issue 1537 - OOB does not escape query selector
* Adds test cases for oob swaps where the id contains special characters
* Updated oob multiple elements with the same ID test
* fix(issue-1537): resolved conflicts with master
* fix(issue-1537): fixed codestyle issues
---------
Co-authored-by: Fraser Chapman <fraser.chapman@gmail.com>
Co-authored-by: David Martiník <david.martinik@powerflow.cz>
2025-06-02 10:52:29 -06:00
Simon Hartley
8409ebca3b
Fix missing TypeScript property ( #3315 )
...
Add hidden elt property to HtmxRequestConfig
Co-authored-by: scrhartley <scrhartley@github.com>
2025-06-02 10:50:51 -06:00
MichaelWest22
083dbcdd6f
update web test-runner and remove temp summaryReporter workaournd ( #3320 )
...
* update web test-runner and remove temp summaryReporter workaournd
* Update error reporting to show in context of the test file and as a summary at the bottom
2025-05-22 07:17:16 +02:00
Simon Hartley
d2e39716fb
Fix type for event parameter ( #3317 )
...
Fix type of event for HtmxExtension.onEvent
Co-authored-by: scrhartley <scrhartley@github.com>
2025-05-19 07:40:36 +02:00
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