Shuttle: v0.42.0 update
We're excited to release Shuttle v0.42.0! 🚀
Secrets and Metadata plugins moved to shuttle-runtime
The shuttle-secrets
and shuttle-metadata
crates have been deprecated. You can now access these resources like this:
use shuttle_runtime::SecretStore;
use shuttle_runtime::DeploymentMetadata;
#[shuttle_runtime::main]
async fn main(
#[shuttle_runtime::Secrets] secrets: SecretStore,
#[shuttle_runtime::Metadata] metadata: DeploymentMetadata,
) -> ... { ... }
Other updates
Secrets.toml
files can now be placed either in the crate root or in the workspace root if your project is in a workspace.- Resolved the most common errors in the
project delete
command. It should now be more reliable. - Improved the error message if fetching too many log line in one call.
- (hotfixed in 0.41.0) Fixed a bug where RDS resources would error on redeployments.
Contributions
- @nopeNoshishi Added the
--raw
flag to therun
anddeploy
commands #1653 - @aumetra added
async-diesel
support toshuttle-shared-db
#1664 - @sourabpramanik improved
shuttle-examples
CI workflow for the develop branch shuttle-hq/shuttle-examples#154
Upgrading
Refer to the upgrading docs for how to upgrade your projects.
What's Changed
- fix(cargo-shuttle): remove integration test example by @jonaro00 in #1672
- Improvement: add
--raw
flag torun
,deploy
command by @nopeNoshishi in #1653 - fix(deployer): check correct config field(s) in resource cache by @iulianbarbu in #1675
- gateway: delete project restarts them first if oudated by @iulianbarbu in #1677
- refactor: move secrets and metadata plugins to runtime by @jonaro00 in #1673
- misc(deployer): improve get_logs out_of_range error by @iulianbarbu in #1676
- Update README.md by @ivancernja in #1679
- Update README.md by @ivancernja in #1680
- Update README.md by @ivancernja in #1681
- refactor(auth, gateway): use user_id over account_name by @jonaro00 in #1674
- ci: fix unstable filter by @jonaro00 in #1683
- fix: patches script root-relative path by @jonaro00 in #1685
- feat: Add
diesel-async
support forshuttle-shared-db
by @aumetra in #1664 - feat: fall back to finding Secrets.toml in workspace root by @jonaro00 in #1682
- chore: v0.42.0 by @jonaro00 in #1686
New Contributors
- @nopeNoshishi made their first contribution in #1653
- @aumetra made their first contribution in #1664
Full Changelog: v0.41.0...v0.42.0