[ci] release (beta)#8073
Merged
Merged
Conversation
024dad2 to
4760bf7
Compare
5c28959 to
35fa5e3
Compare
bfe68b3 to
045b24d
Compare
045b24d to
ec418a5
Compare
ematipico
pushed a commit
that referenced
this pull request
Feb 5, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico
pushed a commit
that referenced
this pull request
Feb 5, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico
pushed a commit
that referenced
this pull request
Feb 6, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico
pushed a commit
that referenced
this pull request
Feb 6, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico
pushed a commit
that referenced
this pull request
Feb 7, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
nextis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonnext.Releases
astro@3.0.0-beta.3
Major Changes
#8113
2484dc408Thanks @Princesseuh! - This import alias is no longer included by default with astro:assets. If you were using this alias with experimental assets, you must convert them to relative file paths, or create your own import aliases.#7979
dbc97b121Thanks @bluwy! - Export experimentaldev,build,preview, andsyncAPIs fromastro. These APIs allow you to run Astro's commands programmatically, and replaces the previous entry point that runs the Astro CLI.While these APIs are experimental, the inline config parameter is relatively stable without foreseeable changes. However, the returned results of these APIs are more likely to change in the future.
#8085
68efd4a8bThanks @bluwy! - Remove exports forastro/internal/*andastro/runtime/server/*in favour ofastro/runtime/*. Add newastro/compiler-runtimeexport for compiler-specific runtime code.These are exports for Astro's internal API and should not affect your project, but if you do use these entrypoints, you can migrate like below:
import { transform } from '@astrojs/compiler'; const result = await transform(source, { - internalURL: 'astro/runtime/server/index.js', + internalURL: 'astro/compiler-runtime', // ... });#8030
5208a3c8fThanks @natemoo-re! - Removed duplicateastro/dist/jsxexport. Please use theastro/jsxexport instead#8118
8a5b0c1f3Thanks @lilnasy! - Astro is smarter about CSS! Small stylesheets are now inlined by default, and no longer incur the cost of additional requests to your server. Your visitors will have to wait less before they see your pages, especially those in remote locations or in a subway.This may not be news to you if you had opted-in via the
build.inlineStylesheetsconfiguration. Stabilized in Astro 2.6 and set to "auto" by default for Starlight, this configuration allows you to reduce the number of requests for stylesheets by inlining them into <style> tags. The new default is "auto", which selects assets smaller than 4kB and includes them in the initial response.To go back to the previous default behavior, change
build.inlineStylesheetsto "never".#7921
b76c166bdThanks @Princesseuh! -astro:assetsis now enabled by default. If you were previously using theexperimental.assetsflag, please remove it from your config. Also note that the previous@astrojs/imageintegration is incompatible, and must be removed.This also brings two important changes to using images in Astro:
![]()syntax will now resolve relative images located anywhere in your project in addition to remote images and images stored in thepublic/folder. This notably unlocks storing images next to your content.Please see our existing Assets page in Docs for more information about using
astro:assets.Minor Changes
#8101
ea7ff5177Thanks @matthewp! -astro:namespace aliases for middleware and componentsThis adds aliases of
astro:middlewareandastro:componentsfor the middleware and components modules. This is to make our documentation consistent between are various modules, where some are virtual modules and others are not. Going forward new built-in modules will use this namespace.Patch Changes
#8128
c2c71d90cThanks @Princesseuh! - Update error message when Sharp couldn't be found (tends to happen on pnpm notably)#8092
7177f7579Thanks @natemoo-re! - Ensure dotfiles are cleaned during static builds#8070
097a8e4e9Thanks @lilnasy! - Fix a handful of edge cases with prerendered 404/500 pages#8078
2540feedbThanks @alexanderniebuhr! - Reimplement fix: correctly handle prerender pages in split mode #7509 to correctly emit pre-rendered pages now thatbuild.splitis deprecated and this configuration has been moved tofunctionPerRouteinside the adapter.#8105
0e0fa605dThanks @martrapp! - ViewTransition: bug fix for lost scroll position in browser history#7778
d6b494376Thanks @y-nk! - Added support for optimizing remote images from authorized sources when usingastro:assets. This comes with two new parameters to specify which domains (image.domains) and host patterns (image.remotePatterns) are authorized for remote images.For example, the following configuration will only allow remote images from
astro.buildto be optimized:The following configuration will only allow remote images from HTTPS hosts:
#8072
4477bb41cThanks @matthewp! - Update Astro types to reflect that compress defaults to true#8130
3e834293dThanks @Princesseuh! - Add some polyfills for Stackblitz until they support Node 18. Running Astro on Node 16 is still not officially supported, however.Updated dependencies [
3e834293d]:@astrojs/cloudflare@7.0.0-beta.2
Major Changes
#8078
2540feedbThanks @alexanderniebuhr! - The configurationbuild.splitandbuild.excludeMiddlewareare deprecated.You can now configure this behavior using
functionPerRoutein your Cloudflare integration config:import {defineConfig} from "astro/config"; import cloudflare from '@astrojs/cloudflare'; export default defineConfig({ - build: { - split: true - }, - adapter: cloudflare() + adapter: cloudflare({ + mode: 'directory', + functionPerRoute: true + }) })Patch Changes
#8079
7b77b34ceThanks @alexanderniebuhr! - Sync Astro Asset support across both modesUpdated dependencies [
2484dc408,c2c71d90c,7177f7579,097a8e4e9,dbc97b121,2540feedb,ea7ff5177,68efd4a8b,0e0fa605d,5208a3c8f,8a5b0c1f3,d6b494376,4477bb41c,3e834293d,b76c166bd]:@astrojs/mdx@1.0.0-beta.1
Major Changes
#8131
43140b87aThanks @matthewp! - Support Astro 3 JSX formatThis upgrades the MDX plugin to correctly work with the new JSX render API in Astro 3.
Patch Changes
2484dc408,c2c71d90c,7177f7579,097a8e4e9,dbc97b121,2540feedb,ea7ff5177,68efd4a8b,0e0fa605d,5208a3c8f,8a5b0c1f3,d6b494376,4477bb41c,3e834293d,b76c166bd]:@astrojs/react@3.0.0-beta.3
Minor Changes
#8082
16a3fdf93Thanks @matthewp! - Optionally parse React slots as React children.This adds a new configuration option for the React integration
experimentalReactChildren:With this enabled, children passed to React from Astro components via the default slot are parsed as React components.
This enables better compatibility with certain React components which manipulate their children.
create-astro@4.0.0-beta.1
Patch Changes
#7944
dff0f0f8dThanks @colinhacks! - Update 'dev' command for Bun users#8102
e6e1de4f0Thanks @natemoo-re! - Verify internet connection and that--templateexists before continuing@astrojs/solid-js@3.0.0-beta.2
Patch Changes
5b4b78245Thanks @natemoo-re! - Updatebabel-preset-soliddependency to^1.7.7@astrojs/svelte@4.0.0-beta.1
Patch Changes
#7291
0bf2cca5dThanks @kitschpatrol! - Filter unknownclassprop warningsUpdated dependencies [
2484dc408,c2c71d90c,7177f7579,097a8e4e9,dbc97b121,2540feedb,ea7ff5177,68efd4a8b,0e0fa605d,5208a3c8f,8a5b0c1f3,d6b494376,4477bb41c,3e834293d,b76c166bd]:@astrojs/vercel@4.0.0-beta.3
Patch Changes
#7778
d6b494376Thanks @y-nk! - Update image support to work with latest version of AstroUpdated dependencies [
2484dc408,c2c71d90c,7177f7579,097a8e4e9,dbc97b121,2540feedb,ea7ff5177,68efd4a8b,0e0fa605d,5208a3c8f,8a5b0c1f3,d6b494376,4477bb41c,3e834293d,b76c166bd]:@astrojs/telemetry@3.0.0-beta.2
Patch Changes
3e834293dThanks @Princesseuh! - Add some polyfills for Stackblitz until they support Node 18. Running Astro on Node 16 is still not officially supported, however.