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 next, this PR will be updated.
next
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onnext
.Releases
[email protected]
Major Changes
#7952
3c3100851
Thanks @astrobot-houston! - Remove support forAstro.__renderMarkdown
which is used by@astrojs/markdown-component
.The
<Markdown />
component was deprecated in Astro v1 and is completely removed in v3. This integration must now be removed from your project.As an alternative, you can use community packages that provide a similar component like https://github.com/natemoo-re/astro-remote instead.
#8019
34cb20021
Thanks @bluwy! - Remove backwards-compatible kebab-case transform for camelCase CSS variable names passed to thestyle
attribute. If you were relying on the kebab-case transform in your styles, make sure to use the camelCase version to prevent missing styles. For example:#7893
7bd1b86f8
Thanks @ematipico! - Implements a new scope style strategy called"attribute"
. When enabled, styles are applied usingdata-*
attributes.The default value of
scopedStyleStrategy
is"attribute"
.If you want to use the previous behaviour, you have to use the
"where"
option:import { defineConfig } from 'astro/config'; export default defineConfig({ + scopedStyleStrategy: 'where', });
#7924
519a1c4e8
Thanks @matthewp! - Astro's JSX handling has been refactored with better support for each framework.Previously, Astro automatically scanned your components to determine which framework-specific transformations should be used. In practice, supporting advanced features like Fast Refresh with this approach proved difficult.
Now, Astro determines which framework to use with
include
andexclude
config options where you can specify files and folders on a per-framework basis. When using multiple JSX frameworks in the same project, users should manually control which files belong to each framework using theinclude
andexclude
options.#7878
0f637c71e
Thanks @bluwy! - The value ofimport.meta.env.BASE_URL
, which is derived from thebase
option, will no longer have a trailing slash added by default or whentrailingSlash: "ignore"
is set. The existing behavior ofbase
in combination withtrailingSlash: "always"
ortrailingSlash: "never"
is unchanged.If your
base
already has a trailing slash, no change is needed.If your
base
does not have a trailing slash, add one to preserve the previous behaviour:Minor Changes
866ed4098
Thanks @ematipico! - Add a newastro/errors
module. Developers can importAstroUserError
, and provide amessage
and an optionalhint
Patch Changes
#7998
65c354969
Thanks @bluwy! - Callastro sync
once before callingastro check
#7952
70f34f5a3
Thanks @astrobot-houston! - Remove StreamingCompatibleResponse polyfill#8011
5b1e39ef6
Thanks @bluwy! - Move hoisted script analysis optimization behind theexperimental.optimizeHoistedScript
optionUpdated dependencies [
b675acb2a
]:@astrojs/[email protected]
Major Changes
#8029
2ee418e06
Thanks @matthewp! - Remove the Netlify Edge adapter@astrojs/netlify/functions
now supports Edge middleware, so a separate adapter for Edge itself (deploying your entire app to the edge) is no longer necessary. Please update your Astro config to reflect this change:This adapter had several known limitations and compatibility issues that prevented many people from using it in production. To reduce maintenance costs and because we have a better story with Serveless + Edge Middleware, we are removing the Edge adapter.
Patch Changes
65c354969
,3c3100851
,34cb20021
,7bd1b86f8
,519a1c4e8
,70f34f5a3
,0f637c71e
,866ed4098
,5b1e39ef6
]:@astrojs/[email protected]
Major Changes
#7924
519a1c4e8
Thanks @matthewp! - Newinclude
andexclude
config optionsThe Preact integration now has new
include
andexclude
config options. Use these if you want to use Preact alongside another JSX framework; include specifies files to be compiled for Preact andexclude
does the opposite.@astrojs/[email protected]
Major Changes
#7924
519a1c4e8
Thanks @matthewp! - Support for React RefreshThe React integration now fully supports React Refresh and is backed by
@vitejs/plugin-react
.Also included in this change are new
include
andexclude
config options. Use these if you want to use React alongside another JSX framework; include specifies files to be compiled for React andexclude
does the opposite.@astrojs/[email protected]
Major Changes
#7924
519a1c4e8
Thanks @matthewp! - Newinclude
andexclude
config optionsThe Solid integration now has new
include
andexclude
config options. Use these if you want to use Solid alongside another JSX framework; include specifies files to be compiled for Solid andexclude
does the opposite.@astrojs/[email protected]
Major Changes
#8015
9cc4e48e6
Thanks @matthewp! - Remove the Vercel Edge adapter@astrojs/vercel/serverless
now supports Edge middleware, so a separate adapter for Edge itself (deploying your entire app to the edge) is no longer necessary. Please update your Astro config to reflect this change:This adapter had several known limitations and compatibility issues that prevented many people from using it in production. To reduce maintenance costs and because we have a better story with Serveless + Edge Middleware, we are removing the Edge adapter.
Patch Changes
65c354969
,3c3100851
,34cb20021
,7bd1b86f8
,519a1c4e8
,70f34f5a3
,0f637c71e
,866ed4098
,5b1e39ef6
]:@astrojs/[email protected]
Minor Changes
ea30a9d4f
Thanks @schummar! - More efficient _routes.jsonPatch Changes
65c354969
,3c3100851
,34cb20021
,7bd1b86f8
,519a1c4e8
,70f34f5a3
,0f637c71e
,866ed4098
,5b1e39ef6
]:@astrojs/[email protected]
Patch Changes
b675acb2a
Thanks @astrobot-houston! - Remove undici dependency