dream_http_client Release 3.0.0: Process-Based Streaming and Type-Safe Headers #35
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.
dream_http_client 3.0.0 Release
Overview
Major redesign of the HTTP client streaming API with process isolation, callback-based handling, and type-safe headers throughout the module.
Key Changes
1. Redesigned Streaming API (Breaking)
Old approach: Manual selector loops, 40+ lines of boilerplate
New approach: Callback-based with dedicated processes
Benefits:
2. Header Type (Breaking)
Added
Header(name, value)type for type safety throughout module.3. Immediate Recording Saves
Recordings now saved immediately when captured - never lose data even if process crashes.
4. Tested Snippets
All README examples are now tested code in
test/snippets/following dream_ets pattern.Migration
See CHANGELOG.md and Release Notes for complete migration guide.
Testing
Breaking Changes
stream_messages()removed from public APIselect_stream_messages()removed from public APIget_headers()returnsList(Header)not tuplesStreamStart/StreamEnduseList(Header)Ready for release to hex.pm.