Skip to content

docs: add Neon Functions adapter guide - #413

Open
mezotv wants to merge 1 commit into
buape:mainfrom
mezotv:docs/neon-functions-adapter
Open

docs: add Neon Functions adapter guide#413
mezotv wants to merge 1 commit into
buape:mainfrom
mezotv:docs/neon-functions-adapter

Conversation

@mezotv

@mezotv mezotv commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

What

Adds a guide for running a Carbon bot on Neon Functions, and links it in the Adapters sidebar between Cloudflare Workers and Next.js.

Why

Neon Functions run web-standard fetch handlers on a long-lived Node.js runtime, which is the same handler shape Carbon's fetch adapter already produces. No new adapter is needed, but the setup (declaring the function in neon.ts, local dev, and deploy) isn't obvious from the generic Fetch page, so this walks through it.

Changes

  • New page website/pages/v0.16.0/adapters/fetch/neon.mdx. It covers creating the handler, declaring the function in neon.ts, running locally with neon dev, and deploying with neon deploy. It also notes that Neon reads secrets from process.env directly, so the Cloudflare globalThis workaround isn't required.
  • Sidebar entry in website/tome.config.mjs.

Notes

  • Docs only. No framework code changed, so there's no changeset.
  • Neon Functions are in beta and currently limited to the aws-us-east-2 region. The page flags this in a callout.

@changeset-bot

changeset-bot Bot commented Aug 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: bc817a6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant