Skip to content

v0.47.0

Latest
Compare
Choose a tag to compare
@oddgrd oddgrd released this 23 Jul 09:18
· 19 commits to a7bd18facb6070d6cec31e53623e2dc672d711e4 since this release
e2e178c

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

Upgrading

Refer to the upgrading docs for how to upgrade your projects.

What's Changed

New Contributors

Full Changelog: v0.46.0...v0.47.0