cargo-shuttle v0.57.32025-10-01
Shuttle v0.57.3 更新:MCP 服务器新增 create_project 工具,现在可以直接通过 MCP 创建项目,不必再切回命令行。同时修复了 cargo-shuttle 与 MCP 侧对 rmcp、rmcp-macros 依赖版本的锁定问题,避免上游变动引发构建失败。cargo-shuttle 版本号同步升至 0.57.3。
cargo-shuttle v0.57.12025-09-11
v0.57.1 是一个修复版本,主要解决 Windows 平台的构建问题:此前 Windows 二进制文件在构建时源文件被转换为 CRLF 换行符,可能导致运行异常,现在已确保源文件以 LF 模式参与构建。同时调整了 CI 流程,将 release builder crate 纳入发布流程。对使用者而言,如果你在 Windows 上使用 cargo-shuttle,建议升级到此版本以获得更稳定的二进制文件。
v0.57.02025-09-11
Shuttle v0.57.0 更新:shuttle-tide 与 shuttle-thruster 正式弃用,hello-world 模板已移除,后续想继续用这两个框架需自行拷贝其 Service 实现。依赖方面批量升级:salvo 0.83、warp 0.4、async-openai 0.29、opendal 0.54、diesel-async 0.6、libsql 0.9,MSRV 提到 1.86。
CLI 新增 shuttle i(init)、shuttle r(run)、shuttle d(deploy)三个短别名;构建时直接透传 cargo 子进程的原生输出,其他操作的打印也更清晰。另加入实验性的 build 命令和 --docker 标志,可在本地模拟平台的 Docker 构建流程,欢迎试用反馈。run 与 deploy 收集 cargo build 参数的方式已统一,cargo metadata 获取提速,项目相关命令更快。
修复了一个运行时 bug:健康检查端口收到非法 HTTP 请求时不再直接退出进程,改为记录错误日志。MCP 服务器也有多项改进。升级方式参见官方文档。
cargo-shuttle v0.56.62025-07-28
Fixes
- Fixed bug where project create --name <name> failed to create projects. The command now requires providing --name <name>.
What's Changed
* fix(cargo-shuttle): project create by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2096
Full Changelog: https://github.com/shuttle-hq/shuttle/compare/v0.56.5...v0.56.6
cargo-shuttle v0.56.52025-07-24
Fixes
- Fixed argument naming conflict in the project update name command
What's Changed
* fix(cargo-shuttle): name arg conflict, v0.56.5 by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2095
Full Changelog: https://github.com/shuttle-hq/shuttle/compare/v0.56.4...v0.56.5
cargo-shuttle v0.56.42025-07-23
Fixes
- Fixed dependency error when installing via cargo
What's Changed
* fix: use api-client 0.56.1, cli 0.56.4 by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2094
Full Changelog: https://github.com/shuttle-hq/shuttle/compare/v0.56.3...v0.56.4
cargo-shuttle v0.56.32025-07-21
Added
- Enabled the resource dump command, available for database::shared::postgres resource type. Docs for how to use it.
Fixes
- Fixed deployment id arg conflict with --id in logs and deployment commands
What's Changed
* feat(common): generic otel config by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2086
* feat(common): more otel fields by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2087
* fix(cargo-shuttle): clashing id arg name in logs, deployment status, redeploy by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2089
* feat: add support for additional (common) CLI env vars by @the-wondersmith in https://github.com/shuttle-hq/shuttle/pull/2091
* feat(cargo-shuttle): re-enable resource dump command by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2090
* chore: 0.56.3 by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2093
* feat(cargo-shuttle): add macos aarch64 binary, upgrade macos builder by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2085
Full Changelog: https://github.com/shuttle-hq/shuttle/compare/v0.56.2...v0.56.3
cargo-shuttle v0.56.22025-07-08
Fixes
- --name is now correctly prioritized over a linked project id
What's Changed
* fix(cargo-shuttle): fix --name priority over config id by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2082
* chore: cargo-shuttle 0.56.2 by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2084
Full Changelog: https://github.com/shuttle-hq/shuttle/compare/v0.56.1...v0.56.2
cargo-shuttle v0.56.12025-07-04
Fixes
- Fixed incorrect warning about lowercase ‘shuttle.toml’
- Installer: Now respects CARGOHOME and CARGOINSTALL_ROOT
What's Changed
* fix: mcp release flow by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2077
fix(installer): respect $CARGOHOME and $CARGOINSTALLROOT by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2078
* fix(cargo-shuttle): warn when only lowercase shuttle.toml file exists by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2079
* chore: cargo-shuttle 0.56.1 by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2081
Full Changelog: https://github.com/shuttle-hq/shuttle/compare/v0.56.0...v0.56.1
v0.56.02025-07-03
Shuttle: v0.56.0 update
Configure instance size via macro
On the Pro tier and above, you can now configure the compute instance size with the runtime macro. Read more on the docs!
``rust
[shuttleruntime::main(instancesize = "m")] // 1 vCPU, 2 GB RAM
async fn main() -> ShuttleAxum {
...
}
`
Shuttle MCP server
The CLI now packs a built-in MCP server with tools for searching docs and executing basic shuttle commands. For example, use it in Cursor by configuring its settings:
`json
{
"mcpServers": {
"shuttle": {
"command": "shuttle",
"args": ["mcp", "start"]
}
}
}
`
Other updates
- In workspaces, the CLI now looks for the first binary entrypoint file with a fully qualified #[shuttleruntime::main] macro inside. This drops the requirement that binaries for Shuttle must match the crate name!**
- ⚠️ This is a breaking change if you use #[main] with use shuttle_runtime::main;.
- Added global option --output json to print the main command output as raw JSON responses straight from the API client. Useful for writing scripts.
- ⚠️ This includes breaking changes in the shuttle-api-client crate
- ⚠️ The generate command’s --output argument was renamed to --output-file
- --name and --id are now separate arguments (instead of aliases) for specifying the project name and id respectively
- The init command can now take the --id [project_id] arg to link to an existing project right after generating the files
- Deployment archive no longer packs Secrets.toml or any override via --secrets` as they are not used when building
- Improved the API client’s handling of 4xx and 5xx responses
- CLI will now warn if it detects a lowercase ‘shuttle.toml’ file
Upgrading
Refer to the upgrading docs for how to upgrade your projects.
What's Changed
* feat(api-client): always catch 4xx and 5xx errors regardless of body type by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2052
* feat: make billing cycle optional in usage response by @oddgrd in https://github.com/shuttle-hq/shuttle/pull/2054
* feat(admin): log retention policies by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2053
fix: rename usage response vcpu reserved field to reservedhours by @oddgrd in https://github.com/shuttle-hq/shuttle/pull/2056
* feat: added updated user usage structs by @nathanjclark in https://github.com/shuttle-hq/shuttle/pull/2057
* feat(cargo-shuttle): warn about lowercase shuttle.toml by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2060
* feat(admin): fail error in looped jobs, notify gc'ed community projects by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2063
* feat(api-client, cargo-shuttle): json output mode by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2064
* refa(cargo-shuttle): find binary target based on macro in source by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2059
* fix(admin): new config uris by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2065
Add buildmanifest to main macro output by @fussybeaver in https://github.com/shuttle-hq/shuttle/pull/2062
* feat(cargo-shuttle): separate --id and --name. support 'init --id' with immediate linking by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2069
* fix(cargo-shuttle): full json output coverage by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2071
fix: don't care about Secrets.toml or --secrets when building or deploying by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2070
* feat(admin): explicit notify on gc endpoint by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2067
* fix: make explicit --name error when no matching project found by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2075
* chore: clean up legacy constants & related code by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2073
* feat(ifc, cargo-shuttle): extract infra macro annotation parser to separate crate by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2072
* The Shuttle MCP Server by @dcodesdev in https://github.com/shuttle-hq/shuttle/pull/2074
* chore: v0.56.0 by @jonaro00 in https://github.com/shuttle-hq/shuttle/pull/2076
New Contributors
* @nathanjclark made their first contribution in https://github.com/shuttle-hq/shuttle/pull/2057
* @dcodesdev made their first contribution in https://github.com/shuttle-hq/shuttle/pull/2074
Full Changelog: https://github.com/shuttle-hq/shuttle/compare/v0.55.0...v0.56.0