126 Commits

Author SHA1 Message Date
Alexander Petros
4af2f75ae1 Run linter with 'npm run test' 2024-01-18 10:22:15 -05: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
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
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
Carson Gross
ff20f880ee bump for next version 2023-08-31 09:54:39 -06:00
Carson Gross
b3a4a5fc1a prep 1.9.5 release 2023-08-24 12:38:20 -06:00
Carson Gross
f3a6975b8e prep 1.9.4 release 2023-07-25 13:39:48 -06:00
Alexander Petros
449fc9df04
Remove engine from package.json (#1589)
The engine is intended to signify that node 15 should be used for
development, but it's causing issues for people who have node in
"strict-engine" mode.
2023-07-17 15:05:13 -06:00
Alexander Petros
d3788776d6
Fix clearWorkArea test util function (#1507)
Update the clearWorkArea function so that it doesn't error if there was
never a work area set up to begin with. This was causing the `npm test`
target to end with an error code.

The package-lock.json update happens on a fresh install with node 15, so
I'm including it here to make sure that the tests passing is
reproducible. I also updated the package.json file to warn you if you're
not running node 15.
2023-06-24 14:22:22 -06:00
Carson Gross
c96f01e81e bump verison + add this symbol in filter expressions 2023-05-02 14:52:54 -06:00
Carson Gross
6c0aa11f62 bump to 1.9.2 2023-04-28 11:28:12 -06:00
Carson Gross
a807a5f08e bump version 2023-04-20 17:13:30 -06:00
Carson Gross
2887a76508 update npm deps 2023-04-11 09:49:55 -06:00
Carson Gross
8fed7400a5 remove 11ty! 2023-04-06 11:15:25 -06:00
Carson Gross
5e12b33ed1 1.9.0 release prep 2023-03-31 07:07:34 -06:00
Carson Gross
36780c034f bump version 2023-03-15 16:25:52 -06:00
Deniz Akşimşek
017a37119d
Vanquish Sass (#1312) 2023-03-01 12:02:01 -07:00
Carson Gross
ef02709a3e bump version 2023-02-16 09:25:34 -07:00
Carson Gross
307e3eb227 prep for 1.8.5 release 2023-01-17 13:38:51 -07:00
Carson Gross
4968c41e8b Merge branch 'master' into dev 2023-01-17 13:07:15 -07:00
Carson Gross
43d36af560 fix type reference 2023-01-01 17:22:48 -07:00
dependabot[bot]
b58bb795fb
Bump flat and mocha (#1182)
Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.


Updates `flat` from 4.1.1 to 5.0.2
- [Release notes](https://github.com/hughsk/flat/releases)
- [Commits](https://github.com/hughsk/flat/compare/4.1.1...5.0.2)

Updates `mocha` from 7.2.0 to 10.2.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v10.2.0)

---
updated-dependencies:
- dependency-name: flat
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 10:08:59 -06:00
Denis Palashevskii
36b017bc26
Add events support for WebSockets (#1126)
* Add events support for WebSockets

* Stop reconnection attempts after element has been removed

* Add tests for websockets

* Hide socker wrapper behind a more strict interface to avoid breaking changes in the future

* Fix legacy websocket tests interfering with new extension tests

* Minor doc fixes

* Add `wsBinaryType` configuration option
2022-12-03 16:53:59 -06:00
Carson Gross
90db47fbea bump version 2022-12-01 08:05:32 -07:00
Carson Gross
822132d6a2 i am once again asking revealed to work in htmx 2022-11-05 09:17:26 -06:00
Carson Gross
5f2e19df3f Merge branch 'master' of github.com:bigskysoftware/htmx 2022-11-04 19:14:19 -06:00
Piotr Tomiak
57394ce373
Web Types: rename, update schema, add css classes and register in package.json (#1101) 2022-10-28 21:34:45 -06:00
Carson Gross
e05c3fec29 bump to 1.8.3 for next release 2022-10-18 13:18:23 -06:00
Carson Gross
9af34ce0e3 fix revealed bug 2022-10-12 22:46:02 -06:00
Carson Gross
978950e916 1.8.1 release prep 2022-10-04 13:41:57 -06:00
Carson Gross
83b60f41f1 1.8 release prep 2022-07-11 13:57:23 -06:00
Carson Gross
87e69fcd69 introduce hx-replace-url
fixes https://github.com/bigskysoftware/htmx/issues/436
2022-06-16 13:22:48 -06:00
Carson Gross
2dfffb5182 bump sass :( 2022-05-12 17:35:49 -06:00
carson
0e69b6d064 Merge remote-tracking branch 'origin/dev' into dev 2022-04-07 13:50:07 -06:00
carson
74f520cf8b bump for next version of htmx 2022-04-07 13:49:57 -06:00
Denis Palashevskii
70b4ad16f0
Add data-loading-aria-busy directive for loading-states extension (#864)
* Add data-loading-aria-busy directive for loading-states extension; add tests for the extension

* Update docs

* Fix tests of scoped loading states

* Commit test files

* Improve delay tests by using sinon timer

* Add reference to MDN about `aria-busy` attribute
2022-04-07 13:34:41 -06:00