Releases: wjiuxing/WJXEventSource
Releases · wjiuxing/WJXEventSource
Release list
0.0.2
What's New
Features
- Swift Package Manager (SPM) support with zero file moves
- AI agent skill (SKILL.md) for AI-assisted development — 3-file tiered structure for minimal token consumption
- Exponential backoff retry strategy with configurable
maxRetryCount - Content-Type validation: reject non-
text/event-streamresponses - Thread-safe listener management with concurrent GCD queue
Documentation
- Comprehensive bilingual README (English + Chinese) with full API reference
- AI agent skill split into
SKILL.md(core API),ADVANCED.md(code examples),REFERENCE.md(gotchas & troubleshooting)
Tests
- 10 XCTest cases for SSE event parsing (field extraction, multi-line data, reconnection)
Fixes
- Default
retryIntervalset to 3.0 seconds
0.0.1
Initial release of WJXEventSource — HTML5 Server-Sent Events client for iOS.
Features:
- HTML5 SSE protocol compliance (id, event, data, retry fields)
- Event-listener pattern with addListener:forEvent:queue:
- Automatic reconnection with exponential backoff
- Thread-safe listener management
- Content-Type validation
- CocoaPods integration (iOS 10.0+, ARC)