Commit graph

32 commits

Author SHA1 Message Date
8adfa91831 fixed minor issue in tsconfig 2025-12-01 18:19:02 -05:00
9fe6e5d2a3 add manual and website to gitingore 2025-12-01 18:17:33 -05:00
9426e8e66c
Merge pull request #8 from ccollier86/codex/review-typed-fetch-refactor-progress
Add package readiness notes and metadata tests
2025-12-01 18:05:46 -05:00
b66b8f6cc1 Add package readiness notes and metadata tests 2025-12-01 18:05:33 -05:00
4d80767c53
Merge pull request #6 from ccollier86/codex/review-typed-fetch-refactor-progress
Add default JSON headers, safer deduping, and export smoke tests
2025-12-01 17:59:03 -05:00
0c3a0863cf
Merge branch 'main' into codex/review-typed-fetch-refactor-progress 2025-12-01 17:58:56 -05:00
fddbe27768
Merge pull request #7 from ccollier86/codex/review-typed-fetch-refactor-progress-k0wqhq
Fix import formatting and clean exports
2025-12-01 17:58:17 -05:00
6b4e4bd7cd Fix import formatting and clean exports 2025-12-01 17:58:05 -05:00
9804ffe7f5 Improve request deduping and export coverage tests 2025-12-01 17:57:48 -05:00
034070481c Merge origin/main into branch 2025-11-13 01:27:59 -05:00
bf1ee5f907 Add built-in mocking utilities 2025-11-13 01:22:26 -05:00
6d25427319 Merge origin/main into branch 2025-11-13 00:49:42 -05:00
81a2d3cb1f Implement throttled response streaming 2025-11-13 00:35:21 -05:00
2c1b42c1ac Merge origin/main into branch 2025-11-12 22:41:32 -05:00
43d4ea78b3 Support fetch-style init for body helpers 2025-11-12 22:35:13 -05:00
bd78730c1c
Merge pull request #2 from ccollier86/codex/investigate-and-improve-typedfetch-api-g2n7dw
Add CLI sync workflow and type-safe helpers
2025-11-12 22:34:24 -05:00
a0ea156a5b fixed codex cloud merge conflicts 2025-11-12 22:19:40 -05:00
47c17ef7cb Add CLI and wire types into HTTP helpers 2025-11-12 21:56:37 -05:00
7fb1426049
Merge pull request #1 from ccollier86/codex/investigate-and-improve-typedfetch-api
Add presets, resource builder, and type snapshots
2025-11-12 21:29:54 -05:00
e771905024 feat: add presets, resources, and type snapshots 2025-11-12 21:29:44 -05:00
a833e5334a Add realistic roadmap for TypedFetch future development
- 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
2025-07-20 23:19:26 -04:00
feeba8d1a0 feat: Release v0.2.0 - Major streaming and performance improvements
- 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>
2025-07-20 18:34:01 -04:00
2a618605b6 Update content negotiation report with implementation results
- 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
2025-07-20 17:34:28 -04:00
d64e135d25 Fix social media sharing and SEO issues
- 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
2025-07-20 17:29:21 -04:00
0941d85d53 Add version sync script and update to 0.1.3
- 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
2025-07-20 16:16:49 -04:00
0459622c43 Fix streaming methods to support baseURL resolution
- 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
2025-07-20 16:15:36 -04:00
4affa51978 Fix CommonJS build using esbuild
- Replace Bun CJS build with esbuild for proper Node.js compatibility
- Fixes import issues with CJS/require environments
- Bump version to 0.1.2
2025-07-20 15:59:15 -04:00
d8c5e4a1d5 Fix CommonJS exports and content negotiation
- 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
2025-07-20 15:52:29 -04:00
c2e7b5cc1d git ignore for typedfetched.dev website 2025-07-20 12:57:37 -04:00
88e06d820a fixed package again for new npm org and updated readme links 2025-07-20 12:55:21 -04:00
3c7eee100a fixed package name for npm registry 2025-07-20 12:46:19 -04:00
b85b9a63e2 Initial commit: TypedFetch - Zero-dependency, type-safe HTTP client
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
2025-07-20 12:35:43 -04:00