Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

fix(deps): update dependency @astrojs/cloudflare to v12 - #22

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-12-astro-monorepo
Open

fix(deps): update dependency @astrojs/cloudflare to v12#22
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-12-astro-monorepo

Conversation

@renovate

@renovate renovate Bot commented Feb 24, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@astrojs/cloudflare (source) ^11.2.0^12.6.13 age confidence

Release Notes

withastro/astro (@​astrojs/cloudflare)

v12.6.13

Compare Source

Patch Changes

v12.6.12

Compare Source

Patch Changes

v12.6.11

Compare Source

Patch Changes

v12.6.10

Compare Source

Patch Changes

v12.6.9

Compare Source

Patch Changes

v12.6.8

Compare Source

Patch Changes

v12.6.7

Compare Source

Patch Changes

v12.6.6

Compare Source

Patch Changes

v12.6.5

Compare Source

Patch Changes

v12.6.4

Compare Source

Patch Changes

v12.6.3

Compare Source

Patch Changes
  • #​14066 7abde79 Thanks @​alexanderniebuhr! - Refactors the internal solution which powers Astro Sessions when running local development with ˋastro devˋ.

    The adapter now utilizes Cloudflare's local support for Cloudflare KV. This internal change is a drop-in replacement and does not require any change to your projectct code.

    However, you now have the ability to connect to the remote Cloudflare KV Namespace if desired and use production data during local development.

  • Updated dependencies []:

v12.6.2

Compare Source

Patch Changes

v12.6.1

Compare Source

Patch Changes

v12.6.0

Compare Source

Minor Changes
  • #​13837 7cef86f Thanks @​alexanderniebuhr! - Adds new configuration options to allow you to set a custom workerEntryPoint for Cloudflare Workers. This is useful if you want to use features that require handlers (e.g. Durable Objects, Cloudflare Queues, Scheduled Invocations) not supported by the basic generic entry file.

    This feature is not supported when running the Astro dev server. However, you can run astro build followed by either wrangler deploy (to deploy it) or wrangler dev to preview it.

    The following example configures a custom entry file that registers a Durable Object and a queue handler:

    // astro.config.ts
    import cloudflare from '@​astrojs/cloudflare';
    import { defineConfig } from 'astro/config';
    
    export default defineConfig({
      adapter: cloudflare({
        workerEntryPoint: {
          path: 'src/worker.ts',
          namedExports: ['MyDurableObject'],
        },
      }),
    });
    // src/worker.ts
    import type { SSRManifest } from 'astro';
    
    import { App } from 'astro/app';
    import { handle } from '@​astrojs/cloudflare/handler';
    import { DurableObject } from 'cloudflare:workers';
    
    class MyDurableObject extends DurableObject<Env> {
      constructor(ctx: DurableObjectState, env: Env) {
        super(ctx, env);
      }
    }
    
    export function createExports(manifest: SSRManifest) {
      const app = new App(manifest);
      return {
        default: {
          async fetch(request, env, ctx) {
            await env.MY_QUEUE.send('log');
            return handle(manifest, app, request, env, ctx);
          },
          async queue(batch, _env) {
            let messages = JSON.stringify(batch.messages);
            console.log(`consumed from our queue: ${messages}`);
          },
        } satisfies ExportedHandler<Env>,
        MyDurableObject,
      };
    }
Patch Changes

v12.5.5

Compare Source

Patch Changes

v12.5.4

Compare Source

Patch Changes

v12.5.3

Compare Source

Patch Changes

v12.5.2

Compare Source

Patch Changes

v12.5.1

Compare Source

Patch Changes

v12.5.0

Compare Source

Minor Changes
  • #​13527 2fd6a6b Thanks @​ascorbic! - The experimental session API introduced in Astro 5.1 is now stable and ready for production use.

    Sessions are used to store user state between requests for on-demand rendered pages. You can use them to store user data, such as authentication tokens, shopping cart contents, or any other data that needs to persist across requests:

v12.4.1

Compare Source

Patch Changes

v12.4.0

Compare Source

Minor Changes
  • #​13514 a9aafec Thanks @​ascorbic! - 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:

    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:

    // 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:

    import { defineConfig } from 'astro/config';
    import cloudflare from '@&#8203;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 for more details on setting up KV namespaces.

    See the experimental session docs for more information on configuring session storage.

Patch Changes

v12.3.1

Compare Source

Patch Changes

v12.3.0

Compare Source

Minor Changes
Patch Changes

v12.2.4

Compare Source

Patch Changes

v12.2.3

Compare Source

Patch Changes

v12.2.2

Patch Changes

v12.2.1

Patch Changes

v12.2.0

Minor Changes
Patch Changes

v12.1.0

Minor Changes
  • #​455 1d4e6fc Thanks @​meyer! - Adds wrangler.jsonc to the default watched config files. If a config file is specified in platformProxy.configPath, that file location is watched instead of the defaults.
Patch Changes

v12.0.1

Patch Changes
  • #​465 70e0054 Thanks @​bluwy! - Fixes setting custom workerd and worker conditions for the ssr environment only

v12.0.0

Major Changes
  • #​367 e02b54a Thanks @​alexanderniebuhr! - Removed support for the Squoosh image service. As the underlying library libsquoosh is no longer maintained, and the image service sees very little usage we have decided to remove it from Astro.

    Our recommendation is to use the base Sharp image service, which is more powerful, faster, and more actively maintained.

    - import { squooshImageService } from "astro/config";
    import { defineConfig } from "astro/config";
    
    export default defineConfig({
    -  image: {
    -    service: squooshImageService()
    -  }
    });

    If you are using this service, and cannot migrate to the base Sharp image service, a third-party extraction of the previous service is available here: https://github.com/Princesseuh/astro-image-service-squoosh

  • #​367 e02b54a Thanks @​alexanderniebuhr! - Deprecates the functionPerRoute option

    This option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to:

    import { defineConfig } from 'astro/config';
    import vercel from '@&#8203;astrojs/vercel/serverless';
    
    export default defineConfig({
      // ...
      output: 'server',
      adapter: vercel({
    -     functionPerRoute: true,
      }),
    });
  • #​375 e7881f7 Thanks @​Princesseuh! - Updates internal code to works with Astro 5 changes to hybrid rendering. No changes are necessary to your project, apart from using Astro 5

  • #​397 776a266 Thanks @​Princesseuh! - Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.

    Starting from this release, no breaking changes will be introduced unless absolutely necessary.

    To learn how to upgrade, check out the Astro v5.0 upgrade guide in our beta docs site.

  • #​451 f248546 Thanks @​ematipico! - Updates esbuild dependency to v0.24.0

  • #​392 3a49eb7 Thanks @​Princesseuh! - Updates internal code for Astro 5 changes. No changes is required to your project, apart from using Astro 5

Patch Changes

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from koralle February 24, 2025 16:02
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from aa37384 to 07136cb Compare February 27, 2025 15:34
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 07136cb to d27a0ec Compare March 11, 2025 12:06
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from 6897cf6 to 5b74f6d Compare March 26, 2025 13:02
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 5b74f6d to 224daed Compare March 31, 2025 16:03
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from 48677fe to 30f98fe Compare April 15, 2025 11:39
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 30f98fe to 4a8a1f8 Compare April 23, 2025 11:57
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 4a8a1f8 to f2cef83 Compare April 30, 2025 13:47
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from f2cef83 to e802276 Compare May 13, 2025 23:11
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from e802276 to 07d6e3c Compare June 5, 2025 21:38
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from b81c461 to fcc0f6e Compare June 19, 2025 17:07
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from a1ac97c to 2878b77 Compare August 1, 2025 18:08
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 3 times, most recently from 8cba6bf to c63ba32 Compare August 13, 2025 17:24
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from ae76e21 to e6a8ef5 Compare August 19, 2025 19:49
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from 1c0289c to dbe97e2 Compare August 27, 2025 18:26
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from dbe97e2 to 162198d Compare August 31, 2025 09:30
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 3 times, most recently from 96affed to e00845f Compare September 25, 2025 14:35
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from e00845f to a505967 Compare October 9, 2025 15:29
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from a505967 to e4de758 Compare October 21, 2025 15:49
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from ad62895 to 7e102d6 Compare November 17, 2025 22:45
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 7e102d6 to 87ef94b Compare November 18, 2025 14:39
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 87ef94b to b4ae98e Compare November 26, 2025 17:15
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from b4ae98e to 8d165a3 Compare December 3, 2025 17:49
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 8d165a3 to 82e1831 Compare December 31, 2025 15:31
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 82e1831 to 45852ed Compare January 8, 2026 17:10
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from 40ce5e5 to 385cc2f Compare January 23, 2026 20:05
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 385cc2f to 6c6db91 Compare February 2, 2026 19:57
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from ee66f53 to 769c1cd Compare February 17, 2026 18:36
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from 6778213 to 77155bf Compare March 10, 2026 18:02
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 77155bf to fbe80f0 Compare March 13, 2026 16:54
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch 2 times, most recently from e36b823 to 46e19ce Compare April 1, 2026 17:29
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 46e19ce to b96c2bd Compare April 8, 2026 20:56
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from b96c2bd to ce9f676 Compare April 29, 2026 12:09
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from ce9f676 to 2f3b576 Compare May 12, 2026 16:02
@renovate
renovate Bot force-pushed the renovate/major-12-astro-monorepo branch from 2f3b576 to f9757ba Compare May 18, 2026 11:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant