chore(release): bump versions #80
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Releases
@matechat/react
v0.1.0
Refactors
5019927: Rewrite auto scroll logic ofBubbleListcomponent:Use
ResizeObserverto detect content size changes and scroll accordingly.Add
scrollContainermethod to scroll to bottom when content size changes.Introduce
pauseScrollto prevent unnecessary scrolls during updates.162bad9: Extract all markdown components and resolve code lints.New Features
b5e4cb8: Optimize theSenderButtoncomponent insender.tsx.This optimization includes:
Add
iconandisSendingoption toSenderButtoncomponent.Add doc-string for
SenderButtonandSenderprops.421dc74: Optimize markdown component inBubble, customize link, heading and code. Support copy button for code blocks.cd8ace0: Remove gap and margin between textarea and footer inSendercomponent.6a494c2: AddInputCountcomponent.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 usinguseCallback.f35b6e9: RefactorListcomponent inlist.tsxto improve code structure and maintainability. (#65 by @TMZZ031130)17b60e7: Add loading animation during AI request wait states.Updated
BubbleListPropsandBubbleinbubble.tsxto support pending statesModified
useChatinchat.tsto setpending = truebefore API requests (#23 by @Raven-Book)577946c: Optimizebackgroundoption ofBubbleListcomponent.BREAKING CHANGES:
Use
left-solid,right-solid,transparentandsolidas the value ofbackgroundoption.Default to use
right-solidas the value ofbackgroundoption inBubblecomponent.Remove
left-onlyandright-onlyvalue inBubblecomponent.a0b5fc8: AddListcomponent inlist.tsxto support grouped or normal lists. (#26 by @TMZZ031130)31f4edf: AddFileUploadcomponent for file selections. (#31 by @xx-yoke)3869f95: Optimize behavior ofuseChat:Add
throwOnEmptyBackendoption touseChatfunction.Throw an error when
backendis nullish andthrowOnEmptyBackendistrue.Rename
isPendingtopendinginuseChatreturn value.Allow empty
backendinuseChatfunction.Chores
577946c: Bump dependencies.8bbf2ca: Release@matechat/reactstable.Bug Fixes
a11cb5d: Enforce some styles forSendercomponent.b31f68b: Fix max height of sender and optimize scrollbar style. (#73 by @xx-yoke)d61b43c: Fix the build issue inutilsby addingutils/index.tsto vite build entries.9f3c6a9: Fixed the issue that normal list mode cannot be selected.Other optimizations:
classNameattribute from thelist.8044b1e: adjust title/description font-size to match the prompt component (#30 by @Raven-Book)3a19451: Fix the lint error onuseEffectinsender.tsx.742dfeb: Fix matechat component exports.Performance Improvements
b07439f: Default wrapBubbleListwithReact.memoto avoid extra rerender.57077a8: Optimize performance ofBubbleListcomponent, avoid extra rerender overheads.36ca7eb: Wrap alluseChathooks withuseCallbackto avoid re-rendering.