Skip to content

Commit

Permalink
chore: v0.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgrd committed Jan 7, 2025
1 parent 23f4979 commit 0cc1901
Show file tree
Hide file tree
Showing 25 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion docs/logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
4 changes: 2 additions & 2 deletions examples/actix-cookie-authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions examples/actix-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
4 changes: 2 additions & 2 deletions examples/actix-static-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down
4 changes: 2 additions & 2 deletions examples/actix-websocket-actorless.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
4 changes: 2 additions & 2 deletions examples/actix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
</CodeGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/axum-jwt-authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
6 changes: 3 additions & 3 deletions examples/axum-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
4 changes: 2 additions & 2 deletions examples/axum-static-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
```
Expand Down
4 changes: 2 additions & 2 deletions examples/axum-websockets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
```
Expand Down
4 changes: 2 additions & 2 deletions examples/axum.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
</CodeGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/poise.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
4 changes: 2 additions & 2 deletions examples/rocket-jwt-authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions examples/rocket-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
4 changes: 2 additions & 2 deletions examples/rocket-static-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down
4 changes: 2 additions & 2 deletions examples/rocket.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
</CodeGroup>
Expand Down
6 changes: 3 additions & 3 deletions examples/serenity-todo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions examples/serenity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
2 changes: 1 addition & 1 deletion guides/migrate-shared-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion guides/upgrade.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
6 changes: 3 additions & 3 deletions integrations/custom-resources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
</CodeGroup>
4 changes: 2 additions & 2 deletions platform-update/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/tutorials/custom-service.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down
8 changes: 4 additions & 4 deletions templates/tutorials/url-shortener.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions templates/tutorials/websocket-chat-app-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}
Expand Down

0 comments on commit 0cc1901

Please sign in to comment.