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
@astrojs/[email protected]
Minor Changes
#13514
a9aafecThanks @ascorbic! - Automatically configures Cloudflare KV storage when experimental sessions are enabledIf the
experimental.sessionflag is enabled when using the Cloudflare adapter, Astro will automatically configure the session storage using the Cloudflare KV driver. You can still manually configure the session storage if you need to use a different driver or want to customize the session storage configuration. If you want to use sessions, you will need to create the KV namespace and declare it in your wrangler config. You can do this using the Wrangler CLI:This will log the id of the created namespace. You can then add it to your
wrangler.json/wrangler.tomlfile like this:By default it uses the binding name
SESSION, but if you want to use a different binding name you can do so by passing thesessionKVBindingNameoption to the adapter. For example:See the Cloudflare KV docs for more details on setting up KV namespaces.
See the experimental session docs for more information on configuring session storage.
Patch Changes
#13526
ff9d69eThanks @jsparkdev! - updateviteto the latest versionUpdated dependencies []:
[email protected]
Patch Changes
#13429
06de673Thanks @ematipico! - TheActionAPIContext.rewritemethod is deprecated and will be removed in a future major version of Astro#13524
82cd583Thanks @ematipico! - Fixes a bug where the functionsAstro.preferredLocaleandAstro.preferredLocaleListwould return the incorrect localeswhen the Astro configuration specifies a list of
codes. Before, the functions would return thepath, instead now the functionsreturn a list built from
codes.#13526
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
#13526
ff9d69eThanks @jsparkdev! - updateviteto the latest versionUpdated dependencies [
ff9d69e]:@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
#13526
ff9d69eThanks @jsparkdev! - updateviteto the latest versionUpdated dependencies []:
@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version@astrojs/[email protected]
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest version