shuttle: v0.22.0 update
We're excited to release shuttle v0.22.0! 🚀
Updated sqlx version in Shuttle databases
We have upgraded the version of sqlx
in shuttle_shared_db
and shuttle_aws_rds
to 0.7.1
. This means if you upgrade your version of these resources, you will have to also upgrade the version of sqlx
in your application.
Improved the shuttle deploy GitHub action
The https://github.com/shuttle-hq/deploy-action has been greatly improved, with the installation step reduced from minutes to ~4 seconds in shuttle-hq/deploy-action#11, and with some new input options being added that can also reduce deploy times.
Bug fixes
- Fixed a bug where the deployer was not receiving logs from the runtime.
- Shuttle service functions (the function annotated with
[shuttle_runtime::main]
) can now be namedmain
. - Fixed a bug where windows was not always shutting down runtimes correctly for local runs that were interrupted by e.g.
CTRL + C
(thanks @Shubham8287!).
Contributions
- @robjtede made their first contribution to Shuttle by correcting Actix Web typos in our docs in #1093 and shuttle-hq/shuttle-docs#148
- @saikatdas0790 fixed an error and made one of our examples more concise in shuttle-hq/shuttle-docs#157 and shuttle-hq/shuttle-docs#156
- @Shubham8287 made their first contribution to Shuttle by adding proper handling of signals to windows local runs in #1077, claiming a bounty for their efforts!
Upgrading
To upgrade your shuttle CLI, run: cargo install cargo-shuttle
, or if you’re using 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 for this release
- feat: resource recorder by @chesedo in #1084
- feat: add a project_id to gateway by @chesedo in #1091
- Added the missing support for creating custom resources by @iulianbarbu in #1082
- resource-recorder: update the docker compose file by @iulianbarbu in #1092
- feat: honeycomb for local runs by @chesedo in #1100
- gateway: add LD_LIBRARY_PATH in docker-compose by @iulianbarbu in #1105
- deployer: fixed runtime logs receiving by @iulianbarbu in #1108
- circleci: set HONEYCOMB env variable by @iulianbarbu in #1109
- feat: add deployer tier to auth by @chesedo in #1111
- feat: expand gateways args to receive the key for the machine user by @chesedo in #1114
- feat: add a route to deployer to start a past deployment by @chesedo in #1115
- fix: Update information in README by @jonaro00 in #1087
- chore: fix Actix Web typos by @robjtede in #1093
- chore: bump sqlx in resources by @oddgrd in #1117
- Chore/bump sqlx by @oddgrd in #1118
- fix(codegen): allow
main
function name, prevent clippy warning by @jonaro00 in #1098 - feat: Handling regular signals sent to cargo-shuttle on Windows by @Shubham8287 in #1077
- Chore/v0.22.0 by @oddgrd in #1119
New Contributors
- @robjtede made their first contribution in #1093
- @Shubham8287 made their first contribution in #1077
Full Changelog: v0.21.0...v0.22.0