194 Commits

Author SHA1 Message Date
Carson Gross
c917b4e880 prep release 2025-12-09 10:20:10 -07:00
Carson Gross
30371270f7 regen release 2025-12-06 16:44:27 -07:00
Carson Gross
7972c4ea5a update distribution & web 2025-12-06 11:36:57 -07:00
Stu Kennedy
7510030e59
Websocket extension for HTMX (#3547)
* feat: add hx-ws WebSocket extension with accompanying tests and debug utilities.

* feat: Refine WebSocket extension initialization and processing logic, preventing re-initialization and ensuring comprehensive element handling.

* refactor: Enhance WebSocket connection handling with improved event triggering and dynamic configuration management

* refactor: Introduce dynamic configuration management for WebSocket connections, consolidating default settings into a dedicated function for improved maintainability and clarity.

* refactor: Update WebSocket extension to improve reconnection logic and dynamic configuration handling, enhancing maintainability and clarity.

* docs: Expand WebSocket extension documentation with detailed architecture, attributes, message formats, and example use cases for improved clarity and usability.

* refactor: Update WebSocket message structure to include default values for channel and format, enhancing clarity in documentation and implementation.

* feat: Add default `channel` and `format` values to WebSocket messages if not provided.
2025-11-23 11:38:02 -07:00
MichaelWest22
d569ce6ccf
move to registerExtension to avoid extension upgrade confusion (#3546)
* move to registerExtension to avoid extension upgrade confusion

* Also fix window.htmx export to make modules work with extensions and add initial types file

* update docs on module use

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-22 10:58:38 -07:00
Carson Gross
6225ad3743 prep alpha3 release 2025-11-18 10:45:26 -07:00
Carson Gross
5690bbc64c alpha2 prep 2025-11-10 12:14:17 -07:00
Carson Gross
dbbda6b9f4 rebuild and re-www 2025-11-09 18:23:51 -07:00
Carson Gross
0e254520af start re-implementing scroll & show, still needs focus
website now uses real preload extension!
2025-11-09 18:18:37 -07:00
Carson Gross
29d1f765a4 update build task to include extensions 2025-11-09 17:22:25 -07:00
Carson Gross
a419bc81f2 switch to hx-partial 2025-11-09 08:18:24 -07:00
Carson Gross
503313c42b add etag support 2025-11-08 19:54:13 -07:00
Carson Gross
76cb4bdea9 updated team 2025-11-08 19:27:59 -07:00
Carson Gross
3858a82242 test reorg and docs 2025-11-06 11:30:55 -07:00
Carson Gross
387b6f38d3 add distribution for dist 2025-11-03 10:15:12 -07:00
Carson Gross
2d0839a928 move code into four branch 2025-10-26 13:26:44 -06:00
Carson Gross
49d6aa3752 prep 2.0.8 release 2025-10-24 20:42:29 -06:00
Carson Gross
449c8e9531 prep next release 2025-09-07 12:13:49 -06:00
Carson Gross
599d152c48 prep 2.0.6 release 2025-06-27 07:40:21 -06:00
Carson Gross
fe7f103eab prep 2.0.6 release 2025-06-27 07:39:35 -06:00
Carson Gross
683c0e8ae2 prep 2.0.5 release 2025-06-20 15:29:01 -06:00
Carson Gross
4f95de2e58 prep 2.0.5 release 2025-06-20 15:21:29 -06:00
Carson Gross
1d01b94b90 prep v2.0.5 2025-06-19 10:24:09 -06:00
Sebastian Davids
1d1a3ceeee
Fix JSDoc of getRespCodeTarget (#3235)
Signed-off-by: Sebastian Davids <sdavids@gmx.de>
2025-03-17 08:06:06 +01:00
Carson Gross
52db21955e prep next release 2024-12-12 13:13:37 -07:00
Carson Gross
5b2fe2c19c move general extension docs back to htmx.org/extensions and include core extension documentation on the site 2024-10-03 18:52:59 -06:00
Carson Gross
f4e67863d9 release prep 2024-10-02 22:06:56 -06:00
Carson Gross
56f801f69d release prep 2024-10-02 21:09:37 -06:00
Carson Gross
9b9bb7b5fa release prep 2024-10-02 20:20:57 -06:00
MichaelWest22
2ba7fd280e
Upgrade Typescript to move configuration from const to let (#2853)
* typescript upgrade v5.5.4

* fix dist
2024-08-29 10:30:51 -06:00
Carson Gross
97b8c68dd3 release prep 2024-08-05 13:53:08 -06:00
Carson Gross
ce46e436fd handle situation where body has been deleted
fixes https://github.com/bigskysoftware/htmx/issues/2710
2024-08-05 13:18:03 -06:00
Alexandre Spaeth
6a800e8085
Generate .d.ts file from the esm module (#2733) (#2734)
Co-authored-by: Alexandre Spaeth <alex_erson@users.noreply.github.com>
2024-07-26 00:26:59 -04:00
Carson Gross
c3ecbcc8d8 update release 2024-07-12 11:13:29 -06:00
Carson Gross
20e41c85eb Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	package-lock.json
2024-06-27 13:37:39 -06:00
Alexander Petros
e1143de850
Generate .d.ts file in build script (#2653)
* Generate .d.ts file in build script

Resolves: #2629

* Streamline configuration options

Delete the JSConfig so we don't have to un-specify options when checking
vs generating (and also to remove a config file). Steamline the options
by re-using the NPM commands.

* Remove type generating from dev script
2024-06-20 11:18:47 -06:00
Carson Gross
59a1f00bba re-add extensions 2024-06-17 12:48:09 -06:00
Carson Gross
505a093ba7 2.0 release 2024-05-23 13:15:37 -06:00
Carson Gross
65ab27bb55 prep htmx 2 beta4 2024-05-22 14:57:07 -06:00
Carson Gross
12675fd1d4 prep beta4 2024-05-16 16:39:48 -06:00
Carson Gross
74744ac337 prep for 2.0.0-beta3 release 2024-04-17 11:04:49 -06:00
Carson Gross
6da79f2e32 restore htmx 1.x extensions for CDN compatibility 2024-03-26 15:58:10 -06:00
Carson Gross
bf69273701 beta2 2024-03-21 16:02:23 -06:00
Carson Gross
ddb7597629 add warning if people aren't using the correct version of extensions 2024-03-21 15:41:17 -06:00
Carson Gross
28c9d18646 add back in 1.x extensions in /dist 2024-03-14 16:49:54 -06:00
Carson Gross
e3330db4a3 prep beta1 2024-03-13 16:00:27 -06:00
Carson Gross
c16758a198 alpha2 2024-02-09 11:13:47 -07:00
Carson Gross
3fa7df1d23 Merge branch 'dev' into v2.0v2.0
# Conflicts:
#	dist/ext/sse.js
#	dist/htmx.d.ts
#	dist/htmx.js
#	dist/htmx.min.js
#	dist/htmx.min.js.gz
#	src/htmx.js
#	test/core/parameters.js
#	www/content/docs.md
2024-01-15 14:26:50 -07:00
Carson Gross
b1e15c08cc more release prep 2023-12-21 17:37:15 -07:00
Alexander Petros
54c89e4e3e Add AMD distribution 2023-12-21 12:39:07 -05:00