·
19 commits
to a7bd18facb6070d6cec31e53623e2dc672d711e4
since this release
Shuttle: v0.47.0 update
New shuttle-openai
plugin
We now provide a macro for easily setting up an async_openai::Client
:
#[shuttle_runtime::main]
async fn main(
#[shuttle_openai::OpenAI(api_key = "{secrets.OPENAI_API_KEY}")]
openai: Client<OpenAIConfig>,
) -> shuttle_axum::ShuttleAxum { ... }
Check out this example for the full code.
New shuttle-api-client
library
The cargo-shuttle logic for calling the Shuttle API has been extracted into a separate crate. The API and public interface will evolve as we release more features.
No URL path sanitization
We are no longer sanitizing path traversals in the proxy, making it more transparent & correct, and letting the user code (or web framework) handle it.
Other updates
- (Hotfixed during 0.46.0) Fixed the team project list endpoint
- (Released during 0.46.0) Rust 1.79 available in deployers
- MSRV is now 1.77
cargo shuttle deploy --output-archive <path>
can now be used to dump the deployment archive to disk instead of deploying it.- Added more detailed request debugging in
cargo shuttle --debug
. Be careful when using the debug flag, the output can contain sensitive information.
Contributions
- @Dreaming-Codes updated the Qdrant dependency in
shuttle-qdrant
to 1.10
Upgrading
Refer to the upgrading docs for how to upgrade your projects.
What's Changed
- feat(cargo-shuttle): beta: support image deployment by @jonaro00 in #1796
- chore(auth): don't migrate pool by @jonaro00 in #1803
- chore: Rust 1.79, MSRV 1.77, cleanup by @jonaro00 in #1800
- fix(auth): migrate in tests by @jonaro00 in #1805
- feat(backends): permit delete project idempotency by @jonaro00 in #1806
- feat: provisioner idempotence changes by @oddgrd in #1795
- feat: filter permit project based on platform by @jonaro00 in #1811
- fix: local development by @jonaro00 in #1809
- feat: beta builder args by @jonaro00 in #1813
- feat: implement rds resource on beta platform by @oddgrd in #1812
- feat(common): proxy backend by @jonaro00 in #1815
- fix(backends): team project list by @jonaro00 in #1816
- chore: bump gix, cargo update by @jonaro00 in #1817
- feat(cargo-shuttle): beta archive deployment separation by @jonaro00 in #1814
- update to qdrant 1.10 by @Dreaming-Codes in #1821
- chore: bump bytes to resolve audit by @oddgrd in #1822
- feat: beta /me endpoint & project name check by @jonaro00 in #1819
- feat: beta multi lang deployment models by @jonaro00 in #1820
- feat: beta UX fixes by @jonaro00 in #1824
- feat: beta deploy follow status, show logs on failure by @jonaro00 in #1825
- feat(cargo-shuttle): basic request tracing by @jonaro00 in #1827
- feat(cargo-shuttle): outgoing body debug by @jonaro00 in #1828
- feat: beta runtime version field by @jonaro00 in #1826
- feat(cargo-shuttle): default beta url by @jonaro00 in #1829
- feat(cargo-shuttle): beta deployment stop command by @jonaro00 in #1830
- feat(cargo-shuttle): deploy --output-archive by @jonaro00 in #1831
- fix(gateway): drop tower-sanitize-path by @jonaro00 in #1832
- fix: audit by @jonaro00 in #1834
- feat: shuttle-api-client by @jonaro00 in #1833
- chore: 0.47.0 by @jonaro00 in #1835
- Added OpenAI resource by @christos-h in #1794
New Contributors
- @Dreaming-Codes made their first contribution in #1821
Full Changelog: v0.46.0...v0.47.0