shuttle: v0.16.0 update
We're excited to release shuttle v0.16.0! 🚀
First week of Shuttle Batch 2023
This marks the first release since the start of this year’s batch, bringing a lot of new contributors to Shuttle. We’ve already had several pull requests, solving a lot of long-standing issues.
- @piewhat and @pedromfedricci fixed a bug where panic messages from users services that were owned strings were not captured in the runtime logs in #854
- @vroussea and @utterstep fixed a bug were some tracing data was lost due to a missing
on_new_span
impl on ourLogger
in #864 - @paulotten and @mikegin refactored our examples to serve “Hello, world!” at
/
and updated our relevant tests in #863 - @paulotten fixed our end to end tests in #858
- @AlphaKeks added an
.editorconfig
in #855 - @morlinbrot changed the default port for the
provisioner
to make contributing easier for contributors with AirPlay receivers in #852 - @iamwacko improved the efficiency of our CI in #859
- @jonaro00 cleaned up some dead code in #832
Updated init command
@jonar00, also from the shuttle batch, made a series of improvement to our init
command, making it a lot easier to implement for new service implementations. He also made some changes to the API, to initialize with a certain framework you now first need to pass the new --template
(or -t
) flag.
# before
cargo shuttle init --axum
# now
cargo shuttle init --template axum
# or
cargo shuttle init -t axum
In the future we intend to refactor init
to initialize from any template by passing in a URL, for example a link to one of our examples.
Upgrading
To upgrade your shuttle CLI, run: cargo install cargo-shuttle
, or if you’re using [cargo-binstall](https://github.com/cargo-bins/cargo-binstall), cargo binstall cargo-shuttle
.
If you’d like to upgrade your project container, run the restart
project command. This will not delete any databases, and you will keep your project name:
cargo shuttle project restart
Finally, redeploy your shuttle service:
cargo shuttle deploy
All commits for this release
- fix: wasm qa casing by @oddgrd in #828
- fix: disable docker QA by @oddgrd in #830
- fix: Remove unused project list filtering by @jonaro00 in #832
- docs: document how to generate protofiles by @oddgrd in #836
- feat: refactor deployer to run locally without auth by @oddgrd in #810
- fix: shuttle init --template, reorder subcommands, fix bugs by @jonaro00 in #792
- ci: download sccache instead of compiling it by @iamwacko in #859
- build(docker): Change default provisioner port to 3000 by @morlinbrot in #852
- feat: ApiKey newtype to ensure key is always valid format by @oddgrd in #835
- chore: add
.editorconfig
by @AlphaKeks in #855 - fix:
make test
by @paulotten in #858 - fix: some panic messages get lost by @piewhat in #854
- feat: remove /hello from tests/ci by @mikegin in #863
- feat: add on_new_span impl to runtime Logger by @vroussea in #864
- misc: rename examples to shuttle-examples by @chesedo in #871
- chore: v0.16.0 by @oddgrd in #881
New Contributors
- @iamwacko made their first contribution in #859
- @morlinbrot made their first contribution in #852
- @AlphaKeks made their first contribution in #855
- @paulotten made their first contribution in #858
- @piewhat made their first contribution in #854
- @mikegin made their first contribution in #863
- @vroussea made their first contribution in #864
Full Changelog: v0.15.0...v0.16.0