Carson Gross
618a888087
release docs
2023-09-21 17:21:00 -06:00
Carson Gross
ecd990ee0f
prep release
2023-09-21 17:15:11 -06:00
Carson Gross
d42c3e990d
update CHANGELOG.md for 1.9.6 release
2023-09-21 17:12:57 -06:00
Carson Gross
baf80aed77
remove disable-element extension from the main docs
2023-09-21 16:59:52 -06:00
Carson Gross
a5fd1b7081
make singular to make more consistent w/ other attributes
2023-09-21 16:57:28 -06:00
Carson Gross
aa7ae144b5
Merge branch 'master' into dev
2023-09-21 15:48:07 -06:00
Carson Gross
d2a15ff13f
Merge remote-tracking branch 'origin/dev' into dev
2023-09-21 15:47:59 -06:00
Sascha Woo
32b58c41cb
Add support for event cancellation (preventDefault) in extensions ( #1456 )
...
ext: add support for event cancellation via preventDefault()
2023-09-21 15:44:42 -06:00
Vincent
bb5413dfd2
[Tests] Fix test pipeline timing issues ( #1818 )
...
Fix test pipeline timing issues
2023-09-21 15:43:49 -06:00
Carson Gross
aaee264565
clean up
2023-09-21 12:58:32 -06:00
Carson Gross
6aeca44243
clean up
2023-09-21 12:57:20 -06:00
Carson Gross
ffd4406e30
clean up
2023-09-21 12:56:18 -06:00
Carson Gross
709cfbf9bd
clean up
2023-09-21 12:53:40 -06:00
Carson Gross
6e37e981c6
clean up
2023-09-21 12:49:22 -06:00
Carson Gross
138650412b
Merge remote-tracking branch 'origin/master'
2023-09-21 12:46:50 -06:00
Carson Gross
73bfbb57b2
clean up
2023-09-21 12:46:41 -06:00
Alexander Petros
03b1ebea97
Add version number to test page ( #1813 )
...
Now that we only have a single test page, it's helpful to show which
version of htmx the tests are running against.
2023-09-21 12:11:40 -06:00
Sam Dudley
8da65b94e5
Fix swapError with hx-on and innerHTML swap ( #1371 )
...
Add tests for hx-on can handle being swapped using innerHTML
2023-09-21 12:11:02 -06:00
Jordan Stewart
0ec900c9e3
fix problem with styles at the start of the server content ( #1768 )
...
fix problem with styles at the start of the server content when navigating through history
2023-09-21 12:10:21 -06:00
Jordan Stewart
59f4da1d9d
fix problem with styles at the start of the server content ( #1768 )
...
fix problem with styles at the start of the server content when navigating through history
2023-09-21 12:10:04 -06:00
Vincent
1f55266c47
[Test] Add a test to ensure inputs outside form with form
attribute work properly ( #1815 )
...
Add a test to ensure inputs external to form work properly
2023-09-21 12:08:51 -06:00
Carson Gross
9c012f0848
clean up
2023-09-21 10:41:12 -06:00
Carson Gross
4534fd1592
standardize language
2023-09-21 10:31:35 -06:00
Carson Gross
9759f63e15
fix link
2023-09-21 10:29:53 -06:00
Carson Gross
87c34ddd40
add essay
2023-09-21 10:27:39 -06:00
Carson Gross
3e9cb68428
fix date
2023-09-21 10:21:13 -06:00
Carson Gross
c44a719eb8
fix date
2023-09-20 20:35:20 -06:00
Carson Gross
13904341ad
fix date
2023-09-20 15:33:00 -06:00
Carson Gross
16018128d9
cleanup
2023-09-20 10:24:24 -06:00
Carson Gross
cf1ed19a8c
add another stat
2023-09-20 10:22:49 -06:00
Carson Gross
46fe147c49
another react to htmx port
2023-09-20 10:21:03 -06:00
Carson Gross
4189eeaa0c
Merge branch 'master' into dev
...
# Conflicts:
# package-lock.json
# package.json
2023-09-20 09:15:53 -06:00
vsyaco
8e4f69a1d3
[Documentation] Small typo fix in modal-bootstrap.md response example ( #1804 )
...
Documentation: fixing small typo in modal-bootstrap.md
2023-09-19 16:40:05 -04:00
Jyri-Matti Lähteenmäki
048f98c87b
Extend client-side-templates to handle XSLT transformations ( #1210 )
...
extend client-side-templates to handle XSLT transformations
2023-09-19 11:08:11 -05:00
Alexander Petros
d1288d202a
Remove old tests from the website ( #1733 )
...
The website used to host every past test suite, copied into the www
directory. We no longer need that on the website (and it makes the
codebase impossible to search) so I removed all the old tests and the
new tests are hosted simply at /test.
I also replaced the www.js script with a simpler www.sh one (since we no
longer need to do anything besides copying, really), which allowed me to
remove a node dependency that was only used in that script.
2023-09-19 11:07:24 -05:00
gbourant
66023f21f9
Fix typo in HX-Refresh documentation ( #1798 )
2023-09-18 09:08:55 +01:00
Carson Gross
af0dc9c352
add hx-disabled-elts
functionality
2023-09-14 13:20:46 -06:00
Carson Gross
77bdc2c1da
update package lock
2023-09-14 12:32:13 -06:00
Fran Peručić
7296c0d943
Support #anchor redirect refresh ( #1172 )
2023-09-14 10:59:48 -06:00
Sascha Woo
81ac34994a
Support event names with "." character ( #1453 )
...
hx-on throws an error when used with event names that contain dots
2023-09-14 10:58:42 -06:00
Sascha Woo
f15795e79c
Allow hx-swap options to be used without specifying modifier (innerHTML remains the default) ( #1455 )
...
* hx-swap: make swap style optional
* hx-swap: log an error when an unknown option or modifier is used
2023-09-14 10:57:30 -06:00
Ari
6e93780d8d
Allow disable-element extension to disable multiple elements ( #1650 )
...
* Update disable-element extension
Allow multiple elements to be selected in the query
* Remove unnecessary comments
https://github.com/bigskysoftware/htmx/pull/1650#discussion_r1278773982
* Change tab indentations to spaces
2023-09-14 10:47:21 -06:00
Beni
7d70b3a31e
Make htmx.ajax always return a Promise ( #1721 )
...
* Fix return type for htmx.ajax
* Add `@returns` statement to `htmx.ajax` types
* Make issueAjaxRequest return types consistent
The function now always returns a `Promise`.
It will be resolved when the request completes, or when it naturally
wasn't sent.
It will be rejected, when the return statement is preceeded by a call to
`triggerErrorEvent`.
2023-09-14 10:46:18 -06:00
Dave Ashby
e3a68c5e1b
Add support for array templates to the client-side templates extension ( #1776 )
...
Fix client-side template support for arrays (non-breaking)
Co-authored-by: Dave Ashby <david.h.ashby.ctr@nga.mil>
2023-09-14 10:41:32 -06:00
Jacob Ebey
89f13e6cf2
Support formaction and formmethod on <button> ( #1777 )
2023-09-14 10:40:39 -06:00
John Ritsema
3845e0f92e
adds another htmx/go example ( #1789 )
2023-09-12 13:15:19 -04:00
Ben Croker
7924e76daf
Add allowScriptTags
to docs ( #1770 )
...
Add `allowScriptTags`
2023-09-07 19:31:15 -04:00
Vincent
55c30b5607
Make htmx IE11 compatible again + tests IE11 compatible ( #1687 )
...
* Make htmx IE11 compatible again + tests IE11 compatible
* IE11 compatible handmade socket mock for ws-ext tests
* Fallback when xpath isn't supported, hx-on wildcard now working on IE11
* Merge remote-tracking branch 'upstream/relative-url-in-hx-boost' into ie11-compatibility
2023-09-06 09:55:18 -06:00
Alexander Petros
1763cfc64e
Use raw attribute href on hx-boost ( #1742 )
...
This resolves a bug when file system URLs are used on Windows. It
reverts part of a previous change where URLs were normalized prior to
the request in order to reduce key collisions in the history cache.
Because htmx's history cache is based entirely on response URLs, not
request URLs, I am reasonably confident that reverting this line doesn't
affect that optimization at all, but in any case it causes a bug which
is more important.
2023-09-06 09:54:43 -06:00
Vincent
8fa43b1293
[Doc] Fix missing beforeCleanupElement event in doc ( #1762 )
...
Fix missing beforeCleanupElement event in doc
2023-09-04 19:12:00 -04:00