diff --git a/.changeset/chatty-walls-happen.md b/.changeset/chatty-walls-happen.md
deleted file mode 100644
index 58fe5e6edb2c..000000000000
--- a/.changeset/chatty-walls-happen.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixed a case where dynamic imports tried to preload inlined stylesheets.
diff --git a/.changeset/empty-rings-bow.md b/.changeset/empty-rings-bow.md
deleted file mode 100644
index fd928d548c04..000000000000
--- a/.changeset/empty-rings-bow.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes remote assets caching logic to not use expired assets
diff --git a/.changeset/fair-countries-admire.md b/.changeset/fair-countries-admire.md
deleted file mode 100644
index 1868ab016695..000000000000
--- a/.changeset/fair-countries-admire.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/svelte': patch
----
-
-Removed vite warnings.
diff --git a/.changeset/giant-cycles-marry.md b/.changeset/giant-cycles-marry.md
new file mode 100644
index 000000000000..284f8531b5bc
--- /dev/null
+++ b/.changeset/giant-cycles-marry.md
@@ -0,0 +1,5 @@
+---
+'@astrojs/solid-js': patch
+---
+
+Fix hydration in Solid renderer
diff --git a/.changeset/hip-cats-jump.md b/.changeset/hip-cats-jump.md
deleted file mode 100644
index f728408a082a..000000000000
--- a/.changeset/hip-cats-jump.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fix missing type for `imageConfig` export from `astro:assets`
diff --git a/.changeset/modern-guests-float.md b/.changeset/modern-guests-float.md
deleted file mode 100644
index cda74642aac0..000000000000
--- a/.changeset/modern-guests-float.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/vercel': patch
----
-
-Fix serverless function naming conflicts for routes with identical filenames but different directory structures
diff --git a/.changeset/spotty-glasses-grin.md b/.changeset/spotty-glasses-grin.md
deleted file mode 100644
index 3a903b79dd32..000000000000
--- a/.changeset/spotty-glasses-grin.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/mdx': patch
----
-
-Add location data to MDX compile errors
diff --git a/.changeset/strong-colts-hang.md b/.changeset/strong-colts-hang.md
new file mode 100644
index 000000000000..90b822b41d42
--- /dev/null
+++ b/.changeset/strong-colts-hang.md
@@ -0,0 +1,5 @@
+---
+"astro": patch
+---
+
+Fix "Cannot read properties of null" error in CLI code
diff --git a/.changeset/twelve-cars-tell.md b/.changeset/twelve-cars-tell.md
deleted file mode 100644
index a1812d637aff..000000000000
--- a/.changeset/twelve-cars-tell.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fix markdown page HMR
diff --git a/.changeset/weak-kids-roll.md b/.changeset/weak-kids-roll.md
deleted file mode 100644
index 7d6d61f42e1f..000000000000
--- a/.changeset/weak-kids-roll.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fix scroll position when navigating back from page w/o ViewTransitions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 01c573e10382..cab1fd79f2a2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -108,7 +108,7 @@ jobs:
strategy:
matrix:
OS: [ubuntu-latest]
- NODE_VERSION: [18, 20]
+ NODE_VERSION: [18, 20.5.1]
include:
- os: macos-latest
NODE_VERSION: 18
diff --git a/.prettierignore b/.prettierignore
index f53f92086ca7..af84e34338c1 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,10 +1,3 @@
-# Ignoring these files for now due to https://github.com/withastro/compiler/issues/585
-examples/basics/src/layouts
-examples/with-nanostores/src/layouts
-
-# Ignoring this file for now due to https://github.com/withastro/compiler/issues/485
-packages/markdown/component/Markdown.astro
-
# Benchmark artifacts
benchmark/projects/
benchmark/results/
diff --git a/.prettierrc.cjs b/.prettierrc.cjs
deleted file mode 100644
index 39911db2c101..000000000000
--- a/.prettierrc.cjs
+++ /dev/null
@@ -1,24 +0,0 @@
-// Heads up: This file should be renamed to `.cjs`, however if we did that, changesets wouldn't be able to load it
-module.exports = {
- printWidth: 100,
- semi: true,
- singleQuote: true,
- tabWidth: 2,
- trailingComma: 'es5',
- useTabs: true,
- plugins: ['prettier-plugin-astro'],
- overrides: [
- {
- files: ['.*', '*.json', '*.md', '*.toml', '*.yml'],
- options: {
- useTabs: false,
- },
- },
- {
- files: ['**/*.astro'],
- options: {
- parser: 'astro',
- },
- },
- ],
-};
diff --git a/README.md b/README.md
index 3a28ad530281..c49b4760e085 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,7 @@ Several official projects are maintained outside of this repo:
## Sponsors
-Astro is generously supported by Netlify, Storyblok, and several other amazing organizations.
+Astro is free, open source software made possible by these wonderful sponsors.
[❤️ Sponsor Astro! ❤️](https://github.com/withastro/.github/blob/main/FUNDING.md)
@@ -91,7 +91,7 @@ Astro is generously supported by Netlify, Storyblok, and several other amazing o
[![Astro's sponsors.](https://astro.build/sponsors.png "Astro's sponsors.
-Platinum sponsors: Netlify, storyblok, Vercel, Ship Shape, Google Chrome
+Platinum sponsors: Vercel, storyblok, Netlify, Ship Shape, Google Chrome
Gold sponsors: ‹div›RIOTS, DEEPGRAM, Transloadit, CloudCannon
Sponsors: Monogram, Qoddi, Dimension")](https://github.com/sponsors/withastro)
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 8bca8d9270ec..f732916c21a5 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
}
}
diff --git a/examples/basics/src/layouts/Layout.astro b/examples/basics/src/layouts/Layout.astro
index 3345b887ce7f..7b552be19bca 100644
--- a/examples/basics/src/layouts/Layout.astro
+++ b/examples/basics/src/layouts/Layout.astro
@@ -1,4 +1,4 @@
----
+---
interface Props {
title: string;
}
@@ -6,11 +6,11 @@ interface Props {
const { title } = Astro.props;
---
-
+
-
+
@@ -25,15 +25,27 @@ const { title } = Astro.props;
--accent: 136, 58, 234;
--accent-light: 224, 204, 250;
--accent-dark: 49, 10, 101;
- --accent-gradient: linear-gradient(45deg, rgb(var(--accent)), rgb(var(--accent-light)) 30%, white 60%);
+ --accent-gradient: linear-gradient(
+ 45deg,
+ rgb(var(--accent)),
+ rgb(var(--accent-light)) 30%,
+ white 60%
+ );
}
html {
font-family: system-ui, sans-serif;
- background: #13151A;
+ background: #13151a;
background-size: 224px;
}
code {
- font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
- Bitstream Vera Sans Mono, Courier New, monospace;
+ font-family:
+ Menlo,
+ Monaco,
+ Lucida Console,
+ Liberation Mono,
+ DejaVu Sans Mono,
+ Bitstream Vera Sans Mono,
+ Courier New,
+ monospace;
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 347540e050a9..e76a9055ac0d 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^1.0.0",
+ "@astrojs/mdx": "^1.0.2",
"@astrojs/rss": "^3.0.0",
"@astrojs/sitemap": "^3.0.0",
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
}
}
diff --git a/examples/blog/src/pages/blog/index.astro b/examples/blog/src/pages/blog/index.astro
index a5c329a87f06..ebbcd304272f 100644
--- a/examples/blog/src/pages/blog/index.astro
+++ b/examples/blog/src/pages/blog/index.astro
@@ -11,7 +11,7 @@ const posts = (await getCollection('blog')).sort(
);
---
-
+
diff --git a/examples/blog/src/pages/index.astro b/examples/blog/src/pages/index.astro
index 26f070da5e80..1c8be6135dfb 100644
--- a/examples/blog/src/pages/index.astro
+++ b/examples/blog/src/pages/index.astro
@@ -5,7 +5,7 @@ import Footer from '../components/Footer.astro';
import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
---
-
+
@@ -16,14 +16,14 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
🧑🚀 Hello, Astronaut!
Welcome to the official Astro blog starter template. This
- template serves as a lightweight, minimally-styled starting point for anyone looking to build
- a personal website, blog, or portfolio with Astro.
+ template serves as a lightweight, minimally-styled starting point for anyone looking to
+ build a personal website, blog, or portfolio with Astro.
This template comes with a few integrations already configured in your
astro.config.mjs
file. You can customize your setup with
- Astro Integrations to add tools like Tailwind,
- React, or Vue to your project.
+ Astro Integrations to add tools like
+ Tailwind, React, or Vue to your project.
Here are a few ideas on how to get started with the template:
diff --git a/examples/component/package.json b/examples/component/package.json
index 39290c2b5d9a..aa119f483c97 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
diff --git a/examples/deno/package.json b/examples/deno/package.json
index ac233a386455..5815e400e09a 100644
--- a/examples/deno/package.json
+++ b/examples/deno/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
},
"devDependencies": {
"@astrojs/deno": "^5.0.0"
diff --git a/examples/deno/src/components/Layout.astro b/examples/deno/src/components/Layout.astro
index 7d329d0a4392..7bcbd218c5f8 100644
--- a/examples/deno/src/components/Layout.astro
+++ b/examples/deno/src/components/Layout.astro
@@ -6,7 +6,7 @@ interface Props {
const { title } = Astro.props as Props;
---
-
+
@@ -46,8 +46,15 @@ const { title } = Astro.props as Props;
}
:global(code) {
- font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
- Bitstream Vera Sans Mono, Courier New, monospace;
+ font-family:
+ Menlo,
+ Monaco,
+ Lucida Console,
+ Liberation Mono,
+ DejaVu Sans Mono,
+ Bitstream Vera Sans Mono,
+ Courier New,
+ monospace;
}
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 9e933f62213c..5f13afc74433 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.3.0",
"@types/alpinejs": "^3.7.2",
"alpinejs": "^3.12.3",
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index 0596fbd8d6ce..054bb3c0b5b8 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^3.0.0",
"@webcomponents/template-shadowroot": "^0.2.1",
- "astro": "^3.0.8",
+ "astro": "^3.0.10",
"lit": "^2.8.0"
}
}
diff --git a/examples/framework-lit/src/pages/index.astro b/examples/framework-lit/src/pages/index.astro
index a351b82487ea..5ef314f6fcbb 100644
--- a/examples/framework-lit/src/pages/index.astro
+++ b/examples/framework-lit/src/pages/index.astro
@@ -7,7 +7,7 @@ import { MyCounter } from '../components/my-counter.js';
// https://docs.astro.build/core-concepts/astro-components/
---
-
+
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 4246c6c1c5a5..e590a485e098 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -12,11 +12,11 @@
},
"dependencies": {
"@astrojs/preact": "^3.0.0",
- "@astrojs/react": "^3.0.0",
+ "@astrojs/react": "^3.0.1",
"@astrojs/solid-js": "^3.0.0",
- "@astrojs/svelte": "^4.0.0",
+ "@astrojs/svelte": "^4.0.1",
"@astrojs/vue": "^3.0.0",
- "astro": "^3.0.8",
+ "astro": "^3.0.10",
"preact": "^10.17.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index a97ff70e27d9..1d9ed72a9ae9 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.0.0",
"@preact/signals": "^1.2.1",
- "astro": "^3.0.8",
+ "astro": "^3.0.10",
"preact": "^10.17.1"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 562a551ce291..db5754bb2d1d 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -11,10 +11,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/react": "^3.0.0",
+ "@astrojs/react": "^3.0.1",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
- "astro": "^3.0.8",
+ "astro": "^3.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index f00813c91187..e5d6ab7a987b 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^3.0.0",
- "astro": "^3.0.8",
+ "astro": "^3.0.10",
"solid-js": "^1.7.11"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index c232e9e15ee0..f7104d2fc11e 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/svelte": "^4.0.0",
- "astro": "^3.0.8",
+ "@astrojs/svelte": "^4.0.1",
+ "astro": "^3.0.10",
"svelte": "^4.2.0"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 34fc9a29e322..f92608783d7a 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^3.0.0",
- "astro": "^3.0.8",
+ "astro": "^3.0.10",
"vue": "^3.3.4"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index 305b50d6e8f1..2ebf73fdc5da 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^6.0.0",
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
}
}
diff --git a/examples/hackernews/src/pages/stories/[id].astro b/examples/hackernews/src/pages/stories/[id].astro
index 84383aa9e4ab..9cfad36fddd9 100644
--- a/examples/hackernews/src/pages/stories/[id].astro
+++ b/examples/hackernews/src/pages/stories/[id].astro
@@ -25,7 +25,7 @@ const story = (await fetchAPI(`item/${id}`)) as IStory;
{story.user}
- {story.time_ago}
+ {story.time_ago}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 6a699810506a..5ec161e24ec3 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
diff --git a/examples/middleware/package.json b/examples/middleware/package.json
index f0c83d7d9512..79571c378e39 100644
--- a/examples/middleware/package.json
+++ b/examples/middleware/package.json
@@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^6.0.0",
- "astro": "^3.0.8",
+ "astro": "^3.0.10",
"html-minifier": "^4.0.0"
}
}
diff --git a/examples/middleware/src/components/Card.astro b/examples/middleware/src/components/Card.astro
index a1e0ccf6eb77..1ff16e5fb46e 100644
--- a/examples/middleware/src/components/Card.astro
+++ b/examples/middleware/src/components/Card.astro
@@ -30,7 +30,9 @@ const { href, title, body } = Astro.props;
border-radius: 0.6rem;
background-position: 100%;
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1);
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
+ box-shadow:
+ 0 4px 6px -1px rgba(0, 0, 0, 0.1),
+ 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.link-card > a {
diff --git a/examples/middleware/src/layouts/Layout.astro b/examples/middleware/src/layouts/Layout.astro
index b3def2637267..90d2fb715f15 100644
--- a/examples/middleware/src/layouts/Layout.astro
+++ b/examples/middleware/src/layouts/Layout.astro
@@ -6,7 +6,7 @@ interface Props {
const { title } = Astro.props;
---
-
+
@@ -29,7 +29,14 @@ const { title } = Astro.props;
background-color: #f6f6f6;
}
code {
- font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
- Bitstream Vera Sans Mono, Courier New, monospace;
+ font-family:
+ Menlo,
+ Monaco,
+ Lucida Console,
+ Liberation Mono,
+ DejaVu Sans Mono,
+ Bitstream Vera Sans Mono,
+ Courier New,
+ monospace;
}
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index 13ea2c026a11..b8e75bb6c42e 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
}
}
diff --git a/examples/minimal/src/pages/index.astro b/examples/minimal/src/pages/index.astro
index 7264ff502db6..2d141073625b 100644
--- a/examples/minimal/src/pages/index.astro
+++ b/examples/minimal/src/pages/index.astro
@@ -1,4 +1,5 @@
---
+
---
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 4cd01cc55eff..7e796a00fe68 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 65d29e849bb7..43c0678cfc6d 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^3.0.8"
+ "astro": "^3.0.10"
}
}
diff --git a/examples/portfolio/src/components/Nav.astro b/examples/portfolio/src/components/Nav.astro
index bf9ac7869169..d0a5857b12bf 100644
--- a/examples/portfolio/src/components/Nav.astro
+++ b/examples/portfolio/src/components/Nav.astro
@@ -25,7 +25,7 @@ const iconLinks: { label: string; href: string; icon: keyof typeof iconPaths }[]