Shuttle: v0.53.0 update
Local run live reloads with bacon
If you have bacon
3.8.0 or higher installed, you can now use shuttle run --bacon
to start a headless bacon job that restarts the local run when Rust-related files are saved.
To customize this behavior, you can set up your own jobs in bacon.toml
. Shuttle’s default bacon config can be found here.
Thanks to @c-git and @laststylebender14 for contributing this!
Secrets.dev.toml bugfix
Fixed a bug in 0.52.0 where Secrets.dev.toml
was not being loaded on local runs.
Other updates
- Added runtime support for running behind a dedicated ALB in deployments, instead of the normal proxy
- Local run now simulates the health check present in deployments (every 5s) by pinging the runtime on a health check port
- The runtime now prints a message when it gets shut down in deployments, making it clearer in deployment logs when it got shut down
- Added CLI support for displaying which Shuttle Team a project belongs to, and displaying the project list per team
- Improved some error messages in CLI
- Moved some CLI printouts from stdout to stderr
- Bumped
diesel
version inshuttle-aws-rds
Contributions
- @laststylebender14 added
--bacon
flag on the run command in #1991 - @skabber updated
async-openai
inshuttle-openai
in #1994 - @valentinegb updated
shuttle-shared-db
's dependency ondiesel-async
in #1989 - @AndreiOrmanji updated the bollard dependency, which improves interaction with the local docker engine, in #1960
- @hhthacker fixed a typo on our website in shuttle-hq/www#432
- @sentinel1909 removed dead links from our blog in shuttle-hq/www#433 and shuttle-hq/www#434
Upgrading
Refer to the upgrading docs for how to upgrade your projects.
What's Changed
- ci: release on tags instead of production by @jonaro00 in #1977
- chore: user telemetry support updates by @the-wondersmith in #1978
- fix: betterstack config host by @jonaro00 in #1981
- feat: telemetry debugging variant by @the-wondersmith in #1982
- feat(admin): simulate-user by @jonaro00 in #1984
- feat(cargo-shuttle): use stderr, better error by @jonaro00 in #1985
- DOCKER_HOST handling fix by @AndreiOrmanji in #1960
- build(shared-db): upgrade diesel-async to v0.5.2 by @valentinegb in #1989
- feat(common): team models by @jonaro00 in #1986
- feat(admin): feature flag command by @jonaro00 in #1987
- feat(admin): delete user + everything command by @jonaro00 in #1992
- feat: start runtime healthz service on unspecified ip by @oddgrd in #1993
- fix: load Secrets.dev.toml on local run by @jonaro00 in #1997
- feat: runtime print message on exit signal, cli simulate ecs health check by @jonaro00 in #1998
- Update async-openai to 0.28.0 by @skabber in #1994
- feat(cargo-shuttle): use api-provided console url on login if available by @jonaro00 in #1999
- feat(common): team invite models by @jonaro00 in #1995
- chore: bump diesel in aws-rds by @jonaro00 in #2002
- feat: impl live reloading for local runs by @laststylebender14 in #1991
- feat(common): Add utoipa attribute macro types by @fussybeaver in #2000
- fix: ci regression in new reqwest version by @jonaro00 in #2003
- chore: use new github issue types by @jonaro00 in #2005
- fix: reqwest version, cargo update by @jonaro00 in #2006
- chore: v0.53.0 by @jonaro00 in #2007
- fix?: ci tag filters by @jonaro00 in #2008
New Contributors
- @AndreiOrmanji made their first contribution in #1960
- @valentinegb made their first contribution in #1989
- @skabber made their first contribution in #1994
- @laststylebender14 made their first contribution in #1991
- @fussybeaver made their first contribution in #2000
Full Changelog: v0.52.0...v0.53.0