github shuttle-hq/shuttle v0.52.0

22 hours ago

Shuttle: v0.52.0 update

Removal of all legacy shuttle.rs code

This release follows the shutdown of the shuttle.rs platform, and removes all related legacy code (a lot). This brings compilation speedups and more flexibility for upcoming features. Read more below!

New redeploy command

Added shuttle deployment redeploy [deployment_id] which redeploys the built image of the current/latest (or provided) deployment if available. This allows you to skip the build step if you need to restart your service.

Breaking changes

  • Removed all legacy CLI commands and options. cargo shuttle now targets shuttle.dev.
  • Removed all legacy crate APIs and renamed all “beta” crate APIs to replace their previous counterparts
  • Removed discontinued crates & resources
  • Removed, changed or moved crate features and models, mainly in shuttle-common
  • Bumped postgres version in local provisioner to 16, to match current RDS and shared databases
  • Fixed shuttle run to use same secrets loading logic as shuttle deploy, which is more strict, instead of using legacy logic

Other updates

  • Upgraded many dependencies (axum, http, hyper, reqwest, etc)
  • Due to dependency cleanup, an axum hello-world is now at 210 build steps, down from 279 🥳. cargo-shuttle has a similar improvement (if you’re installing from source).
  • Frameworks are now re-exported by their Shuttle service integration. You can now do, for example, use shuttle_axum::axum;.
  • (Upcoming feature) New setup-otel-exporter feature flag in shuttle-runtime for enabling telemetry exporting
  • deployment redeploy and deployment stop now supports --no-follow and --raw

Contributions

Upgrading

Refer to the upgrading docs for how to upgrade your projects.

What's Changed

New Contributors

Full Changelog: v0.51.0...v0.52.0

Don't miss a new shuttle release

NewReleases is sending notifications on new releases.