63 Commits

Author SHA1 Message Date
Carson Gross
8b59cb9383 docs + config of head handling 2024-01-05 13:11:30 -07:00
Carson Gross
f685b57332 docs update 2023-12-27 14:56:09 -07:00
Carson Gross
ff96b78e77 move to template parsing by default (prep for head support) 2023-12-27 14:42:14 -07:00
Carson Gross
90096a6869 add some docs 2023-12-24 16:24:07 -07:00
Carson Gross
adbdc71c81 add another test for inheritance disabling 2023-12-24 15:06:11 -07:00
Carson Gross
42668c6df7 Merge branch 'v2.0v2.0' into disable-inheritance
# Conflicts:
#	src/htmx.js
#	www/content/docs.md
2023-12-24 14:55:11 -07:00
Vincent
67cfbcf6bc update docs on oob swaps 2023-12-21 12:52:57 -07:00
Vincent
afb36ac6e6 Removed outdated note in oob swap documentation (#2119)
(cherry picked from commit 0b7a68e352bbbd54e22bf7f9e4301959cad2de99)
2023-12-21 12:45:41 -07:00
Carson Gross
0eb8190342 Merge branch 'dev' into v2.0v2.0 2023-12-14 14:34:29 -07:00
Vincent
4057f9c465
Trigger specs cache indentation fix + documentation & tests (#2094)
* Fix parseAndCacheTrigger indentation as discussed in #1540

https://github.com/bigskysoftware/htmx/pull/1540#issuecomment-1834651800

* Trigger specs cache documentation + tests
2023-12-14 11:44:11 -07:00
Carson Gross
291cc1ee7d docs for inheritance disabling 2023-12-13 17:27:55 -07:00
Carson Gross
cd176d61d7 remove legacy hx-on= syntax 2023-12-13 14:59:48 -07:00
Carson Gross
22fde35674 Merge branch 'dev' into v2.0v2.0 2023-12-13 14:46:37 -07:00
Carson Gross
b75962b9bb update docs 2023-12-13 14:45:47 -07:00
Carson Gross
3be4202e5e add support for dashes in hx-on* attributes 2023-12-07 15:15:10 -07:00
Carson Gross
3b65f85784 bump version for next release 2023-11-30 15:13:53 -07:00
Carson Gross
5c42b3442b flip defaults for 2.0 2023-11-21 14:57:52 -07:00
Carson Gross
555522baaa sha for release 2023-11-21 11:44:50 -07:00
Carson Gross
242f6631fa Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	www/content/docs.md
2023-11-16 16:53:23 -07:00
Carson Gross
a59a10baad bump for next version 2023-11-16 16:52:11 -07:00
Joe Taber
f716383716
Add configuration options list to reference docs (#1927)
Could not figure out how to import directly from docs.md with zola.
2023-11-10 21:31:29 -05:00
Vincent
9c87f40bd4
Homogenize configuration docs (#1973)
* Homogenize configuration docs

* Remove source change
2023-11-10 14:23:28 -05:00
Carson Gross
953ce54b7e update sha 2023-11-07 10:02:07 -07:00
Carson Gross
6fe62580e0 prep 1.9.8 release 2023-11-06 18:03:43 -07:00
Carson Gross
c1b4101def re-prep 1.9.7 release 2023-11-03 20:53:16 -06:00
Carson Gross
3912e3c2c2 prep 1.9.7 release 2023-11-02 15:28:53 -06:00
Thomas de Queiroz Barros
590fddaf04
Improve request/response documentation in docs.md (#1839)
* docs+reference: merge Response Headers docs

* docs+reference: merge Request Headers docs

* docs+reference: use true as strings
2023-10-03 16:06:29 -04:00
Sören Maschmann
2a34b304e1
Update docs.md (#1846)
fix: spelling mistake 'docuemnt' in swap-options
2023-10-01 19:26:58 +02:00
Carson Gross
04250d57f4 update SHA 2023-09-21 17:22:02 -06:00
Carson Gross
a5fd1b7081 make singular to make more consistent w/ other attributes 2023-09-21 16:57:28 -06:00
Carson Gross
4189eeaa0c Merge branch 'master' into dev
# Conflicts:
#	package-lock.json
#	package.json
2023-09-20 09:15:53 -06:00
Carson Gross
af0dc9c352 add hx-disabled-elts functionality 2023-09-14 13:20:46 -06:00
gbourant
4af437a4e1
Add example of how to structure binary-data forms without data loss (#1670)
* prevent binary data loss by restructuring forms.

* Update www/content/docs.md

Co-authored-by: Denis Palashevskii <20725046+Renerick@users.noreply.github.com>

* moved the example to example directory

* Updated documentation based on feedback

---------

Co-authored-by: gbourant <root@gbourant.com>
Co-authored-by: Denis Palashevskii <20725046+Renerick@users.noreply.github.com>
2023-09-01 14:42:14 -04:00
Carson Gross
c230931d42 support ability to ignore new title tags via config, event and hx-swap 2023-08-31 10:54:47 -06:00
Carson Gross
ff20f880ee bump for next version 2023-08-31 09:54:39 -06:00
Carson Gross
cff09999cf update docs and changelog 2023-08-24 13:10:05 -06:00
Carson Gross
b26ca40b0c update sha 2023-08-24 12:38:46 -06:00
Carson Gross
b3a4a5fc1a prep 1.9.5 release 2023-08-24 12:38:20 -06:00
Carson Gross
36e6a426f9 security improvement
- add the `htmx.config.allowScriptTags` option
2023-07-31 12:12:44 -06:00
Carson Gross
19cb15caef security improvements
- add the `htmx.config.selfRequestsOnly` option
- add the `htmx:validateUrl` event
- better security documentation (incomplete, need to finish CORS)
2023-07-31 11:31:42 -06:00
Carson Gross
f3a6975b8e prep 1.9.4 release 2023-07-25 13:39:48 -06:00
Viktor Szépe
0a471dc4fb
Fix typos in www/ (#1579) 2023-07-17 10:26:27 -04:00
Carson Gross
5c6805a19c slide in one change, what could go wrong? 2023-07-14 14:28:53 -06:00
Carson Gross
ec0c11c460 update sha 2023-07-14 14:16:37 -06:00
Carson Gross
2edb023f20 Merge branch 'master' into dev
# Conflicts:
#	www/content/docs.md
2023-07-14 13:52:14 -06:00
Carson Gross
05a1f8cba7 Merge remote-tracking branch 'origin/dev' into dev 2023-07-14 13:50:31 -06:00
Steve Russo
59f5073371
fix grammer and typo in Response Headers docs section (#1536) 2023-07-10 15:55:27 -06:00
Alexander Petros
febfa1c6a7
Add configs to choose between ecoding parameters in the URL or request body (#1525)
* Allow extensions to set request bodies for GET and DELETE

Even though the semantics of request bodies for GET and DELETE are
undefined, it is legal to set request bodies for them. By default, GET
and DELETE form parameters should be encoded as URLs. If, however, an
extension defines `encodeParameters`, that should override the default
and set the request bodies for GET and DELETE methods, just like it does
for all the other HTTP methods.

* Don't use URL params by default with DELETE

* Re-enable skipped DELETE test

* Remove reference to DELETE in comment

* Add "useUrlParams" to requestConfig

* Add config.methodsThatUseUrlParams

* Add methodsThatUseUrlParams config tests

* Don't switch to body params based on extension
2023-07-10 15:52:01 -06:00
Vincent
dd53ca0a75
Doc - make it clear that closest can return the element itself #1487 (#1488) 2023-06-15 11:48:32 -06:00
Denis Palashevskii
4d84af4a58
fix typo in scripting example (#1470)
Replace htmx:beforeRequest with htmx:configRequest
2023-06-07 15:00:56 -06:00