Skip to content

fix: search debounce, local dev, bump fumadocs#157

Merged
dcrawbuck merged 3 commits intomainfrom
duncan/sw-4988-docs-fix-search
Apr 4, 2026
Merged

fix: search debounce, local dev, bump fumadocs#157
dcrawbuck merged 3 commits intomainfrom
duncan/sw-4988-docs-fix-search

Conversation

@dcrawbuck
Copy link
Copy Markdown
Collaborator

@dcrawbuck dcrawbuck commented Apr 3, 2026

Updates fumadocs-core, fumadocs-ui, and fumadocs-mdx to the latest published versions and refreshes bun.lock.
Adds a 500ms debounce to the docs search dialog and excludes @tanstack/start-client-core and @tanstack/start-storage-context from Vite dep prebundling to avoid the local-dev search regression caused by node:async_hooks leaking into the browser bundle.
Replaces the removed fumadocs-ui/utils/cn import in SdkLatestVersion with the repo-local helper.
Validation: bun test and bun run build:cf.


Note

Medium Risk
Medium risk due to dependency upgrades (fumadocs-*, shiki, framer-motion) and Vite optimizeDeps.exclude changes that can affect local dev bundling and search behavior.

Overview
Updates docs dependencies by bumping fumadocs-core, fumadocs-ui, and fumadocs-mdx (and refreshes bun.lock), pulling in related version updates like shiki and framer-motion.

Improves docs search behavior by adding a 500ms debounce to useDocsSearch and prevents a local-dev regression by excluding @tanstack/start-client-core and @tanstack/start-storage-context from Vite dependency prebundling.

Fixes a broken import caused by upstream changes by switching SdkLatestVersion to use the repo-local cn helper (@/lib/utils).

Reviewed by Cursor Bugbot for commit 6f7101f. Bugbot is set up for automated code reviews on this repo. Configure here.

@linear
Copy link
Copy Markdown

linear bot commented Apr 3, 2026

@dcrawbuck dcrawbuck changed the title Fix docs search and bump Fumadocs fix: search debounce, local dev, bump fumadocs Apr 3, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 3, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs-staging 6f7101f Commit Preview URL

Branch Preview URL
Apr 04 2026, 12:28 AM

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6b3f984. Configure here.

@dcrawbuck dcrawbuck merged commit 0ef68dc into main Apr 4, 2026
3 checks passed
@dcrawbuck dcrawbuck deleted the duncan/sw-4988-docs-fix-search branch April 4, 2026 00:38
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