# What changed in typesense-fumadocs-adapter

> 16 changes in typesense-fumadocs-adapter 0.4 to 0.5 from its official release notes, upgrade guides and advisories: 1 deprecations, 4 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/typesense-fumadocs-adapter/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## typesense-fumadocs-adapter 0.5

### Deprecations

- Deprecates key in favor of cacheNamespace; key remains supported as an alias, and cacheNamespace takes precedence when both are supplied. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)

### New APIs and options

- Adds a hook option for configuring search caching. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- Adds a namespace to identify index revisions or custom search sources; namespaces augment the generated cache key. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- Adds configurable search caching with maxEntries and ttlMs. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- Adds an optional fourth AbortSignal argument so custom callbacks can forward cancellation to fetch or another transport. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)

### Behavior and default changes

- Obsolete Typesense requests are aborted when search parameters change or the hook unmounts. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- The default cache retains up to 100 responses. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- Setting either cache limit to zero disables caching. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- The default cache expiry is 5 minutes. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- Cache hits do not extend expiry, full caches evict the LRU entry, and expiry is checked on subsequent searches; displayed results do not refresh automatically. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)

### Fixes and other changes

- Prevents cached results from crossing locales, collections, clients, tags, or result formats. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- Preserves the internally debounced query when using a custom namespace. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)
- Prevents obsolete requests from overwriting current results, errors, loading state, or cached responses, including when callbacks ignore cancellation. (0.5.0) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.5.0)

## typesense-fumadocs-adapter 0.4

### Fixes and other changes

- Highlighted results now preserve markdown. (0.4.3) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.4.3)
- The default Typesense tag field schema now uses the documented string type. (0.4.2) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.4.2)
- Import errors now propagate, preventing failed syncs from updating the collection alias, deleting the previously working collection, or incorrectly reporting that syncing completed. (0.4.2) — [release notes](https://github.com/typesense/typesense-fumadocs-adapter/releases/tag/v0.4.2)
