Releases: ipregistry/ipregistry-swift
Releases · ipregistry/ipregistry-swift
Release list
1.0.0
Added
- Initial release of the official Ipregistry Swift client library.
- Single IP lookup (
lookup), origin lookup (lookupOrigin), and batch lookup (lookupBatch) with transparent
chunking of arrays larger than the API limit, dispatched with bounded concurrency. - User-Agent parsing (
parseUserAgents) and theUserAgent.isBothelper. - Typed
Network.IPAddresslookup overloads on Apple platforms. - Automatic retries with exponential backoff on transient network errors and 5xx responses, with opt-in retry on 429
honoringRetry-After. - Opt-in caching through the
IpregistryCacheprotocol and the built-inInMemoryCacheactor (LRU with TTL). - Pluggable
HTTPTransportprotocol with aURLSession-backed default, enabling offline testing and custom HTTP
stacks. - Typed errors:
APIError(with typed, forward-compatibleErrorCode) andClientError. - Swift 6 language mode,
Sendablethroughout, zero external dependencies. Supports macOS 12+, iOS 15+, tvOS 15+,
watchOS 8+, visionOS 1+, and Linux.