[PR #7233] [MERGED] chore(docs): Waku 1.0 integration guide #15411

Closed
opened 2026-04-13 10:01:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7233
Author: @rmarscher
Created: 1/9/2026
Status: Merged
Merged: 1/10/2026
Merged by: @himself65

Base: canaryHead: feat/waku-1.0-integration-guide


📝 Commits (1)

  • bba2b2f Waku integration guide updates for Waku v1.0

📊 Changes

1 file changed (+50 additions, -69 deletions)

View changed files

📝 docs/content/docs/integrations/waku.mdx (+50 -69)

📄 Description

Updating the Waku integration guide with breaking changes made for Waku v1.0.

  • The _api folder prefix is now required for api routes
  • Waku now only uses Hono middleware
  • Waku's context functions have changed their import location

Summary by cubic

Updates the Waku integration guide for v1.0 breaking changes. Aligns examples with the new API route structure, Hono middleware, and context import APIs.

  • Migration
    • API routes now live under src/pages/_api/... (example path updated).
    • Switch to Hono middleware (MiddlewareHandler) and use c.req/c.redirect; set-cookie is appended via headers.
    • Import context helpers from waku/server as unstable_getContext and unstable_getContextData; examples updated for server actions/components.
    • Middleware auto-loads from ./src/middleware; removed waku.config.ts middleware list.

Written for commit bba2b2fafc. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7233 **Author:** [@rmarscher](https://github.com/rmarscher) **Created:** 1/9/2026 **Status:** ✅ Merged **Merged:** 1/10/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `feat/waku-1.0-integration-guide` --- ### 📝 Commits (1) - [`bba2b2f`](https://github.com/better-auth/better-auth/commit/bba2b2fafc10ea06bf37b38010f4124f9526c0cc) Waku integration guide updates for Waku v1.0 ### 📊 Changes **1 file changed** (+50 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/waku.mdx` (+50 -69) </details> ### 📄 Description Updating the Waku integration guide with breaking changes made for Waku v1.0. - The `_api` folder prefix is now required for api routes - Waku now only uses Hono middleware - Waku's context functions have changed their import location <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updates the Waku integration guide for v1.0 breaking changes. Aligns examples with the new API route structure, Hono middleware, and context import APIs. - **Migration** - API routes now live under src/pages/_api/... (example path updated). - Switch to Hono middleware (MiddlewareHandler) and use c.req/c.redirect; set-cookie is appended via headers. - Import context helpers from waku/server as unstable_getContext and unstable_getContextData; examples updated for server actions/components. - Middleware auto-loads from ./src/middleware; removed waku.config.ts middleware list. <sup>Written for commit bba2b2fafc10ea06bf37b38010f4124f9526c0cc. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 10:01:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#15411