From ae6ca2ec348fb7345154b7650c607bbb2d8dff07 Mon Sep 17 00:00:00 2001 From: Ryan Carniato Date: Tue, 18 Jun 2024 16:21:50 -0700 Subject: [PATCH 1/5] fix #1514 error header sanitization --- .changeset/curvy-ears-lay.md | 5 +++++ packages/start/src/runtime/server-handler.ts | 22 ++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 .changeset/curvy-ears-lay.md diff --git a/.changeset/curvy-ears-lay.md b/.changeset/curvy-ears-lay.md new file mode 100644 index 000000000..713f53744 --- /dev/null +++ b/.changeset/curvy-ears-lay.md @@ -0,0 +1,5 @@ +--- +"@solidjs/start": patch +--- + +fix #1514 error header sanitization diff --git a/packages/start/src/runtime/server-handler.ts b/packages/start/src/runtime/server-handler.ts index c137b724b..60b5b8643 100644 --- a/packages/start/src/runtime/server-handler.ts +++ b/packages/start/src/runtime/server-handler.ts @@ -2,16 +2,16 @@ import { crossSerializeStream, fromJSON, getCrossReferenceHeader } from "seroval"; // @ts-ignore import { - CustomEventPlugin, - DOMExceptionPlugin, - EventPlugin, - FormDataPlugin, - HeadersPlugin, - ReadableStreamPlugin, - RequestPlugin, - ResponsePlugin, - URLPlugin, - URLSearchParamsPlugin + CustomEventPlugin, + DOMExceptionPlugin, + EventPlugin, + FormDataPlugin, + HeadersPlugin, + ReadableStreamPlugin, + RequestPlugin, + ResponsePlugin, + URLPlugin, + URLSearchParamsPlugin } from "seroval-plugins/web"; import { sharedConfig } from "solid-js"; import { renderToString } from "solid-js/web"; @@ -202,7 +202,7 @@ async function handleServerFunction(h3Event: HTTPEvent) { setHeader(h3Event, "X-Error", "true"); } else if (instance) { const error = x instanceof Error ? x.message : typeof x === "string" ? x : "true"; - setHeader(h3Event, "X-Error", error); + setHeader(h3Event, "X-Error", error.replace(/[\r\n]+/g, "")); } else { x = handleNoJS(x, request, parsed, true); } From 5ba16a58908bbf29b0e30c8391c3ece783d34ce3 Mon Sep 17 00:00:00 2001 From: Ryan Carniato Date: Tue, 18 Jun 2024 16:36:18 -0700 Subject: [PATCH 2/5] bump router/vinxi in examples --- examples/bare/package.json | 2 +- examples/basic/package.json | 4 ++-- examples/experiments/package.json | 4 ++-- examples/hackernews/package.json | 4 ++-- examples/notes/package.json | 4 ++-- examples/todomvc/package.json | 4 ++-- examples/with-auth/package.json | 4 ++-- examples/with-authjs/package.json | 4 ++-- examples/with-drizzle/package.json | 4 ++-- examples/with-mdx/package.json | 4 ++-- examples/with-prisma/package.json | 4 ++-- examples/with-solid-styled/package.json | 4 ++-- examples/with-tailwindcss/package.json | 4 ++-- examples/with-trpc/package.json | 4 ++-- examples/with-unocss/package.json | 4 ++-- examples/with-vitest/package.json | 4 ++-- package.json | 4 ++-- packages/start/package.json | 2 +- 18 files changed, 34 insertions(+), 34 deletions(-) diff --git a/examples/bare/package.json b/examples/bare/package.json index 87efee94b..f4d7dfe8a 100644 --- a/examples/bare/package.json +++ b/examples/bare/package.json @@ -9,7 +9,7 @@ "dependencies": { "@solidjs/start": "^1.0.1", "solid-js": "^1.8.17", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/basic/package.json b/examples/basic/package.json index a8436cb19..a14c94bc4 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -9,10 +9,10 @@ }, "dependencies": { "@solidjs/meta": "^0.29.4", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "solid-js": "^1.8.17", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/experiments/package.json b/examples/experiments/package.json index 5b225a7bd..09e69a157 100644 --- a/examples/experiments/package.json +++ b/examples/experiments/package.json @@ -8,10 +8,10 @@ }, "dependencies": { "@solidjs/meta": "^0.29.4", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "solid-js": "^1.8.17", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 9a039472f..70543a0b6 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -7,10 +7,10 @@ "start": "vinxi start" }, "dependencies": { - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "solid-js": "^1.8.17", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/notes/package.json b/examples/notes/package.json index 68d1dc8fd..efb770e32 100644 --- a/examples/notes/package.json +++ b/examples/notes/package.json @@ -7,13 +7,13 @@ "start": "vinxi start" }, "dependencies": { - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "date-fns": "^3.6.0", "solid-js": "^1.8.17", "marked": "^12.0.1", "unstorage": "1.10.2", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/todomvc/package.json b/examples/todomvc/package.json index c4a148fba..d2211a64e 100644 --- a/examples/todomvc/package.json +++ b/examples/todomvc/package.json @@ -7,11 +7,11 @@ "start": "vinxi start" }, "dependencies": { - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "solid-js": "^1.8.17", "unstorage": "1.10.2", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/with-auth/package.json b/examples/with-auth/package.json index 7e5b00464..ea63939f1 100644 --- a/examples/with-auth/package.json +++ b/examples/with-auth/package.json @@ -10,11 +10,11 @@ "@types/node": "^20.12.7" }, "dependencies": { - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "solid-js": "^1.8.17", "unstorage": "1.10.2", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/with-authjs/package.json b/examples/with-authjs/package.json index d506ee515..bbdb269bf 100644 --- a/examples/with-authjs/package.json +++ b/examples/with-authjs/package.json @@ -19,10 +19,10 @@ "@babel/core": "7.24.4", "@solid-mediakit/auth": "^2.0.11", "@solidjs/meta": "^0.29.4", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "solid-js": "^1.8.17", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/with-drizzle/package.json b/examples/with-drizzle/package.json index 427a52a4c..ed6cbbca5 100644 --- a/examples/with-drizzle/package.json +++ b/examples/with-drizzle/package.json @@ -12,12 +12,12 @@ "drizzle-kit": "^0.21.4" }, "dependencies": { - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.0", "better-sqlite3": "^10.0.0", "drizzle-orm": "^0.30.10", "solid-js": "^1.8.17", - "vinxi": "0.3.11" + "vinxi": "0.3.12" }, "engines": { "node": ">=20" diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index bc3692198..1ef716042 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -8,11 +8,11 @@ }, "dependencies": { "@mdx-js/mdx": "^2.3.0", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "@vinxi/plugin-mdx": "^3.7.1", "solid-js": "^1.8.17", - "vinxi": "^0.3.11", + "vinxi": "^0.3.12", "solid-mdx": "^0.0.7" }, "engines": { diff --git a/examples/with-prisma/package.json b/examples/with-prisma/package.json index 972816606..d19565bee 100644 --- a/examples/with-prisma/package.json +++ b/examples/with-prisma/package.json @@ -11,11 +11,11 @@ }, "dependencies": { "@prisma/client": "^5.12.1", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "prisma": "^5.12.1", "solid-js": "^1.8.17", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/with-solid-styled/package.json b/examples/with-solid-styled/package.json index 7f99694cb..7824511f1 100644 --- a/examples/with-solid-styled/package.json +++ b/examples/with-solid-styled/package.json @@ -8,11 +8,11 @@ }, "dependencies": { "@solidjs/meta": "^0.29.4", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "solid-js": "^1.8.17", "solid-styled": "^0.11.1", - "vinxi": "^0.3.11", + "vinxi": "^0.3.12", "vite-plugin-solid-styled": "^0.11.1" }, "engines": { diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 593dfdb7b..d2b4fcf11 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -7,13 +7,13 @@ "start": "vinxi start" }, "dependencies": { - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "autoprefixer": "^10.4.19", "postcss": "^8.4.38", "solid-js": "^1.8.17", "tailwindcss": "^3.4.3", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/with-trpc/package.json b/examples/with-trpc/package.json index 06c88f9e8..b0f8fe095 100644 --- a/examples/with-trpc/package.json +++ b/examples/with-trpc/package.json @@ -8,14 +8,14 @@ }, "dependencies": { "@solidjs/meta": "^0.29.4", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "@trpc/client": "^10.45.2", "@trpc/server": "^10.45.2", "@typeschema/valibot": "^0.13.4", "solid-js": "^1.8.17", "valibot": "^0.29.0", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/with-unocss/package.json b/examples/with-unocss/package.json index 02ec36343..1b1619695 100644 --- a/examples/with-unocss/package.json +++ b/examples/with-unocss/package.json @@ -7,12 +7,12 @@ "start": "vinxi start" }, "dependencies": { - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "@unocss/reset": "^0.59.2", "solid-js": "^1.8.17", "unocss": "^0.59.2", - "vinxi": "^0.3.11" + "vinxi": "^0.3.12" }, "engines": { "node": ">=18" diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index a994c1263..9462a9bc2 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "type": "module", "devDependencies": { "@solidjs/meta": "^0.29.4", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "^1.0.1", "@solidjs/testing-library": "^0.8.7", "@testing-library/jest-dom": "^6.4.2", @@ -20,7 +20,7 @@ "jsdom": "^24.0.0", "solid-js": "^1.8.17", "typescript": "^5.4.5", - "vinxi": "^0.3.11", + "vinxi": "^0.3.12", "vite": "^5.2.8", "vite-plugin-solid": "^2.10.2", "vitest": "^1.5.0" diff --git a/package.json b/package.json index 580c137b8..6b3128684 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@kobalte/core": "^0.13.1", "@kobalte/utils": "^0.9.0", "@solidjs/meta": "^0.29.0", - "@solidjs/router": "^0.13.3", + "@solidjs/router": "^0.13.6", "@solidjs/start": "workspace:*", "@tailwindcss/typography": "^0.5.9", "@vinxi/plugin-mdx": "^3.7.1", @@ -56,7 +56,7 @@ "turbo": "^1.10.7", "typescript": "5.3.3", "valibot": "~0.29.0", - "vinxi": "^0.3.11", + "vinxi": "^0.3.12", "vite": "^5.1.1" }, "dependencies": { diff --git a/packages/start/package.json b/packages/start/package.json index d78f07782..8adbc9f74 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -60,7 +60,7 @@ }, "devDependencies": { "solid-js": "^1.8.17", - "vinxi": "^0.3.11", + "vinxi": "^0.3.12", "typescript": "^5.4.2" }, "dependencies": { From 0287c1b30dc14a22e9bfb679dc2281ffa1bae48b Mon Sep 17 00:00:00 2001 From: Ryan Carniato Date: Tue, 18 Jun 2024 16:40:32 -0700 Subject: [PATCH 3/5] attempt to fix favicon on docs --- app.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.config.ts b/app.config.ts index 24c6033e7..f342043b3 100644 --- a/app.config.ts +++ b/app.config.ts @@ -7,6 +7,9 @@ export default defineConfig({ // experimental: { islands: true }, server: { preset: "cloudflare_module", + alias: { + "_mime": "mime/index.js" + }, rollupConfig: { external: ["__STATIC_CONTENT_MANIFEST", "node:async_hooks"] } From d592ea15ca388056fccd3710e2cec2ef4f87686c Mon Sep 17 00:00:00 2001 From: Ryan Carniato Date: Tue, 18 Jun 2024 16:41:22 -0700 Subject: [PATCH 4/5] update lock --- pnpm-lock.yaml | 211 +++++++++++++++++++++++++++---------------------- 1 file changed, 117 insertions(+), 94 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fff040d55..7b0825ae4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,8 +31,8 @@ importers: specifier: ^0.29.0 version: 0.29.4(solid-js@1.8.17) '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: workspace:* version: link:packages/start @@ -106,8 +106,8 @@ importers: specifier: ~0.29.0 version: 0.29.0 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) vite: specifier: ^5.1.1 version: 5.2.11(@types/node@20.12.12) @@ -121,8 +121,8 @@ importers: specifier: ^1.8.17 version: 1.8.17 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/basic: dependencies: @@ -130,8 +130,8 @@ importers: specifier: ^0.29.4 version: 0.29.4(solid-js@1.8.17) '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -139,8 +139,8 @@ importers: specifier: ^1.8.17 version: 1.8.17 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/experiments: dependencies: @@ -148,8 +148,8 @@ importers: specifier: ^0.29.4 version: 0.29.4(solid-js@1.8.17) '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -157,14 +157,14 @@ importers: specifier: ^1.8.17 version: 1.8.17 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/hackernews: dependencies: '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -172,14 +172,14 @@ importers: specifier: ^1.8.17 version: 1.8.17 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/notes: dependencies: '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -196,14 +196,14 @@ importers: specifier: 1.10.2 version: 1.10.2(ioredis@5.4.1) vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/todomvc: dependencies: '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -214,14 +214,14 @@ importers: specifier: 1.10.2 version: 1.10.2(ioredis@5.4.1) vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/with-auth: dependencies: '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -232,8 +232,8 @@ importers: specifier: 1.10.2 version: 1.10.2(ioredis@5.4.1) vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) devDependencies: '@types/node': specifier: ^20.12.7 @@ -249,13 +249,13 @@ importers: version: 7.24.4 '@solid-mediakit/auth': specifier: ^2.0.11 - version: 2.0.11(@auth/core@0.29.0)(@solidjs/meta@0.29.4)(@solidjs/router@0.13.3)(@solidjs/start@packages+start)(solid-js@1.8.17)(vinxi@0.3.11) + version: 2.0.11(@auth/core@0.29.0)(@solidjs/meta@0.29.4)(@solidjs/router@0.13.6)(@solidjs/start@packages+start)(solid-js@1.8.17)(vinxi@0.3.12) '@solidjs/meta': specifier: ^0.29.4 version: 0.29.4(solid-js@1.8.17) '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -263,8 +263,8 @@ importers: specifier: ^1.8.17 version: 1.8.17 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) devDependencies: '@types/node': specifier: ^20.12.7 @@ -288,8 +288,8 @@ importers: examples/with-drizzle: dependencies: '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.0 version: link:../../packages/start @@ -303,8 +303,8 @@ importers: specifier: ^1.8.17 version: 1.8.17 vinxi: - specifier: 0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(better-sqlite3@10.0.0)(debug@4.3.4)(drizzle-orm@0.30.10) + specifier: 0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(better-sqlite3@10.0.0)(debug@4.3.4)(drizzle-orm@0.30.10) devDependencies: '@types/better-sqlite3': specifier: ^7.6.10 @@ -322,8 +322,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -337,8 +337,8 @@ importers: specifier: ^0.0.7 version: 0.0.7(solid-js@1.8.17)(vite@5.2.11) vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/with-prisma: dependencies: @@ -346,8 +346,8 @@ importers: specifier: ^5.12.1 version: 5.14.0(prisma@5.14.0) '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -358,8 +358,8 @@ importers: specifier: ^1.8.17 version: 1.8.17 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) devDependencies: '@types/node': specifier: ^20.12.7 @@ -371,8 +371,8 @@ importers: specifier: ^0.29.4 version: 0.29.4(solid-js@1.8.17) '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -383,8 +383,8 @@ importers: specifier: ^0.11.1 version: 0.11.1(solid-js@1.8.17) vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) vite-plugin-solid-styled: specifier: ^0.11.1 version: 0.11.1(solid-styled@0.11.1)(vite@5.2.11) @@ -392,8 +392,8 @@ importers: examples/with-tailwindcss: dependencies: '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -410,8 +410,8 @@ importers: specifier: ^3.4.3 version: 3.4.3 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/with-trpc: dependencies: @@ -419,8 +419,8 @@ importers: specifier: ^0.29.4 version: 0.29.4(solid-js@1.8.17) '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -440,14 +440,14 @@ importers: specifier: ^0.29.0 version: 0.29.0 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/with-unocss: dependencies: '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start @@ -461,8 +461,8 @@ importers: specifier: ^0.59.2 version: 0.59.4(postcss@8.4.38)(vite@5.2.11) vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) examples/with-vitest: devDependencies: @@ -470,14 +470,14 @@ importers: specifier: ^0.29.4 version: 0.29.4(solid-js@1.8.17) '@solidjs/router': - specifier: ^0.13.3 - version: 0.13.3(solid-js@1.8.17) + specifier: ^0.13.6 + version: 0.13.6(solid-js@1.8.17) '@solidjs/start': specifier: ^1.0.1 version: link:../../packages/start '@solidjs/testing-library': specifier: ^0.8.7 - version: 0.8.8(@solidjs/router@0.13.3)(solid-js@1.8.17) + version: 0.8.8(@solidjs/router@0.13.6)(solid-js@1.8.17) '@testing-library/jest-dom': specifier: ^6.4.2 version: 6.4.5(vitest@1.6.0) @@ -497,8 +497,8 @@ importers: specifier: ^5.4.5 version: 5.4.5 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) vite: specifier: ^5.2.8 version: 5.2.11(@types/node@20.12.12) @@ -567,13 +567,13 @@ importers: dependencies: '@vinxi/plugin-directives': specifier: ^0.3.1 - version: 0.3.1(vinxi@0.3.11) + version: 0.3.1(vinxi@0.3.12) '@vinxi/server-components': specifier: ^0.3.3 - version: 0.3.3(vinxi@0.3.11) + version: 0.3.3(vinxi@0.3.12) '@vinxi/server-functions': specifier: ^0.3.2 - version: 0.3.2(vinxi@0.3.11) + version: 0.3.2(vinxi@0.3.12) defu: specifier: ^6.1.2 version: 6.1.4 @@ -618,8 +618,8 @@ importers: specifier: ^5.4.2 version: 5.4.5 vinxi: - specifier: ^0.3.11 - version: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + specifier: ^0.3.12 + version: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) packages: @@ -1338,6 +1338,7 @@ packages: cpu: [arm64] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/android-arm64@0.18.7: @@ -1380,6 +1381,7 @@ packages: cpu: [arm] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/android-arm@0.18.7: @@ -1422,6 +1424,7 @@ packages: cpu: [x64] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/android-x64@0.18.7: @@ -1464,6 +1467,7 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true optional: true /@esbuild/darwin-arm64@0.18.7: @@ -1506,6 +1510,7 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true optional: true /@esbuild/darwin-x64@0.18.7: @@ -1548,6 +1553,7 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true + dev: true optional: true /@esbuild/freebsd-arm64@0.18.7: @@ -1590,6 +1596,7 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true optional: true /@esbuild/freebsd-x64@0.18.7: @@ -1632,6 +1639,7 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-arm64@0.18.7: @@ -1674,6 +1682,7 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-arm@0.18.7: @@ -1716,6 +1725,7 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-ia32@0.18.7: @@ -1758,6 +1768,7 @@ packages: cpu: [loong64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-loong64@0.18.7: @@ -1800,6 +1811,7 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-mips64el@0.18.7: @@ -1842,6 +1854,7 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-ppc64@0.18.7: @@ -1884,6 +1897,7 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-riscv64@0.18.7: @@ -1926,6 +1940,7 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-s390x@0.18.7: @@ -1968,6 +1983,7 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-x64@0.18.7: @@ -2010,6 +2026,7 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true + dev: true optional: true /@esbuild/netbsd-x64@0.18.7: @@ -2052,6 +2069,7 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true + dev: true optional: true /@esbuild/openbsd-x64@0.18.7: @@ -2094,6 +2112,7 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true + dev: true optional: true /@esbuild/sunos-x64@0.18.7: @@ -2136,6 +2155,7 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: true optional: true /@esbuild/win32-arm64@0.18.7: @@ -2178,6 +2198,7 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true optional: true /@esbuild/win32-ia32@0.18.7: @@ -2220,6 +2241,7 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true optional: true /@esbuild/win32-x64@0.18.7: @@ -3124,7 +3146,7 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} - /@solid-mediakit/auth@2.0.11(@auth/core@0.29.0)(@solidjs/meta@0.29.4)(@solidjs/router@0.13.3)(@solidjs/start@packages+start)(solid-js@1.8.17)(vinxi@0.3.11): + /@solid-mediakit/auth@2.0.11(@auth/core@0.29.0)(@solidjs/meta@0.29.4)(@solidjs/router@0.13.6)(@solidjs/start@packages+start)(solid-js@1.8.17)(vinxi@0.3.12): resolution: {integrity: sha512-oo5BKqsWLbpK++R97mf9z5xc56zIO70hJQeOBRIsEVrZRa07GQEwzLJdmYZpbDzoHInjBtCjLAEp//PkY2LiJA==} engines: {node: '>=16'} peerDependencies: @@ -3138,12 +3160,12 @@ packages: '@auth/core': 0.29.0 '@solid-mediakit/shared': 0.0.3 '@solidjs/meta': 0.29.4(solid-js@1.8.17) - '@solidjs/router': 0.13.3(solid-js@1.8.17) + '@solidjs/router': 0.13.6(solid-js@1.8.17) '@solidjs/start': link:packages/start cookie: 0.6.0 set-cookie-parser: 2.6.0 solid-js: 1.8.17 - vinxi: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + vinxi: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) transitivePeerDependencies: - supports-color dev: false @@ -3262,14 +3284,14 @@ packages: dependencies: solid-js: 1.8.17 - /@solidjs/router@0.13.3(solid-js@1.8.17): - resolution: {integrity: sha512-p8zznlvnN3KySMXqT8irhubgDNTETNa/guaGHU/cZl7kuiPO3PmkWNYfoNCygtEpoxLmLpf62/ZKeyhFdZexsw==} + /@solidjs/router@0.13.6(solid-js@1.8.17): + resolution: {integrity: sha512-CdpFsBYoiJ/FQ4wZIamj3KEFRkmrYu5sVXM6PouNkmSENta1YJamsm9wa/VjaPmkw2RsnDnO0UvZ705v6EgOXQ==} peerDependencies: solid-js: ^1.8.6 dependencies: solid-js: 1.8.17 - /@solidjs/testing-library@0.8.8(@solidjs/router@0.13.3)(solid-js@1.8.17): + /@solidjs/testing-library@0.8.8(@solidjs/router@0.13.6)(solid-js@1.8.17): resolution: {integrity: sha512-47J9Aw+iG45Fs5Kxu/IJmkaaucpF7qhDazW+iXeNssAYI0FH+4MeM/SfYRhPbIMH/hBpMh/XjbK1Wpyu9PcSwg==} engines: {node: '>= 14'} peerDependencies: @@ -3279,7 +3301,7 @@ packages: '@solidjs/router': optional: true dependencies: - '@solidjs/router': 0.13.3(solid-js@1.8.17) + '@solidjs/router': 0.13.6(solid-js@1.8.17) '@testing-library/dom': 10.1.0 solid-js: 1.8.17 dev: true @@ -3810,7 +3832,7 @@ packages: transitivePeerDependencies: - uWebSockets.js - /@vinxi/plugin-directives@0.3.1(vinxi@0.3.11): + /@vinxi/plugin-directives@0.3.1(vinxi@0.3.12): resolution: {integrity: sha512-4qz5WifjmJ864VS8Ik9nUG0wAkt/xIcxFpP29RXogGLgccRnceBpWQi+ghw5rm0F6LP/YMAhhO5iFORXclWd0Q==} peerDependencies: vinxi: ^0.3.10 @@ -3824,7 +3846,7 @@ packages: magicast: 0.2.11 recast: 0.23.7 tslib: 2.6.2 - vinxi: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + vinxi: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) dev: false /@vinxi/plugin-mdx@3.7.1(@mdx-js/mdx@2.3.0): @@ -3839,34 +3861,34 @@ packages: unified: 9.2.2 vfile: 5.3.7 - /@vinxi/server-components@0.3.3(vinxi@0.3.11): + /@vinxi/server-components@0.3.3(vinxi@0.3.12): resolution: {integrity: sha512-xaW92nj9HUMLyswPcCmsIXOsS3TJll0m9u3WEjWjLrtZWheHggina6+kTCSeltp/Qe8WlUfNU5G02Xy8L4xQxA==} peerDependencies: vinxi: ^0.3.10 dependencies: - '@vinxi/plugin-directives': 0.3.1(vinxi@0.3.11) + '@vinxi/plugin-directives': 0.3.1(vinxi@0.3.12) acorn: 8.11.3 acorn-loose: 8.4.0 acorn-typescript: 1.4.13(acorn@8.11.3) astring: 1.8.6 magicast: 0.2.11 recast: 0.23.7 - vinxi: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + vinxi: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) dev: false - /@vinxi/server-functions@0.3.2(vinxi@0.3.11): + /@vinxi/server-functions@0.3.2(vinxi@0.3.12): resolution: {integrity: sha512-PoARb1X480UE9jysPqltpzginBftna34GmZ3HyvRT+pnPfsGcuHOzZe/a18V/K04qk2yMRd7eeW42JF5O+wunw==} peerDependencies: vinxi: ^0.3.10 dependencies: - '@vinxi/plugin-directives': 0.3.1(vinxi@0.3.11) + '@vinxi/plugin-directives': 0.3.1(vinxi@0.3.12) acorn: 8.11.3 acorn-loose: 8.4.0 acorn-typescript: 1.4.13(acorn@8.11.3) astring: 1.8.6 magicast: 0.2.11 recast: 0.23.7 - vinxi: 0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) + vinxi: 0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4) dev: false /@vitest/expect@1.6.0: @@ -5469,6 +5491,7 @@ packages: '@esbuild/win32-arm64': 0.18.20 '@esbuild/win32-ia32': 0.18.20 '@esbuild/win32-x64': 0.18.20 + dev: true /esbuild@0.18.7: resolution: {integrity: sha512-46V0EFvQ/urmruUCChD1e0SZJWM0Ulny5F+uf5QkBry97HfvgvZTnjpTrwmw0+CGRhqTh9zpFeB+W8WGIEXOAQ==} @@ -10524,8 +10547,8 @@ packages: unist-util-stringify-position: 3.0.3 vfile-message: 3.1.4 - /vinxi@0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(better-sqlite3@10.0.0)(debug@4.3.4)(drizzle-orm@0.30.10): - resolution: {integrity: sha512-ASEpiwldZIsViv2/ZlO6qnRhDAwxr92nKXxMOinA+5nCY7nlaKgekaLDjTyUmFzB8DSiXVZqmHnd6OZVkn4vzw==} + /vinxi@0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(better-sqlite3@10.0.0)(debug@4.3.4)(drizzle-orm@0.30.10): + resolution: {integrity: sha512-YU/Scild/Rdy6qwgdILYRlO99Wp8ti2CmlMlYioEg7lRtxAST5iCFjviDya+BYQDgc3Pugh4KzOypVwjZknF2A==} hasBin: true dependencies: '@babel/core': 7.24.4 @@ -10541,7 +10564,7 @@ packages: dax-sh: 0.39.2 defu: 6.1.4 es-module-lexer: 1.5.3 - esbuild: 0.18.20 + esbuild: 0.20.2 fast-glob: 3.3.2 get-port-please: 3.1.2 h3: 1.11.1 @@ -10594,8 +10617,8 @@ packages: - xml2js dev: false - /vinxi@0.3.11(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4): - resolution: {integrity: sha512-ASEpiwldZIsViv2/ZlO6qnRhDAwxr92nKXxMOinA+5nCY7nlaKgekaLDjTyUmFzB8DSiXVZqmHnd6OZVkn4vzw==} + /vinxi@0.3.12(@opentelemetry/api@1.8.0)(@types/node@20.12.12)(debug@4.3.4): + resolution: {integrity: sha512-YU/Scild/Rdy6qwgdILYRlO99Wp8ti2CmlMlYioEg7lRtxAST5iCFjviDya+BYQDgc3Pugh4KzOypVwjZknF2A==} hasBin: true dependencies: '@babel/core': 7.24.4 @@ -10611,7 +10634,7 @@ packages: dax-sh: 0.39.2 defu: 6.1.4 es-module-lexer: 1.5.3 - esbuild: 0.18.20 + esbuild: 0.20.2 fast-glob: 3.3.2 get-port-please: 3.1.2 h3: 1.11.1 From 74ceb8076d12916526e305581ddb8416779be504 Mon Sep 17 00:00:00 2001 From: Ryan Carniato Date: Tue, 18 Jun 2024 16:55:58 -0700 Subject: [PATCH 5/5] v1.0.2 --- .changeset/calm-rocks-sleep.md | 5 ----- .changeset/clever-jars-explode.md | 5 ----- .changeset/cold-needles-peel.md | 5 ----- .changeset/curvy-ears-lay.md | 5 ----- .changeset/fifty-shrimps-cross.md | 5 ----- .changeset/flat-mugs-travel.md | 5 ----- .changeset/friendly-donkeys-pretend.md | 5 ----- .changeset/new-glasses-march.md | 5 ----- examples/bare/package.json | 2 +- examples/basic/package.json | 2 +- examples/experiments/package.json | 2 +- examples/hackernews/package.json | 2 +- examples/notes/package.json | 2 +- examples/todomvc/package.json | 2 +- examples/with-auth/package.json | 2 +- examples/with-authjs/package.json | 2 +- examples/with-mdx/package.json | 2 +- examples/with-prisma/package.json | 2 +- examples/with-solid-styled/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-trpc/package.json | 2 +- examples/with-unocss/package.json | 2 +- examples/with-vitest/package.json | 2 +- packages/start/CHANGELOG.md | 13 +++++++++++ packages/start/package.json | 2 +- pnpm-lock.yaml | 30 ++++++++++++------------- 26 files changed, 44 insertions(+), 71 deletions(-) delete mode 100644 .changeset/calm-rocks-sleep.md delete mode 100644 .changeset/clever-jars-explode.md delete mode 100644 .changeset/cold-needles-peel.md delete mode 100644 .changeset/curvy-ears-lay.md delete mode 100644 .changeset/fifty-shrimps-cross.md delete mode 100644 .changeset/flat-mugs-travel.md delete mode 100644 .changeset/friendly-donkeys-pretend.md delete mode 100644 .changeset/new-glasses-march.md diff --git a/.changeset/calm-rocks-sleep.md b/.changeset/calm-rocks-sleep.md deleted file mode 100644 index 857f5d7a6..000000000 --- a/.changeset/calm-rocks-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -fix #1547 add noscript tags to asset rendering diff --git a/.changeset/clever-jars-explode.md b/.changeset/clever-jars-explode.md deleted file mode 100644 index b97def8e0..000000000 --- a/.changeset/clever-jars-explode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Omit some keys from Vite server config diff --git a/.changeset/cold-needles-peel.md b/.changeset/cold-needles-peel.md deleted file mode 100644 index 21e4a0940..000000000 --- a/.changeset/cold-needles-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Add new response type in middleware function diff --git a/.changeset/curvy-ears-lay.md b/.changeset/curvy-ears-lay.md deleted file mode 100644 index 713f53744..000000000 --- a/.changeset/curvy-ears-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -fix #1514 error header sanitization diff --git a/.changeset/fifty-shrimps-cross.md b/.changeset/fifty-shrimps-cross.md deleted file mode 100644 index b8e68b24e..000000000 --- a/.changeset/fifty-shrimps-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Pass event to getResponseStatus in set statusCode diff --git a/.changeset/flat-mugs-travel.md b/.changeset/flat-mugs-travel.md deleted file mode 100644 index 7f3c4211c..000000000 --- a/.changeset/flat-mugs-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Set X-Error for thrown Responses diff --git a/.changeset/friendly-donkeys-pretend.md b/.changeset/friendly-donkeys-pretend.md deleted file mode 100644 index 54c3bc328..000000000 --- a/.changeset/friendly-donkeys-pretend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -better fix for #1552 error propagation with nojs diff --git a/.changeset/new-glasses-march.md b/.changeset/new-glasses-march.md deleted file mode 100644 index ce388632b..000000000 --- a/.changeset/new-glasses-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -fix #1550, add "X-Content-Raw" header diff --git a/examples/bare/package.json b/examples/bare/package.json index f4d7dfe8a..ab9ca995b 100644 --- a/examples/bare/package.json +++ b/examples/bare/package.json @@ -7,7 +7,7 @@ "start": "vinxi start" }, "dependencies": { - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "solid-js": "^1.8.17", "vinxi": "^0.3.12" }, diff --git a/examples/basic/package.json b/examples/basic/package.json index a14c94bc4..1f334afba 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -10,7 +10,7 @@ "dependencies": { "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "solid-js": "^1.8.17", "vinxi": "^0.3.12" }, diff --git a/examples/experiments/package.json b/examples/experiments/package.json index 09e69a157..0df7abd75 100644 --- a/examples/experiments/package.json +++ b/examples/experiments/package.json @@ -9,7 +9,7 @@ "dependencies": { "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "solid-js": "^1.8.17", "vinxi": "^0.3.12" }, diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 70543a0b6..ec80822bc 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "solid-js": "^1.8.17", "vinxi": "^0.3.12" }, diff --git a/examples/notes/package.json b/examples/notes/package.json index efb770e32..c7efd7441 100644 --- a/examples/notes/package.json +++ b/examples/notes/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "date-fns": "^3.6.0", "solid-js": "^1.8.17", "marked": "^12.0.1", diff --git a/examples/todomvc/package.json b/examples/todomvc/package.json index d2211a64e..2fd0ce78b 100644 --- a/examples/todomvc/package.json +++ b/examples/todomvc/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "solid-js": "^1.8.17", "unstorage": "1.10.2", "vinxi": "^0.3.12" diff --git a/examples/with-auth/package.json b/examples/with-auth/package.json index ea63939f1..aa3a832fd 100644 --- a/examples/with-auth/package.json +++ b/examples/with-auth/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "solid-js": "^1.8.17", "unstorage": "1.10.2", "vinxi": "^0.3.12" diff --git a/examples/with-authjs/package.json b/examples/with-authjs/package.json index bbdb269bf..5e8e80a19 100644 --- a/examples/with-authjs/package.json +++ b/examples/with-authjs/package.json @@ -20,7 +20,7 @@ "@solid-mediakit/auth": "^2.0.11", "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "solid-js": "^1.8.17", "vinxi": "^0.3.12" }, diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 1ef716042..b6c529bf1 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -9,7 +9,7 @@ "dependencies": { "@mdx-js/mdx": "^2.3.0", "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "@vinxi/plugin-mdx": "^3.7.1", "solid-js": "^1.8.17", "vinxi": "^0.3.12", diff --git a/examples/with-prisma/package.json b/examples/with-prisma/package.json index d19565bee..b6caec0ad 100644 --- a/examples/with-prisma/package.json +++ b/examples/with-prisma/package.json @@ -12,7 +12,7 @@ "dependencies": { "@prisma/client": "^5.12.1", "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "prisma": "^5.12.1", "solid-js": "^1.8.17", "vinxi": "^0.3.12" diff --git a/examples/with-solid-styled/package.json b/examples/with-solid-styled/package.json index 7824511f1..388a95b42 100644 --- a/examples/with-solid-styled/package.json +++ b/examples/with-solid-styled/package.json @@ -9,7 +9,7 @@ "dependencies": { "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "solid-js": "^1.8.17", "solid-styled": "^0.11.1", "vinxi": "^0.3.12", diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index d2b4fcf11..826d9d183 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "autoprefixer": "^10.4.19", "postcss": "^8.4.38", "solid-js": "^1.8.17", diff --git a/examples/with-trpc/package.json b/examples/with-trpc/package.json index b0f8fe095..325d9a41b 100644 --- a/examples/with-trpc/package.json +++ b/examples/with-trpc/package.json @@ -9,7 +9,7 @@ "dependencies": { "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "@trpc/client": "^10.45.2", "@trpc/server": "^10.45.2", "@typeschema/valibot": "^0.13.4", diff --git a/examples/with-unocss/package.json b/examples/with-unocss/package.json index 1b1619695..8b34647ee 100644 --- a/examples/with-unocss/package.json +++ b/examples/with-unocss/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "@unocss/reset": "^0.59.2", "solid-js": "^1.8.17", "unocss": "^0.59.2", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 9462a9bc2..d5075a2ab 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.1", + "@solidjs/start": "^1.0.2", "@solidjs/testing-library": "^0.8.7", "@testing-library/jest-dom": "^6.4.2", "@testing-library/user-event": "^14.5.2", diff --git a/packages/start/CHANGELOG.md b/packages/start/CHANGELOG.md index 2007be67d..0959d2ff8 100644 --- a/packages/start/CHANGELOG.md +++ b/packages/start/CHANGELOG.md @@ -1,5 +1,18 @@ # @solidjs/start +## 1.0.2 + +### Patch Changes + +- 9da8b18: fix #1547 add noscript tags to asset rendering +- d932ebd: Omit some keys from Vite server config +- b02151f: Add new response type in middleware function +- ae6ca2e: fix #1514 error header sanitization +- a52cea5: Pass event to getResponseStatus in set statusCode +- b47ab2c: Set X-Error for thrown Responses +- bfdd099: better fix for #1552 error propagation with nojs +- 23ee2de: fix #1550, add "X-Content-Raw" header + ## 1.0.1 ### Patch Changes diff --git a/packages/start/package.json b/packages/start/package.json index 8adbc9f74..0c74df706 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/start", - "version": "1.0.1", + "version": "1.0.2", "type": "module", "author": "Ryan Carniato", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7b0825ae4..de92c53e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,7 +115,7 @@ importers: examples/bare: dependencies: '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start solid-js: specifier: ^1.8.17 @@ -133,7 +133,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start solid-js: specifier: ^1.8.17 @@ -151,7 +151,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start solid-js: specifier: ^1.8.17 @@ -166,7 +166,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start solid-js: specifier: ^1.8.17 @@ -181,7 +181,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start date-fns: specifier: ^3.6.0 @@ -205,7 +205,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start solid-js: specifier: ^1.8.17 @@ -223,7 +223,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start solid-js: specifier: ^1.8.17 @@ -257,7 +257,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start solid-js: specifier: ^1.8.17 @@ -325,7 +325,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start '@vinxi/plugin-mdx': specifier: ^3.7.1 @@ -349,7 +349,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start prisma: specifier: ^5.12.1 @@ -374,7 +374,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start solid-js: specifier: ^1.8.17 @@ -395,7 +395,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start autoprefixer: specifier: ^10.4.19 @@ -422,7 +422,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start '@trpc/client': specifier: ^10.45.2 @@ -449,7 +449,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start '@unocss/reset': specifier: ^0.59.2 @@ -473,7 +473,7 @@ importers: specifier: ^0.13.6 version: 0.13.6(solid-js@1.8.17) '@solidjs/start': - specifier: ^1.0.1 + specifier: ^1.0.2 version: link:../../packages/start '@solidjs/testing-library': specifier: ^0.8.7