- Version 0.3.0: Testing utilities and better debugging
- Version 0.4.0: Advanced type inference and API documentation
- Version 0.5.0: Performance improvements and observability
- Version 0.6.0: WebSocket and advanced streaming support
- Version 1.0.0: Enterprise features and production stability
Focus on developer experience, type safety, and maintaining zero dependencies
- Add native SSE streaming support with streamSSE() method
- Add POST body support to all streaming methods (stream, streamJSON, streamSSE)
- Add race() method for first successful response from multiple endpoints
- Add batch() method for efficient bulk operations with concurrency control
- Add parallel() method using Web Workers for true parallelism
- Add uploadResumable() with adaptive chunking and progress tracking
- Add uploadStream() for large file/model uploads
- Add throttled() method for bandwidth limiting
- Add streamWithReconnect() for resilient streaming with auto-reconnection
- Remove duplicate withExponentialBackoff (already in retry logic)
- Remove overly specialized AI methods (trackTokenUsage, parallelInference)
- Fix TypeScript strict mode compatibility
- Add comprehensive CHANGELOG.md
- Bundle size: 11KB gzipped (up from 8KB, still under 15KB target)
BREAKING CHANGES:
- Removed withExponentialBackoff() - use built-in retry config instead
- Removed trackTokenUsage() - too specialized for general HTTP client
- Removed parallelInference() - use generic parallel() method instead
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Document all solutions implemented for TypedFetch website
- Add critical discoveries about cache poisoning and SPA issues
- Include lessons learned and article-worthy insights
- Provide recommended architecture pattern for others
- Transform report from problem analysis to solution reference
- Add dynamic sitemap.xml generation for search engines
- Implement server-side rendering for social media crawlers
- Add Vary headers to prevent CDN cache pollution
- Provide page-specific meta tags for better social previews
- Fix Facebook/Twitter/LinkedIn sharing with proper HTML responses
Crawlers now get proper HTML with OpenGraph tags while humans get React app
- Created automated version sync script in scripts/sync-version.js
- Updates all website version references automatically
- Added sync-version npm script for easy usage
- All files now synced to version 0.1.3
- Extract URL resolution logic into resolveUrl() helper method
- Fix stream() and streamJSON() to use baseURL for relative URLs
- Prevents 'Failed to parse URL' errors when using relative paths
- Bump version to 0.1.3
- Add CommonJS build (index.cjs) to support both ESM and CJS imports
- Enhanced markdown plugin to serve JSON content for LLMs at /docs endpoint
- Bump version to 0.1.1 for package compatibility fixes
Features:
- Zero configuration, just works out of the box
- Runtime type inference and validation
- Built-in caching with W-TinyLFU algorithm
- Automatic retries with exponential backoff
- Circuit breaker for resilience
- Request deduplication
- Offline support with queue
- OpenAPI schema discovery
- Full TypeScript support with type descriptors
- Modular architecture
- Configurable for advanced use cases
Built with bun, ready for npm publishing