diff options
author | 2025-03-31 08:46:15 -0700 | |
---|---|---|
committer | 2025-03-31 16:46:15 +0100 | |
commit | ddc98eb2add2836aef77541978629dcef6d712d6 (patch) | |
tree | bf05a3aeb1d4bb3154cb83489850618efd68b120 /.changeset | |
parent | ff9d69e3443c80059c54f6296d19f66bb068ead3 (diff) | |
download | astro-@astrojs/alpinejs@0.4.5.tar.gz astro-@astrojs/alpinejs@0.4.5.tar.zst astro-@astrojs/alpinejs@0.4.5.zip |
[ci] release (#13513)astro@5.5.6@astrojs/vue@5.0.9@astrojs/svelte@7.0.9@astrojs/studio@0.1.6@astrojs/solid-js@5.0.7@astrojs/react@4.2.3@astrojs/preact@4.0.8@astrojs/netlify@6.2.5@astrojs/mdx@4.2.3@astrojs/markdoc@0.13.3@astrojs/db@0.14.10@astrojs/cloudflare@12.4.0@astrojs/alpinejs@0.4.5
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to '.changeset')
-rw-r--r-- | .changeset/calm-beans-roll.md | 5 | ||||
-rw-r--r-- | .changeset/ninety-nights-hug.md | 7 | ||||
-rw-r--r-- | .changeset/slick-radios-draw.md | 17 | ||||
-rw-r--r-- | .changeset/twenty-dogs-listen.md | 51 |
4 files changed, 0 insertions, 80 deletions
diff --git a/.changeset/calm-beans-roll.md b/.changeset/calm-beans-roll.md deleted file mode 100644 index ac00de5d6..000000000 --- a/.changeset/calm-beans-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -The `ActionAPIContext.rewrite` method is deprecated and will be removed in a future major version of Astro diff --git a/.changeset/ninety-nights-hug.md b/.changeset/ninety-nights-hug.md deleted file mode 100644 index aa4017497..000000000 --- a/.changeset/ninety-nights-hug.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug where the functions `Astro.preferredLocale` and `Astro.preferredLocaleList` would return the incorrect locales -when the Astro configuration specifies a list of `codes`. Before, the functions would return the `path`, instead now the functions -return a list built from `codes`. diff --git a/.changeset/slick-radios-draw.md b/.changeset/slick-radios-draw.md deleted file mode 100644 index 0d8b9dcd7..000000000 --- a/.changeset/slick-radios-draw.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@astrojs/cloudflare': patch -'@astrojs/alpinejs': patch -'@astrojs/markdoc': patch -'@astrojs/netlify': patch -'@astrojs/preact': patch -'@astrojs/svelte': patch -'@astrojs/react': patch -'@astrojs/solid-js': patch -'@astrojs/mdx': patch -'@astrojs/vue': patch -'@astrojs/studio': patch -'astro': patch -'@astrojs/db': patch ---- - -update `vite` to the latest version diff --git a/.changeset/twenty-dogs-listen.md b/.changeset/twenty-dogs-listen.md deleted file mode 100644 index de765d110..000000000 --- a/.changeset/twenty-dogs-listen.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -'@astrojs/cloudflare': minor ---- - -Automatically configures Cloudflare KV storage when experimental sessions are enabled - - -If the `experimental.session` flag 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: - -```sh -npx wrangler kv namespace create SESSION -``` - -This will log the id of the created namespace. You can then add it to your `wrangler.json`/`wrangler.toml` file like this: - -```jsonc -// wrangler.json -{ - "kv_namespaces": [ - { - "binding": "SESSION", - "id": "<your kv namespace id here>" - } - ] -} -``` - -By default it uses the binding name `SESSION`, but if you want to use a different binding name you can do so by passing the `sessionKVBindingName` option to the adapter. For example: - -```js -import { defineConfig } from 'astro/config'; -import cloudflare from '@astrojs/cloudflare'; -export default defineConfig({ - output: 'server', - site: `http://example.com`, - adapter: cloudflare({ - platformProxy: { - enabled: true, - }, - sessionKVBindingName: 'MY_SESSION', - }), - experimental: { - session: true, - } -}); - -``` - -See [the Cloudflare KV docs](https://developers.cloudflare.com/kv/concepts/kv-namespaces/) for more details on setting up KV namespaces. - -See [the experimental session docs](https://docs.astro.build/en/reference/experimental-flags/sessions/) for more information on configuring session storage. |