diff --git a/docs/logs.mdx b/docs/logs.mdx index 9cea711..ab5a240 100644 --- a/docs/logs.mdx +++ b/docs/logs.mdx @@ -48,7 +48,7 @@ By default, Shuttle will set up a global tracing subscriber behind the scenes. If you'd rather set up your own tracing or logging, you can opt-out by disabling the default features on `shuttle-runtime`: ```toml Cargo.toml -shuttle-runtime = { version = "0.49.0", default-features = false } +shuttle-runtime = { version = "0.50.0", default-features = false } ``` With the default features enabled you can skip the step of initializing your subscriber when implementing [tracing](https://docs.rs/tracing/latest/tracing/) diff --git a/examples/actix-cookie-authentication.mdx b/examples/actix-cookie-authentication.mdx index 811cd3b..3e39481 100644 --- a/examples/actix-cookie-authentication.mdx +++ b/examples/actix-cookie-authentication.mdx @@ -33,8 +33,8 @@ edition = "2021" actix-identity = "0.6.0" actix-session = { version = "0.8.0", features = ["cookie-session"] } actix-web = "4.3.1" -shuttle-actix-web = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-actix-web = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.26.0" ``` Your `main.rs` should look like this: diff --git a/examples/actix-postgres.mdx b/examples/actix-postgres.mdx index 2c5b769..15002c7 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.49.0" -shuttle-runtime = "0.49.0" +shuttle-actix-web = "0.50.0" +shuttle-runtime = "0.50.0" serde = "1.0.148" -shuttle-shared-db = { version = "0.49.0", features = ["postgres", "sqlx"] } +shuttle-shared-db = { version = "0.50.0", features = ["postgres", "sqlx"] } sqlx = "0.8.2" tokio = "1.26.0" ``` diff --git a/examples/actix-static-files.mdx b/examples/actix-static-files.mdx index 5cc6314..a2eeb50 100644 --- a/examples/actix-static-files.mdx +++ b/examples/actix-static-files.mdx @@ -59,8 +59,8 @@ edition = "2021" [dependencies] actix-web = "4.3.1" actix-files = "0.6.2" -shuttle-actix-web = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-actix-web = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.26.0" ``` diff --git a/examples/actix-websocket-actorless.mdx b/examples/actix-websocket-actorless.mdx index 052b01f..c0f1478 100644 --- a/examples/actix-websocket-actorless.mdx +++ b/examples/actix-websocket-actorless.mdx @@ -405,8 +405,8 @@ futures = "0.3" reqwest = "0.11" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -shuttle-actix-web = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-actix-web = "0.50.0" +shuttle-runtime = "0.50.0" tokio = { version = "1", features = ["rt-multi-thread", "sync"] } tracing = "0.1" ``` diff --git a/examples/actix.mdx b/examples/actix.mdx index 09a6e2f..f4a78c5 100644 --- a/examples/actix.mdx +++ b/examples/actix.mdx @@ -46,8 +46,8 @@ edition = "2021" [dependencies] actix-web = "4.3.1" -shuttle-actix-web = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-actix-web = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.26.0" ``` diff --git a/examples/axum-jwt-authentication.mdx b/examples/axum-jwt-authentication.mdx index 5354bab..bfeb9db 100644 --- a/examples/axum-jwt-authentication.mdx +++ b/examples/axum-jwt-authentication.mdx @@ -221,8 +221,8 @@ jsonwebtoken = "8.3.0" once_cell = "1.18.0" serde = { version = "1.0.188", features = ["derive"] } serde_json = "1.0.107" -shuttle-axum = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-axum = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.28.2" tracing-subscriber = "0.3.17" ``` diff --git a/examples/axum-postgres.mdx b/examples/axum-postgres.mdx index 62b231b..44150e7 100644 --- a/examples/axum-postgres.mdx +++ b/examples/axum-postgres.mdx @@ -102,9 +102,9 @@ edition = "2021" [dependencies] axum = "0.7.3" serde = { version = "1.0.188", features = ["derive"] } -shuttle-axum = "0.49.0" -shuttle-runtime = "0.49.0" -shuttle-shared-db = { version = "0.49.0", features = ["postgres", "sqlx"] } +shuttle-axum = "0.50.0" +shuttle-runtime = "0.50.0" +shuttle-shared-db = { version = "0.50.0", features = ["postgres", "sqlx"] } sqlx = "0.8.2" tokio = "1.28.2" ``` diff --git a/examples/axum-static-files.mdx b/examples/axum-static-files.mdx index 7226894..9bc336a 100644 --- a/examples/axum-static-files.mdx +++ b/examples/axum-static-files.mdx @@ -58,8 +58,8 @@ publish = false [dependencies] axum = "0.7.3" -shuttle-axum = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-axum = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.28.2" tower-http = { version = "0.5.0", features = ["fs"] } ``` diff --git a/examples/axum-websockets.mdx b/examples/axum-websockets.mdx index fc142b7..6ccff8d 100644 --- a/examples/axum-websockets.mdx +++ b/examples/axum-websockets.mdx @@ -266,8 +266,8 @@ futures = "0.3.28" reqwest = "0.11.23" serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.96" -shuttle-axum = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-axum = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.28.2" tower-http = { version = "0.5.0", features = ["fs"] } ``` diff --git a/examples/axum.mdx b/examples/axum.mdx index df76030..d83cc5d 100644 --- a/examples/axum.mdx +++ b/examples/axum.mdx @@ -44,8 +44,8 @@ edition = "2021" [dependencies] axum = "0.7.4" -shuttle-axum = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-axum = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.28.2" ``` diff --git a/examples/poise.mdx b/examples/poise.mdx index 9f394cd..0e3471b 100644 --- a/examples/poise.mdx +++ b/examples/poise.mdx @@ -72,9 +72,9 @@ publish = false [dependencies] anyhow = "1.0.68" poise = "0.6.1" -shuttle-runtime = "0.49.0" +shuttle-runtime = "0.50.0" # Since poise is a serenity command framework, it can run on Shuttle with shuttle-serenity -shuttle-serenity = "0.49.0" +shuttle-serenity = "0.50.0" tracing = "0.1.37" tokio = "1.26.0" ``` diff --git a/examples/rocket-jwt-authentication.mdx b/examples/rocket-jwt-authentication.mdx index 3d77e98..29d92e0 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.49.0" -shuttle-runtime = "0.49.0" +shuttle-rocket = "0.50.0" +shuttle-runtime = "0.50.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 1165128..d9756fd 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-rocket = "0.49.0" -shuttle-runtime = "0.49.0" -shuttle-shared-db = { version = "0.49.0", features = ["postgres", "sqlx"] } +shuttle-rocket = "0.50.0" +shuttle-runtime = "0.50.0" +shuttle-shared-db = { version = "0.50.0", features = ["postgres", "sqlx"] } sqlx = "0.8.2" tokio = "1.26.0" ``` diff --git a/examples/rocket-static-files.mdx b/examples/rocket-static-files.mdx index 6ef5117..73f25b4 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.49.0" -shuttle-runtime = "0.49.0" +shuttle-rocket = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.26.0" ``` diff --git a/examples/rocket.mdx b/examples/rocket.mdx index 109b7ee..4b47ec8 100644 --- a/examples/rocket.mdx +++ b/examples/rocket.mdx @@ -44,8 +44,8 @@ edition = "2021" [dependencies] rocket = "0.5.0" -shuttle-rocket = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-rocket = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.26.0" ``` diff --git a/examples/serenity-todo.mdx b/examples/serenity-todo.mdx index 187c739..bb954cd 100644 --- a/examples/serenity-todo.mdx +++ b/examples/serenity-todo.mdx @@ -270,9 +270,9 @@ edition = "2021" anyhow = "1.0.66" serde = "1.0.148" serenity = { version = "0.12.0", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] } -shuttle-runtime = "0.49.0" -shuttle-serenity = "0.49.0" -shuttle-shared-db = { version = "0.49.0", features = ["postgres", "sqlx"] } +shuttle-runtime = "0.50.0" +shuttle-serenity = "0.50.0" +shuttle-shared-db = { version = "0.50.0", features = ["postgres", "sqlx"] } sqlx = "0.8.2" tokio = "1.26.0" tracing = "0.1.37" diff --git a/examples/serenity.mdx b/examples/serenity.mdx index d30e319..99c9c43 100644 --- a/examples/serenity.mdx +++ b/examples/serenity.mdx @@ -87,8 +87,8 @@ edition = "2021" [dependencies] anyhow = "1.0.66" serenity = { version = "0.12.0", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] } -shuttle-runtime = "0.49.0" -shuttle-serenity = "0.49.0" +shuttle-runtime = "0.50.0" +shuttle-serenity = "0.50.0" tokio = "1.26.0" tracing = "0.1.37" ``` diff --git a/guides/migrate-shared-postgres.mdx b/guides/migrate-shared-postgres.mdx index ea0db6e..bae16fa 100644 --- a/guides/migrate-shared-postgres.mdx +++ b/guides/migrate-shared-postgres.mdx @@ -30,7 +30,7 @@ If you want the restore step to restore both the schema and data, you can tempor ## 2. Upgrade container on shuttle.rs and Shuttle CLI -To use the dump command, your deployer and CLI need to be v0.49.0 or higher. +To use the dump command, your deployer and CLI need to be v0.50.0 or higher. Upgrade the CLI by following the [upgrading guide](/guides/upgrade). diff --git a/guides/upgrade.mdx b/guides/upgrade.mdx index 257a4dd..c02d777 100644 --- a/guides/upgrade.mdx +++ b/guides/upgrade.mdx @@ -15,7 +15,7 @@ icon: "code-merge" 3. Update your project's Shuttle dependencies in `Cargo.toml`: ```toml Cargo.toml - shuttle-runtime = "0.49.0" + shuttle-runtime = "0.50.0" # do the same for other shuttle dependencies ``` diff --git a/integrations/custom-resources.mdx b/integrations/custom-resources.mdx index 46c5700..97256d2 100644 --- a/integrations/custom-resources.mdx +++ b/integrations/custom-resources.mdx @@ -91,9 +91,9 @@ edition = "2021" async-trait = "0.1.56" axum = "0.7.3" serde = { version = "1.0.148", default-features = false, features = ["derive"] } -shuttle-service = "0.49.0" -shuttle-axum = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-service = "0.50.0" +shuttle-axum = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.28.2" ``` diff --git a/platform-update/migration.mdx b/platform-update/migration.mdx index b0548ac..0d6a8c5 100644 --- a/platform-update/migration.mdx +++ b/platform-update/migration.mdx @@ -58,10 +58,10 @@ This is the list of required changes. Update to the latest version of Shuttle dependencies: ```toml Cargo.toml -shuttle-runtime = "0.49.0" +shuttle-runtime = "0.50.0" # do the same for all other shuttle crates # for example, if you use `shuttle-axum`: -shuttle-axum = "0.49.0" +shuttle-axum = "0.50.0" ``` ### Shuttle.toml diff --git a/templates/tutorials/custom-service.mdx b/templates/tutorials/custom-service.mdx index b70d65b..9475926 100644 --- a/templates/tutorials/custom-service.mdx +++ b/templates/tutorials/custom-service.mdx @@ -48,7 +48,7 @@ axum = "0.6.4" hyper = "0.14.24" poise = "0.5.2" serde = "1.0" -shuttle-runtime = "0.49.0" +shuttle-runtime = "0.50.0" tokio = "1.26.0" ``` diff --git a/templates/tutorials/url-shortener.mdx b/templates/tutorials/url-shortener.mdx index 002cf62..3b6aab8 100644 --- a/templates/tutorials/url-shortener.mdx +++ b/templates/tutorials/url-shortener.mdx @@ -130,8 +130,8 @@ edition = "2021" [dependencies] rocket = "0.5.0" -shuttle-rocket = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-rocket = "0.50.0" +shuttle-runtime = "0.50.0" tokio = "1.26.0" ``` @@ -153,8 +153,8 @@ $ shuttle deploy Compiling rocket_http v0.5.0 Compiling rocket_codegen v0.5.0 Compiling rocket v0.5.0 - Compiling shuttle-rocket v0.49.0 - Compiling shuttle-runtime v0.49.0 + Compiling shuttle-rocket v0.50.0 + Compiling shuttle-runtime v0.50.0 Compiling url-shortener v0.1.0 (/opt/shuttle/crates/url-shortener) Finished dev [unoptimized + debuginfo] target(s) in 1m 01s diff --git a/templates/tutorials/websocket-chat-app-js.mdx b/templates/tutorials/websocket-chat-app-js.mdx index 128b881..6411d98 100644 --- a/templates/tutorials/websocket-chat-app-js.mdx +++ b/templates/tutorials/websocket-chat-app-js.mdx @@ -256,8 +256,8 @@ hyper = { version = "0.14", features = ["client", "http2"] } hyper-tls = "0.5" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -shuttle-axum = "0.49.0" -shuttle-runtime = "0.49.0" +shuttle-axum = "0.50.0" +shuttle-runtime = "0.50.0" sync_wrapper = "0.1" tokio = { version = "1", features = ["full"] } tower-http = { version = "0.3.5", features = ["fs", "auth"]}