Patch Changes
-
b4916d2: Move
hide-if-empty
component to Fumadocs Core -
8738b9c: Always encode generated slugs for non-ASCII characters in
loader()
-
a66886b: Deprecate other parameters for
useDocsSearch()
The new usage passes options to a single object, improving the readability:
import { useDocsSearch } from 'fumadocs-core/search/client'; const { search, setSearch, query } = useDocsSearch({ type: 'fetch', locale: 'optional', tag: 'optional', delayMs: 100, allowEmpty: false, });