Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lobehub/lobehub
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0-next.357
Choose a base ref
...
head repository: lobehub/lobehub
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0-next.358
Choose a head ref
  • 2 commits
  • 4 files changed
  • 3 contributors

Commits on Jan 23, 2026

  1. 🐛 fix(store): delete message before regeneration (#11760)

    🐛 fix(store): delete message before regeneration to fix LOBE-2533
    
    When "delete and regenerate" was called, regeneration happened first
    which switched to a new branch. This caused the original message to
    no longer appear in displayMessages, so deleteMessage couldn't find
    the message and failed silently.
    
    Changes:
    - Reorder operations: delete first, then regenerate
    - Get parent user message ID before deletion (needed for regeneration)
    - Add early return if message has no parentId
    - Add test case to verify correct operation order
    
    Closes: LOBE-2533
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
    arvinxx and claude authored Jan 23, 2026
    Configuration menu
    Copy the full SHA
    a8a6300 View commit details
    Browse the repository at this point in the history
  2. 🔖 chore(release): v2.0.0-next.358 [skip ci]

    ## [Version&nbsp;2.0.0-next.358](v2.0.0-next.357...v2.0.0-next.358)
    <sup>Released on **2026-01-23**</sup>
    
    #### 🐛 Bug Fixes
    
    - **store**: Delete message before regeneration.
    
    <br/>
    
    <details>
    <summary><kbd>Improvements and Fixes</kbd></summary>
    
    #### What's fixed
    
    * **store**: Delete message before regeneration, closes [#11760](#11760) ([a8a6300](a8a6300))
    
    </details>
    
    <div align="right">
    
    [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
    
    </div>
    semantic-release-bot committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    2bb61c4 View commit details
    Browse the repository at this point in the history
Loading