Skip to content

Release notes · Chat UI

Chat UI Release Notes

Changelog for @cognipeer/chat-ui. For usage, see the Chat UI documentation.

All notable changes to Chat UI will be documented here.

[0.1.4] - 2026-07-10

Fixed

  • File attachments from the stream.done event now appear immediately instead of requiring a refetch — StreamDoneEvent gained an optional files field, and useChat includes event.files on the assistant message it builds
  • Long filenames no longer hide their extension when truncated — ChatMessage now splits the base name and extension before truncating, so e.g. a .docx and a .pdf export of the same document stay visually distinguishable

[0.1.3] - 2026-03-06

Changed

  • Housekeeping release — version bump only, no functional changes beyond what shipped in 0.1.2

[0.1.2] - 2026-02-16

Added

  • Full internationalization (i18n) support: useI18n hook and ChatI18nProvider, with English and Turkish locale files wired into ChatHistory, ChatInput, ChatMessage, ChatMessageList, MessageActions, and ToolCall
  • Agent name display and conversation title handling in chat components

Changed

  • useChatHistory loading logic now guards against duplicate initial loads in React Strict Mode, adds options to control loading-indicator visibility, and supports a silent refresh

[0.1.1] - 2026-02-13

Added

  • ChatProvider and context hooks for React-controlled chat state management
  • Theme presets and an extended Message type (citations, optional agentId)
  • Streaming support for "thinking" events, with improved message rendering
  • Build verification script

Changed

  • Standardized chat header height and button styles for consistency
  • useChatHistory now uses a stable client reference and improved conversation-loading logic

Fixed

  • Debounce helper now uses ReturnType for the timeout variable instead of a Node-specific type

[0.1.0] - 2025-01-01

Added

  • Initial release
  • Chat component with full features
  • ChatMinimal component without history
  • ChatMessage, ChatMessageList components
  • ChatInput with file upload support
  • ChatHistory sidebar component
  • ToolCall and ToolCalls components
  • useChat hook for custom implementations
  • useChatHistory hook for history management
  • AgentServerClient for direct API access
  • Dark and light theme support
  • Custom theme colors via props and CSS variables
  • SSE streaming support
  • File upload with drag-and-drop
  • Tool call visualization
  • Markdown rendering
  • TypeScript types
  • React 18+ support

Studio · Pulse · Console · Agent SDK and more — the Cognipeer documentation hub