github shuttle-hq/shuttle v0.16.0

latest releases: v0.49.0, v0.48.3, v0.48.2...
19 months ago

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 our Logger 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

New Contributors

Full Changelog: v0.15.0...v0.16.0

Don't miss a new shuttle release

NewReleases is sending notifications on new releases.