Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jmrobles
Copy link
Contributor

Description

Updates the CHANGELOG.md to document the v1.0.4 release which includes the real-time streaming improvements from PR #8.

Changes

  • Add v1.0.4 section to CHANGELOG.md
  • Document the streaming flush fix and technical details
  • Credit @TianYi0217 for the contribution
  • Add reference link to v1.0.4 release

Changelog Entry

Fixed

  • Real-time streaming with proper HTTP flushing for server-sent events (SSE) (fix: implement real-time streaming with proper flushing #8)
    • Replaced io.Copy() with manual read/write loop with immediate Flush() calls
    • Implemented http.Flusher interface on responseWrapper
    • Use 512-byte buffer optimized for Anthropic SSE events
    • Proper error handling and graceful degradation

Changed

  • Streaming responses now deliver content in real-time instead of buffering

Added

  • Unit tests for responseWrapper.Flush() implementation

Related

Add changelog entry for v1.0.4 release documenting the real-time
streaming improvements from PR #8.

Changes:
- Document fix for real-time streaming with proper HTTP flushing
- Detail technical implementation (manual read/write loop, Flush interface)
- Note 512-byte buffer optimization for SSE events
- Credit @TianYi0217 for the contribution
- Add unit test additions to changelog
@jmrobles jmrobles force-pushed the docs/update-changelog-v1.0.4 branch from 7623616 to eeee008 Compare October 26, 2025 12:12
@jmrobles jmrobles merged commit f6fc6c5 into main Oct 27, 2025
5 checks passed
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