3684 Commits

Author SHA1 Message Date
Carson Gross
f2bcf9d3ce etag support 2025-11-08 08:03:05 -07:00
Carson Gross
8534ab1a7b add 304 as a default no-swap response code 2025-11-08 07:37:26 -07:00
Carson Gross
5f93b0d7c4 expand variables and code to make debugging easier 2025-11-08 07:36:46 -07:00
Krzysztof Szularz
d57874953f
Update index page with correct link to jsdelivr (#3490)
The current link is not working as the specified version doesn't exist as opposed to https://www.jsdelivr.com/package/npm/htmx.org?tab=files&version=4.0.0-alpha1
2025-11-06 19:35:37 -07:00
MichaelWest22
46c978c912
Attribute value only return string again (#3493)
* move attributeValue back to return string and optinally return source only for this target

* remove fetchOverride

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-06 19:35:20 -07:00
Tristan Druyen
91c3dfa87d
[4] Bind window context for Firefox compatibility (#3486)
Bind window context for Firefox compatibility

Causes "'fetch' called on an object that does not implement interface Window" otherwise.
2025-11-07 12:28:06 +13:00
Carson Gross
e339abdcd2 move extension tests out to their own directory 2025-11-06 12:38:22 -07:00
Carson Gross
55f1c17dc0 abort any outstanding requests after tests, make the trigger tests properly await the requests they create to avoid cross-test contamination. :/ 2025-11-06 12:34:53 -07:00
Carson Gross
08a6820d63 clean up html creation 2025-11-06 11:59:03 -07:00
Carson Gross
8fd2c86e84 tighten up the timeout 2025-11-06 11:54:48 -07:00
Carson Gross
e10768991d test cleanup 2025-11-06 11:53:18 -07:00
Carson Gross
0b48282a0f test cleanup 2025-11-06 11:52:14 -07:00
Carson Gross
3858a82242 test reorg and docs 2025-11-06 11:30:55 -07:00
Carson Gross
30ff306c31 support the ability to configure the "meta" character for systems like fastHTML that can't use the colon character 2025-11-06 11:13:19 -07:00
Carson Gross
83da589d33 update __attributeValue to return both the attribute value and the source 2025-11-06 10:32:10 -07:00
Carson Gross
ba18716cc5 clean up last old extensions 2025-11-06 10:31:42 -07:00
MichaelWest22
994decb6fa
fix select and strip and title handling (#3492)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-06 23:47:53 +13:00
MichaelWest22
77c17f3717
Update build:esm to replace __ with # correclty
The build system for esm is not replacing __ with # for some async prefixed functions causing the esm version to not run correctly
2025-11-06 16:10:41 +13:00
Carson Gross
8e994700ea update TODOS.md 2025-11-05 07:12:23 -07:00
Carson Gross
aa6f9dc759 fix base URL 2025-11-04 07:51:18 -07:00
Carson Gross
c41cef3584 update package lock 2025-11-03 12:20:14 -07:00
Carson Gross
cac0f1387f fix package 2025-11-03 11:46:20 -07:00
Carson Gross
72d6b7888f fix URL 2025-11-03 11:43:54 -07:00
Carson Gross
1480292fea kick netlify 2025-11-03 11:34:09 -07:00
Carson Gross
e3578992e9 kick netlify 2025-11-03 11:33:06 -07:00
Carson Gross
cd9ff02c0d kick netlify 2025-11-03 11:30:58 -07:00
Carson Gross
94b887962a kick netlify 2025-11-03 11:28:59 -07:00
Carson Gross
434808e8bb skip test failing in FF 2025-11-03 10:28:34 -07:00
Carson Gross
387b6f38d3 add distribution for dist 2025-11-03 10:15:12 -07:00
Carson Gross
c5f6e67fb0 final tests fixes for alpha-1 2025-11-03 10:10:44 -07:00
Carson Gross
2c835bcf3f Merge remote-tracking branch 'origin/four' into four
# Conflicts:
#	src/htmx.js
2025-11-03 10:06:14 -07:00
MichaelWest22
b8c2db7633 also run shouldCancel for event filters 2025-11-04 03:11:31 +13:00
MichaelWest22
a69c20f783 Remove settle delay, add initial non transition swap delay option. 2025-11-04 02:09:59 +13:00
MichaelWest22
a9b5ebd3c0 fix shouldCancel test with virtual click event 2025-11-04 01:22:37 +13:00
MichaelWest22
f09899bbe0 improve script handling and custom swap styles 2025-11-04 01:14:46 +13:00
MichaelWest22
bf620a0716 fix #actionSelector 2025-11-03 23:57:20 +13:00
Carson Gross
c978dd499c docs and pattern-based fixes 2025-11-02 23:57:36 -07:00
Carson Gross
ab7a6a2fe1 update site's htmx 2025-11-02 23:02:47 -07:00
Carson Gross
8b4db416ca make all fields private 2025-11-02 23:00:54 -07:00
Carson Gross
66024ee1ea change __htmx prefix to _htmx so it doesn't get privatized 2025-11-02 22:56:58 -07:00
Carson Gross
b0f2a6fed2 add changes 2025-11-02 22:51:42 -07:00
Carson Gross
e98cc7c6d5 fix fade in 2025-11-02 22:51:33 -07:00
Carson Gross
acf8f7ca84 demo fixes 2025-11-02 22:51:22 -07:00
Carson Gross
3525a8cfd6 demo-based fixes + tests 2025-11-02 21:08:06 -07:00
Carson Gross
1aeb2a663a Merge branch 'refs/heads/examples-to-patterns' into four 2025-11-02 19:40:28 -07:00
Carson Gross
d64e43a76a make relative selectors resolve relative to the current element in hx-on 2025-11-02 19:29:34 -07:00
Carson Gross
488fed10b3 save some bytes 2025-11-02 18:59:44 -07:00
Carson Gross
395240dbd9 small cleanup 2025-11-02 18:53:47 -07:00
Carson Gross
835593025c fix tests 2025-11-02 17:02:44 -07:00
Carson Gross
081c4420f3 Merge remote-tracking branch 'origin/four' into four 2025-11-02 16:24:28 -07:00