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: rmqtt/rmqtt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.15.0
Choose a base ref
...
head repository: rmqtt/rmqtt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.15.1
Choose a head ref
  • 7 commits
  • 3 files changed
  • 1 contributor

Commits on Aug 31, 2025

  1. Configuration menu
    Copy the full SHA
    0056983 View commit details
    Browse the repository at this point in the history
  2. fix(session): improve QoS 1 publish error handling and bump version t…

    …o 0.15.1
    
    Bug Fix:
    - **QoS 1 Publish Reliability**: Fixed error handling in QoS 1 message processing
    - **Resource Leak Prevention**: Ensure inflight messages are properly cleaned up on errors
    - **Ordering Guarantee**: Maintain proper ACK sequencing even after publish failures
    
    Key Changes:
    1. **Error Handling Improvement**:
       - Added proper error mapping to clean up inflight messages on publish failure
       - Separated publish operation from ACK sending for better error isolation
       - Ensured inflight removal happens before propagating errors
    
    2. **Version Bump**:
       - Bumped workspace version from 0.15.0 to 0.15.1
       - Updated all plugin dependencies to 0.15.1
       - Maintained version synchronization across all components
    
    Technical Details:
    - The fix addresses a potential resource leak where inflight messages wouldn't be cleaned up if `self.publish()` failed
    - Now properly removes the inflight entry before returning the error
    - Maintains the ACK sending operation separately to ensure proper protocol sequencing
    
    This patch release (0.15.1) focuses on improving reliability and preventing resource leaks in QoS 1 message handling.
    bittcrafter committed Aug 31, 2025
    Configuration menu
    Copy the full SHA
    53a2a6c View commit details
    Browse the repository at this point in the history
  3. refactor(session): simplify error handling using inspect_err

    - Replaced `map_err` with `inspect_err` for cleaner error side effects
    - Maintains same functionality: removes inflight entry on publish failure
    - More idiomatic Rust error handling pattern
    - Keeps original error unchanged while performing cleanup
    bittcrafter committed Aug 31, 2025
    Configuration menu
    Copy the full SHA
    29ee820 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2025

  1. Configuration menu
    Copy the full SHA
    2211231 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca683fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    498ad25 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #281 from bittcrafter/release/0.15.x

    chore: bump version to 0.15.1 and improve shutdown process
    bittcrafter authored Sep 8, 2025
    Configuration menu
    Copy the full SHA
    9c518af View commit details
    Browse the repository at this point in the history
Loading