diff --git a/.changeset/new-llamas-wash.md b/.changeset/new-llamas-wash.md
deleted file mode 100644
index 09575ff132..0000000000
--- a/.changeset/new-llamas-wash.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Internal refactor
diff --git a/examples/basics/package.json b/examples/basics/package.json
index d982b240cc..5e0cb9a36e 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5"
+    "astro": "^1.2.6"
   }
 }
diff --git a/examples/blog/package.json b/examples/blog/package.json
index a05eb1ea42..e9a2f0bead 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "@astrojs/mdx": "^0.11.1",
     "@astrojs/rss": "^1.0.1",
     "@astrojs/sitemap": "^1.0.0"
diff --git a/examples/component/package.json b/examples/component/package.json
index 8cf5cc7c0e..ada3a4cd34 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,9 +15,9 @@
   ],
   "scripts": {},
   "devDependencies": {
-    "astro": "^1.2.5"
+    "astro": "^1.2.6"
   },
   "peerDependencies": {
-    "astro": "^1.2.5"
+    "astro": "^1.2.6"
   }
 }
diff --git a/examples/docs/package.json b/examples/docs/package.json
index 418dd9a015..f628a738e6 100644
--- a/examples/docs/package.json
+++ b/examples/docs/package.json
@@ -12,7 +12,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "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 42316b145b..bdbb2a1eac 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "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 513b1b3975..074fcde72d 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "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 288cf377ce..e5d1abadcc 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "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 af6dbfcead..3201c0ae50 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "preact": "^10.7.3",
     "@astrojs/preact": "^1.1.0"
   }
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 31bbd5e8a1..0657c40eff 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "react": "^18.1.0",
     "react-dom": "^18.1.0",
     "@astrojs/react": "^1.1.3",
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index 62281cd43b..6c69614465 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "solid-js": "^1.4.3",
     "@astrojs/solid-js": "^1.1.0"
   }
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index 95401a4bfb..ca293a4c02 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.0",
-    "astro": "^1.2.5"
+    "astro": "^1.2.6"
   }
 }
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 15bb4f822b..b7dcfe1dbe 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "vue": "^3.2.37",
     "@astrojs/vue": "^1.0.2"
   }
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index 68441c29c7..11f5ef6cae 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5"
+    "astro": "^1.2.6"
   }
 }
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index fab94d7315..dd9dfdd652 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5"
+    "astro": "^1.2.6"
   }
 }
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index f013318d3d..4e45bc5209 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5"
+    "astro": "^1.2.6"
   }
 }
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index b58e134922..65f9ec0e49 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -13,7 +13,7 @@
   },
   "devDependencies": {},
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "svelte": "^3.48.0",
     "@astrojs/svelte": "^1.0.0",
     "@astrojs/node": "^1.0.1",
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index 426a21c966..74489037f7 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "@astrojs/markdown-remark": "^1.1.0",
     "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 a788e7dcb1..bc7eb5ae6d 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -11,6 +11,6 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5"
+    "astro": "^1.2.6"
   }
 }
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index 9704e03767..a7408472e0 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "preact": "^10.6.5",
     "@astrojs/preact": "^1.1.0",
     "@astrojs/mdx": "^0.11.1"
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 7ed02ccdaa..908d6580ee 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "preact": "^10.7.3",
     "@astrojs/preact": "^1.1.0",
     "nanostores": "^0.5.12",
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 32744222de..536aacef92 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -11,7 +11,7 @@
     "astro": "astro"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "@astrojs/tailwind": "^2.0.1",
     "autoprefixer": "^10.4.7",
     "canvas-confetti": "^1.5.1",
diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json
index 30df3ccc9d..f104b99e7c 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.2.5",
+    "astro": "^1.2.6",
     "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 e3785f386e..a3d309c0c0 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
     "test": "vitest"
   },
   "dependencies": {
-    "astro": "^1.2.5",
+    "astro": "^1.2.6",
     "vitest": "^0.20.3"
   }
 }
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index e518487dfa..be5f4c0588 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,11 @@
 # astro
 
+## 1.2.6
+
+### Patch Changes
+
+- [#4771](https://github.com/withastro/astro/pull/4771) [`f3a81d82f`](https://github.com/withastro/astro/commit/f3a81d82f6ab4516cb86bf6b5e3eb01cb3ba39fb) Thanks [@matthewp](https://github.com/matthewp)! - Internal refactor
+
 ## 1.2.5
 
 ### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 696bbecd63..14277b965c 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
 {
   "name": "astro",
-  "version": "1.2.5",
+  "version": "1.2.6",
   "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 2936734d72..391b0f4152 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -56,7 +56,7 @@ importers:
 
   examples/basics:
     specifiers:
-      astro: ^1.2.5
+      astro: ^1.2.6
     dependencies:
       astro: link:../../packages/astro
 
@@ -65,7 +65,7 @@ importers:
       '@astrojs/mdx': ^0.11.1
       '@astrojs/rss': ^1.0.1
       '@astrojs/sitemap': ^1.0.0
-      astro: ^1.2.5
+      astro: ^1.2.6
     dependencies:
       '@astrojs/mdx': link:../../packages/integrations/mdx
       '@astrojs/rss': link:../../packages/astro-rss
@@ -74,7 +74,7 @@ importers:
 
   examples/component:
     specifiers:
-      astro: ^1.2.5
+      astro: ^1.2.6
     devDependencies:
       astro: link:../../packages/astro
 
@@ -88,7 +88,7 @@ importers:
       '@types/node': ^18.0.0
       '@types/react': ^17.0.45
       '@types/react-dom': ^18.0.0
-      astro: ^1.2.5
+      astro: ^1.2.6
       preact: ^10.7.3
       react: ^18.1.0
       react-dom: ^18.1.0
@@ -111,7 +111,7 @@ importers:
       '@astrojs/alpinejs': ^0.1.2
       '@types/alpinejs': ^3.7.0
       alpinejs: ^3.10.2
-      astro: ^1.2.5
+      astro: ^1.2.6
     dependencies:
       '@astrojs/alpinejs': link:../../packages/integrations/alpinejs
       '@types/alpinejs': 3.7.0
@@ -122,7 +122,7 @@ importers:
     specifiers:
       '@astrojs/lit': ^1.0.0
       '@webcomponents/template-shadowroot': ^0.1.0
-      astro: ^1.2.5
+      astro: ^1.2.6
       lit: ^2.2.5
     dependencies:
       '@astrojs/lit': link:../../packages/integrations/lit
@@ -137,7 +137,7 @@ importers:
       '@astrojs/solid-js': ^1.1.0
       '@astrojs/svelte': ^1.0.0
       '@astrojs/vue': ^1.0.2
-      astro: ^1.2.5
+      astro: ^1.2.6
       preact: ^10.7.3
       react: ^18.1.0
       react-dom: ^18.1.0
@@ -161,7 +161,7 @@ importers:
   examples/framework-preact:
     specifiers:
       '@astrojs/preact': ^1.1.0
-      astro: ^1.2.5
+      astro: ^1.2.6
       preact: ^10.7.3
     dependencies:
       '@astrojs/preact': link:../../packages/integrations/preact
@@ -173,7 +173,7 @@ importers:
       '@astrojs/react': ^1.1.3
       '@types/react': ^18.0.10
       '@types/react-dom': ^18.0.5
-      astro: ^1.2.5
+      astro: ^1.2.6
       react: ^18.1.0
       react-dom: ^18.1.0
     dependencies:
@@ -187,7 +187,7 @@ importers:
   examples/framework-solid:
     specifiers:
       '@astrojs/solid-js': ^1.1.0
-      astro: ^1.2.5
+      astro: ^1.2.6
       solid-js: ^1.4.3
     dependencies:
       '@astrojs/solid-js': link:../../packages/integrations/solid
@@ -197,7 +197,7 @@ importers:
   examples/framework-svelte:
     specifiers:
       '@astrojs/svelte': ^1.0.0
-      astro: ^1.2.5
+      astro: ^1.2.6
       svelte: ^3.48.0
     dependencies:
       '@astrojs/svelte': link:../../packages/integrations/svelte
@@ -207,7 +207,7 @@ importers:
   examples/framework-vue:
     specifiers:
       '@astrojs/vue': ^1.0.2
-      astro: ^1.2.5
+      astro: ^1.2.6
       vue: ^3.2.37
     dependencies:
       '@astrojs/vue': link:../../packages/integrations/vue
@@ -216,19 +216,19 @@ importers:
 
   examples/minimal:
     specifiers:
-      astro: ^1.2.5
+      astro: ^1.2.6
     dependencies:
       astro: link:../../packages/astro
 
   examples/non-html-pages:
     specifiers:
-      astro: ^1.2.5
+      astro: ^1.2.6
     dependencies:
       astro: link:../../packages/astro
 
   examples/portfolio:
     specifiers:
-      astro: ^1.2.5
+      astro: ^1.2.6
     dependencies:
       astro: link:../../packages/astro
 
@@ -236,7 +236,7 @@ importers:
     specifiers:
       '@astrojs/node': ^1.0.1
       '@astrojs/svelte': ^1.0.0
-      astro: ^1.2.5
+      astro: ^1.2.6
       concurrently: ^7.2.1
       lightcookie: ^1.0.25
       svelte: ^3.48.0
@@ -255,7 +255,7 @@ importers:
   examples/with-markdown-plugins:
     specifiers:
       '@astrojs/markdown-remark': ^1.1.0
-      astro: ^1.2.5
+      astro: ^1.2.6
       hast-util-select: 5.0.1
       rehype-autolink-headings: ^6.1.1
       rehype-slug: ^5.0.1
@@ -272,7 +272,7 @@ importers:
 
   examples/with-markdown-shiki:
     specifiers:
-      astro: ^1.2.5
+      astro: ^1.2.6
     dependencies:
       astro: link:../../packages/astro
 
@@ -280,7 +280,7 @@ importers:
     specifiers:
       '@astrojs/mdx': ^0.11.1
       '@astrojs/preact': ^1.1.0
-      astro: ^1.2.5
+      astro: ^1.2.6
       preact: ^10.6.5
     dependencies:
       '@astrojs/mdx': link:../../packages/integrations/mdx
@@ -292,7 +292,7 @@ importers:
     specifiers:
       '@astrojs/preact': ^1.1.0
       '@nanostores/preact': ^0.1.3
-      astro: ^1.2.5
+      astro: ^1.2.6
       nanostores: ^0.5.12
       preact: ^10.7.3
     dependencies:
@@ -305,7 +305,7 @@ importers:
   examples/with-tailwindcss:
     specifiers:
       '@astrojs/tailwind': ^2.0.1
-      astro: ^1.2.5
+      astro: ^1.2.6
       autoprefixer: ^10.4.7
       canvas-confetti: ^1.5.1
       postcss: ^8.4.14
@@ -320,7 +320,7 @@ importers:
 
   examples/with-vite-plugin-pwa:
     specifiers:
-      astro: ^1.2.5
+      astro: ^1.2.6
       vite-plugin-pwa: 0.11.11
       workbox-window: ^6.5.3
     dependencies:
@@ -330,7 +330,7 @@ importers:
 
   examples/with-vitest:
     specifiers:
-      astro: ^1.2.5
+      astro: ^1.2.6
       vitest: ^0.20.3
     dependencies:
       astro: link:../../packages/astro