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.
Releases
[email protected]
Minor Changes
#7067
57f8d14c0
Thanks @matthewp! - Experimental redirects supportThis change adds support for the redirects RFC, currently in stage 3: Redirects RFC roadmap#587
Now you can specify redirects in your Astro config:
You can also specify spread routes using the same syntax as in file-based routing:
By default Astro will build HTML files that contain the
<meta http-equiv="refresh">
tag. Adapters can also support redirect routes and create configuration for real HTTP-level redirects in production.#7237
414eb19d2
Thanks @bluwy! - Remove experimental flag for custom client directives#7274
b5213654b
Thanks @Princesseuh! - Update basetsconfig.json
template withallowJs: true
to provide a better relaxed experience for users unfamilliar with TypeScript.allowJs
is still set tofalse
(its default value) when using thestrictest
preset.#7180
e3b8c6296
Thanks @lilnasy! - The Inline Stylesheets RFC is now stable!You can now control how Astro bundles your css with a configuration change:
The options:
inlineStylesheets: "never"
: This is the behavior you are familiar with. Every stylesheet is external, and added to the page via a<link>
tag. Default.inlineStylesheets: "auto"
: Small stylesheets are inlined into<style>
tags and inserted into<head>
, while larger ones remain external.inlineStylesheets: "always"
: Every style required by the page is inlined.As always, css files in the
public
folder are not affected.#7260
39403c32f
Thanks @natemoo-re! - Unflags support foroutput: 'hybrid'
mode, which enables pre-rendering by default. The additionalexperimental.hybridOutput
flag can be safely removed from your configuration.#7109
101f03209
Thanks @ematipico! - Remove experimental flag for the middlewarePatch Changes
#7296
a7e2b37ff
Thanks @Princesseuh! - Fix HTML component type causing an error when imported in the editor#7294
dd1a6b6c9
Thanks @matthewp! - Fix cookies not being set by middleware#7197
d72cfa7ca
Thanks @bluwy! - Fix nested astro-island hydration race condition#7262
144813f73
Thanks @andremralves! - Fix injected scripts not injected to injected routes#7242
890a2bc98
Thanks @JerryWu1234! - remove the white space after the doctype according to the property compressHTML@astrojs/[email protected]
Minor Changes
#7067
57f8d14c0
Thanks @matthewp! - Support for experimental redirectsThis adds support for the redirects RFC in the Cloudflare adapter. No changes are necessary, simply use configured redirects and the adapter will update your
_redirects
file.Patch Changes
#7260
39403c32f
Thanks @natemoo-re! - Unflags support foroutput: 'hybrid'
mode, which enables pre-rendering by default. The additionalexperimental.hybridOutput
flag can be safely removed from your configuration.Updated dependencies [
57f8d14c0
,414eb19d2
,a7e2b37ff
,dd1a6b6c9
,d72cfa7ca
,144813f73
,b5213654b
,e3b8c6296
,890a2bc98
,39403c32f
,101f03209
]:@astrojs/[email protected]
Minor Changes
39403c32f
Thanks @natemoo-re! - Unflags support foroutput: 'hybrid'
mode, which enables pre-rendering by default. The additionalexperimental.hybridOutput
flag can be safely removed from your configuration.Patch Changes
57f8d14c0
,414eb19d2
,a7e2b37ff
,dd1a6b6c9
,d72cfa7ca
,144813f73
,b5213654b
,e3b8c6296
,890a2bc98
,39403c32f
,101f03209
]:@astrojs/[email protected]
Minor Changes
#7067
57f8d14c0
Thanks @matthewp! - Support for experimental redirectsThis adds support for the redirects RFC in the Netlify adapter, including a new
@astrojs/netlify/static
adapter for static sites.No changes are necessary when using SSR. Simply use configured redirects and the adapter will update your
_redirects
file.Patch Changes
#7260
39403c32f
Thanks @natemoo-re! - Unflags support foroutput: 'hybrid'
mode, which enables pre-rendering by default. The additionalexperimental.hybridOutput
flag can be safely removed from your configuration.Updated dependencies [
57f8d14c0
,414eb19d2
,a7e2b37ff
,dd1a6b6c9
,d72cfa7ca
,144813f73
,b5213654b
,e3b8c6296
,890a2bc98
,39403c32f
,101f03209
]:@astrojs/[email protected]
Minor Changes
4929332c3
Thanks @alex-sherwin! - Fixes NodeJS adapter for multiple set-cookie headers and combining AstroCookies and Response.headers cookiesPatch Changes
#7243
409c60028
Thanks @Riki-WangJJ! - Support directory redirects and query params at the same time#7260
39403c32f
Thanks @natemoo-re! - Unflags support foroutput: 'hybrid'
mode, which enables pre-rendering by default. The additionalexperimental.hybridOutput
flag can be safely removed from your configuration.Updated dependencies [
57f8d14c0
,414eb19d2
,a7e2b37ff
,dd1a6b6c9
,d72cfa7ca
,144813f73
,b5213654b
,e3b8c6296
,890a2bc98
,39403c32f
,101f03209
]:@astrojs/[email protected]
Minor Changes
#7067
57f8d14c0
Thanks @matthewp! - Support for experimental redirectsThis adds support for the redirects RFC in the Vercel adapter. No changes are necessary, simply use configured redirects and the adapter will output the vercel.json file with the configuration values.
Patch Changes
#7260
39403c32f
Thanks @natemoo-re! - Unflags support foroutput: 'hybrid'
mode, which enables pre-rendering by default. The additionalexperimental.hybridOutput
flag can be safely removed from your configuration.Updated dependencies [
57f8d14c0
,414eb19d2
,a7e2b37ff
,dd1a6b6c9
,d72cfa7ca
,144813f73
,b5213654b
,e3b8c6296
,890a2bc98
,39403c32f
,101f03209
]: