Skip to content

Releases: alicom13/sios

Sios v1.3.0 - Production Ready HTTP Client

Choose a tag to compare

@alicom13 alicom13 released this 19 Dec 03:44
a621fdc

Sios v1.3.0

Ultra-minimal HTTP client inspired by Axios - Production ready, zero dependencies, and battle-tested!

🎉 What's New

  • Initial release of Sios HTTP client
  • Full Axios-compatible API for easy migration
  • Zero dependencies - Just pure JavaScript
  • Built-in retry mechanism with exponential backoff
  • Robust error handling with detailed SiosError
  • Memory leak prevention - Guaranteed cleanup

🚀 Key Features

Complete HTTP methods - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
File upload support - Single & multi-file upload
Request cancellation - Cancel by requestId or cancelAll()
Timeout handling - Custom timeout with abort controller
Interceptors - Request & response interceptors
Auto-retry - Configurable retry logic
Memory safe - No leaks, proper cleanup
Browser & Node.js - Universal compatibility

🔧 Technical Highlights

  • Zero dependencies - Uses native Fetch API
  • Tree-shakeable - ES Module + CommonJS support
  • Type-safe errors - Detailed error codes (CANCELLED, TIMEOUT, HTTP_xxx)
  • Race condition fixed - Cancel vs timeout competition resolved
  • URL parsing robust - Handles edge cases properly

📦 Installation

npm install sios