Skip to content

Prepare next release - #167

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

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

@convex-dev/resend@0.2.11

Patch Changes

  • Add optional RESEND_API_KEY and RESEND_WEBHOOK_SECRET component env vars.
    When set, the component uses them in place of the values forwarded by the
    client, and verifies webhook requests itself. The apiKey and webhookSecret
    options on Resend are deprecated
    (#165).

    To migrate, bind the env vars in convex/convex.config.ts. You can keep the
    same deployment env vars:

    const app = defineApp({
      env: {
        RESEND_API_KEY: v.string(),
        RESEND_WEBHOOK_SECRET: v.optional(v.string()),
      },
    });
    app.use(resend, {
      env: {
        RESEND_API_KEY: app.env.RESEND_API_KEY,
        RESEND_WEBHOOK_SECRET: app.env.RESEND_WEBHOOK_SECRET,
      },
    });

    Existing setups keep working: if a component env var is not set, the component
    falls back to the value passed by the client (the apiKey or webhookSecret
    option, or your app's process.env) and logs a deprecation warning.
    Client-side forwarding of both will be removed in a future major version.

  • Add an optional RESEND_BASE_URL component env var to send batches to a
    Resend-compatible API, such as a local emulator, instead of
    https://api.resend.com. Declare it in your app and pass it to the component
    in convex/convex.config.ts
    (#169):

    const app = defineApp({
      env: {
        RESEND_API_KEY: v.string(),
        RESEND_BASE_URL: v.optional(v.string()),
      },
    });
    app.use(resend, {
      env: {
        RESEND_API_KEY: app.env.RESEND_API_KEY,
        RESEND_BASE_URL: app.env.RESEND_BASE_URL,
      },
    });

    Then set RESEND_BASE_URL only on the deployments that should use it.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from b5136c6 to 26a1366 Compare December 4, 2026 21:22
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 26a1366 to 4497194 Compare December 5, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants