Shuttle: v0.34.0 update
We're excited to release Shuttle v0.34.0! 🚀
Shuttle’s Christmas Code Hunt 🎄
This is the last major release ahead of the Christmas Code Hunt (CCH) - 16 Rust challenges to deploy on Shuttle during December. The CCH platform on the Shuttle Console will open on Monday 27 Nov with a warmup challenge, so get ready! More info and signup: https://www.shuttle.rs/cch
Dropping our crates.io mirror
Since the sparse protocol got rolled out, the need for our mirror of crates.io decreased. Due to some recent instability and its overall weight, we are dropping it in this release, meaning your deployment will download crates directly from crates.io.
Breaking changes
- We will start enforcing our AWS RDS limits from this release. Users on the Community Tier will no longer be able to provision RDS instances. As per our pricing page, users will need to upgrade to the Pro Tier to keep using their existing AWS RDS instances. A deadline for when Community Tier users have to migrate will be announced next week, along with a migration guide.
- Some projects are still running on deployers as old as 0.12.0. In order to clear up capacity on our platform for the CCH event, we might stop some old and inactive projects. We plan to introduce a “minimum supported deployer version” later on to ensure projects stay up to date and don’t break.
Bug fixes
- (Hotfixed in deployer 0.33.0) Secrets are no longer cleared from resource-recorder when a project restarts or wakes up from idle.
- Fixed the
cargo shuttle clean
command not parsing the API response correctly. - Fixed
shuttle-turso
compilation.
Other updates
- Rust 1.74: Restart your project to utilize the latest Rust release in deployments. MSRV for cargo-shuttle and our libraries remains at 1.70.
- Reduced the dependency tree with better scoping of features in our crates. This improves compile times a fair bit:
- Building our Axum Hello World starter now compiles 266 crates (down from 366)!
- Installing cargo-shuttle from source now compiles 416 crates (down from 605)!
cargo shuttle init
now has a--force-name
flag to disable checking if the project name is valid and available.- Added support in
shuttle-serenity
for seamlessly upgrading to serenity 0.12 once it is released (currently 0.12.0-rc). Also added feature support for using native tls. - Our logger service that records logs from projects now has rate limiting. This should not affect normal logging amounts.
- Improved handling of delete project requests. More improvements are to follow.
- Improved handling of runtime version check on local run.
- Improved error handling and error messages in several areas.
Contributions
- @sentinel1909 bumped Rocket to the newly released 0.5.0 version 🥳 #1401 shuttle-hq/shuttle-examples#114 shuttle-hq/shuttle-docs#225
- @cassie-rust bumped base64 to v0.21.5. #1403
- @BandhiyaHardik updated Twitter’s name. #1404
- @thestriver fixed a curl command in one of our tutorials. shuttle-hq/shuttle-docs#224
Upgrading
Refer to the upgrading docs for how to upgrade your projects.
Commits
- misc(auth): added service healthcheck by @iulianbarbu in #1394
- docs(readme): update the alt text for Twitter page by @BandhiyaHardik in #1404
- fix: merge new&old secrets in deployer by @jonaro00 in #1407
- chore: cargo update by @jonaro00 in #1391
- fix(gateway): handle invalid project names in ScopedUser by @jonaro00 in #1396
- feat: remove panamax registry override from deployers by @oddgrd in #1399
- feat(logger): rate limit based on peer address by @oddgrd in #1351
- improvement: rocket-0.5.0 stable by @sentinel1909 in #1401
- refactor: better feature scoping, fix turso compilation, prune library dependency tree by @jonaro00 in #1405
- fix(cargo-shuttle): cargo shuttle clean response type by @jonaro00 in #1409
- chore: Rust 1.74 by @jonaro00 in #1411
- feat(cargo-shuttle): ability to force a name to be used in init by @jonaro00 in #1410
- chore(deps): bump base64 to 0.21.5 by @cassie-rust in #1403
- fix: better error hints & formatting + nits by @jonaro00 in #1412
- feat(shuttle-serenity): support serenity 0.12 and 0.11, optional native tls feature by @jonaro00 in #1416
- feat: limit rds access to pro users by @oddgrd in #1398
- chore: v0.34.0 by @jonaro00 in #1417
- auth: comment healthcheck
start_period
&start_interval
by @iulianbarbu in #1414 - fix(common): type conversion from str for a custom resource by @iulianbarbu in #1415
- bug: delete a project even if the current state is destroyed by @chesedo in #1413
- auth: use a centrally stored jwt signing private key by @iulianbarbu in #1402
- feat(cargo-shuttle): better handling of runtime version checks by @jonaro00 in #1418
New Contributors
- @BandhiyaHardik made their first contribution in #1404
- @cassie-rust made their first contribution in #1403
Full Changelog: v0.33.0...v0.34.0