diff --git a/configuration/shuttle-versions.mdx b/configuration/shuttle-versions.mdx index 0663afe..6029233 100644 --- a/configuration/shuttle-versions.mdx +++ b/configuration/shuttle-versions.mdx @@ -13,14 +13,14 @@ Combining all of the above, these are the recommended steps for upgrading a Shut Note: Please check the [release page](https://github.com/shuttle-hq/shuttle/releases) for any considerations regarding breaking changes in the new release. -1. Upgrade your `cargo-shuttle` CLI one of the options below: +1. Upgrade your `cargo-shuttle` CLI with one of the options below: - `curl -sSfL https://www.shuttle.rs/install | bash` (Linux and macOS) - `cargo binstall cargo-shuttle` - `cargo install cargo-shuttle` 2. Update your project's `shuttle-...` dependencies in `Cargo.toml`: ```toml Cargo.toml - shuttle-runtime = "0.33.0" + shuttle-runtime = "0.34.0" # etc ``` diff --git a/examples/actix-postgres.mdx b/examples/actix-postgres.mdx index d4afa0e..605d0bb 100644 --- a/examples/actix-postgres.mdx +++ b/examples/actix-postgres.mdx @@ -117,10 +117,10 @@ edition = "2021" [dependencies] actix-web = "4.3.1" -shuttle-actix-web = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-actix-web = "0.34.0" +shuttle-runtime = "0.34.0" serde = "1.0.148" -shuttle-shared-db = { version = "0.33.0", features = ["postgres"] } +shuttle-shared-db = { version = "0.34.0", features = ["postgres"] } sqlx = { version = "0.6.2", features = ["runtime-tokio-native-tls", "postgres"] } tokio = "1.26.0" ``` diff --git a/examples/actix-websocket-actorless.mdx b/examples/actix-websocket-actorless.mdx index 10c65a6..15ce371 100644 --- a/examples/actix-websocket-actorless.mdx +++ b/examples/actix-websocket-actorless.mdx @@ -407,8 +407,8 @@ futures = "0.3" reqwest = "0.11" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -shuttle-actix-web = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-actix-web = "0.34.0" +shuttle-runtime = "0.34.0" tokio = { version = "1", features = ["rt-multi-thread", "sync"] } tracing = "0.1" ``` diff --git a/examples/actix.mdx b/examples/actix.mdx index 57c6ad2..3969e10 100644 --- a/examples/actix.mdx +++ b/examples/actix.mdx @@ -45,8 +45,8 @@ edition = "2021" [dependencies] actix-web = "4.3.1" -shuttle-actix-web = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-actix-web = "0.34.0" +shuttle-runtime = "0.34.0" tokio = "1.26.0" ``` diff --git a/examples/axum-static-files.mdx b/examples/axum-static-files.mdx index 8b5f948..ab5a7b7 100644 --- a/examples/axum-static-files.mdx +++ b/examples/axum-static-files.mdx @@ -59,8 +59,8 @@ publish = false [dependencies] axum = "0.6.18" -shuttle-axum = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-axum = "0.34.0" +shuttle-runtime = "0.34.0" tokio = "1.28.2" tower-http = { version = "0.4.0", features = ["fs"] } ``` diff --git a/examples/axum-websockets.mdx b/examples/axum-websockets.mdx index 7830d1e..a880f46 100644 --- a/examples/axum-websockets.mdx +++ b/examples/axum-websockets.mdx @@ -277,8 +277,8 @@ hyper = { version = "0.14.26", features = ["client", "http2"] } hyper-tls = "0.5.0" serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.96" -shuttle-axum = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-axum = "0.34.0" +shuttle-runtime = "0.34.0" tokio = "1.28.2" tower-http = { version = "0.4.0", features = ["fs"] } ``` diff --git a/examples/axum.mdx b/examples/axum.mdx index e33b756..ed3886e 100644 --- a/examples/axum.mdx +++ b/examples/axum.mdx @@ -42,8 +42,8 @@ edition = "2021" [dependencies] axum = "0.6.18" -shuttle-axum = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-axum = "0.34.0" +shuttle-runtime = "0.34.0" tokio = "1.28.2" ``` diff --git a/examples/poise.mdx b/examples/poise.mdx index bf9ff0a..eb4a531 100644 --- a/examples/poise.mdx +++ b/examples/poise.mdx @@ -71,9 +71,9 @@ publish = false [dependencies] anyhow = "1.0.71" poise = "0.5.5" -shuttle-poise = "0.33.0" -shuttle-runtime = "0.33.0" -shuttle-secrets = "0.33.0" +shuttle-poise = "0.34.0" +shuttle-runtime = "0.34.0" +shuttle-secrets = "0.34.0" tracing = "0.1.37" tokio = "1.28.2" ``` diff --git a/examples/rocket-jwt-authentication.mdx b/examples/rocket-jwt-authentication.mdx index b9169fd..34332c6 100644 --- a/examples/rocket-jwt-authentication.mdx +++ b/examples/rocket-jwt-authentication.mdx @@ -38,8 +38,8 @@ jsonwebtoken = { version = "8.1.1", default-features = false } lazy_static = "1.4.0" rocket = { version = "0.5.0", features = ["json"] } serde = { version = "1.0.148", features = ["derive"] } -shuttle-rocket = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-rocket = "0.34.0" +shuttle-runtime = "0.34.0" tokio = "1.26.0" ``` Your `main.rs` should look like this: diff --git a/examples/rocket-postgres.mdx b/examples/rocket-postgres.mdx index 05b3e72..6044f3b 100644 --- a/examples/rocket-postgres.mdx +++ b/examples/rocket-postgres.mdx @@ -104,9 +104,9 @@ edition = "2021" [dependencies] rocket = { version = "0.5.0", features = ["json"] } serde = "1.0.148" -shuttle-shared-db = { version = "0.33.0", features = ["postgres"] } -shuttle-rocket = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-shared-db = { version = "0.34.0", features = ["postgres"] } +shuttle-rocket = "0.34.0" +shuttle-runtime = "0.34.0" sqlx = { version = "0.7.1", features = ["runtime-tokio-native-tls", "postgres"] } tokio = "1.26.0" ``` diff --git a/examples/rocket-static-files.mdx b/examples/rocket-static-files.mdx index 83b0db4..7f250fd 100644 --- a/examples/rocket-static-files.mdx +++ b/examples/rocket-static-files.mdx @@ -76,8 +76,8 @@ publish = false [dependencies] rocket = "0.5.0" -shuttle-rocket = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-rocket = "0.34.0" +shuttle-runtime = "0.34.0" tokio = "1.26.0" ``` diff --git a/examples/rocket.mdx b/examples/rocket.mdx index 285a94f..14a68a3 100644 --- a/examples/rocket.mdx +++ b/examples/rocket.mdx @@ -43,8 +43,8 @@ edition = "2021" [dependencies] rocket = "0.5.0" -shuttle-rocket = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-rocket = "0.34.0" +shuttle-runtime = "0.34.0" tokio = "1.26.0" ``` diff --git a/examples/serenity-todo.mdx b/examples/serenity-todo.mdx index a2403eb..bbde363 100644 --- a/examples/serenity-todo.mdx +++ b/examples/serenity-todo.mdx @@ -268,10 +268,10 @@ edition = "2021" anyhow = "1.0.66" serde = "1.0.148" serenity = { version = "0.11.5", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] } -shuttle-secrets = "0.33.0" -shuttle-serenity = "0.33.0" -shuttle-runtime = "0.33.0" -shuttle-shared-db = { version = "0.33.0", features = ["postgres"] } +shuttle-secrets = "0.34.0" +shuttle-serenity = "0.34.0" +shuttle-runtime = "0.34.0" +shuttle-shared-db = { version = "0.34.0", features = ["postgres"] } sqlx = { version = "0.6.2", features = ["runtime-tokio-native-tls", "postgres"] } tokio = "1.26.0" tracing = "0.1.37" diff --git a/examples/serenity.mdx b/examples/serenity.mdx index 600580b..7df8769 100644 --- a/examples/serenity.mdx +++ b/examples/serenity.mdx @@ -90,10 +90,10 @@ edition = "2021" [dependencies] anyhow = "1.0.66" -shuttle-serenity = "0.33.0" -shuttle-runtime = "0.33.0" +shuttle-serenity = "0.34.0" +shuttle-runtime = "0.34.0" serenity = { version = "0.11.5", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] } -shuttle-secrets = "0.33.0" +shuttle-secrets = "0.34.0" tokio = "1.26.0" tracing = "0.1.37" ``` diff --git a/examples/shuttle-next.mdx b/examples/shuttle-next.mdx index 6c7467a..20f1be7 100644 --- a/examples/shuttle-next.mdx +++ b/examples/shuttle-next.mdx @@ -42,7 +42,7 @@ edition = "2021" crate-type = [ "cdylib" ] [dependencies] -shuttle-next = "0.33.0" +shuttle-next = "0.34.0" ``` Using the `shuttle-next::app!` macro, we can create HTTP API endpoints, setting the diff --git a/shuttle-next/getting-started.mdx b/shuttle-next/getting-started.mdx index f5ffc15..07a16a3 100644 --- a/shuttle-next/getting-started.mdx +++ b/shuttle-next/getting-started.mdx @@ -22,7 +22,7 @@ edition = "2021" crate-type = [ "cdylib" ] [dependencies] -shuttle-next = "0.33.0" +shuttle-next = "0.34.0" ``` Using the `shuttle-next::app!` macro, we can create HTTP API endpoints, setting the diff --git a/tutorials/custom-service.mdx b/tutorials/custom-service.mdx index d7b77a5..08e07e8 100644 --- a/tutorials/custom-service.mdx +++ b/tutorials/custom-service.mdx @@ -47,8 +47,8 @@ axum = "0.6.4" hyper = "0.14.24" poise = "0.5.2" serde = "1.0" -shuttle-runtime = "0.33.0" -shuttle-secrets = "0.33.0" +shuttle-runtime = "0.34.0" +shuttle-secrets = "0.34.0" tokio = "1.26.0" ``` diff --git a/tutorials/url-shortener.mdx b/tutorials/url-shortener.mdx index 9fa16c1..3afd0af 100644 --- a/tutorials/url-shortener.mdx +++ b/tutorials/url-shortener.mdx @@ -129,9 +129,9 @@ edition = "2021" [dependencies] rocket = "0.5.0" -shuttle-rocket = { version = "0.33.0" } -shuttle-runtime = { version = "0.33.0" } -tokio = { version = "1.26.0" } +shuttle-rocket = "0.34.0" +shuttle-runtime = "0.34.0" +tokio = "1.26.0" ``` The `init` command also created a new Shuttle project for us. This starts an @@ -152,8 +152,8 @@ $ cargo shuttle deploy Compiling rocket_http v0.5.0 Compiling rocket_codegen v0.5.0 Compiling rocket v0.5.0 - Compiling shuttle-rocket v0.33.0 - Compiling shuttle-runtime v0.33.0 + Compiling shuttle-rocket v0.34.0 + Compiling shuttle-runtime v0.34.0 Compiling url-shortener v0.1.0 (/opt/shuttle/crates/url-shortener) Finished dev [unoptimized + debuginfo] target(s) in 1m 01s diff --git a/tutorials/websocket-chat-app-js.mdx b/tutorials/websocket-chat-app-js.mdx index 5cdc9f1..4e70320 100644 --- a/tutorials/websocket-chat-app-js.mdx +++ b/tutorials/websocket-chat-app-js.mdx @@ -257,10 +257,10 @@ hyper = { version = "0.14", features = ["client", "http2"] } hyper-tls = "0.5" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -shuttle-axum = { version = "0.33.0" } -shuttle-runtime = { version = "0.33.0" } -shuttle-secrets = "0.33.0" -shuttle-static-folder = "0.33.0" +shuttle-axum = { version = "0.34.0" } +shuttle-runtime = { version = "0.34.0" } +shuttle-secrets = "0.34.0" +shuttle-static-folder = "0.34.0" sync_wrapper = "0.1" tokio = { version = "1", features = ["full"] } tower-http = { version = "0.3.5", features = ["fs", "auth"]}