August 27, 2025

Announcing Spin 3.4

spin release wasmtime

Announcing Spin 3.4

This week the CNCF Spin project released Spin 3.4 which includes several notable enhancements to Spin.

In this blog post, we’ll dive into a few exciting features of this release, which center around enabling HTTP/2 for outgoing requests, pooling Postgres connections, broadening the range of PostgreSQL data types, and an added schema directive for spin.toml to enable validation and code completion.

If you want to skip ahead to the official Release Notes, you can find them here.

HTTP/2 for Outgoing Requests

Spin now supports making outgoing HTTP/2 requests! Until now, Spin applications could only make outbound calls over HTTP/1.1. With this release, developers can seamlessly interact with APIs and services that require or benefit from HTTP/2, such as gRPC-based backends. This unlocks a whole new set of integration scenarios for Spin apps—whether you’re connecting to microservices, cloud APIs, or high-throughput data pipelines.

HTTP/2 support means better performance and efficiency: multiplexed requests on a single connection, lower latency, and improved network utilization. For developers, the upgrade is transparent — just use the existing outbound HTTP interface in Spin, and Spin will negotiate HTTP/2 when the server supports it. No configuration changes are needed. This step makes Spin an even more capable platform for building Wasm-powered, event-driven applications that need to talk to the broader web at scale.

In a follow up post, we will be digging into the new wasi-grpc crate which enables gRPC clients to operate in Spin components.

Pooling Postgres Connections

Spin now pools PostgreSQL connections, making database access faster and more efficient. Instead of opening a new connection for every query, Spin apps reuse existing connections behind the scenes. This means lower latency, better performance under load, and smoother scaling for data-driven applications—all without any extra work from you.

Expanded PostgreSQL Data Types

Spin’s PostgreSQL support just got a major boost! You can now work with UUID, JSONB, decimal (NUMERIC), range types, array types, and INTERVAL, preserving their structure in the database—making JSON queries, range queries, and more possible right in your Spin apps. More types, more flexibility, more power.

Template Manifest Schema Directives

Spin templates now include a schema directive in your spin.toml, enabling validation and code completion automatically in most editors. With Even Better TOML (or an equivalent) installed, you’ll get clearer guidance, fewer mistakes, and a smoother experience when working with Spin manifests—no extra setup required.

Thank you!

We would like to thank the over 85 contributors to the Spin project. Thank you to everyone in the growing community!

A special mention goes out to the maintainers of the Bytecode Alliance projects, particularly the Wasmtime project and the developers working on WASI and the WebAssembly component model. Their work is instrumental in supporting Spin.

Stay In Touch

Ensure to join the weekly project meetings, chat in the Spin CNCF Slack channel and follow on X (formerly Twitter) @spinframework!

To get started with Spin and explore the latest features, follow the Spin quickstart which provides step-by-step instructions for installing Spin, creating your first application, and running it locally. Also head over to the Spin Hub for inspiration on what you can build!

 


🔥 Recommended Posts


Quickstart Your Serverless Apps with Spin

Get Started