Skip to content

Releases: shuttle-hq/shuttle

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

v0.48.0

01 Oct 14:40
af27275
Compare
Choose a tag to compare

Shuttle: v0.48.0 update

This update packs a lot of changes under the hood in preparation of upcoming platform updates. Stay tuned for more announcements!

Updates

  • Bumped sqlx to 0.8.2 in shuttle-shared-db and shuttle-aws-rds
  • MSRV is now 1.78
  • Rust 1.81 is now available in deployers after a project restart

Contributions

Upgrading

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

What's Changed

New Contributors

Full Changelog: v0.47.0...v0.48.0

v0.47.0

23 Jul 09:18
e2e178c
Compare
Choose a tag to compare

Shuttle: v0.47.0 update

New shuttle-openai plugin

We now provide a macro for easily setting up an async_openai::Client:

#[shuttle_runtime::main]
async fn main(
    #[shuttle_openai::OpenAI(api_key = "{secrets.OPENAI_API_KEY}")]
    openai: Client<OpenAIConfig>,
) -> shuttle_axum::ShuttleAxum { ... }

Check out this example for the full code.

New shuttle-api-client library

The cargo-shuttle logic for calling the Shuttle API has been extracted into a separate crate. The API and public interface will evolve as we release more features.

No URL path sanitization

We are no longer sanitizing path traversals in the proxy, making it more transparent & correct, and letting the user code (or web framework) handle it.

Other updates

  • (Hotfixed during 0.46.0) Fixed the team project list endpoint
  • (Released during 0.46.0) Rust 1.79 available in deployers
  • MSRV is now 1.77
  • cargo shuttle deploy --output-archive <path> can now be used to dump the deployment archive to disk instead of deploying it.
  • Added more detailed request debugging in cargo shuttle --debug. Be careful when using the debug flag, the output can contain sensitive information.

Contributions

Upgrading

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

What's Changed

New Contributors

Full Changelog: v0.46.0...v0.47.0

v0.46.0

13 Jun 10:36
5519ed9
Compare
Choose a tag to compare

Shuttle: v0.46.0 update

Shuttle feature flag

cargo-shuttle and the Shuttle deployer will now activate the cargo feature shuttle of the package if it exists (and disable default features). This allows for easy conditional compilation depending on if you’re compiling for Shuttle or something else.

# Compiling this package on Shuttle will enable the features
# "shuttle" and "bar". To use default features on Shuttle, add
# "default" to the shuttle array.
[features]
default = ["foo"]
shuttle = ["bar"]
foo = []
bar = []

Other updates

  • (released during 0.45.0) Rust 1.78.0 is now available in deployers.
  • Improved the project delete command’s reliability.
  • Fixed a bug in the proxy where redirects from http to https would have the incorrect URL.

Upgrading

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

What's Changed

Full Changelog: v0.45.0...v0.46.0

v0.45.0

13 May 11:46
f00a098
Compare
Choose a tag to compare

Shuttle: v0.45.0 update

This release comes with a few bugfixes and lots of behind the scenes work on upcoming updates.

Breaking changes

  • The project list command on cargo-shuttle v0.44.0 will produce an additional 404 error. Upgrade to v0.45.0 to resolve this.

Bug fixes

  • Improved the error when Docker is not running on local runs.
  • Shuttle will no longer try to run library workspace members that have the shuttle-runtime dependency.
  • Made the project delete action more reliable.

Upgrading

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

What's Changed

Full Changelog: v0.44.0...v0.45.0