github shuttle-hq/shuttle v0.11.0

latest releases: v0.53.0, v0.52.0, v0.51.0...
2 years ago

shuttle: v0.11.0 update

We're excited to release shuttle v0.11.0! 🚀

Security Refactor

The core of this release is a major security overhaul, introducing the new auth crate to the repository. You should not notice any difference in functionality, but this will ensure complete isolation between users projects, and guarantee that a resource can only be accessed by it’s owner.

This refactor also lays the foundation for the recently announced dashboard to be able to securely interface with the Shuttle API. This means that soon the CLI will not be the only way to manage your projects, though it will take some time for the dashboard to reach feature parity with the CLI.

Due to the nature of these changes all projects will have to manually update, as we will not be able to keep running older versions that don’t support the new authentication system. To upgrade your project, you need to take the following steps:

  1. 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.
  2. Update your shuttle dependency(s) to 0.11.0:
shuttle-service = { version = "0.11.0", features = ["web-axum"] }
shuttle-static-folder = "0.11.0"
# ...
  1. Optionally, test locally using:
cargo shuttle run
  1. Upgrade your remote project using the rm and new project commands. This will not delete any databases, and you will keep your project name:
cargo shuttle project rm 
cargo shuttle project new
  1. Deploy your project again:
cargo shuttle deploy

New Contributors

  • @MrCoolTheCucumber made their first contribution in #622, laying down a solid foundation for our upcoming resource deletion feature.
  • @angelorendina made their first contribution in #637, fixing a bug with our upcoming custom domain feature.
  • @sentinel1909 made their first contribution in #636, filling a hole in our contribution docs. They have also made several contributions to our docs repo, thanks!

All contributions for this release

Full Changelog: v0.10.0...v0.11.0

Don't miss a new shuttle release

NewReleases is sending notifications on new releases.