Swift Client SDK
Native Swift and SwiftUI client SDK for building iOS and macOS apps with Rivet Actors
Native Swift and SwiftUI client SDK for building iOS and macOS apps with Rivet Actors
- Low-level KV API for direct key-value operations - `getGatewayUrl()` from actor handle for raw HTTP/WebSocket connections - New onboarding experience in dashboard - Dashboard stability improvements - Actor queues for reliable message processing - Actor run handler for procedural actor logic - `c.keepAwake()` to keep actors alive while promises are running - Skill files for portable AI agent capabilities - Auto-detection of serverless upgrades to preemptively drain actors
- Rivet Inspector button added to local development environment - Performance improvements for Inspector - Tokens now have a prefix indicating what they do (e.g. `pk_` for public) - Railway serverless & multiregion support - Intelligent auto-configuration of clients with `RIVET_PUBLIC_ENDPOINT`
We've added an Inspector button to your local development environment. Click it to instantly open the Rivet Inspector and view: - Actor state - Logs - Connections - Configuration
- Single-url endpoints for simpler config (e.g., `https://ns:token@api.rivet.dev`) - Actor orchestration errors now visible in dashboard & API - Runner pool errors now visible in dashboard & API - Stricter TypeScript types for better type safety - Postgres SSL support for secure database connections
**Rivet now supports programmatically deploying AI-generated and user-generated actor code to sandboxed namespaces, enabling use cases like AI code execution, user sandbox environments, preview deployments, and multi-tenant applications.**
Rivet now supports keeping WebSocket connections alive while actors upgrade, migrate, crash, or sleep. This eliminates many of the biggest pain points of building realtime applications with WebSockets.
- Ability to use RivetKit via human-readable JSON & CBOR (e.g., `curl -X POST -d '{"args":[1]}' '127.1:6420/gateway/62558b332d622c0e/action/increment'`) - OpenAPI spec available at [rivetkit-openapi/openapi.json](https://github.com/rivet-dev/rivet/blob/main/rivetkit-openapi/openapi.json) - Connection lifecycle hooks & parameters & state now work for `onWebSocket` and `onRequest` connections - AsyncAPI spec available at [rivetkit-asyncapi/asyncapi.json](https://github.com/rivet-dev/rivet/blob/main/rivetkit-asyncapi/asyncapi.json) - Typedoc docs available at [rivet.dev/typedoc/](https://rivet.dev/typedoc/) - Add ability to destroy actors via `ActorContext.destroy()` & new `onDestroy` hook - Optimized durable objects implementation - Add `createInlineClient` to Cloudflare Workers for talking to actors without exposing the public manager API
- WebSocket hibernation allows your actors to go to sleep while websockets stay open - Live WebSocket migration for actor failover & upgrades - Shows actors in backoff state if your backend is crashing
- Support WebSockets/HTTP via path routing – no need for headers or custom protocols - AMD64 Docker image - Coolify support added
- Vercel support - Streamlined connect page for Cloud & Engine - New clouds added - Latency in runner list
- Support WebSockets/HTTP via path routing – no need for headers or custom protocols - AMD64 Docker image - Coolify
**Rivet Actors can now run on Vercel Functions, bringing stateful, realtime workloads to Vercel's serverless platform.**
- Rivet Cloud - Deploy guides for Railway, AWS, GCP, Hetzner, VMs - Connect tab for faster onboarding
Today we are launching Rivet Cloud, the fastest way to deploy and scale your Rivet Actors in production.
- Railway verified marketplace integration - Self-host Rivet on Railway with one-click deployment - Two starter templates: Rivet Starter and blank template - Full Rivet Engine with Inspector included - 14% improvement in Postgres driver throughput
Rivet is now a verified app on the Railway Marketplace. With a few clicks, you can deploy and self-host Rivet on Railway and start building stateful apps anywhere you can run Node.js or Bun—without vendor lock-in.
- Configurable admin token for the Engine - Live chat for feedback & bug requests in Engine & Inspector - Add custom headers to client - Performance improvements in runner protocol
- Access actors directly from frontend - Simplified Cloudflare Workers integration - Pino logging support - Logs include actor name & key - New domain name, rivet [dot] dev
- Actor sleeping - Standalone release binaries (no Docker needed) - onStop lifecycle hook - 72% more compact binary protocol (CBOR → BARE) - 3x faster networking with Postgres driver
Today, we are releasing Rivet v2.0.
Every API call to a cloud provider is a dependency you can't control.
We've updated the installation process for the `rivet-cli` package, making it easier than ever to get started with Rivet. This update ensures a seamless setup process whether you're using `npx` or installing globally via `npm`.
Today we're excited to announce updates to Rivet's pricing model, moving to a more transparent and flexible usage-based system. This change allows developers to better scale their applications while only paying for what they use.
Today we are launching Rivet Actor Inspector to help developers view and inspect Rivet Actors. See and edit things like: - State - Logs - Configuration - Connections
Today we are launching Rivet Actors to help developers build and scale realtime applications. They come with a lot of features like: - State - Events - Remote Procedure Calls - Run at the edge - Open-source - Self-hostable