Skip to content

Releases: spinframework/spin

v2.0.0

03 Nov 23:09
v2.0.0
e4bb235
Compare
Choose a tag to compare

Spin v2.0.0 🚀

We are excited to announce the release of Spin 2.0! This is the latest major release of Spin
which focuses on improving key scenarios for running WebAssembly applications.

What's new 💅

  • Component support

    Spin 2.0 now supports running composed WebAssembly Components.
    Dive into the examples mentioned below for a demonstration of this functionality.

  • Polyglot

    Thanks to composition, Spin application developers can build polyglot applications incorporating components
    built from any language with support for compiling into a WebAssembly component.

  • Portability

    Spin has now standardized on wasi-http. This means components
    built by Spin can be run by other runtimes supporting the same wasi-http version.

  • Performance

    Spin 2.0 brings a big performance boost, utilizing wasmtime's pooling allocator and no longer
    copying Request and Response bodies. In some cases, we've seen 10x the performance when compared to Spin 1.0!

    Note: For Linux hosts, there is a known pending performance fix in wasmtime#7475
    that will be ported to Spin as soon as available.

Check out the examples 👀

  • Dive into the Http Auth Middleware example for a demonstration of
    using component composition to integrate an http auth middleware component into a Spin application.

  • Experimental streaming support also ships in this release, enabling a whole new suite of scenarios for Spin
    application developers. See the Spin fileserver component for an example using this functionality.

Breaking changes ⚠️

  • OCI distribution: We've updated the way we distribute Spin apps to enable upstream scenarios
    such as containerd and Kubernetes. This means pre-2.0 Spin clients won’t be able to pull or run Spin apps published by 2.0 Spin clients
    • Fix: update to the 2.0 version of Spin
  • spin new / spin add - syntax is now spin new -t <template> <name>.
    • spin new <template> no longer works; however, spin new and spin new <template> <name> still do
  • C# templates won’t work with Spin 2 yet (more generally, templates with custom filters won't, but to our knowledge C# was the only one)
  • v2 SDK and manifest related changes:
    • After upgrading to use the v2 manifest,
      applications which use Postgres, MySQL or outbound Redis must provide an allowed_outbound_hosts configuration
    • Multiple Rust API changes: outbound HTTP, outbound Redis, application variables
    • Go has a new API for Redis
    • Go key_value package has been renamed to kv and has a new API

Highlights since Spin 1.0 ✨

Here are some highlights you may have missed that shipped in the releases between 1.0 and 2.0:

Thank you! ❤️

As always, many thanks to contributors old and new for helping improve Spin on a daily basis! 🎉 The 2.0 release represents
a huge milestone for the Spin project and we couldn't have done it without you.

Verifying the Release Signature 🔏

After downloading the v2.0.0 release of Spin, either via the artifact attached to this release corresponding to your OS/architecture combination or via the installation method of your choice, you are ready to verify the release signature.

First, install cosign. This is the tool we'll use to perform signature verification. Then run the following command:

cosign verify-blob \
    --signature spin.sig --certificate crt.pem \
    --certificate-identity https://github.com/fermyon/spin/.github/workflows/release.yml@refs/tags/v2.0.0 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com \
    --certificate-github-workflow-sha e4bb2357067d29f053b2d039476180ffa31222b2 \
    --certificate-github-workflow-repository fermyon/spin \
    spin

If the verification passed, you should see:

Verified OK

What's Changed

Read more

v2.0.0-rc.1

01 Nov 03:51
v2.0.0-rc.1
2cb5b1f
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release
Spin v2.0.0-rc.1

Spin v1.5.1

26 Sep 23:33
v1.5.1
8d4334e
Compare
Choose a tag to compare

This is a patch release of Spin which makes the AI functionality related dev experience better by allowing access to AI grade GPUs during local development.

Verifying the Release Signature

After downloading the 1.5.1 release of Spin, either via the artifact attached to this release corresponding to your OS/architecture combination or via the installation method of your choice, you are ready to verify the release signature.

First, install cosign. This is the tool we'll use to perform signature verification. Then run the following command:

cosign verify-blob \
    --signature spin.sig --certificate crt.pem \
    --certificate-identity https://github.com/fermyon/spin/.github/workflows/release.yml@refs/tags/v1.5.1 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com \
    --certificate-github-workflow-sha 8d4334eca6eb2b9cec0105612cc9a38402f839b4 \
    --certificate-github-workflow-repository fermyon/spin \
    spin

If the verification passed, you should see:

Verified OK

What's Changed

Full Changelog: v1.5.0...v1.5.1

v1.5.0

13 Sep 18:38
v1.5.0
ca08dd9
Compare
Choose a tag to compare

Spin v1.5.0

The 1.5.0 release of Spin brings a number of features, improvements and bug fixes. 🚀

Some highlights in 1.5 at a glance:

  • Introducing Serverless AI and LLM (Large Language Model) inferencing support!
  • Spin now enables wasmtime's pooling allocator by default (#1721)
    • This brings improved performance, particularly for high-concurrency setups
  • Intra-component outbound http within same app via self(#1710)
    • Components within a Spin app can easily communicate with each other via outbound http provided they are configured with allowed_http_hosts = ["self"]
  • SQLite API support for Go/TinyGo (#1714)

Other improvements:

  • spin up will now auto-create the working directory (workdir) specified in spin.toml if it does not already exist (#1691)

As always, thanks to contributors old and new for helping improve Spin on a daily basis! 🎉

Verifying the Release Signature

After downloading the 1.5.0 release of Spin, either via the artifact attached to this release corresponding to your OS/architecture combination or via the installation method of your choice, you are ready to verify the release signature.

First, install cosign. This is the tool we'll use to perform signature verification. Then run the following command:

cosign verify-blob \
    --signature spin.sig --certificate crt.pem \
    --certificate-identity https://github.com/fermyon/spin/.github/workflows/release.yml@refs/tags/v1.5.0 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com \
    --certificate-github-workflow-sha ca08dd933de32fe09f4c318fbbc1f04853f2085f \
    --certificate-github-workflow-repository fermyon/spin \
    spin

If the verification passed, you should see:

Verified OK

What's Changed

Full Changelog: v1.4.2...v1.5.0

v1.4.2

30 Aug 22:27
4ae1127
Compare
Choose a tag to compare
Merge pull request #1720 from fermyon/version-1.4.2

Update version to 1.4.2

v1.4.1

12 Jul 06:32
v1.4.1
e0bd911
Compare
Choose a tag to compare

Spin v1.4.1

This is a patch release of Spin which contains a fix for a bug found in the Redis SDK which caused an instantiation error during spin up.

Verifying the Release Signature

After downloading the v1.4.1 release of Spin, either via the artifact attached to this release corresponding to your OS/architecture combination or via the install script, you are ready to verify the release signature.

First, install cosign. This is the tool we'll use to perform signature verification. Then run the following command:

cosign verify-blob \
    --signature spin.sig --certificate crt.pem \
    --certificate-identity https://github.com/fermyon/spin/.github/workflows/release.yml@refs/tags/v1.4.1 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com \
    --certificate-github-workflow-sha e0bd9115fa51399e106681ac1c9ed1afbad1baaa \
    --certificate-github-workflow-repository fermyon/spin \
    spin

If the verification passed, you should see:

Verified OK

What's Changed

  • [Backport v1.4] Fix Redis Rust component instantiation by @itowlson in #1653

Full Changelog: v1.4.0...v1.4.1

v1.4.0

11 Jul 19:59
v1.4.0
7aab1fe
Compare
Choose a tag to compare

Spin v1.4.0

We are excited to announce the release of Spin 1.4! 🎉

This release includes several exciting new features:

  • A built-in SQLite database provides relational storage right out of the box: nothing to install, no connection strings
  • A new command spin doctor which facilitates diagnosing and detecting problems when building and running your apps
  • A Plugin badger which checks for updates of installed plugins and prompts you to upgrade so you know when a new version is available

As always, thanks to all of our contributors for continually improving Spin! ❤️

Verifying the Release Signature

After downloading the v1.4.0 release of Spin, either via the artifact attached to this release corresponding to your OS/architecture combination or via the install script, you are ready to verify the release signature.

First, install cosign. This is the tool we'll use to perform signature verification. Then run the following command:

cosign verify-blob \
    --signature spin.sig --certificate crt.pem \
    --certificate-identity https://github.com/fermyon/spin/.github/workflows/release.yml@refs/tags/v1.4.0 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com \
    --certificate-github-workflow-sha 7aab1fe43be70a271ba6336b959cd52191fc2253 \
    --certificate-github-workflow-repository fermyon/spin \
    spin

If the verification passed, you should see:

Verified OK

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

12 Jun 19:31
v1.3.0
9fb8256
Compare
Choose a tag to compare

Spin v1.3.0

We are excited to announce the release of Spin 1.3! The v1.3.0 release of Spin brings a number of features, user experience improvements and bug fixes. It also highlights work to focus the scope of the core Spin CLI as the cloud deploy and cloud login subcommands were removed from Spin and moved to the new cloud plugin. Users who wish to log into or deploy to Fermyon Cloud will have the same experience as before. When you run spin cloud login or spin cloud deploy in Spin 1.3, Spin will look for the cloud plugin, and if it is not installed, it will install it for you.

As always, thanks to contributors old and new for helping improve Spin on a daily basis! 🎉

Verifying the Release Signature

After downloading the v1.3.0 release of Spin, either via the artifact attached to this release corresponding to your OS/architecture combination or via the install script, you are ready to verify the release signature.

First, install cosign. This is the tool we'll use to perform signature verification. Then run the following command:

cosign verify-blob \
    --signature spin.sig --certificate crt.pem \
    --certificate-identity https://github.com/fermyon/spin/.github/workflows/release.yml@refs/tags/v1.3.0 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com \
    --certificate-github-workflow-sha 9fb8256d1380a046414b22bf2c17d1543f5029e4 \
    --certificate-github-workflow-repository fermyon/spin \
    spin

If the verification passed, you should see:

Verified OK

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.1

18 May 21:09
v1.2.1
fbc3874
Compare
Choose a tag to compare

Spin v1.2.1

This is a patch release of Spin to pick up a few features and improvements that didn't quite make it into Spin v1.2.0.

Verifying the Release Signature

After downloading the v1.2.1 release of Spin, either via the artifact attached to this release corresponding to your OS/architecture combination or via the install script, you are ready to verify the release signature.

First, install cosign. This is the tool we'll use to perform signature verification. Then run the following command:

cosign verify-blob \
    --signature spin.sig --certificate crt.pem \
    --certificate-identity https://github.com/fermyon/spin/.github/workflows/release.yml@refs/tags/v1.2.1 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com \
    --certificate-github-workflow-sha fbc3874ee2320389e78b7661f4412201d8cb718a \
    --certificate-github-workflow-repository fermyon/spin \
    spin

If the verification passed, you should see:

Verified OK

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

17 May 21:20
v1.2.0
c4fbd08
Compare
Choose a tag to compare

Spin v1.2.0

We are excited to announce the release of Spin 1.2! 🎉 Spin v1.2.0 features a new key-value host implementation backed by Azure Cosmos DB, an improved key-value SDK experience for easily getting/setting JSON encoded values, and enhancements to spin watch enabling the watching of multiple components.

Thank you to all contributors new and old!

Verifying the Release Signature

After downloading the v1.2.0 release of Spin, either via the artifact attached to this release corresponding to your OS/architecture combination or via the install script, you are ready to verify the release signature.

First, install cosign. This is the tool we'll use to perform signature verification. Then run the following command:

cosign verify-blob \
    --signature spin.sig --certificate crt.pem \
    --certificate-identity https://github.com/fermyon/spin/.github/workflows/release.yml@refs/tags/v1.2.0 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com \
    --certificate-github-workflow-sha c4fbd08eb75ce9b2729bf7c450520076e692c6af \
    --certificate-github-workflow-repository fermyon/spin \
    spin

If the verification passed, you should see:

Verified OK

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0