diff --git a/.changeset/pre.json b/.changeset/pre.json index 415e4fd58..4475a3197 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -4,7 +4,26 @@ "initialVersions": { "@kitajs/fastify-html-plugin": "3.1.2", "@kitajs/html": "3.1.2", - "@kitajs/ts-html-plugin": "3.1.2" + "@kitajs/ts-html-plugin": "3.1.2", + "@kitajs/bench-html-kitajs": "1.0.0", + "@kitajs/bench-html-preact": "1.0.0", + "@kitajs/bench-html-react": "1.0.0", + "@kitajs/bench-html-reactjsx": "1.0.0", + "@kitajs/bench-html-runner": "1.0.0", + "@kitajs/bench-html-templates": "1.0.0", + "@kitajs/bench-html-typed-html": "1.0.0", + "@kitajs/bench-html-vhtml": "1.0.0" }, - "changesets": [] + "changesets": [ + "calm-games-lay", + "calm-pants-call", + "four-weeks-drum", + "gold-islands-brake", + "hot-meals-beam", + "kind-elephants-learn", + "long-elephants-work", + "mighty-kids-camp", + "ninety-panthers-collect", + "soft-chairs-explain" + ] } diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 332bcc983..52afc371d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ updates: - package-ecosystem: 'npm' directory: './' schedule: - interval: 'daily' + interval: 'weekly' - package-ecosystem: 'github-actions' directory: './' diff --git a/packages/fastify-html-plugin/CHANGELOG.md b/packages/fastify-html-plugin/CHANGELOG.md new file mode 100644 index 000000000..df56efea9 --- /dev/null +++ b/packages/fastify-html-plugin/CHANGELOG.md @@ -0,0 +1,33 @@ +# @kitajs/fastify-html-plugin + +## 4.0.0-next.0 + +### Major Changes + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Ported to ReactJSX + runtime. + +### Patch Changes + +- [`9b324af`](https://github.com/kitajs/html/commit/9b324afaf28e5accc27469e02527cd8c1c7d2608) + Thanks [@arthurfiorette](https://github.com/arthurfiorette)! - Simplified html stream + generation + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Updated Dependencies + +- Updated dependencies + [[`9b324af`](https://github.com/kitajs/html/commit/9b324afaf28e5accc27469e02527cd8c1c7d2608), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`f16f99f`](https://github.com/kitajs/html/commit/f16f99f1e8ebbc917dc86e587e5c5a49bb93a2dd), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`35fc753`](https://github.com/kitajs/html/commit/35fc753e23391d97a44f867833038c0e9f66cf37), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`35fc753`](https://github.com/kitajs/html/commit/35fc753e23391d97a44f867833038c0e9f66cf37), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca)]: + - @kitajs/html@4.0.0-next.0 + - @kitajs/ts-html-plugin@4.0.0-next.0 diff --git a/packages/fastify-html-plugin/package.json b/packages/fastify-html-plugin/package.json index fe687d379..775b320b5 100644 --- a/packages/fastify-html-plugin/package.json +++ b/packages/fastify-html-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@kitajs/fastify-html-plugin", - "version": "3.1.2", + "version": "4.0.0-next.0", "description": "A Fastify plugin to add support for @kitajs/html", "homepage": "https://github.com/kitajs/html/tree/master/packages/fastify-html-plugin#readme", "bugs": "https://github.com/kitajs/html/issues", @@ -25,9 +25,9 @@ "devDependencies": { "@fastify/formbody": "^7.4.0", "@swc-node/register": "^1.9.0", - "@swc/helpers": "^0.5.6", + "@swc/helpers": "^0.5.7", "@types/jsdom": "^21.1.6", - "@types/node": "^20.11.29", + "@types/node": "^20.11.30", "c8": "^9.1.0", "fastify": "^4.26.2", "jsdom": "^24.0.0", diff --git a/packages/html/CHANGELOG.md b/packages/html/CHANGELOG.md new file mode 100644 index 000000000..ed7423c48 --- /dev/null +++ b/packages/html/CHANGELOG.md @@ -0,0 +1,52 @@ +# @kitajs/html + +## 4.0.0-next.0 + +### Major Changes + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Ported to ReactJSX + runtime. + +### Patch Changes + +- [`9b324af`](https://github.com/kitajs/html/commit/9b324afaf28e5accc27469e02527cd8c1c7d2608) + Thanks [@arthurfiorette](https://github.com/arthurfiorette)! - Simplified html stream + generation + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Added support for + react-jsx runtime + +- [`f16f99f`](https://github.com/kitajs/html/commit/f16f99f1e8ebbc917dc86e587e5c5a49bb93a2dd) + Thanks [@arthurfiorette](https://github.com/arthurfiorette)! - Added vhtml to benchmarks + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Fixed triple slash + directives for jsx-runtime + +- [`35fc753`](https://github.com/kitajs/html/commit/35fc753e23391d97a44f867833038c0e9f66cf37) + Thanks [@arthurfiorette](https://github.com/arthurfiorette)! - Added support for + Alpine.js by @B-R-P + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Reserved 'key' attribute + to prevent use of it + +- [`35fc753`](https://github.com/kitajs/html/commit/35fc753e23391d97a44f867833038c0e9f66cf37) + Thanks [@arthurfiorette](https://github.com/arthurfiorette)! - Added dialog tag + definition + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Avoid hijacking fastify + reply + +- Updated dependencies + [[`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca)]: + - @kitajs/ts-html-plugin@4.0.0-next.0 diff --git a/packages/html/package.json b/packages/html/package.json index c6e0ef505..37f98ce95 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,6 +1,6 @@ { "name": "@kitajs/html", - "version": "3.1.2", + "version": "4.0.0-next.0", "description": "Fast and type safe HTML templates using TypeScript.", "homepage": "https://github.com/kitajs/html/tree/master/packages/html#readme", "bugs": "https://github.com/kitajs/html/issues", @@ -27,7 +27,7 @@ }, "devDependencies": { "@types/jsdom": "^21.1.6", - "@types/node": "^20.11.29", + "@types/node": "^20.11.30", "c8": "^9.1.0", "jsdom": "^24.0.0", "tslib": "^2.6.2", diff --git a/packages/ts-html-plugin/CHANGELOG.md b/packages/ts-html-plugin/CHANGELOG.md new file mode 100644 index 000000000..e502c5f57 --- /dev/null +++ b/packages/ts-html-plugin/CHANGELOG.md @@ -0,0 +1,29 @@ +# @kitajs/ts-html-plugin + +## 4.0.0-next.0 + +### Major Changes + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Ported to ReactJSX + runtime. + +### Patch Changes + +- [#129](https://github.com/kitajs/html/pull/129) + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca) + Thanks [@JacopoPatroclo](https://github.com/JacopoPatroclo)! - Avoid hijacking fastify + reply + +- Updated dependencies + [[`9b324af`](https://github.com/kitajs/html/commit/9b324afaf28e5accc27469e02527cd8c1c7d2608), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`f16f99f`](https://github.com/kitajs/html/commit/f16f99f1e8ebbc917dc86e587e5c5a49bb93a2dd), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`35fc753`](https://github.com/kitajs/html/commit/35fc753e23391d97a44f867833038c0e9f66cf37), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca), + [`35fc753`](https://github.com/kitajs/html/commit/35fc753e23391d97a44f867833038c0e9f66cf37), + [`f6a8c11`](https://github.com/kitajs/html/commit/f6a8c1184039ae6168b4890e094a6ffd434c45ca)]: + - @kitajs/html@4.0.0-next.0 diff --git a/packages/ts-html-plugin/package.json b/packages/ts-html-plugin/package.json index af2ca8d53..fbebbf669 100644 --- a/packages/ts-html-plugin/package.json +++ b/packages/ts-html-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@kitajs/ts-html-plugin", - "version": "3.1.2", + "version": "4.0.0-next.0", "homepage": "https://github.com/kitajs/html/tree/master/packages/ts-html-plugin#readme", "bugs": "https://github.com/kitajs/html/issues", "repository": { @@ -32,8 +32,8 @@ }, "devDependencies": { "@swc-node/register": "^1.9.0", - "@swc/helpers": "^0.5.6", - "@types/node": "^20.11.29", + "@swc/helpers": "^0.5.7", + "@types/node": "^20.11.30", "@types/yargs": "^17.0.32", "fast-defer": "^1.1.8", "self": "file:." diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0fa6cb936..6dcf9bf33 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -197,14 +197,14 @@ importers: specifier: ^1.9.0 version: 1.9.0(@swc/core@1.4.2)(@swc/types@0.1.5)(typescript@5.4.2) '@swc/helpers': - specifier: ^0.5.6 - version: 0.5.6 + specifier: ^0.5.7 + version: 0.5.7 '@types/jsdom': specifier: ^21.1.6 version: 21.1.6 '@types/node': - specifier: ^20.11.29 - version: 20.11.29 + specifier: ^20.11.30 + version: 20.11.30 c8: specifier: ^9.1.0 version: 9.1.0 @@ -234,8 +234,8 @@ importers: specifier: ^21.1.6 version: 21.1.6 '@types/node': - specifier: ^20.11.29 - version: 20.11.29 + specifier: ^20.11.30 + version: 20.11.30 c8: specifier: ^9.1.0 version: 9.1.0 @@ -271,11 +271,11 @@ importers: specifier: ^1.9.0 version: 1.9.0(@swc/core@1.4.2)(@swc/types@0.1.5)(typescript@5.3.3) '@swc/helpers': - specifier: ^0.5.6 - version: 0.5.6 + specifier: ^0.5.7 + version: 0.5.7 '@types/node': - specifier: ^20.11.29 - version: 20.11.29 + specifier: ^20.11.30 + version: 20.11.30 '@types/yargs': specifier: ^17.0.32 version: 17.0.32 @@ -663,7 +663,7 @@ packages: '@swc/core': '>= 1.3' '@swc/types': '>= 0.1' dependencies: - '@swc/core': 1.4.2(@swc/helpers@0.5.6) + '@swc/core': 1.4.2(@swc/helpers@0.5.7) '@swc/types': 0.1.5 dev: true @@ -675,7 +675,7 @@ packages: dependencies: '@swc-node/core': 1.13.0(@swc/core@1.4.2)(@swc/types@0.1.5) '@swc-node/sourcemap-support': 0.5.0 - '@swc/core': 1.4.2(@swc/helpers@0.5.6) + '@swc/core': 1.4.2(@swc/helpers@0.5.7) colorette: 2.0.20 debug: 4.3.4 pirates: 4.0.6 @@ -694,7 +694,7 @@ packages: dependencies: '@swc-node/core': 1.13.0(@swc/core@1.4.2)(@swc/types@0.1.5) '@swc-node/sourcemap-support': 0.5.0 - '@swc/core': 1.4.2(@swc/helpers@0.5.6) + '@swc/core': 1.4.2(@swc/helpers@0.5.7) colorette: 2.0.20 debug: 4.3.4 pirates: 4.0.6 @@ -802,7 +802,7 @@ packages: dev: true optional: true - /@swc/core@1.4.2(@swc/helpers@0.5.6): + /@swc/core@1.4.2(@swc/helpers@0.5.7): resolution: {integrity: sha512-vWgY07R/eqj1/a0vsRKLI9o9klGZfpLNOVEnrv4nrccxBgYPjcf22IWwAoaBJ+wpA7Q4fVjCUM8lP0m01dpxcg==} engines: {node: '>=10'} requiresBuild: true @@ -813,7 +813,7 @@ packages: optional: true dependencies: '@swc/counter': 0.1.3 - '@swc/helpers': 0.5.6 + '@swc/helpers': 0.5.7 '@swc/types': 0.1.5 optionalDependencies: '@swc/core-darwin-arm64': 1.4.2 @@ -832,8 +832,8 @@ packages: resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} dev: true - /@swc/helpers@0.5.6: - resolution: {integrity: sha512-aYX01Ke9hunpoCexYAgQucEpARGQ5w/cqHFrIR+e9gdKb1QWTsVJuTJ2ozQzIAxLyRQe/m+2RqzkyOOGiMKRQA==} + /@swc/helpers@0.5.7: + resolution: {integrity: sha512-BVvNZhx362+l2tSwSuyEUV4h7+jk9raNdoTSdLfwTshXJSaGmYKluGRJznziCI3KX02Z19DdsQrdfrpXAU3Hfg==} dependencies: tslib: 2.6.2 dev: true @@ -898,12 +898,6 @@ packages: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true - /@types/node@20.11.29: - resolution: {integrity: sha512-P99thMkD/1YkCvAtOd6/zGedKNA0p2fj4ZpjCzcNiSCBWgm3cNRTBfa/qjFnsKkkojxu4vVLtWpesnZ9+ap+gA==} - dependencies: - undici-types: 5.26.5 - dev: true - /@types/node@20.11.30: resolution: {integrity: sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==} dependencies: