Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 15 additions & 2 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,26 @@
"@astrojs/markdown-remark": "7.0.1",
"@astrojs/telemetry": "3.3.0",
"@astrojs/underscore-redirects": "1.0.2",
"@astrojs/upgrade": "0.7.1"
"@astrojs/upgrade": "0.7.1",
"@astrojs/markdown-satteri": "0.2.1"
},
"changesets": [
"common-pears-drive",
"dark-carpets-turn",
"fancy-roses-spend",
"few-apples-double",
"fix-advanced-routing-404-fallback",
"fix-astro-marks-all-features",
"fix-dev-port-vite-restart",
"fix-i18n-redirect-header",
"fix-node-build-format-file",
"funky-deserts-invite",
"goofy-tigers-like",
"rusty-compilers-only",
"two-eels-live"
"silly-spoons-write",
"thick-trains-talk",
"two-eels-live",
"update-vite-plugin-svelte-v7",
"wacky-bugs-act"
]
}
4 changes: 2 additions & 2 deletions examples/advanced-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/node": "^11.0.0-alpha.0",
"astro": "^7.0.0-alpha.1",
"@astrojs/node": "^11.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"hono": "^4.12.14"
}
}
2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^7.0.0-alpha.1"
"astro": "^7.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"dependencies": {
"@astrojs/mdx": "^6.0.0-alpha.0",
"@astrojs/rss": "^4.0.18",
"@astrojs/sitemap": "^3.7.2",
"astro": "^7.0.0-alpha.1",
"@astrojs/sitemap": "^3.7.3",
"astro": "^7.0.0-alpha.2",
"sharp": "^0.34.3"
}
}
2 changes: 1 addition & 1 deletion examples/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^7.0.0-alpha.1"
"astro": "^7.0.0-alpha.2"
},
"peerDependencies": {
"astro": "^5.0.0 || ^6.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/container-with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"test": "vitest run"
},
"dependencies": {
"@astrojs/react": "^6.0.0-alpha.0",
"astro": "^7.0.0-alpha.1",
"@astrojs/react": "^6.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^4.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@astrojs/alpinejs": "^1.0.0-alpha.0",
"@types/alpinejs": "^3.13.11",
"alpinejs": "^3.15.8",
"astro": "^7.0.0-alpha.1"
"astro": "^7.0.0-alpha.2"
}
}
8 changes: 4 additions & 4 deletions examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/preact": "^6.0.0-alpha.0",
"@astrojs/react": "^6.0.0-alpha.0",
"@astrojs/preact": "^6.0.0-alpha.1",
"@astrojs/react": "^6.0.0-alpha.1",
"@astrojs/solid-js": "^7.0.0-alpha.0",
"@astrojs/svelte": "^9.0.0-alpha.0",
"@astrojs/svelte": "^9.0.0-alpha.2",
"@astrojs/vue": "^7.0.0-alpha.0",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/preact": "^6.0.0-alpha.0",
"@astrojs/preact": "^6.0.0-alpha.1",
"@preact/signals": "^2.8.1",
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"preact": "^10.28.4"
}
}
4 changes: 2 additions & 2 deletions examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/react": "^6.0.0-alpha.0",
"@astrojs/react": "^6.0.0-alpha.1",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^7.0.0-alpha.0",
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"solid-js": "^1.9.11"
}
}
4 changes: 2 additions & 2 deletions examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/svelte": "^9.0.0-alpha.0",
"astro": "^7.0.0-alpha.1",
"@astrojs/svelte": "^9.0.0-alpha.2",
"astro": "^7.0.0-alpha.2",
"svelte": "^5.53.5"
}
}
2 changes: 1 addition & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@astrojs/vue": "^7.0.0-alpha.0",
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"vue": "^3.5.29"
}
}
4 changes: 2 additions & 2 deletions examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/node": "^11.0.0-alpha.0",
"astro": "^7.0.0-alpha.1"
"@astrojs/node": "^11.0.0-alpha.1",
"astro": "^7.0.0-alpha.2"
}
}
2 changes: 1 addition & 1 deletion examples/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^7.0.0-alpha.1"
"astro": "^7.0.0-alpha.2"
},
"peerDependencies": {
"astro": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^7.0.0-alpha.1"
"astro": "^7.0.0-alpha.2"
}
}
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^7.0.0-alpha.1"
"astro": "^7.0.0-alpha.2"
}
}
6 changes: 3 additions & 3 deletions examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
"@astrojs/node": "^11.0.0-alpha.0",
"@astrojs/svelte": "^9.0.0-alpha.0",
"astro": "^7.0.0-alpha.1",
"@astrojs/node": "^11.0.0-alpha.1",
"@astrojs/svelte": "^9.0.0-alpha.2",
"astro": "^7.0.0-alpha.2",
"svelte": "^5.53.5"
}
}
2 changes: 1 addition & 1 deletion examples/starlog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"sass": "^1.97.3",
"sharp": "^0.34.3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/toolbar-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@types/node": "^22.10.6",
"astro": "^7.0.0-alpha.1"
"astro": "^7.0.0-alpha.2"
},
"engines": {
"node": ">=22.12.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^2.0.0-alpha.0",
"astro": "^7.0.0-alpha.1"
"astro": "^7.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"dependencies": {
"@astrojs/mdx": "^6.0.0-alpha.0",
"@astrojs/preact": "^6.0.0-alpha.0",
"astro": "^7.0.0-alpha.1",
"@astrojs/preact": "^6.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"preact": "^10.28.4"
}
}
4 changes: 2 additions & 2 deletions examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/preact": "^6.0.0-alpha.0",
"@astrojs/preact": "^6.0.0-alpha.1",
"@nanostores/preact": "^1.0.0",
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"nanostores": "^1.1.1",
"preact": "^10.28.4"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@astrojs/mdx": "^6.0.0-alpha.0",
"@tailwindcss/vite": "^4.2.1",
"@types/canvas-confetti": "^1.9.0",
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"canvas-confetti": "^1.9.4",
"tailwindcss": "^4.2.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^7.0.0-alpha.1",
"astro": "^7.0.0-alpha.2",
"vitest": "^5.0.0-beta.2"
}
}
57 changes: 57 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
# astro

## 7.0.0-alpha.2

### Major Changes

- [#16725](https://github.com/withastro/astro/pull/16725) [`10229f7`](https://github.com/withastro/astro/commit/10229f73dbf0f19b9936e9a23f0abc774a4c579e) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Removes deprecated APIs exported from `astro:transitions`.

In Astro 6.x, some helpers available in `astro:transitions` and `astro:transitions/client` were deprecated.

In Astro 7.0, the following APIs can no longer be used in your project:
- `TRANSITION_BEFORE_PREPARATION`
- `TRANSITION_AFTER_PREPARATION`
- `TRANSITION_BEFORE_SWAP`
- `TRANSITION_AFTER_SWAP`
- `TRANSITION_PAGE_LOAD`
- `isTransitionBeforePreparationEvent()`
- `isTransitionBeforeSwapEvent()`
- `createAnimationScope()`

#### What should I do?

Remove any occurrence of `createAnimationScope()`:

```diff
-import { createAnimationScope } from 'astro:transitions';
```

Replace any occurrence of the other APIs using the lifecycle event names directly:

```diff
-import {
- TRANSITION_AFTER_SWAP,
- isTransitionBeforePreparationEvent,
-} from 'astro:transitions/client';

-console.log(isTransitionBeforePreparationEvent(event));
+console.log(event.type === 'astro:before-preparation');

-console.log(TRANSITION_AFTER_SWAP);
+console.log('astro:after-swap');
```

Learn more about all utilities available in the [View Transitions Router API Reference](https://v7.docs.astro.build/en/reference/modules/astro-transitions/).

### Patch Changes

- [#16900](https://github.com/withastro/astro/pull/16900) [`17a0fbd`](https://github.com/withastro/astro/commit/17a0fbd34d11db765e79caf269bfd5f43ef51da8) Thanks [@ocavue](https://github.com/ocavue)! - Bumps `devalue` dependency to v5.8.1

- [#16016](https://github.com/withastro/astro/pull/16016) [`0d85e1b`](https://github.com/withastro/astro/commit/0d85e1b7ea58a243bd1b61bdfb951c4fd87b9db5) Thanks [@felmonon](https://github.com/felmonon)! - Fix a false positive in the dev toolbar accessibility audit for anchors with text inside closed `<details>` elements.

- [#16911](https://github.com/withastro/astro/pull/16911) [`79c6c46`](https://github.com/withastro/astro/commit/79c6c469a735bece8a80200f7b188e15f1abff24) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes a bug where `experimental.advancedRouting` with `astro/hono` handlers threw `TypeError: Cannot read properties of undefined (reading 'route')` for unmatched routes instead of rendering the custom 404 page.

- [#16899](https://github.com/withastro/astro/pull/16899) [`239c469`](https://github.com/withastro/astro/commit/239c469cd2cd66d147a302a2ca14e07a0891f9b8) Thanks [@matthewp](https://github.com/matthewp)! - Fixes a false "does not call the middleware() handler" warning when using `astro()` in a custom `src/app.ts` and the first request is a redirect route.

- [#16887](https://github.com/withastro/astro/pull/16887) [`493acdb`](https://github.com/withastro/astro/commit/493acdb4abc56534e9efa68af16e3ef273d7d88b) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes `redirectToDefaultLocale` not working after the Advanced Routing refactoring.

- [#16908](https://github.com/withastro/astro/pull/16908) [`ef53ab9`](https://github.com/withastro/astro/commit/ef53ab91e8362b50bb1a3ab73d9350b93ea41de4) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Improves optimized fallbacks generation when using the Fonts API by using better metrics for bold variants

## 7.0.0-alpha.1

### Patch Changes
Expand Down
Loading