v0.19.0
shuttle: v0.19.0 update
We're excited to release shuttle v0.19.0! 🚀
Upgraded to Rust 1.70
Our deployers (the containers in which your service will be built and ran) have a pinned version of Rust. This has now been upgraded to 1.70, thanks @iamwacko from the Shuttle batch!
Init from any template
Our cargo shuttle init
command has been refactored to now clone templates from github repositories. To get a hello world example from our repository, you can simply run:
cargo shuttle init -t axum
.
You can also initialize a project from any template by passing in the url of any repository and the sub-folder you want to clone. Below is an example of how you would init an axum project from our websocket example.
cargo shuttle init --from https://github.com/shuttle-hq/shuttle-examples.git --subfolder axum/websocket
Thanks to @paulotten and @jonaro00 from the Shuttle batch for this great new functionality!
The sixth and seventh weeks of Shuttle Batch 2023
The Shuttle batch is nearing the end, but their contributions are still forming the majority of this release. We also have several large batch contributions implementing new features like DynamoDB, Turso and Sqlite in the pipeline.
- @iamwacko updated our pinned version of Rust to 1.70 and fixed some new clippy lints in #967
- @iamwacko removed the cargo dependency of the builder #922
- @jonaro00 fixed a bug where the
cargo shuttle logs --latest
was returning the oldest deployment’s logs due to the order being flipped in the recent pagination PR in #982 - @hseeberger and @jonaro00 added some relevant git data to the metadata of deployments, in #943. This will be very useful in our upcoming console!
- @iamwacko refactored the Shuttle codebase to use
rustls
rather thannative-tls
withopenssl
in #879 - @paulotten refactored our
init
code to rather clone examples from our repository using thecargo-generate
crate under the hood in #888 - @jonaro00 implemented IntoIter for our secretstore in #1006
Other contributions
- @laundmo documented the format of
Secrets.toml
in our docs in shuttle-hq/shuttle-docs#114 - @beyarkay expanded the
shuttle_aws_rds
documentation in our docs in shuttle-hq/shuttle-docs#115, added a cookbook to our CLI docs in shuttle-hq/shuttle-docs#126 - @beyarkay added a link to our docs in the CLI help output in #985
- @lecoqjacob improved the error message in the event that a user runs
cargo run
rather thancargo shuttle run
in #993
Upgrading
To upgrade your shuttle CLI, run: cargo install cargo-shuttle
, or if you’re using [cargo-binstall](https://github.com/cargo-bins/cargo-binstall), cargo binstall cargo-shuttle
.
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
Commits in this release
- feat(service): get rid of
cargo
dependency by @iamwacko in #922 - ci: bump pinned Rust to 1.70 by @iamwacko in #967
- fix: logs --latest flipped order by @jonaro00 in #982
- feat(deployer): add more deployment metadata by @hseeberger in #943
- feat: switch from native-tls to rustls by @iamwacko in #879
- feat: use
cargo generate
instead of hardcoding examples source code by @paulotten in #888 - fix: re-add
--version
flag by @paulotten in #998 - fix: remove auth login endpoint by @oddgrd in #1007
- Add commands cookbook to cargo-shuttle --help by @beyarkay in #985
- docs: add sections on PR and reviews by @oddgrd in #1016
- feat(secrets): Implement into_iter for SecretStore by @jonaro00 in #1006
- fix: mysql provisioning bug by @oddgrd in #1001
- provide better error message by @lecoqjacob in #993
- feat: shuttle init --from by @jonaro00 in #984
- chore: v0.19.0 by @oddgrd in #1019
New Contributors
- @lecoqjacob made their first contribution in #993
Full Changelog: v0.18.0...v0.19.0