diff --git a/.changeset/fuzzy-bats-try.md b/.changeset/fuzzy-bats-try.md deleted file mode 100644 index c4aa53caf9..0000000000 --- a/.changeset/fuzzy-bats-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Includes "undefined" in types for getEntry diff --git a/examples/basics/package.json b/examples/basics/package.json index f5eea40ff5..aab5122749 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.1" + "astro": "^5.0.2" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index f46bd734e8..82ac3b519a 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,6 +13,6 @@ "@astrojs/mdx": "^4.0.1", "@astrojs/rss": "^4.0.9", "@astrojs/sitemap": "^3.2.1", - "astro": "^5.0.1" + "astro": "^5.0.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index 7feaa759ce..89f9706ffe 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.0.1" + "astro": "^5.0.2" }, "peerDependencies": { "astro": "^4.0.0 || ^5.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index cbaf082901..0812e37f84 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/react": "^4.0.0", - "astro": "^5.0.1", + "astro": "^5.0.2", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^2.1.6" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 77f36e5b75..f2338e5a04 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -13,6 +13,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.3", - "astro": "^5.0.1" + "astro": "^5.0.2" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 96300a0b72..2699ab2170 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -17,7 +17,7 @@ "@astrojs/vue": "^5.0.1", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "astro": "^5.0.1", + "astro": "^5.0.2", "preact": "^10.24.3", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 8702149043..416a56dad9 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.0", "@preact/signals": "^1.3.0", - "astro": "^5.0.1", + "astro": "^5.0.2", "preact": "^10.24.3" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 72259d174b..c02fdcdd90 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,7 +13,7 @@ "@astrojs/react": "^4.0.0", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "astro": "^5.0.1", + "astro": "^5.0.2", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 5c473fcff5..90992240cc 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/solid-js": "^5.0.0", - "astro": "^5.0.1", + "astro": "^5.0.2", "solid-js": "^1.9.3" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 224e64af26..5466ea1915 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/svelte": "^7.0.1", - "astro": "^5.0.1", + "astro": "^5.0.2", "svelte": "^5.1.16" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 2723e453f0..2237b0edef 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/vue": "^5.0.1", - "astro": "^5.0.1", + "astro": "^5.0.2", "vue": "^3.5.12" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index d677d5fafb..e31de707d5 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/node": "^9.0.0", - "astro": "^5.0.1" + "astro": "^5.0.2" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 3f5562c474..f05c118d48 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.0.1" + "astro": "^5.0.2" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 064b7bf198..a68d82b669 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.1" + "astro": "^5.0.2" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index e575812027..fb9590cd30 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.1" + "astro": "^5.0.2" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 05962d938c..dbaf8a11f6 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/node": "^9.0.0", "@astrojs/svelte": "^7.0.1", - "astro": "^5.0.1", + "astro": "^5.0.2", "svelte": "^5.1.16" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 471c9d2136..8853f4c006 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.1", + "astro": "^5.0.2", "sass": "^1.80.6", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index e64ebbc4d6..91c27b260a 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^5.0.1" + "astro": "^5.0.2" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index fa6c791c9f..028a20e6e0 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.12.1", - "astro": "^5.0.1" + "astro": "^5.0.2" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 760f4287d4..c2fb651156 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/mdx": "^4.0.1", "@astrojs/preact": "^4.0.0", - "astro": "^5.0.1", + "astro": "^5.0.2", "preact": "^10.24.3" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index b9d4691c6d..9289296a4b 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.0", "@nanostores/preact": "^0.5.2", - "astro": "^5.0.1", + "astro": "^5.0.2", "nanostores": "^0.11.3", "preact": "^10.24.3" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 81b6bc7642..5f4f02352a 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.0.1", "@astrojs/tailwind": "^5.1.3", "@types/canvas-confetti": "^1.6.4", - "astro": "^5.0.1", + "astro": "^5.0.2", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.49", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 1d0c69954e..a351f5d1f5 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.0.1", + "astro": "^5.0.2", "vitest": "^2.1.6" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 0d79b353e7..6b11e5b6ab 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 5.0.2 + +### Patch Changes + +- [#12601](https://github.com/withastro/astro/pull/12601) [`0724929`](https://github.com/withastro/astro/commit/072492982b338e04549ee576ca7d8480be92cc1c) Thanks [@ascorbic](https://github.com/ascorbic)! - Includes "undefined" in types for getEntry + ## 5.0.1 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index c2d427e632..b2129104ed 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.0.1", + "version": "5.0.2", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ef2e1204d6..3baaf9a02b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -142,7 +142,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/blog: @@ -157,13 +157,13 @@ importers: specifier: ^3.2.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/container-with-vitest: @@ -172,7 +172,7 @@ importers: specifier: ^4.0.0 version: link:../../packages/integrations/react astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -203,7 +203,7 @@ importers: specifier: ^3.14.3 version: 3.14.3 astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/framework-multiple: @@ -230,7 +230,7 @@ importers: specifier: ^18.3.1 version: 18.3.1 astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro preact: specifier: ^10.24.3 @@ -260,7 +260,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.24.3) astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro preact: specifier: ^10.24.3 @@ -278,7 +278,7 @@ importers: specifier: ^18.3.1 version: 18.3.1 astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -293,7 +293,7 @@ importers: specifier: ^5.0.0 version: link:../../packages/integrations/solid astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro solid-js: specifier: ^1.9.3 @@ -305,7 +305,7 @@ importers: specifier: ^7.0.1 version: link:../../packages/integrations/svelte astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro svelte: specifier: ^5.1.16 @@ -317,7 +317,7 @@ importers: specifier: ^5.0.1 version: link:../../packages/integrations/vue astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro vue: specifier: ^3.5.12 @@ -329,25 +329,25 @@ importers: specifier: ^9.0.0 version: 9.0.0(astro@packages+astro) astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/ssr: @@ -359,7 +359,7 @@ importers: specifier: ^7.0.1 version: link:../../packages/integrations/svelte astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro svelte: specifier: ^5.1.16 @@ -368,7 +368,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro sass: specifier: ^1.80.6 @@ -380,7 +380,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/with-markdoc: @@ -389,7 +389,7 @@ importers: specifier: ^0.12.1 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro examples/with-mdx: @@ -401,7 +401,7 @@ importers: specifier: ^4.0.0 version: link:../../packages/integrations/preact astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro preact: specifier: ^10.24.3 @@ -416,7 +416,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.3)(preact@10.24.3) astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro nanostores: specifier: ^0.11.3 @@ -437,7 +437,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -455,7 +455,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.0.1 + specifier: ^5.0.2 version: link:../../packages/astro vitest: specifier: ^2.1.6