Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .changeset/chubby-tips-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Removes types for the `astro:ssr-manifest` module, which was removed
5 changes: 5 additions & 0 deletions .changeset/cloudflare-image-component.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/cloudflare": major
---

Changes the default image service from `compile` to `cloudflare-binding`. Image services options that resulted in broken images in development due to Node JS incompatiblities have now been updated to use the noop passthrough image service in dev mode. - ([Cloudflare v13 and Astro6 upgrade guidance](https://v6.docs.astro.build/en/guides/integrations-guide/cloudflare/#changed-imageservice-default))
5 changes: 5 additions & 0 deletions .changeset/cloudflare-image-dev-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Improves compatibility of the built-in image endpoint with runtimes that don't support CJS dependencies correctly
20 changes: 20 additions & 0 deletions .changeset/cloudflare-image-service-object.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@astrojs/cloudflare": minor
---

Adds support for configuring the image service as an object with separate `build` and `runtime` options

It is now possible to set both a build-time and runtime service independently. Currently, `'compile'` is the only available build time option. The supported runtime options are `'passthrough'` (default) and `'cloudflare-binding'`:

```js title="astro.config.mjs" ins={6}
import { defineConfig } from 'astro/config';
import cloudflare from '@astrojs/cloudflare';

export default defineConfig({
adapter: cloudflare({
imageService: { build: 'compile', runtime: 'cloudflare-binding' }
}),
});
```

See the [Cloudflare adapter `imageService` docs](https://v6.docs.astro.build/en/guides/integrations-guide/cloudflare/#imageservice) for more information about configuring your image service.
5 changes: 5 additions & 0 deletions .changeset/cute-suns-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/node': patch
---

Updates to new Adapter API introduced in v6
5 changes: 5 additions & 0 deletions .changeset/ten-numbers-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/cloudflare': patch
---

Adds an error when running on Stackblitz, since `workerd` doesn't support it
28 changes: 28 additions & 0 deletions .changeset/twenty-signs-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
'@astrojs/cloudflare': minor
---

Adds support for more `@cloudflare/vite-plugin` options

The adapter now accepts the following [options from Cloudflare's Vite plugin](https://developers.cloudflare.com/workers/vite-plugin/reference/api/):

- `auxiliaryWorkers`
- `configPath`
- `inspectorPort`
- `persistState`
- `remoteBindings`
- `experimental.headersAndRedirectsDevModeSupport`

For example, you can now set `inspectorPort` to provide a custom port for debugging your Workers:

```js
// astro.config.mjs
import { defineConfig } from 'astro/config'
import cloudflare from '@astrojs/cloudflare'

export default defineConfig({
adapter: cloudflare({
inspectorPort: 3456
})
})
```
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/---01-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body:
id: bug-reproduction
attributes:
label: Link to Minimal Reproducible Example
description: 'Use [StackBlitz](https://astro.new/repro) to create a minimal reproduction of the problem. **A minimal reproduction is required** so that others can help debug your issue. If a report is vague (e.g. just a generic error message) and has no reproduction, it may be auto-closed. Not sure how to create a minimal example? [Read our guide](https://docs.astro.build/en/guides/troubleshooting/#creating-minimal-reproductions)'
description: 'Use [StackBlitz](https://astro.new/repro) (does not support `@astrojs/cloudflare`) or [GitHub](https://astro.new/minimal?on=github) to create a minimal reproduction of the problem. **A minimal reproduction is required** so that others can help debug your issue. If a report is vague (e.g. just a generic error message) and has no reproduction, it may be auto-closed. Not sure how to create a minimal example? [Read our guide](https://docs.astro.build/en/guides/troubleshooting/#creating-minimal-reproductions).'
placeholder: 'https://stackblitz.com/abcd1234'
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
timeout-minutes: 15

- name: Run the benchmarks
uses: CodSpeedHQ/action@4deb3275dd364fb96fb074c953133d29ec96f80f # v4.10.6
uses: CodSpeedHQ/action@2ac572851726409c88c02a307f1ea2632a9ea59b # v4.11.0
timeout-minutes: 30
with:
working-directory: ./benchmark
Expand Down
4 changes: 0 additions & 4 deletions packages/astro/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,6 @@ declare module '*.mdx' {
export default load;
}

declare module 'astro:ssr-manifest' {
export const manifest: import('./dist/types/public/internal.js').SSRManifest;
}

declare module 'astro:static-paths' {
export const StaticPaths: typeof import('./dist/runtime/prerender/static-paths.js').StaticPaths;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/actions-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.6",
"@astrojs/check": "workspace:*",
"@astrojs/db": "workspace:*",
"@astrojs/node": "workspace:*",
"@astrojs/react": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/actions-react-19/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.6",
"@astrojs/check": "workspace:*",
"@astrojs/db": "workspace:*",
"@astrojs/node": "workspace:*",
"@astrojs/react": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/astro-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"@astrojs/preact": "workspace:*",
"@e2e/astro-linked-lib": "link:../_deps/astro-linked-lib",
"astro": "workspace:*",
"preact": "^10.28.3"
"preact": "^10.28.4"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/client-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@astrojs/preact": "workspace:*",
"@astrojs/react": "workspace:*",
"@astrojs/vue": "workspace:*",
"preact": "^10.28.3",
"preact": "^10.28.4",
"@test/e2e-my-lib": "workspace:*",
"vue": "^3.5.28",
"@vitejs/plugin-vue": "^6.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/dev-toolbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"dependencies": {
"@astrojs/preact": "workspace:*",
"astro": "workspace:*",
"preact": "^10.28.3"
"preact": "^10.28.4"
}
}
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/error-cyclic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"dependencies": {
"@astrojs/preact": "workspace:*",
"astro": "workspace:*",
"preact": "^10.28.3"
"preact": "^10.28.4"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"@astrojs/svelte": "workspace:*",
"@astrojs/vue": "workspace:*",
"astro": "workspace:*",
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.97.3",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/hydration-race/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"dependencies": {
"@astrojs/preact": "workspace:*",
"astro": "workspace:*",
"preact": "^10.28.3"
"preact": "^10.28.4"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/multiple-frameworks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"dependencies": {
"@webcomponents/template-shadowroot": "^0.2.1",
"lit": "^3.3.2",
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3"
"preact": "^10.28.4"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/nested-in-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/nested-in-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/nested-in-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/nested-in-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/nested-in-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/nested-recursive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"dependencies": {
"@astrojs/preact": "workspace:*",
"astro": "workspace:*",
"preact": "^10.28.3"
"preact": "^10.28.4"
}
}
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/preact-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"@astrojs/mdx": "workspace:*",
"@astrojs/preact": "workspace:*",
"astro": "workspace:*",
"preact": "^10.28.3"
"preact": "^10.28.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"@astrojs/mdx": "workspace:*",
"@astrojs/preact": "workspace:*",
"astro": "workspace:*",
"preact": "^10.28.3"
"preact": "^10.28.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"astro": "workspace:*"
},
"dependencies": {
"preact": "^10.28.3",
"preact": "^10.28.4",
"react": "^19.2.4",
"react-dom": "^19.2.4"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/svelte-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"@astrojs/mdx": "workspace:*",
"@astrojs/svelte": "workspace:*",
"astro": "workspace:*",
"svelte": "^5.51.5"
"svelte": "^5.53.1"
}
}
4 changes: 2 additions & 2 deletions packages/astro/e2e/fixtures/tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.0.0",
"private": true,
"dependencies": {
"@tailwindcss/vite": "^4.1.18",
"@tailwindcss/vite": "^4.2.0",
"astro": "workspace:*",
"tailwindcss": "^4.1.18"
"tailwindcss": "^4.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/astro/e2e/fixtures/view-transitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.11",
"svelte": "^5.51.5",
"svelte": "^5.53.1",
"vue": "^3.5.28"
}
}
7 changes: 3 additions & 4 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"test:integration": "astro-scripts test \"test/*.test.js\""
},
"dependencies": {
"@astrojs/compiler": "^3.0.0-beta.0",
"@astrojs/compiler": "^3.0.0-beta.1",
"@astrojs/internal-helpers": "workspace:*",
"@astrojs/markdown-remark": "workspace:*",
"@astrojs/telemetry": "workspace:*",
Expand All @@ -131,7 +131,6 @@
"common-ancestor-path": "^2.0.0",
"cookie": "^1.1.1",
"cssesc": "^3.0.0",
"deterministic-object-hash": "^2.0.2",
"devalue": "^5.6.3",
"diff": "^8.0.3",
"dlv": "^1.1.3",
Expand Down Expand Up @@ -203,10 +202,10 @@
"rehype-slug": "^6.0.0",
"rehype-toc": "^3.0.2",
"remark-code-titles": "^0.1.2",
"rollup": "^4.57.1",
"rollup": "^4.58.0",
"sass": "^1.97.3",
"typescript": "^5.9.3",
"undici": "^7.21.0",
"undici": "^7.22.0",
"unified": "^11.0.5",
"vitest": "^3.2.4"
},
Expand Down
Loading
Loading