Shuttle: v0.25.0 update
We're excited to release shuttle v0.25.0! 🚀
- Bumped our Rust version to 1.72.0. MSRV for compiling
cargo-shuttle
is still 1.70.0. - New resource: shuttle-metadata can be used to fetch your current service name at runtime. In the future, we aim to extend this resource with more information about your service, like the public URL. Thanks @sd2k for the initiative!
- Developing Shuttle locally is now easier! We moved the relevant instructions to DEVELOPING.md, and improved the Docker build caching, resulting in up to 5x faster
make images
. shuttle-aws-rds
now has feature flags for usingrustls
. (Enables corresponding feature in sqlx)cargo shuttle project start
now warns you if the idle minutes flag is not 0.
Contributions
- @sentinel1909 added
list
,remove
,clear
, andsize
operations toshuttle-persist
in #1066. - @sd2k added a new resource that allows you to get the name of your Shuttle service in #1129.
- @ledoyen added secrets input to the Shuttle deploy GitHub action in shuttle-hq/deploy-action#14
- @beyarkay improved the error message for when a project is not ready to receive commands in #1169.
New Contributors
Upgrading
To upgrade your shuttle CLI, run: cargo install cargo-shuttle
, or if you’re using cargo-binstall, cargo binstall cargo-shuttle
.
It is also recommended to upgrade your project’s shuttle-*
dependencies in Cargo.toml
:
shuttle-runtime = "0.25.0"
# etc
If you’d like to upgrade your project container, run the restart
project command. This will not delete any databases, and you will keep your project name:
cargo shuttle project restart
Finally, redeploy your shuttle service:
cargo shuttle deploy
All commits
- fix: unused sqlx dep by @oddgrd in #1157
- [Improvement]: Add list, remove, clear, and size operations to shuttle-persist by @sentinel1909 in #1066
- chore: Update labels by @jonaro00 in #1161
- chore: improve development docs & scripts by @jonaro00 in #1156
- gateway: fix custom domains request/renew APIs by @iulianbarbu in #1158
- feat: add service-info resource to obtain Shuttle service info by @sd2k in #1129
- refactor: reduce noise in honeycomb by @chesedo in #1142
- chore(resources): rename service-info to metadata by @orhun in #1165
- Add suggestion to 'project not ready' error message by @beyarkay in #1169
- refactor: Containerfile+Makefile improvement: build crates together, then distribute the binaries by @jonaro00 in #1164
- ci: refactor and improve speed and caching. add rustls flags to aws-rds by @jonaro00 in #1167
- feat: add idle timeout warning after a deploy by @christos-h in #1116
- chore: simplify contributor list, make it easy to update by @jonaro00 in #1170
- chore: Rust 1.72.0 by @jonaro00 in #1176
- chore: v0.25.0 by @oddgrd in #1175
Full Changelog: v0.24.0...v0.25.0