Announcing Upstash Redis SDK v1.0.0
Blog post from Upstash
@upstash/redis v1.0.0 introduces significant updates as the only connectionless, HTTP-based Redis client designed for serverless environments, now compatible with Cloudflare Workers and Fastly. This version is a complete rewrite, focusing on pipeline support and enhanced typesafety, though it is not backward compatible with previous versions. Key improvements include explicit authentication, optimized performance across platforms, a stricter type system for error prevention, and automatic error handling, where commands return data and throw errors if something goes wrong. The new pipeline API allows chaining multiple commands for efficient execution and cost savings, especially useful in serverless contexts. To get started, users can create a new database on Upstash's console and refer to the quick-start guide, with future plans to support Redis v6.2 commands and potential compatibility with the Deno platform. Feedback and contributions are encouraged through GitHub, Discord, or Twitter.