diff --git a/.changeset/nervous-laws-knock.md b/.changeset/nervous-laws-knock.md deleted file mode 100644 index b9b979fb9367a..0000000000000 --- a/.changeset/nervous-laws-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Narrow type of `Params`, as its values cannot be numbers diff --git a/.changeset/swift-papayas-kiss.md b/.changeset/swift-papayas-kiss.md deleted file mode 100644 index d7681461df742..0000000000000 --- a/.changeset/swift-papayas-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix astro preview not working on Windows diff --git a/.changeset/twelve-kings-rest.md b/.changeset/twelve-kings-rest.md deleted file mode 100644 index 8afe3df476294..0000000000000 --- a/.changeset/twelve-kings-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Prevent inlining SCSS partials in dev diff --git a/examples/basics/package.json b/examples/basics/package.json index ca4fc4e8015a2..a805f6bb0da6e 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 84bad5b707a30..9547a32bf202a 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "@astrojs/mdx": "^0.12.0", "@astrojs/rss": "^1.0.3", "@astrojs/sitemap": "^1.0.0" diff --git a/examples/component/package.json b/examples/component/package.json index b188bb1fb85d8..0c40783103519 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,9 +15,9 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" }, "peerDependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/deno/package.json b/examples/deno/package.json index 0122519024ed6..597d5b2bd202a 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" }, "devDependencies": { "@astrojs/deno": "^2.0.0" diff --git a/examples/docs/package.json b/examples/docs/package.json index aff2eb45f64f1..a00e482372151 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,7 +12,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 049df299c5ce2..0127d629a4b7b 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "alpinejs": "^3.10.2", "@astrojs/alpinejs": "^0.1.2", "@types/alpinejs": "^3.7.0" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 4c9a3156cab55..65575bd13fdfe 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "lit": "^2.2.5", "@astrojs/lit": "^1.0.0", "@webcomponents/template-shadowroot": "^0.1.0" diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 61777af97dbca..420d85a87c18f 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 75948a2478fbb..dba31a2351b38 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "preact": "^10.7.3", "@astrojs/preact": "^1.2.0", "@preact/signals": "^1.1.0" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 784fb385f217b..8e12a1e561c02 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "react": "^18.1.0", "react-dom": "^18.1.0", "@astrojs/react": "^1.2.2", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 13653fa94a19f..d3b54758406b9 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "solid-js": "^1.4.3", "@astrojs/solid-js": "^1.2.3" } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index c5a9ab47e6fb2..c7f3134281a4d 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -13,6 +13,6 @@ "dependencies": { "svelte": "^3.48.0", "@astrojs/svelte": "^1.0.2", - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 7a22a26cef691..8b6f9c277e767 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "vue": "^3.2.37", "@astrojs/vue": "^1.2.1" } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 4b12873f7f8e8..ee35f60ce6bc7 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -13,6 +13,6 @@ }, "dependencies": { "@astrojs/node": "^3.1.0", - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 626266bc45b48..9d98507375002 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,9 +15,9 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" }, "peerDependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index e42e2fbafd7e0..2d4148d2ad3d1 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 53d2bfff4641a..de1cd673c9200 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 963a5e0d6c059..33d0b26c0aef0 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index e0d992b749e2d..39c730f3b0724 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,7 +12,7 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "svelte": "^3.48.0", "@astrojs/svelte": "^1.0.2", "@astrojs/node": "^3.1.0", diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index c8e711cd939f5..e318f5c8d11ba 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "@astrojs/markdown-remark": "^1.1.3", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.1", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 0ceb13a8fca51..8a461a8d67de2 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 5d19870359473..ad303312fb361 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "preact": "^10.6.5", "@astrojs/preact": "^1.2.0", "@astrojs/mdx": "^0.12.0" diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index fdd4b481d4606..61a6e0330790d 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "preact": "^10.7.3", "@astrojs/preact": "^1.2.0", "nanostores": "^0.5.12", diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 923fe21b9b8d0..0ab574661a22c 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^0.12.0", "@astrojs/tailwind": "^2.1.3", "@types/canvas-confetti": "^1.4.3", - "astro": "^1.6.11", + "astro": "^1.6.12", "autoprefixer": "^10.4.7", "canvas-confetti": "^1.5.1", "postcss": "^8.4.14", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index d4693a6e4b260..e0c92564ccb66 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 7c841fe3b678d..6a222a28bfd45 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^1.6.11", + "astro": "^1.6.12", "vitest": "^0.20.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 743572756df5a..136148b97de3b 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,15 @@ # astro +## 1.6.12 + +### Patch Changes + +- [#5484](https://github.com/withastro/astro/pull/5484) [`731e99df8`](https://github.com/withastro/astro/commit/731e99df875d40e40f6b33feddd940c3122a5f83) Thanks [@Pimm](https://github.com/Pimm)! - Narrow type of `Params`, as its values cannot be numbers + +- [#5480](https://github.com/withastro/astro/pull/5480) [`c13775279`](https://github.com/withastro/astro/commit/c137752797a1af39b758d207af97bf234b3ff08d) Thanks [@sapphi-red](https://github.com/sapphi-red)! - Fix astro preview not working on Windows + +- [#5477](https://github.com/withastro/astro/pull/5477) [`5e693c214`](https://github.com/withastro/astro/commit/5e693c21438d3a4840cd1906a346d38f05fdb753) Thanks [@bluwy](https://github.com/bluwy)! - Prevent inlining SCSS partials in dev + ## 1.6.11 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index ca0ca3734cecf..b070cdcf4c69e 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.6.11", + "version": "1.6.12", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index b0b19eb17ff37..a6bafdad7b3ee 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1047,7 +1047,10 @@ export type GetHydrateCallback = () => Promise<() => void | Promise>; rss(): never; } -export type GetStaticPathsItem = { params: { [K in keyof Params]: Params[K] | number }; props?: Props }; +export type GetStaticPathsItem = { + params: { [K in keyof Params]: Params[K] | number }; + props?: Props; +}; export type GetStaticPathsResult = GetStaticPathsItem[]; export type GetStaticPathsResultKeyed = GetStaticPathsResult & { keyed: Map; diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 3dae7d30ed636..47be9e5b07169 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -38,7 +38,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index eb1dde01d0ad9..580438573ea10 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -32,7 +32,7 @@ "esbuild": "^0.14.43" }, "peerDependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 6ea81f7c0df09..70b58b5d4ce28 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -34,7 +34,7 @@ "send": "^0.18.0" }, "peerDependencies": { - "astro": "^1.6.11" + "astro": "^1.6.12" }, "devDependencies": { "@types/node-fetch": "^2.6.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index faf1e2c063057..bba70c849d520 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,7 +61,7 @@ importers: examples/basics: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 dependencies: astro: link:../../packages/astro @@ -70,7 +70,7 @@ importers: '@astrojs/mdx': ^0.12.0 '@astrojs/rss': ^1.0.3 '@astrojs/sitemap': ^1.0.0 - astro: ^1.6.11 + astro: ^1.6.12 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/rss': link:../../packages/astro-rss @@ -79,14 +79,14 @@ importers: examples/component: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 devDependencies: astro: link:../../packages/astro examples/deno: specifiers: '@astrojs/deno': ^2.0.0 - astro: ^1.6.11 + astro: ^1.6.12 dependencies: astro: link:../../packages/astro devDependencies: @@ -102,7 +102,7 @@ importers: '@types/node': ^18.0.0 '@types/react': ^17.0.45 '@types/react-dom': ^18.0.0 - astro: ^1.6.11 + astro: ^1.6.12 html-escaper: ^3.0.3 preact: ^10.7.3 react: ^18.1.0 @@ -128,7 +128,7 @@ importers: '@astrojs/alpinejs': ^0.1.2 '@types/alpinejs': ^3.7.0 alpinejs: ^3.10.2 - astro: ^1.6.11 + astro: ^1.6.12 dependencies: '@astrojs/alpinejs': link:../../packages/integrations/alpinejs '@types/alpinejs': 3.7.1 @@ -139,7 +139,7 @@ importers: specifiers: '@astrojs/lit': ^1.0.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.6.11 + astro: ^1.6.12 lit: ^2.2.5 dependencies: '@astrojs/lit': link:../../packages/integrations/lit @@ -154,7 +154,7 @@ importers: '@astrojs/solid-js': ^1.2.3 '@astrojs/svelte': ^1.0.2 '@astrojs/vue': ^1.2.1 - astro: ^1.6.11 + astro: ^1.6.12 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -179,7 +179,7 @@ importers: specifiers: '@astrojs/preact': ^1.2.0 '@preact/signals': ^1.1.0 - astro: ^1.6.11 + astro: ^1.6.12 preact: ^10.7.3 dependencies: '@astrojs/preact': link:../../packages/integrations/preact @@ -192,7 +192,7 @@ importers: '@astrojs/react': ^1.2.2 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^1.6.11 + astro: ^1.6.12 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -206,7 +206,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^1.2.3 - astro: ^1.6.11 + astro: ^1.6.12 solid-js: ^1.4.3 dependencies: '@astrojs/solid-js': link:../../packages/integrations/solid @@ -216,7 +216,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^1.0.2 - astro: ^1.6.11 + astro: ^1.6.12 svelte: ^3.48.0 dependencies: '@astrojs/svelte': link:../../packages/integrations/svelte @@ -226,7 +226,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^1.2.1 - astro: ^1.6.11 + astro: ^1.6.12 vue: ^3.2.37 dependencies: '@astrojs/vue': link:../../packages/integrations/vue @@ -236,32 +236,32 @@ importers: examples/hackernews: specifiers: '@astrojs/node': ^3.1.0 - astro: ^1.6.11 + astro: ^1.6.12 dependencies: '@astrojs/node': link:../../packages/integrations/node astro: link:../../packages/astro examples/integration: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 devDependencies: astro: link:../../packages/astro examples/minimal: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 dependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 dependencies: astro: link:../../packages/astro examples/portfolio: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 dependencies: astro: link:../../packages/astro @@ -269,7 +269,7 @@ importers: specifiers: '@astrojs/node': ^3.1.0 '@astrojs/svelte': ^1.0.2 - astro: ^1.6.11 + astro: ^1.6.12 concurrently: ^7.2.1 svelte: ^3.48.0 unocss: ^0.15.6 @@ -286,7 +286,7 @@ importers: examples/with-markdown-plugins: specifiers: '@astrojs/markdown-remark': ^1.1.3 - astro: ^1.6.11 + astro: ^1.6.12 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -303,7 +303,7 @@ importers: examples/with-markdown-shiki: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 dependencies: astro: link:../../packages/astro @@ -311,7 +311,7 @@ importers: specifiers: '@astrojs/mdx': ^0.12.0 '@astrojs/preact': ^1.2.0 - astro: ^1.6.11 + astro: ^1.6.12 preact: ^10.6.5 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx @@ -323,7 +323,7 @@ importers: specifiers: '@astrojs/preact': ^1.2.0 '@nanostores/preact': ^0.1.3 - astro: ^1.6.11 + astro: ^1.6.12 nanostores: ^0.5.12 preact: ^10.7.3 dependencies: @@ -338,7 +338,7 @@ importers: '@astrojs/mdx': ^0.12.0 '@astrojs/tailwind': ^2.1.3 '@types/canvas-confetti': ^1.4.3 - astro: ^1.6.11 + astro: ^1.6.12 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -355,7 +355,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 dependencies: @@ -365,7 +365,7 @@ importers: examples/with-vitest: specifiers: - astro: ^1.6.11 + astro: ^1.6.12 vitest: ^0.20.3 dependencies: astro: link:../../packages/astro @@ -3837,7 +3837,7 @@ packages: '@astro-community/astro-embed-twitter': 0.1.3_astro@packages+astro '@astro-community/astro-embed-vimeo': 0.1.1_astro@packages+astro '@astro-community/astro-embed-youtube': 0.2.1_astro@packages+astro - astro: link:packages\astro + astro: link:packages/astro unist-util-select: 4.0.1 dev: false @@ -3847,7 +3847,7 @@ packages: astro: ^1.0.0-beta.10 dependencies: '@astro-community/astro-embed-utils': 0.0.3 - astro: link:packages\astro + astro: link:packages/astro dev: false /@astro-community/astro-embed-utils/0.0.3: @@ -3859,7 +3859,7 @@ packages: peerDependencies: astro: ^1.0.0-beta.10 dependencies: - astro: link:packages\astro + astro: link:packages/astro lite-vimeo-embed: 0.1.0 dev: false @@ -3868,7 +3868,7 @@ packages: peerDependencies: astro: ^1.0.0-beta.10 dependencies: - astro: link:packages\astro + astro: link:packages/astro lite-youtube-embed: 0.2.0 dev: false @@ -10600,7 +10600,7 @@ packages: '@astro-community/astro-embed-twitter': 0.1.3_astro@packages+astro '@astro-community/astro-embed-vimeo': 0.1.1_astro@packages+astro '@astro-community/astro-embed-youtube': 0.2.1_astro@packages+astro - astro: link:packages\astro + astro: link:packages/astro dev: false /async-sema/3.1.1: