Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@astrojs/cloudflare@13.0.0-beta.6
Major Changes
#15345
840fbf9Thanks @matthewp! - Removes thecloudflareModulesadapter optionThe
cloudflareModulesoption has been removed because it is no longer necessary. Cloudflare natively supports importing.sql,.wasm, and other module types.What should I do?
Remove the
cloudflareModulesoption from your Cloudflare adapter configuration if you were using it:import cloudflare from '@astrojs/cloudflare'; export default defineConfig({ adapter: cloudflare({ - cloudflareModules: true }) });Minor Changes
#15077
a164c77Thanks @matthewp! - Adds support for prerendering pages using the workerd runtime.The Cloudflare adapter now uses the new
setPrerenderer()API to prerender pages via HTTP requests to a local preview server running workerd, instead of using Node.js. This ensures prerendered pages are built using the same runtime that serves them in production.Patch Changes
#15432
e2ad69eThanks @OliverSpeir! - Removes unneccessary warning about sharp from being printed at start of dev server and buildUpdated dependencies [
a164c77,a18d727]:@astrojs/vercel@10.0.0-beta.3
Major Changes
736216bThanks @florian-lefebvre! - Removes the deprecated@astrojs/vercel/serverlessand@astrojs/vercel/staticexports. Use the@astrojs/vercelexport insteadMinor Changes
736216bThanks @florian-lefebvre! - Updates the implementation to use the new Adapter APIPatch Changes
a164c77,a18d727]:astro@6.0.0-beta.10
Minor Changes
#15231
3928b87Thanks @rururux! - Adds a new optionalgetRemoteSize()method to the Image Service API.Previously,
inferRemoteSize()had a fixed implementation that fetched the entire image to determine its dimensions.With this new helper function that extends
inferRemoteSize(), you can now override or extend how remote image metadata is retrieved.This enables use cases such as:
For example, you can add a simple cache layer to your existing image service:
See the Image Services API reference documentation for more information.
#15077
a164c77Thanks @matthewp! - Updates the Integration API to addsetPrerenderer()to theastro:build:starthook, allowing adapters to provide custom prerendering logic.The new API accepts either an
AstroPrerendererobject directly, or a factory function that receives the default prerenderer:Also adds the
astro:static-pathsvirtual module, which exports aStaticPathsclass for adapters to collect all prerenderable paths from within their target runtime. This is useful when implementing a custom prerenderer that runs in a non-Node environment:See the adapter reference for more details on implementing a custom prerenderer.
#15345
840fbf9Thanks @matthewp! - Adds a newemitClientAssetfunction toastro/assets/utilsfor integration authors. This function allows emitting assets that will be moved to the client directory during SSR builds, useful for assets referenced in server-rendered content that need to be available on the client.Patch Changes
#15423
c5ea720Thanks @matthewp! - Improves error message when a dynamic redirect destination does not match any existing route.Previously, configuring a redirect like
/categories/[category]→/categories/[category]/1in static output mode would fail with a misleading "getStaticPaths required" error. Now, Astro detects this early and provides a clear error explaining that the destination does not match any existing route.#15444
10b0422Thanks @AhmadYasser1! - FixesAstro.rewritereturning 404 when rewriting to a URL with non-ASCII charactersWhen rewriting to a path containing non-ASCII characters (e.g.,
/redirected/héllo), the route lookup compared encodeddistURLhrefs against decoded pathnames, causing the comparison to always fail and resulting in a 404. This fix compares against the encoded pathname instead.#15419
a18d727Thanks @ematipico! - Fixes an issue where theaddcommand could accept any arbitrary value, leading the possible command injections. Nowaddand--addacceptsvalues that are only acceptable npmjs.org names.
#15345
840fbf9Thanks @matthewp! - Fixes an issue where.sqlfiles (and other non-asset module types) were incorrectly moved to the client assets folder during SSR builds, causing "no such module" errors at runtime.The
ssrMoveAssetsfunction now reads the Vite manifest to determine which files are actual client assets (CSS and static assets like images) and only moves those, leaving server-side module files in place.#15422
68770efThanks @matthewp! - Upgrade to @astrojs/compiler@3.0.0-betaUpdated dependencies [
a164c77,a18d727]:@astrojs/markdoc@1.0.0-beta.9
Minor Changes
840fbf9Thanks @matthewp! - Uses Astro's newemitClientAssetAPI for image emission in content collectionsPatch Changes
a164c77,a18d727]:@astrojs/netlify@7.0.0-beta.8
Minor Changes
736216bThanks @florian-lefebvre! - Updates the implementation to use the new Adapter APIPatch Changes
a164c77,a18d727]:@astrojs/vue@6.0.0-beta.1
Minor Changes
0317e99Thanks @ocavue! - Updates@vitejs/plugin-vueto v6,@vitejs/plugin-vue-jsxto v5, andvite-plugin-vue-devtoolsto v8. No changes are needed from users.@astrojs/internal-helpers@0.8.0-beta.1
Minor Changes
#15077
a164c77Thanks @matthewp! - AddsnormalizePathname()utility function for normalizing URL pathnames to match the canonical form used by route generation.#15419
a18d727Thanks @ematipico! - Adds a new/clispecifier and the utilityNPM_PACKAGE_NAME_REGEX.create-astro@5.0.0-beta.4
Patch Changes
#15419
a18d727Thanks @ematipico! - Fixes an issue where--addcould accept any kind of string, leading to different errors. Now--addaccepts only values of valid integrations and adapters.#15419
a18d727Thanks @ematipico! - Fixes an issue where theaddcommand could accept any arbitrary value, leading the possible command injections. Nowaddand--addacceptsvalues that are only acceptable npmjs.org names.
@astrojs/mdx@5.0.0-beta.6
Patch Changes
@astrojs/node@10.0.0-beta.3
Patch Changes
a164c77,a18d727]:@astrojs/markdown-remark@7.0.0-beta.6
Patch Changes
a164c77,a18d727]: