github shuttle-hq/shuttle v0.2.5

latest releases: v0.57.1, v0.57.0, v0.56.6...
3 years ago

Hello beautiful people! We've just released v0.2.5 🥳

Here's a quick note to tell you what changed and what matters to you.

How to update

  • 👨‍💻 Just run cargo install cargo-shuttle to install the latest version of the CLI.

  • 🔑 You may also have to run cargo shuttle login and obtain an API key again by clicking on "Log In" on shuttle.rs.

  • ⚠️ This release comes with an update to the shuttle-service crate. This means you may need to run cargo shuttle deploy on some of your v0.2.4 projects.

What's new

Major things

Two major new PRs have been merged:

  • 🦀 Support for the axum web framework (example)
  • 👌 A new and more clever way to declare your services - based on a proc-macro in the style of tokio::main (example)

Minor improvements

  • We now set the Server: shuttle.rs http header server-side on app responses
  • Optimized the deployment job queue with async goodness
  • Fixed a bug which prevented certain users from retrieving their existing API key
  • The DB uri is now showing in the output of cargo shuttle deploy when the service requests a database
  • Code health, first pass
  • More examples

Thanks

Many thanks to @finnbear for the awesome suggestion that led to #[shuttle_service::main]! And thanks to @thecotne, @chesedo, @WiredSound, @christoshadjiaslanis, @alsuren, @mikeando for great commits and ideas!

Don't miss a new shuttle release

NewReleases is sending notifications on new releases.