Skip to content
Draft

Astro v7 #13872

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
a35c8f9
Add no-index header for pre-release v7 docs
matthewp Apr 28, 2026
1a2f601
chore: trigger v7 branch deploy
matthewp Apr 28, 2026
b98c80a
Add v7 migration guide
matthewp Apr 28, 2026
58027f5
Add agent upgrade prompt to v7 migration guide
matthewp Apr 28, 2026
d0b9778
Merge branch 'main' into v7
ArmandPhilippot May 12, 2026
e2a1ca5
fix(v7): update `nightly.yml` to pull config and errors changes (#13876)
ArmandPhilippot May 12, 2026
dd9123c
fix(v7): remove Rust compiler page and use `alpha` in upgrade command…
ArmandPhilippot May 12, 2026
ec96d4f
Merge branch 'main' into v7
ArmandPhilippot May 12, 2026
364a062
fix(v7): make v7 upgrade guide discoverable (#13885)
ArmandPhilippot May 14, 2026
9895a8c
Merge branch 'main' into v7
ArmandPhilippot May 18, 2026
e28518b
Merge branch 'main' into v7
ArmandPhilippot May 26, 2026
2c6efb1
Merge branch 'main' into v7
ArmandPhilippot May 29, 2026
bd1596b
Merge branch 'main' into v7
ArmandPhilippot Jun 2, 2026
214daac
feat(v7): remove deprecated APIs in `astro:transitions` (#13886)
ArmandPhilippot Jun 8, 2026
a4650b3
Add `astro dev --background` to CLI reference (#13949)
matthewp Jun 8, 2026
5619a33
Remove context provider APIs from advanced routing docs (#13993)
matthewp Jun 8, 2026
6e50342
Merge branch 'main' into v7
ArmandPhilippot Jun 8, 2026
b8a72d9
feat: remove experimental flag (#14019)
ematipico Jun 9, 2026
b379cc5
Merge branch 'main' into v7
ArmandPhilippot Jun 9, 2026
d0fb1a6
feat: stable logger (#13907)
ematipico Jun 9, 2026
985da19
fix: logger version (#14026)
ematipico Jun 9, 2026
83eda43
Expose getFetchState function (#14021)
matthewp Jun 9, 2026
2ee58f0
feat(v7): add queued rendering to the upgrade guide (#14024)
ArmandPhilippot Jun 9, 2026
dff07a9
Update upgrade guide to show beta command
delucis Jun 9, 2026
139edaa
feat(v7): stabilize advanced routing (#13983)
ArmandPhilippot Jun 9, 2026
6eb95b5
feat(v7): remove astro db (#13985)
ArmandPhilippot Jun 9, 2026
942f956
[BETA] ci: update reference docs (#14028)
astrobot-houston Jun 9, 2026
9236666
fix(v7): logger API no longer experimental (#14027)
ArmandPhilippot Jun 9, 2026
bc6b77a
feat(fonts): include subset field in fontData from astro:assets (#14020)
florian-lefebvre Jun 9, 2026
7b3000a
fix line highlighting in the upgrade guide
ArmandPhilippot Jun 9, 2026
5482f8a
fix(logger): update highlighted lines & add docs for the `--json` fla…
ArmandPhilippot Jun 11, 2026
91cf7d9
Merge branch 'main' into v7
ArmandPhilippot Jun 11, 2026
f4dcfcc
fix(v7): several quick fixes (link, code snippet...) (#14044)
ArmandPhilippot Jun 11, 2026
749dba4
[BETA] ci: update reference docs (#14048)
astrobot-houston Jun 12, 2026
99b2778
Migrate v7 docs branch to Cloudflare Workers
matthewp Jun 12, 2026
c97f034
Add worker.js for localized 404s, remove 404 redirect line
matthewp Jun 12, 2026
ee75260
Merge main into v7
matthewp Jun 15, 2026
e879d8c
Update pnpm-workspace.yaml
matthewp Jun 15, 2026
05c4ee1
Fix preview site URL and remove netlify:build script
matthewp Jun 15, 2026
bce2b90
[BETA] ci: update reference docs (#14067)
astrobot-houston Jun 15, 2026
ea18263
feat: update the docs for Sätteri being the default Markdown processo…
Princesseuh Jun 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const previewSite = previewBranch
? `https://${previewBranch}.previews.docs.astro.build/`
: undefined;

const site = previewSite || 'https://docs.astro.build/';
const site = previewSite || 'https://v7.docs.astro.build/';

// https://astro.build/config
export default defineConfig({
Expand Down
10 changes: 4 additions & 6 deletions astro.sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export const sidebar = [
'guides/content-collections',
'guides/images',
'guides/data-fetching',
'guides/astro-db',
],
}),
group('guides.serverRendering', {
Expand All @@ -88,6 +87,7 @@ export const sidebar = [
group('guides.upgrade.major', {
collapsed: true,
items: [
'guides/upgrade-to/v7',
'guides/upgrade-to/v6',
'guides/upgrade-to/v5',
'guides/upgrade-to/v4',
Expand Down Expand Up @@ -130,6 +130,8 @@ export const sidebar = [
'reference/modules/astro-config',
'reference/modules/astro-content',
'reference/modules/astro-env',
'reference/modules/astro-fetch',
'reference/modules/astro-hono',
'reference/modules/astro-i18n',
'reference/modules/astro-middleware',
'reference/modules/astro-static-paths',
Expand All @@ -147,6 +149,7 @@ export const sidebar = [
'reference/dev-toolbar-app-reference',
'reference/session-driver-reference',
'reference/font-provider-reference',
'reference/logger-reference',
'reference/container-reference',
'reference/programmatic-reference',
],
Expand All @@ -159,10 +162,6 @@ export const sidebar = [
'reference/experimental-flags/content-intellisense',
'reference/experimental-flags/chrome-devtools-workspace',
'reference/experimental-flags/svg-optimization',
'reference/experimental-flags/queued-rendering',
'reference/experimental-flags/rust-compiler',
'reference/experimental-flags/advanced-routing',
'reference/experimental-flags/logger',
],
}),
'reference/legacy-flags',
Expand Down Expand Up @@ -196,7 +195,6 @@ export const sidebar = [
group('ecosystem.integrations.other', {
collapsed: true,
items: [
'guides/integrations-guide/db',
'guides/integrations-guide/markdoc',
'guides/integrations-guide/mdx',
'guides/integrations-guide/partytown',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"typescript-eslint": "^8.59.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.1.0",
"wrangler": "^4.88.0"
"wrangler": "^4.99.0"
},
"dependencies": {
"@astrojs/check": "^0.9.9",
Expand Down
92 changes: 46 additions & 46 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions public/.assetsignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_worker.js
_routes.json
4 changes: 4 additions & 0 deletions public/_headers
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# TODO: Remove this before merging to main
/*
x-robots-tag: no-index
/*
cache-control: max-age=60
cache-control: public
/_astro/*
cache-control: max-age=31536000
cache-control: immutable
cache-control: public

2 changes: 2 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
/:lang/reference/experimental-flags/live-content-collections/ /:lang/guides/content-collections/#live-content-collections
/:lang/reference/experimental-flags/preserve-scripts-order/ /:lang/guides/client-side-scripts/
/:lang/reference/experimental-flags/static-import-meta-env/ /:lang/guides/environment-variables/
/:lang/reference/experimental-flags/advanced-routing/ /:lang/guides/routing/

# Very old docs site redirects
# Once upon a time these URLs existed, so we try to keep them meaning something.
Expand All @@ -69,6 +70,7 @@
/lighthouse/* /en/guides/migrate-to-astro/
/en/guides/debugging /en/guides/troubleshooting/
/en/quick-started /en/installation/
/:lang/guides/astro-db/ /en/guides/integrations-guide/db/

# Redirect root to English homepage
/ /en/getting-started/
Expand Down
1 change: 0 additions & 1 deletion src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ export const collections = {
const packages = [
'@astrojs/alpinejs',
'@astrojs/cloudflare',
'@astrojs/db',
'@astrojs/markdoc',
'@astrojs/mdx',
'@astrojs/netlify',
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/contribute.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Visit [Astro's GitHub profile](https://github.com/withastro) to find the reposit

- [Astro Docs](https://github.com/withastro/docs), an entire Astro website! Contribute not just written content, but also Astro code addressing a11y, CSS, UI, and UX concerns. We also make our documentation available in several languages, so we need help translating the entire site.

- The [Astro compiler](https://github.com/withastro/compiler), written in Go, distributed as WASM.
- The [Astro compiler](https://github.com/withastro/compiler-rs), written in Rust, distributed as WASM.

- Astro's [language tools](https://github.com/withastro/astro/tree/main/packages/language-tools), the editor tooling required for the Astro language (`.astro` files).

Expand Down
3 changes: 3 additions & 0 deletions src/content/docs/en/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ i18nReady: true
tableOfContents: false
editUrl: false
next: false
banner:
content: |
Astro v7 is here! <a href="/en/guides/upgrade-to/v7/">Learn how to upgrade your site</a>
hero:
title: Astro Docs
tagline: Guides, resources, and API references to help you build with Astro.
Expand Down
Loading
Loading