160 Commits

Author SHA1 Message Date
Carson Gross
49d6aa3752 prep 2.0.8 release 2025-10-24 20:42:29 -06:00
MichaelWest22
56299971ce Update Node Versions and types to fix latest tsc upgrade issues (#3455)
* Update Node Versions and types to fix latest tsc upgrade issues

* fix playwright only test filtering that has broken from playwright browser updates

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-10-14 05:19:20 -06:00
Carson Gross
449c8e9531 prep next release
Some checks failed
Node CI / test_suite (push) Has been cancelled
2025-09-07 12:13:49 -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
Simon Hartley
3c1ac71573 Follow up to #3234 (#3334)
* Follow up to #3234

Add missing part of migration from UNPKG to jsDelivr

* Restore UNPKG support in package.json

---------

Co-authored-by: scrhartley <scrhartley@github.com>
2025-06-16 16:37:26 -06:00
Carson Gross
0aaab5a3c9 Merge branch 'master' into dev
# Conflicts:
#	package-lock.json
#	package.json
2025-06-02 11:52:35 -06:00
Piotr Tomiak
11ff1940f0 Automatically generate Web Types for the package based on current documentation (#3071) 2025-06-02 11:25:23 -06:00
Vincent
53c5cf6df7 Remove obsolete npm command + fix links to ws/sse extensions (#3208)
Remove obsolete npm command + fix links to ws/SSE
2025-06-02 11:21:11 -06:00
MichaelWest22
083dbcdd6f update web test-runner and remove temp summaryReporter workaournd (#3320)
* update web test-runner and remove temp summaryReporter workaournd

* Update error reporting to show in context of the test file and as a summary at the bottom
2025-05-22 07:17:16 +02:00
Simon Hartley
ff190eef26 Add substr lint (#3295)
Co-authored-by: scrhartley <scrhartley@github.com>
2025-04-28 07:15:03 +02:00
MichaelWest22
24a0106f76 Update testing framework to web-test-runner and improve code coverage (#3273)
* Fix old npm dependencies

* implement web-test-runner tests for headless alongside Mocha browser tests

* Increase test and code coverage

* update to 100% coverage and impove eslint

* Update testing Doco

* revert all htmx changes and updates/disable tests needed

* fix browser mocha test

* Default testing to use playwrite only instead of puppeter

* playwright install fix

* Imporve test summary reporting

* flatten false looks closer to original
2025-04-17 17:55:43 -06:00
Carson Gross
fb78106dc6 prep next release 2024-12-12 13:12:49 -07:00
Carson Gross
d9b4ada06b release prep 2024-10-02 20:19:43 -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
Alexandre Spaeth
a30e96b553 Fix package.json configuration for types (#2769)
* Generate .d.ts file from the esm module (#2733)

* Fix types annotation filename in package.json (#2734)

---------

Co-authored-by: Alexandre Spaeth <alex_erson@users.noreply.github.com>
2024-07-29 17:54:06 -04: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
2f38ac7c55 add sha as an npm command and update for release 2024-07-12 11:16:04 -06:00
Carson Gross
52b357089d bump version and make the esm version "main" 2024-06-27 13:40:02 -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
505a093ba7 2.0 release 2024-05-23 13:15:37 -06:00
Carson Gross
d7d1519be9 bump version 2024-05-22 15:05:06 -06:00
Carson Gross
74744ac337 prep for 2.0.0-beta3 release 2024-04-17 11:04:49 -06:00
Carson Gross
bf69273701 beta2 2024-03-21 16:02:23 -06:00
Carson Gross
e3330db4a3 prep beta1 2024-03-13 16:00:27 -06:00
Vincent
9a1cbfd2e9 Run types check in npm t (#2336 follow-up) 2024-03-03 16:06:32 +01:00
Vincent
f004978bbb JSdoc in htmx.js + generated TypeScript definition (#2336)
* JSdoc in htmx.js + generated TypeScript definition

* Tsc trick to avoid inlining functions and reduce diff

* Replace Queryable with ParentNode

* Simplify getRawAttribute type check
2024-02-21 15:34:59 -06:00
Carson Gross
c16758a198 alpha2 2024-02-09 11:13:47 -07:00
Carson Gross
fd775f84be fix version and lint 2024-01-23 12:53:58 -07:00
Carson Gross
0a2c375970 Merge remote-tracking branch 'origin/v2.0v2.0' into v2.0v2.0 2024-01-23 12:16:08 -07:00
Vincent
b9322450ff Migrate to FormData (#2226)
* use form data instead of plain objects [wip]

* FomData fixes + some JSDoc. TODO prevent multiple inclusions

* Linted code

* Prevent double value inclusions

---------

Co-authored-by: Deniz Akşimşek <deniz@denizaksimsek.com>
2024-01-23 12:15:18 -07:00
Alexander Petros
4af2f75ae1 Run linter with 'npm run test' 2024-01-18 10:22:15 -05: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
e16f1865a4 change license to 0 clause BSD 2024-01-15 06:03:09 -07:00
Alexander Petros
bf82b9c6b7 Update version in package.json 2024-01-13 17:27:02 -05:00
Carson Gross
9fbbd17672 reformat 2023-12-24 16:37:51 -07:00
Vincent
23d473291d Updated mocha, tests now work with node 20 (#2122)
* Updated mocha, tests now work with node 20

* Update package-lock.json

* Enable Node CI for v2.0v2.0 branch (#2123)

Run tests for v2.0v2.0 branch too

* Bump CI's node version to 20.x
2023-12-21 16:54:02 -05:00
Alexander Petros
290a78f6b0 Fix delete statement in two tests 2023-12-21 13:25:46 -05:00
Alexander Petros
4b890ce72d Run linter on the tests too 2023-12-21 13:22:10 -05:00
Alexander Petros
f0403924fb Add linter with our current violations disabled 2023-12-21 12:59:37 -05:00
Alexander Petros
1be703a142 Add standardJS format script
We're not enforcing it right now, but it's there if you want it.
2023-12-21 12:51:47 -05:00
Alexander Petros
7e484f65a4 Replace UMD with distribution script
This also includes a massive reformat of the htmx code, since the
indenting was changed. I used standardJS for this.
2023-12-21 12:20:48 -05:00
Carson Gross
3b65f85784 bump version for next release 2023-11-30 15:13:53 -07:00
Carson Gross
a59a10baad bump for next version 2023-11-16 16:52:11 -07:00
Carson Gross
6fe62580e0 prep 1.9.8 release 2023-11-06 18:03:43 -07:00
Alexander Petros
2c2bf5679f Remove type:module from package.json (#1968) 2023-11-06 19:00:37 +01:00
Carson Gross
3912e3c2c2 prep 1.9.7 release 2023-11-02 15:28:53 -06:00
Alexander Petros
a66a98b9ed Fix WS/SSE tests and replace go backend with NodeJS (#1876)
* Write WS and SSE test backend in node

* Refactor pages so that the URLs work

* Add tab highlighting script

* Fix stream with multiple events

* Fix highlighting on ext links

* Refactor WS code

* Support event trigger tests

* Add some jitter to the intervals

* Delete old go backend

* Update README with new info and credits

* Update top-level README

* Move ws to dev dependencies

* Remove extraneous go server

* Fix misplace comment
2023-10-12 15:54:40 -05:00
Carson Gross
4189eeaa0c Merge branch 'master' into dev
# Conflicts:
#	package-lock.json
#	package.json
2023-09-20 09:15:53 -06:00