Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 7, 2025

Releases

@matechat/react

v0.1.0

Refactors

  • 5019927: Rewrite auto scroll logic of BubbleList component:

  • Use ResizeObserver to detect content size changes and scroll accordingly.

  • Add scrollContainer method to scroll to bottom when content size changes.

  • Introduce pauseScroll to prevent unnecessary scrolls during updates.

  • 162bad9: Extract all markdown components and resolve code lints.

New Features

  • b5e4cb8: Optimize the SenderButton component in sender.tsx.

This optimization includes:

  • Add icon and isSending option to SenderButton component.

  • Add doc-string for SenderButton and Sender props.

  • 421dc74: Optimize markdown component in Bubble, customize link, heading and code. Support copy button for code blocks.

  • cd8ace0: Remove gap and margin between textarea and footer in Sender component.

  • 6a494c2: Add InputCount component.

  • Remove the input count div container and wrap it into a new component, allowing users to customize the input limit.

  • Remove the justify-center style from the div container and add ml-auto to the SenderButton to ensure button remains on the right side. (#47 by @xx-yoke)

  • 4e2905b: Optimize callback performance by using useCallback.

  • f35b6e9: Refactor List component in list.tsx to improve code structure and maintainability. (#65 by @TMZZ031130)

  • 17b60e7: Add loading animation during AI request wait states.

  • Updated BubbleListProps and Bubble in bubble.tsx to support pending states

  • Modified useChat in chat.ts to set pending = true before API requests (#23 by @Raven-Book)

  • 577946c: Optimize background option of BubbleList component.

BREAKING CHANGES:

  • Use left-solid, right-solid, transparent and solid as the value of background option.

  • Default to use right-solid as the value of background option in Bubble component.

  • Remove left-only and right-only value in Bubble component.

  • a0b5fc8: Add List component in list.tsx to support grouped or normal lists. (#26 by @TMZZ031130)

  • 31f4edf: Add FileUpload component for file selections. (#31 by @xx-yoke)

  • 3869f95: Optimize behavior of useChat:

  • Add throwOnEmptyBackend option to useChat function.

  • Throw an error when backend is nullish and throwOnEmptyBackend is true.

  • Rename isPendingtopending in useChat return value.

  • Allow empty backend in useChat function.

Chores

  • 577946c: Bump dependencies.
  • 8bbf2ca: Release @matechat/react stable.

Bug Fixes

  • a11cb5d: Enforce some styles for Sender component.
  • b31f68b: Fix max height of sender and optimize scrollbar style. (#73 by @xx-yoke)
  • d61b43c: Fix the build issue in utils by adding utils/index.ts to vite build entries.
  • 9f3c6a9: Fixed the issue that normal list mode cannot be selected.

Other optimizations:

  • Remove the className attribute from the list.
  • Add an id attribute to the li option of the list component. (#67 by @TMZZ031130)
  • 8044b1e: adjust title/description font-size to match the prompt component (#30 by @Raven-Book)
  • 3a19451: Fix the lint error on useEffect in sender.tsx.
  • 742dfeb: Fix matechat component exports.

Performance Improvements

  • b07439f: Default wrap BubbleList with React.memo to avoid extra rerender.
  • 57077a8: Optimize performance of BubbleList component, avoid extra rerender overheads.
  • 36ca7eb: Wrap all useChat hooks with useCallback to avoid re-rendering.

@fu050409 fu050409 merged commit 07d1104 into main Nov 7, 2025
@fu050409 fu050409 deleted the release branch November 7, 2025 06:37
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.

2 participants