github shuttle-hq/shuttle v0.51.0

16 hours ago

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

Don't miss a new shuttle release

NewReleases is sending notifications on new releases.