3846 Commits

Author SHA1 Message Date
Carson Gross
3e47d556c0 invert boolean to make things clearer 2025-12-29 08:28:22 -07:00
Carson Gross
b7fb573d01 docs cleanup 2025-12-29 08:28:06 -07:00
Carson Gross
f1db10f0eb trigger event on target 2025-12-24 14:25:22 -07:00
Carson Gross
50fbb1f91d update docs 2025-12-24 14:05:53 -07:00
Carson Gross
017934f816 parameterize settle time & don't do CSS transition work in case of transitions 2025-12-24 13:49:57 -07:00
Carson Gross
777ec267e7 remove unused param 2025-12-24 13:42:00 -07:00
Carson Gross
0dea4bc308 Merge branch 'four' into feature/settle-restoration
# Conflicts:
#	src/htmx.js
2025-12-24 13:40:25 -07:00
MichaelWest22
55227c058c
Improve moprh exact node matching with scan ahead (#3591)
* Improve moprh exact node matching with scan ahead

* better inline comments documentation

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-12-19 11:43:24 -07:00
Stu Kennedy
37cf0e8c6c
WebSocket Extension (hx-ws) Improvements (#3592)
* refactor: Enhance WebSocket extension with URL normalization, improved request management, and refined message handling for better reliability and clarity.

feat: Add manual WebSocket server script and enhance WebSocket documentation with detailed message formats and connection management improvements.

feat: Include event type in WebSocket messages and update documentation for message format

* refactor: Update WebSocket extension to connect immediately by default, enhance documentation on connection triggers, and improve message handling examples.

* feat: Introduce URL validation for WebSocket send attributes to ensure proper connection handling and prevent non-URL markers from being processed.
2025-12-19 11:42:36 -07:00
MichaelWest22
56e6810284
add textContent swap style (#3593)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-12-19 11:39:09 -07:00
Carson Gross
2f816af101 move swap delay and settle delay inside of __insertContent (makes more sense to me here) 2025-12-18 11:18:41 -07:00
Carson Gross
7fea06f00d remove bad images 2025-12-15 17:26:00 -07:00
Carson Gross
08f6b0e431 remove demo 2025-12-15 17:22:50 -07:00
Carson Gross
1a4268dab4 docs cleanup 2025-12-15 14:52:50 -07:00
Carson Gross
c603dc9543 Merge remote-tracking branch 'origin/four' into four 2025-12-15 14:42:07 -07:00
Carson Gross
5dffcd4bc2 fix docs 2025-12-15 14:41:52 -07:00
Carson Gross
ab862afe74 finish up hx-sync 2025-12-15 14:41:45 -07:00
MichaelWest22
4403f8eff6
optimize hx-vals and headers async with a callback and fix ws async (#3581)
optimize hx-vals and headers async with a callback and fix ws async hx-vals

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-12-11 11:04:08 -07:00
MichaelWest22
a624a90dee
Add Morhing documentation (#3582)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-12-11 11:03:41 -07:00
MichaelWest22
40ecbfd6b6
bug morph cleanup of textNodes should work (#3584)
* bug morph cleanup of textNodes should work

* use firstchild check instead

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-12-12 01:26:41 +13:00
Carson Gross
628b5a6a6c add update-sha.sh v4.0.0-alpha 2025-12-09 12:15:54 -07:00
Carson Gross
c917b4e880 prep release 2025-12-09 10:20:10 -07:00
MichaelWest22
f0ff590fb4
handle returning this from findAllExt for any inheritance level (#3579)
* change thisElt to thisAttr to simplify

* Handle returning this properlty at any level

* add this wrapper for clarity

* move to callback instead

* rename to eltCollector

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-12-09 09:23:30 -07:00
Carson Gross
b2f4abae76 add hx-disable.js test and fix logic to be the same as hx-indicator 2025-12-07 10:22:35 -07:00
Carson Gross
42e84477dd add tests to test.html 2025-12-07 10:09:03 -07:00
Carson Gross
cab78da9ee make hx-headers dynamic like hx-vals and port 2.x tests 2025-12-07 10:08:51 -07:00
Carson Gross
36acc330f4 add sanity tests for core attributes 2025-12-07 09:31:58 -07:00
Carson Gross
c96179f3e7 port 2.0 tests and fix hx-include overriding 2025-12-07 09:24:23 -07:00
MichaelWest22
3b21c64193
improve parseConfig and append to allow joining json for hx-vals (#3577)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-12-07 09:00:47 -07:00
Carson Gross
aa61c169fd changelog 2025-12-06 16:45:15 -07:00
Carson Gross
30371270f7 regen release 2025-12-06 16:44:27 -07:00
Carson Gross
c878a939d6 remove historyReload in favor of "reload" value for htmx.config.history 2025-12-06 16:43:11 -07:00
Carson Gross
1d42990568 fix stream/sse docs 2025-12-06 16:31:39 -07:00
Carson Gross
f0c9858405 fix stream/sse docs 2025-12-06 16:15:38 -07:00
Carson Gross
79b02f13be clean up docs + TODOs.md 2025-12-06 11:58:14 -07:00
Carson Gross
7619e303a1 update site to use new goodies 2025-12-06 11:54:41 -07:00
Carson Gross
8334be5065 update transition recommendations to match what we use on htmx.org 2025-12-06 11:51:07 -07:00
Carson Gross
9a41d40fd6 remove bad links 2025-12-06 11:50:52 -07:00
Carson Gross
0df6c98e4e update web 2025-12-06 11:37:16 -07:00
Carson Gross
7972c4ea5a update distribution & web 2025-12-06 11:36:57 -07:00
Carson Gross
c499c799cb release on Monday 2025-12-06 11:34:51 -07:00
Carson Gross
e8b63f9130 changelog 2025-12-06 11:34:23 -07:00
Carson Gross
a56b6220fb migration guide cleanup 2025-12-06 11:29:46 -07:00
Carson Gross
fc0c2c6857 oops, missed hx-vals.md 2025-12-06 11:29:28 -07:00
Carson Gross
fde4f4616f remove obsolete events 2025-12-06 11:29:06 -07:00
Carson Gross
7c3909fa07 update swap docs 2025-12-06 11:28:54 -07:00
Carson Gross
ef730551a6 add strip documentation 2025-12-06 11:16:12 -07:00
Carson Gross
04c110efc1 mention extension locations 2025-12-06 11:16:03 -07:00
Carson Gross
95478ba43a include all events in docs 2025-12-06 11:11:22 -07:00
Carson Gross
dbac18235c include all swaps in docs 2025-12-06 11:11:15 -07:00