v0.10.0
Spin v0.10.0
The following outlines some updates from the Spin v0.10.0 release.
Some highlights in v0.10.0 at a glance:
- We've made it easier for you to find application logs by default. As of v0.10.0 onwards, a user running an app locally will see that logs are now stored in the same directory as the
spin.toml
file. Whereas, a user running an app from a registry will see that logs are no longer stored (by default) but instead streamed to stdout (which you can override this using the --quiet and --follow flags). For both local and remote apps, you can save logs to a specific location using the--log-dir
. See thespin up
CLI for more information. - A Bindle related deprecation message has been added to commands and options that currently interact with Bindle i.e.
spin bindle push
,spin bindle run
,spin up -b
(--bindle
,--bindle-password
,--bindle-server
,--bindle-username
). - The outbound HTTP feature now traces both successful and failed requests to improve feedback to the calling code.
- The updated
-f
option (and additional equivalent--from
option) combines the old-f
/--file
and--from-registry
. After v0.10.0, the-f
/--from
can infer aspin.toml
file, a directory containing aspin.toml
file, or a remote registry reference. If-f
/--from
is omitted, it defaults tospin.toml
. Also, please note, if Spin interprets the source incorrectly, please either use the--from-file
or--from-registry
options to clarify.
As always, thanks to contributors old and new for helping improve Spin on a daily basis! 🎉
What's Changed
- feat(templates): update sdk to v0.9.0 by @github-actions in #1172
- fix(cli.rs): fix typo by @vdice in #1171
- ci(build.yml): rm e2e-tests concurrency config by @vdice in #1167
- Split spin-publish into spin-bindle and spin-oci by @lann in #1166
- outbound-http: Enable gzip compression by @lann in #1177
- fix dependencies for code coverage build by @rajatjindal in #1180
- Remove deprecated --follow-all option by @itowlson in #1185
- Show top level login and deploy commands in help by @itowlson in #1184
- Rename
spin_version
tospin_manifest_version
in Spin.toml by @kate-goldenring in #1169 - Simpler error when command neither recognised nor plugin by @itowlson in #1189
- ref(Dockerfiles): go/tinygo bumps per latest 0.9.0 go templates/SDK by @vdice in #1153
- Fix duplicate package warnings by @itowlson in #1192
- allow running e2e tests with aarch64 by @rajatjindal in #1174
- add e2e tests for redis trigger by @rajatjindal in #1162
- Mostly flagless app source by @itowlson in #1179
- add SIP 011 - Component versioning by @dicej in #1048
- add
CachingStoreManager
to KV component and use it by default by @dicej in #1195 - remove
Clone
derive forStore
in the Rust SDK by @dicej in #1200 - make go kv example same as rust by @rajatjindal in #1197
- chore: Use clap group for spin up source flags by @lann in #1203
- Trace outbound request by @radu-matei in #1199
- support explicit capacity limits for KV by @dicej in #1204
- add some more documentation for e2e-tests by @rajatjindal in #1194
- Reorganize spin-loader cache code by @lann in #1212
- Print deprecation message on Bindle features by @itowlson in #1208
- cleanup of integration tests and more e2e tests by @rajatjindal in #1202
- export SDK version and language functions per SIP 011 by @dicej in #1209
- More OCI refactoring by @lann in #1213
- Add a log statement to tell the user to look at the logs if readiness is not achieved by @calebschoepp in #1216
- ref(up): update default log dir by @adamreese in #1196
- Update to version 0.10.0 release by @tpmccallum in #1220
Full Changelog: v0.9.0...v0.10.0