Releases: ANSCoder/Nexio
Releases · ANSCoder/Nexio
Nexio 1.0.0
Nexio 1.0.0
First stable release of Nexio — a lightweight, actor-based Swift networking SDK.
What's included
- NexioClient actor — typed GET, POST, PUT, PATCH, DELETE with automatic JSON encoding/decoding
- NexioConfig — base URL, timeout, default headers, retry policy, log level
- Endpoint protocol — type-safe request descriptors with per-request auth override
- AuthStrategy — bearer token, API key, custom headers, or
.none - AuthInterceptor — dynamic token provider (async closure, for OAuth refresh)
- RetryInterceptor + RetryPolicy — none, linear, or exponential backoff
- ImageLoader actor — URLCache-backed remote image loading with prefetch
- NexioImage — SwiftUI drop-in for AsyncImage with caching, placeholder, failure view
- NexioError — typed errors covering network, auth, 4xx/5xx, and decoding failures
- Swift 6 strict concurrency compliant — zero data-race warnings
- Zero external dependencies
Requirements
| Platform | Minimum |
|---|---|
| iOS | 16.0 |
| macOS | 13.0 |
| watchOS | 9.0 |
| tvOS | 16.0 |
Swift 6.2+