Carson Gross
fa978b24e7
rebuild dist for 2.0.11
v2.0.11
2026-09-22 14:12:16 -06:00
Carson Gross
be73c920f5
fix script handling in hx-partial
...
Partial content skipped normalizeScriptTags, so scripts did not run in
Firefox and allowScriptTags=false did not strip them.
2026-09-22 14:12:16 -06:00
Carson Gross
66ec9e42e5
Merge master into dev
2026-09-22 14:12:16 -06:00
Carson Gross
2ab8227a29
remove small item
2026-09-22 14:12:16 -06:00
Carson Gross
b923986a36
2.0.11 release prep
2026-09-22 14:12:16 -06:00
MichaelWest22
798e21ee92
npm updates for mocha ( #4094 )
2026-09-22 13:41:09 -06:00
MichaelWest22
e77bdd4b4e
fix hx-push-url false on boosted links ( #4093 )
2026-09-22 13:40:58 -06:00
Carson Gross
203e6e8068
clean up
2026-09-21 07:30:03 -06:00
Carson Gross
ab657b1cac
clean up
2026-09-21 07:29:20 -06:00
Carson Gross
bbd588d5b6
clean up
2026-09-21 07:29:00 -06:00
Carson Gross
3098b7ea7f
markdown in source essay
2026-09-19 11:02:22 -06:00
MichaelWest22
754c3ca946
Add hx-partial tag handling to v2 ( #4050 )
2026-09-17 16:55:30 -06:00
Carson Gross
685462f72e
add prospex sponsorship
2026-09-12 08:03:02 -06:00
Yawar Amin
0322f5b4df
Use for...of loops to avoid object inheritance ( #3381 )
...
* Use `for...of` loops to avoid object inheritance
Stop using `for...in` loops because they iterate over the objects'
entire inheritance tree. Instead, only iterate over the objects' _own_
keys.
This _should_ speed htmx up a bit, but I haven't benchmarked it! It's
more of a correctness issue.
Also use `Object.assign()` instead of reimplementing it.
* Fix test
* Adjust error handling code
2026-09-07 13:44:45 -06:00
Carson Gross
6471d006ca
Merge pull request #3998 from yfwmaniish
...
fix(swap): find oob targets in the document when the context element is detached
2026-09-07 11:52:07 -06:00
Eric Ryan Harrison
a346886486
Fixes @default comment on selfRequestsOnly config opt ( #3435 )
2026-09-07 11:47:44 -06:00
LincolnPuzey
142b857779
Docs: Clarify behavior and examples of hx-disabled-elt in the docs ( #3522 )
...
Clarify behavior and examples of hx-disabled-elt in the docs
Fixes https://github.com/bigskysoftware/htmx/issues/3081
2026-09-07 11:39:58 -06:00
Carson Gross
d7ce372c7e
tighten afterRequest successful and failed wording
2026-09-07 11:34:59 -06:00
James Barlow and Claude Opus 4.7
fa901f4285
docs: clarify afterRequest successful/failed reflect responseHandling rule ( #3440 ) ( #3770 )
...
The htmx:afterRequest docs described `detail.successful` and `detail.failed`
purely in terms of "20x status code", but the actual logic uses the matched
htmx.config.responseHandling rule's `error` flag. When users customize
responseHandling to allow non-2xx responses to swap (e.g.
`{"code":"...", "swap": true}` without `error: true`), those responses are
also marked `successful` — a behavior that surprised the issue reporter.
Updates the descriptions of both detail.successful and detail.failed to
accurately reference responseHandling, while preserving the default
"20x = successful" framing as a parenthetical default-behavior note.
Adds an explicit note about the custom responseHandling case.
No code change; this aligns documentation with the existing intentional
behavior confirmed by @MichaelWest22 in the issue.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-09-07 11:34:35 -06:00
Carson Gross
08a47bbc5b
drop inaccurate request body claim from hx-vals
2026-09-07 10:16:08 -06:00
Carson Gross
1bb1edfc07
malformed hx-vals logs an error, it is not silent
2026-09-07 10:15:27 -06:00
Yuji Teshima
6dcd284e04
docs: improve hx-vals documentation for use with hx-post ( #3619 )
...
- Add section explaining hx-vals works with all HTTP methods (POST, PUT, etc.)
- Document the difference between GET (query params) and non-GET (request body)
- Add JSON syntax requirements section with common pitfalls
- Clarify that malformed JSON is silently ignored
Fixes #1134
2026-09-07 10:15:04 -06:00
Carson Gross
de12a94244
correct find/findAll jsdoc: root is not included
2026-09-07 10:02:06 -06:00
Carson Gross
eb476dd334
point findAll reference link at the findAll anchor
2026-09-07 10:01:29 -06:00
Luiz Campos
e000f544d8
docs: update htmx.find and htmx.findAll ( #3412 )
...
* update htmx.find and htmx.findAll docs
* update htmx.find() docs
2026-09-07 10:00:54 -06:00
Mikhail Alabugin
9d6ad447aa
docs: fix dead sinon fake-xhr link in README ( #3979 )
2026-09-07 09:58:36 -06:00
Ajani Bilby
4cc3bb8028
[+Extension] hx-keep, enables form and html content to persist across reloads. ( #3293 )
...
Update _index.md
2026-09-07 09:46:52 -06:00
Richard Ulmer
9e680a7df5
Clarify use of filters for polling triggers ( #3710 )
2026-09-07 09:45:31 -06:00
Christian Tanul
70a53a0f92
update docs that SSE + idiomorph requires htmx-ext-sse 2.2.4+ ( #3870 )
...
add note that SSE + idiomorph requires htmx-ext-sse 2.2.4+
2026-09-07 09:44:56 -06:00
Simon Hartley and scrhartley
c4a7ab2bc1
Docs: fix highlighting ( #3481 )
...
Fix broken highlighting
Co-authored-by: scrhartley <scrhartley@github.com >
2026-09-07 09:43:14 -06:00
Peter Volf
7597c47144
Docs: add new FastAPI server libraries with examples ( #3482 )
...
docs: add new FastAPI server libs with examples
2026-09-07 09:40:29 -06:00
Edgar Espina
e2442e98d9
java: server-example: jooby-htmx ( #3793 )
2026-09-07 09:37:52 -06:00
Carson Gross
42ee36d48c
trim reportValidityOfForms config row
2026-09-07 09:35:49 -06:00
Menno Holtkamp
b34cb893b6
Add htmx.config.reportValidityOfForms to config section ( #3657 )
2026-09-07 09:33:46 -06:00
Carson Gross
de8d2c33c2
point logNone reference link at the logNone anchor
2026-09-07 09:31:40 -06:00
Luke LaValva
95b7f8784d
docs: add htmx.logNone() to reference documentation ( #3660 )
...
Add htmx.logNone() to reference documentation
2026-09-07 09:31:21 -06:00
Khalid Abuhakmeh
2aeda036f1
Fix broken link in extensions table for "optimistic" extension. ( #3614 )
2026-09-07 09:30:50 -06:00
Zubair Ibn Zamir
bd33f932f5
docs: fix typos in CHANGELOG and TESTING ( #3999 )
...
degredation -> degradation, commiting -> committing, test/attribues -> test/attributes
2026-09-07 09:27:12 -06:00
Alec Gargett
78da935c27
Minor correction "too" -> "to" in the-fetchening.md ( #3598 )
2026-09-07 09:26:00 -06:00
Carson Gross
c9987b6d9b
Boosted forms do push a history entry
2026-09-07 03:31:04 -06:00
Carson Gross
9b881c896a
Clarify next and previous selector scan is not limited to siblings
2026-09-06 17:22:57 -06:00
Carson Gross
5065304277
Document hx-select unset
2026-09-06 17:04:31 -06:00
Carson Gross
1f4becbcff
Fix for https://github.com/bigskysoftware/htmx/issues/3959
...
Fall back to the document when the context element is detached, so oob
targets that are still in the document stay reachable.
2026-09-06 16:23:17 -06:00
Carson Gross
cecc942549
Merge pull request #3969 from MichaelWest22/node-updates
...
update node dev dependencies
package-lock.json was regenerated to resolve the conflict with dev.
2026-09-06 16:00:50 -06:00
Carson Gross
9149ac1eef
Merge branch 'master' into dev
2026-09-06 11:50:02 -06:00
Shawn Duncan and Shawn P. Duncan
97bd77a0ee
Add 4.x to supported versions in SECURITY.md ( #4015 )
...
Co-authored-by: Shawn P. Duncan <code@sd.shawnduncan.org >
2026-09-06 11:49:18 -06:00
Carson Gross
ee25a69368
Merge branch 'master' into dev
2026-09-06 11:47:50 -06:00
Carson Gross and Claude Opus 5
37dd57c11a
use code=='KeyD' in keyboard shortcut example
...
Alt is a composing modifier on OSX, so key is not 'D'.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-06 11:47:20 -06:00
1cg
1c910b8118
Remove dupe ( #4026 )
2026-09-06 11:27:03 -06:00
Carson Gross
871f51380a
Merge remote-tracking branch 'origin/master' into dev
2026-09-06 10:57:07 -06:00