Skip to content

feat(request): add upload progress tracking#86

Merged
marcstraube merged 1 commit into
masterfrom
feat/upload-progress
May 1, 2026
Merged

feat(request): add upload progress tracking#86
marcstraube merged 1 commit into
masterfrom
feat/upload-progress

Conversation

@marcstraube

Copy link
Copy Markdown
Owner

Summary

  • Add trackUploadProgress() for request body progress tracking
  • Extend createProgressMiddleware() with onUploadProgress option
  • Extract shared createProgressStream() to eliminate duplication
  • Support Blob, ArrayBuffer, string, URLSearchParams (known size) and ReadableStream, FormData (unknown size)

Closes #70

Test plan

  • 12 unit tests for trackUploadProgress (all body types, edge cases, cancellation)
  • 7 middleware tests (upload-only, download-only, both, empty options, null body)
  • All 4250 existing tests pass
  • Lint, TypeScript, build clean

🤖 Generated with Claude Code

Closes #70

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@marcstraube marcstraube merged commit 38f2abc into master May 1, 2026
16 checks passed
@marcstraube marcstraube added the enhancement New feature or request label May 1, 2026
@marcstraube marcstraube self-assigned this May 1, 2026
@marcstraube marcstraube added this to the v1.3 milestone May 1, 2026
@marcstraube marcstraube deleted the feat/upload-progress branch June 15, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(request): add upload progress tracking

1 participant