Skip to content

Releases: shuttle-hq/shuttle

v0.55.0

21 May 09:11
855dd82
Compare
Choose a tag to compare

Shuttle: v0.55.0 update

Shuttle + Rama 0.2 integration

Thanks to @GlenDC, a new service crate shuttle-rama has been added, which allows running Rama services on Shuttle! Check out the Rama examples and try it yourself with shuttle init --template rama on the latest CLI version.

Other updates

  • Minor breaking changes to API user response model fields

Contributions

Upgrading

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

What's Changed

Full Changelog: v0.54.0...v0.55.0

v0.54.0

07 May 23:29
760d18b
Compare
Choose a tag to compare

Shuttle: v0.54.0 update

  • Fixed a bug where the CLI would not exit with an error when a deployment failed
  • Improved forward compatibility in the API client
  • Added anonymous telemetry to the installer scripts (more info)
  • Other minor improvements to the installer scripts

Upgrading

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

What's Changed

Full Changelog: v0.53.0...v0.54.0

v0.53.0

12 Mar 16:31
eafdca2
Compare
Choose a tag to compare

Shuttle: v0.53.0 update

Local run live reloads with bacon

If you have bacon 3.8.0 or higher installed, you can now use shuttle run --bacon to start a headless bacon job that restarts the local run when Rust-related files are saved.

To customize this behavior, you can set up your own jobs in bacon.toml. Shuttle’s default bacon config can be found here.

Thanks to @c-git and @laststylebender14 for contributing this!

Secrets.dev.toml bugfix

Fixed a bug in 0.52.0 where Secrets.dev.toml was not being loaded on local runs.

Other updates

  • Added runtime support for running behind a dedicated ALB in deployments, instead of the normal proxy
  • Local run now simulates the health check present in deployments (every 5s) by pinging the runtime on a health check port
  • The runtime now prints a message when it gets shut down in deployments, making it clearer in deployment logs when it got shut down
  • Added CLI support for displaying which Shuttle Team a project belongs to, and displaying the project list per team
  • Improved some error messages in CLI
  • Moved some CLI printouts from stdout to stderr
  • Bumped diesel version in shuttle-aws-rds

Contributions

Upgrading

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

What's Changed

New Contributors

Full Changelog: v0.52.0...v0.53.0

v0.52.0

04 Feb 14:15
b5157d8
Compare
Choose a tag to compare

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

v0.51.0

10 Jan 10:19
c6e1368
Compare
Choose a tag to compare

Shuttle: v0.51.0 update

Axum 0.8 support

Axum 0.8 is now used by default in shuttle-axum.

To keep using Axum 0.7 with Shuttle, use this cargo feature:

axum = "0.7"
shuttle-axum = { version = "0.51.0", default-features = false, features = ["axum-0-7"] }

Support for Axum 0.6 has been dropped with this release.

OpenDAL Operator for Shared Postgres DB

This feature serves as an alternative to shuttle-persist, which is not supported on shuttle.dev.

Two new output types have been added to #[shuttle_shared_db::Postgres] under the opendal-postgres crate feature:

  • opendal::Operator, which provides a generic key-value store interface backed by a table in the database.
  • shuttle_shared_db::SerdeJsonOperator, which provides an interface for storing any serializable type T as JSON in the Operator table. This is similar to the shuttle-persist interface.

Other updates

  • Bumped salvo to 0.75 in shuttle-salvo.
  • Bumped opendal to 0.51 in shuttle-opendal.
  • Added an optional timeout setting in shuttle-api-client.
  • Fixed a bug where cargo-shuttle would put gitignore rules on the same line as existing ones.

Upgrading

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

What's Changed

  • feat: make api-client timeout configurable, increase in admin cli by @oddgrd in #1950
  • feat: opendal on postgres output type, bump opendal by @jonaro00 in #1928
  • feat(shuttle-axum): support axum 0.8, drop axum 0.6 by @jonaro00 in #1951
  • chore: move ApiKey type to backends, remove AccountTier sqlx::Type by @jonaro00 in #1923
  • feat(shared-db): SerdeJsonOperator for json storage by @jonaro00 in #1952
  • chore(shuttle-salvo): bump salvo version by @jonaro00 in #1953
  • chore: v0.51.0 by @jonaro00 in #1954

Full Changelog: v0.50.0...v0.51.0

v0.50.0

07 Jan 15:23
05d9fe8
Compare
Choose a tag to compare

Shuttle: v0.50.0 update

Bug fixes

  • Fixed a bug where RUST_LOG was overridden in local runs with the new shuttle CLI in #1930

Other updates

  • Increased MSRV of the Shuttle crates to 1.81
  • The version of libsql in the shuttle-turso crate has been upgraded from 0.3.1 to 0.6.0.

Contributions

Upgrading

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

What's Changed

New Contributors

Full Changelog: v0.49.0...v0.50.0

v0.49.0

12 Nov 15:00
cef6c28
Compare
Choose a tag to compare

Shuttle: v0.49.0 update

Google Login

You can now Log in with Google on the Shuttle Console!

New CLI login flow

shuttle login now uses the Shuttle Console to authorize the CLI login with one click. No need to copy + paste the API key!

shuttle login --prompt and shuttle login --api-key <key> are still available as fallbacks.

Other updates

  • shuttle project update name <new-name> allows you to rename a project. Note: This also updates the default subdomain name. Custom domains remain unchanged.
  • (shuttle.rs) Added cargo shuttle resource dump database::shared::postgres to allow migrating postgres data out of the shared cluster. This can be used to move data to the shuttle.dev platform (docs).
  • Fixed a bug where global args would not autocomplete in shell completions
  • shuttle generate shell shell completions now correctly generate completions for shuttle
  • Fixed shuttle run requiring project linking, fixed shuttle init project linking
  • Improved some API errors

Contributions

Upgrading

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

What's Changed

Full Changelog: v0.48.3...v0.49.0

cargo-shuttle v0.48.3

10 Oct 12:07
0b3f714
Compare
Choose a tag to compare

Bugfix release

What's Changed

Full Changelog: v0.48.2...v0.48.3

cargo-shuttle v0.48.2

10 Oct 08:27
be7b731
Compare
Choose a tag to compare

Patch release

What's Changed

  • feat(cargo-shuttle): v0.48.2, colored platform outputs, fixes by @jonaro00 in #1886

Full Changelog: v0.48.1...v0.48.2

cargo-shuttle v0.48.1

03 Oct 22:02
d01466e
Compare
Choose a tag to compare

Bugfix release

What's Changed

  • feat(installer): install shuttle binary by @jonaro00 in #1890
  • fix: otel exporter config by @jonaro00 in #1891
  • fix: reduce gateway cert renew sleep by @oddgrd in #1888
  • fix(cargo-shuttle): beta: create missing project on deploy, fix local run, better project link dialogue by @jonaro00 in #1893
  • feat(cargo-shuttle): beta deploy.deny_dirty config, allow dirty deploys by default by @jonaro00 in #1894
  • feat(cargo-shuttle): Shuttle.toml new key names by @jonaro00 in #1895
  • chore: bump cargo-shuttle by @jonaro00 in #1897

Full Changelog: v0.48.0...v0.48.1