github assistant-ui/assistant-ui @assistant-ui/store@0.3.2

latest releases: @assistant-ui/react-devtools@1.2.12, @assistant-ui/react-ag-ui@0.0.49, @assistant-ui/react-o11y@0.0.31...
3 hours ago

Patch Changes

  • #5364 d2e7a4a - AuiIf: trim JSDoc and add a mount/unmount contract test (@Yonom)

  • #5367 ecd7c87 - feat: AuiProvider accepts value={null} as an isolation boundary; useAui runs a fixed hook count per overload and deprecates the explicit-parent config (@Yonom)

  • #5385 2daf2d5 - perf: simplify useAui notification and effect plumbing (@Yonom)

  • #5354 a5bdbed - useClientList: clear initial-data handles on commit instead of during render so discarded renders can replay (@Yonom)

  • #5361 fb993c3 - useClientLookup: derive the key-to-index map from the validated element keys and drop the redundant keys memo (@Yonom)

  • #5355 1c5266c - useAuiState: derive the assistant state proxy from the client via a WeakMap so hand-built clients no longer yield an undefined selector argument (@Yonom)

  • #5353 cdcdbd0 - fix: report proxy properties as configurable so Object.keys, spread, and Object.getOwnPropertyDescriptor on clients and the proxied assistant state no longer throw the proxy invariant TypeError (@Yonom)

  • #5360 42dbc69 - useAui: memoize scope meta via shallow equality on the query object instead of a spread deps array, so query key-count changes are detected reliably (@Yonom)

  • #5356 25f1e4f - Share a single InferClientState type across useClientResource, useClientLookup, and useClientList (@Yonom)

  • #5380 d16e62d - refactor: inline single-call-site useAui helper hooks (@Yonom)

  • #5368 60d049e - refactor(store): local useShallowStable helper replaces tap useMemoCache; drop useMemoCache from tap's public entrypoint (@Yonom)

  • #5312 2eca438 - refactor: import useEffectEvent from React directly for latest-client reads and drop the use-effect-event ponyfill dependency (@Yonom)

  • #5362 23ee5db - ValidateClient: restructure into independent per-facet checks; createErrorClientAccessor now requires the scope name (@Yonom)

Don't miss a new assistant-ui release

NewReleases is sending notifications on new releases.