From cef6c2802c2ff98e2733306aed5e92372f46c9e5 Mon Sep 17 00:00:00 2001 From: jonaro00 <54029719+jonaro00@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:29:34 +0100 Subject: [PATCH] chore: v0.49.0 (#1917) * chore: v0.49.0 * examples * fix: hide redeploy command * changelog * fix: test against new examples * nit * fix: remove test with removed example --- .github/ISSUE_TEMPLATE/BUG-REPORT.yml | 2 +- CHANGELOG.md | 70 ++++++++++++++++++- Cargo.lock | 32 ++++----- Cargo.toml | 16 ++--- admin/Cargo.toml | 2 +- api-client/Cargo.toml | 2 +- auth/Cargo.toml | 2 +- backends/Cargo.toml | 2 +- cargo-shuttle/Cargo.toml | 2 +- cargo-shuttle/src/args.rs | 2 +- cargo-shuttle/src/config.rs | 4 +- cargo-shuttle/tests/integration/run.rs | 32 --------- codegen/Cargo.toml | 2 +- common-tests/Cargo.toml | 2 +- common/Cargo.toml | 2 +- deployer/Cargo.toml | 2 +- .../tests/deploy_layer/bind-panic/Cargo.toml | 2 +- .../tests/deploy_layer/main-panic/Cargo.toml | 2 +- .../tests/deploy_layer/self-stop/Cargo.toml | 2 +- .../tests/deploy_layer/sleep-async/Cargo.toml | 2 +- examples | 2 +- gateway/Cargo.toml | 2 +- logger/Cargo.toml | 2 +- proto/Cargo.toml | 2 +- provisioner/Cargo.toml | 2 +- resource-recorder/Cargo.toml | 2 +- resources/aws-rds/Cargo.toml | 4 +- resources/openai/Cargo.toml | 4 +- resources/opendal/Cargo.toml | 4 +- resources/persist/Cargo.toml | 4 +- resources/qdrant/Cargo.toml | 4 +- resources/shared-db/Cargo.toml | 4 +- resources/turso/Cargo.toml | 4 +- runtime/Cargo.toml | 2 +- runtime/README.md | 4 +- service/Cargo.toml | 2 +- services/shuttle-actix-web/Cargo.toml | 4 +- services/shuttle-axum/Cargo.toml | 4 +- services/shuttle-axum/README.md | 2 +- services/shuttle-poem/Cargo.toml | 4 +- services/shuttle-rocket/Cargo.toml | 4 +- services/shuttle-salvo/Cargo.toml | 4 +- services/shuttle-serenity/Cargo.toml | 4 +- services/shuttle-serenity/README.md | 2 +- services/shuttle-thruster/Cargo.toml | 4 +- services/shuttle-tide/Cargo.toml | 4 +- services/shuttle-tower/Cargo.toml | 4 +- services/shuttle-warp/Cargo.toml | 4 +- 48 files changed, 154 insertions(+), 122 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml index 4cc8b5f0c..4eefb17b3 100644 --- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -20,7 +20,7 @@ body: attributes: label: Version description: What version of `cargo-shuttle` are you running (`shuttle --version`)? - placeholder: "v0.48.0" + placeholder: "v0.49.0" validations: required: true - type: dropdown diff --git a/CHANGELOG.md b/CHANGELOG.md index ac5d7e162..6a80f9345 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,72 @@ See [conventional commits](https://www.conventionalcommits.org/) for commit guid **For proper release notes with more details such as upgrading guidelines, check out the [releases page](https://github.com/shuttle-hq/shuttle/releases).** -## [0.48.0](https://github.com/shuttle-hq/shuttle/compare/v0.47.0..0.48.0) - 2024-10-01 +## [0.49.0](https://github.com/shuttle-hq/shuttle/compare/v0.48.3..0.49.0) - 2024-11-12 + +### Features + +- *(cargo-shuttle)* Redeploy command ([#1916](https://github.com/shuttle-hq/shuttle/issues/1916)) - ([62bf6e8](https://github.com/shuttle-hq/shuttle/commit/62bf6e801210a144afad1a51553d05b9e01e07f0)) +- *(cargo-shuttle)* Automatic login via console, login --prompt ([#1913](https://github.com/shuttle-hq/shuttle/issues/1913)) - ([792e681](https://github.com/shuttle-hq/shuttle/commit/792e6818ab33c5bef80327ec265aaa84cf2f16b9)) +- *(cargo-shuttle)* Update project name command ([#1912](https://github.com/shuttle-hq/shuttle/issues/1912)) - ([40ff642](https://github.com/shuttle-hq/shuttle/commit/40ff642e46b5968e66f91894e3199453bd1d86a8)) +- *(common)* Project update models ([#1910](https://github.com/shuttle-hq/shuttle/issues/1910)) - ([2ba0046](https://github.com/shuttle-hq/shuttle/commit/2ba004613c3080acc9de8fd0d2f0e5e43aae5aa9)) +- Dump db endpoint, fixes, Rust 1.82 ([#1907](https://github.com/shuttle-hq/shuttle/issues/1907)) - ([b3ac098](https://github.com/shuttle-hq/shuttle/commit/b3ac098a47c53beba805695cd1f73e73379b3e4b)) +- Compute tier upgrade admin command ([#1906](https://github.com/shuttle-hq/shuttle/issues/1906)) - ([e821c8f](https://github.com/shuttle-hq/shuttle/commit/e821c8f036976de34aa07783798af3d48c8577a0)) + +### Bug Fixes + +- *(api-client)* Update archive endpoint ([#1914](https://github.com/shuttle-hq/shuttle/issues/1914)) - ([c8e6d15](https://github.com/shuttle-hq/shuttle/commit/c8e6d15243dff7c0ae6afbb0f931ba6f9f7928f9)) +- *(cargo-shuttle)* Shell completion, refactors ([#1909](https://github.com/shuttle-hq/shuttle/issues/1909)) - ([b91de7a](https://github.com/shuttle-hq/shuttle/commit/b91de7afa79174041e23437dc62f3eb1cdf4a113)) +- Hide redeploy command - ([9c7c887](https://github.com/shuttle-hq/shuttle/commit/9c7c887196c02e5012600fe1b5328c4ac2ecb552)) +- Don't attempt project linking on local run, create project and link on beta init ([#1911](https://github.com/shuttle-hq/shuttle/issues/1911)) - ([bfc05ec](https://github.com/shuttle-hq/shuttle/commit/bfc05ec8cd687334441a8f7767c497cb3fe24239)) + +### Miscellaneous Tasks + +- V0.49.0 - ([09335f6](https://github.com/shuttle-hq/shuttle/commit/09335f689a64dffc80cac5e73bd27fd26d12f55f)) + +### Miscellaneous + +- Examples - ([5cad831](https://github.com/shuttle-hq/shuttle/commit/5cad831f3b5ab86eeca48b2fc3beb29947bea0c2)) + +## [0.48.3](https://github.com/shuttle-hq/shuttle/compare/v0.48.2..v0.48.3) - 2024-10-10 + +### Bug Fixes + +- *(cargo-shuttle)* Don't print platform info in unrelated commands ([#1902](https://github.com/shuttle-hq/shuttle/issues/1902)) - ([e58d589](https://github.com/shuttle-hq/shuttle/commit/e58d5890af586d8d875894e01f847a8d5f1e1734)) +- Shuttle-common 0.48.2 ([#1901](https://github.com/shuttle-hq/shuttle/issues/1901)) - ([0acc7e6](https://github.com/shuttle-hq/shuttle/commit/0acc7e6f3397f78e707f8caf59c0c2709f760aef)) + +### Miscellaneous Tasks + +- Cargo update ([#1904](https://github.com/shuttle-hq/shuttle/issues/1904)) - ([80c8763](https://github.com/shuttle-hq/shuttle/commit/80c8763dbce2760d0cb5eb6116f82b662e6ca98d)) + +### Miscellaneous + +- Allow deprecated chrono method in deprecated backends ([#1905](https://github.com/shuttle-hq/shuttle/issues/1905)) - ([0b3f714](https://github.com/shuttle-hq/shuttle/commit/0b3f714e65dd238ecfea9c4e6815505777106159)) + +## [0.48.2](https://github.com/shuttle-hq/shuttle/compare/v0.48.1..v0.48.2) - 2024-10-10 + +### Features + +- *(cargo-shuttle)* V0.48.2, colored platform outputs, fixes ([#1886](https://github.com/shuttle-hq/shuttle/issues/1886)) - ([be7b731](https://github.com/shuttle-hq/shuttle/commit/be7b73106bbe90cce78ee8e3504fd36983089a2f)) + +## [0.48.1](https://github.com/shuttle-hq/shuttle/compare/v0.48.0..v0.48.1) - 2024-10-03 + +### Features + +- *(cargo-shuttle)* Shuttle.toml new key names ([#1895](https://github.com/shuttle-hq/shuttle/issues/1895)) - ([4820498](https://github.com/shuttle-hq/shuttle/commit/48204982cb153c131dfc168bec3d9980ae752af8)) +- *(cargo-shuttle)* Beta deploy.deny_dirty config, allow dirty deploys by default ([#1894](https://github.com/shuttle-hq/shuttle/issues/1894)) - ([1e90f20](https://github.com/shuttle-hq/shuttle/commit/1e90f20358e1004b0aea53bdfabfa33c56893543)) +- *(installer)* Install shuttle binary ([#1890](https://github.com/shuttle-hq/shuttle/issues/1890)) - ([468ca85](https://github.com/shuttle-hq/shuttle/commit/468ca85668736832db6e355cb8aa772276c77504)) + +### Bug Fixes + +- *(cargo-shuttle)* Beta: create missing project on deploy, fix local run, better project link dialogue ([#1893](https://github.com/shuttle-hq/shuttle/issues/1893)) - ([8efada9](https://github.com/shuttle-hq/shuttle/commit/8efada9a62f95dad41721eabdc88cb80eaa91800)) +- Reduce gateway cert renew sleep ([#1888](https://github.com/shuttle-hq/shuttle/issues/1888)) - ([0ccb348](https://github.com/shuttle-hq/shuttle/commit/0ccb3488c4e91dfc98a3a8d3d32eb5df082bed48)) +- Otel exporter config ([#1891](https://github.com/shuttle-hq/shuttle/issues/1891)) - ([6386223](https://github.com/shuttle-hq/shuttle/commit/63862238113b5522c9969fc705a4db1d45506776)) + +### Miscellaneous Tasks + +- Bump cargo-shuttle ([#1897](https://github.com/shuttle-hq/shuttle/issues/1897)) - ([d01466e](https://github.com/shuttle-hq/shuttle/commit/d01466e443eb407ecc219e906089004e1e789bbd)) + +## [0.48.0](https://github.com/shuttle-hq/shuttle/compare/v0.47.0..v0.48.0) - 2024-10-01 ### Features @@ -46,7 +111,7 @@ See [conventional commits](https://www.conventionalcommits.org/) for commit guid ### Miscellaneous Tasks -- V0.48.0 - ([cbac5bc](https://github.com/shuttle-hq/shuttle/commit/cbac5bce79852172f9eb495c5834900deda61bed)) +- V0.48.0 ([#1887](https://github.com/shuttle-hq/shuttle/issues/1887)) - ([af27275](https://github.com/shuttle-hq/shuttle/commit/af27275ccc881cf814acff757538ea7554afd8ae)) - Deployer rust 1.81 ([#1883](https://github.com/shuttle-hq/shuttle/issues/1883)) - ([1d2ea62](https://github.com/shuttle-hq/shuttle/commit/1d2ea621b763fc1f039f8513d44901c0d75246d2)) - Sqlx 0.8.2, MSRV 1.78 ([#1867](https://github.com/shuttle-hq/shuttle/issues/1867)) - ([a74f4ee](https://github.com/shuttle-hq/shuttle/commit/a74f4ee049f156848f1106d81bc8ef8b8858f7dd)) - Disable honeycomb export, remove vars ([#1868](https://github.com/shuttle-hq/shuttle/issues/1868)) - ([873b172](https://github.com/shuttle-hq/shuttle/commit/873b1720eda277f2b092e757a5826097d4afc7ee)) @@ -55,7 +120,6 @@ See [conventional commits](https://www.conventionalcommits.org/) for commit guid ### Miscellaneous -- Bump examples - ([7f2f95b](https://github.com/shuttle-hq/shuttle/commit/7f2f95bc9663bb91ced38f7d6442ccf0a2895af5)) - Bump sqlx to 0.8 in libraries ([#1847](https://github.com/shuttle-hq/shuttle/issues/1847)) - ([91c189a](https://github.com/shuttle-hq/shuttle/commit/91c189a1aa5cd9451eb2146ed8f85b222c4a8423)) ## [0.47.0](https://github.com/shuttle-hq/shuttle/compare/v0.46.0..v0.47.0) - 2024-07-22 diff --git a/Cargo.lock b/Cargo.lock index 445738ccd..e8304138b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -999,7 +999,7 @@ dependencies = [ [[package]] name = "cargo-shuttle" -version = "0.48.3" +version = "0.49.0" dependencies = [ "anyhow", "assert_cmd", @@ -5466,7 +5466,7 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "shuttle-admin" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "clap", @@ -5483,7 +5483,7 @@ dependencies = [ [[package]] name = "shuttle-api-client" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "async-trait", @@ -5506,7 +5506,7 @@ dependencies = [ [[package]] name = "shuttle-auth" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "async-stripe", @@ -5544,7 +5544,7 @@ dependencies = [ [[package]] name = "shuttle-backends" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "async-trait", @@ -5594,7 +5594,7 @@ dependencies = [ [[package]] name = "shuttle-codegen" -version = "0.48.0" +version = "0.49.0" dependencies = [ "pretty_assertions", "proc-macro-error", @@ -5611,7 +5611,7 @@ dependencies = [ [[package]] name = "shuttle-common" -version = "0.48.2" +version = "0.49.0" dependencies = [ "anyhow", "async-trait", @@ -5650,7 +5650,7 @@ dependencies = [ [[package]] name = "shuttle-common-tests" -version = "0.48.0" +version = "0.49.0" dependencies = [ "cargo-shuttle", "hyper 0.14.31", @@ -5668,7 +5668,7 @@ dependencies = [ [[package]] name = "shuttle-deployer" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "async-trait", @@ -5714,7 +5714,7 @@ dependencies = [ [[package]] name = "shuttle-gateway" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "async-posthog", @@ -5778,7 +5778,7 @@ dependencies = [ [[package]] name = "shuttle-logger" -version = "0.48.0" +version = "0.49.0" dependencies = [ "async-trait", "chrono", @@ -5804,7 +5804,7 @@ dependencies = [ [[package]] name = "shuttle-proto" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "async-trait", @@ -5824,7 +5824,7 @@ dependencies = [ [[package]] name = "shuttle-provisioner" -version = "0.48.0" +version = "0.49.0" dependencies = [ "aws-config", "aws-sdk-rds", @@ -5851,7 +5851,7 @@ dependencies = [ [[package]] name = "shuttle-resource-recorder" -version = "0.48.0" +version = "0.49.0" dependencies = [ "async-trait", "chrono", @@ -5876,7 +5876,7 @@ dependencies = [ [[package]] name = "shuttle-runtime" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "async-trait", @@ -5901,7 +5901,7 @@ dependencies = [ [[package]] name = "shuttle-service" -version = "0.48.0" +version = "0.49.0" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 88715ad87..534385ecb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,20 +25,20 @@ exclude = [ ] [workspace.package] -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" repository = "https://github.com/shuttle-hq/shuttle" # https://doc.rust-lang.org/cargo/reference/workspaces.html#the-workspacedependencies-table [workspace.dependencies] -shuttle-api-client = { path = "api-client", version = "0.48.0", default-features = false } -shuttle-backends = { path = "backends", version = "0.48.0" } -shuttle-codegen = { path = "codegen", version = "0.48.0" } -shuttle-common = { path = "common", version = "0.48.0" } -shuttle-common-tests = { path = "common-tests", version = "0.48.0" } -shuttle-proto = { path = "proto", version = "0.48.0" } -shuttle-service = { path = "service", version = "0.48.0" } +shuttle-api-client = { path = "api-client", version = "0.49.0", default-features = false } +shuttle-backends = { path = "backends", version = "0.49.0" } +shuttle-codegen = { path = "codegen", version = "0.49.0" } +shuttle-common = { path = "common", version = "0.49.0" } +shuttle-common-tests = { path = "common-tests", version = "0.49.0" } +shuttle-proto = { path = "proto", version = "0.49.0" } +shuttle-service = { path = "service", version = "0.49.0" } anyhow = "1.0.66" async-trait = "0.1.58" diff --git a/admin/Cargo.toml b/admin/Cargo.toml index ebbe6f0a6..f3cef9e82 100644 --- a/admin/Cargo.toml +++ b/admin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-admin" -version = "0.48.0" +version = "0.49.0" edition = "2021" publish = false diff --git a/api-client/Cargo.toml b/api-client/Cargo.toml index 32d7b461f..a76f798bf 100644 --- a/api-client/Cargo.toml +++ b/api-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-api-client" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/auth/Cargo.toml b/auth/Cargo.toml index 020ce0757..b127b5017 100644 --- a/auth/Cargo.toml +++ b/auth/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-auth" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/backends/Cargo.toml b/backends/Cargo.toml index b29831c43..e6bcaad70 100644 --- a/backends/Cargo.toml +++ b/backends/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-backends" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/cargo-shuttle/Cargo.toml b/cargo-shuttle/Cargo.toml index 17a578b14..8651290f6 100644 --- a/cargo-shuttle/Cargo.toml +++ b/cargo-shuttle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-shuttle" -version = "0.48.3" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/cargo-shuttle/src/args.rs b/cargo-shuttle/src/args.rs index 1528140b4..86ad31f55 100644 --- a/cargo-shuttle/src/args.rs +++ b/cargo-shuttle/src/args.rs @@ -190,7 +190,7 @@ pub enum DeploymentCommand { id: Option, }, /// Redeploy a previous deployment (if possible) - #[command(visible_alias = "re")] + #[command(visible_alias = "re", hide = true)] Redeploy { /// ID of deployment to redeploy id: String, diff --git a/cargo-shuttle/src/config.rs b/cargo-shuttle/src/config.rs index 52e6f2bcf..25f833145 100644 --- a/cargo-shuttle/src/config.rs +++ b/cargo-shuttle/src/config.rs @@ -569,7 +569,7 @@ mod tests { } #[test] - fn get_local_config_finds_name_in_shuttle_toml() { + fn get_local_config_finds_name_in_cargo_toml() { let project_args = ProjectArgs { working_directory: path_from_workspace_root("examples/axum/hello-world/"), name_or_id: None, @@ -577,7 +577,7 @@ mod tests { let local_config = RequestContext::get_local_config(&project_args).unwrap(); - assert_eq!(unwrap_project_name(&local_config), "hello-world-axum-app"); + assert_eq!(unwrap_project_name(&local_config), "hello-world"); } #[test] diff --git a/cargo-shuttle/tests/integration/run.rs b/cargo-shuttle/tests/integration/run.rs index a88d0b248..f220a01e1 100644 --- a/cargo-shuttle/tests/integration/run.rs +++ b/cargo-shuttle/tests/integration/run.rs @@ -299,36 +299,4 @@ mod needs_docker { assert_eq!(request_text, "{\"id\":1,\"note\":\"Deploy to shuttle\"}"); } - - #[tokio::test(flavor = "multi_thread")] - async fn poem_mongodb() { - let url = cargo_shuttle_run("../examples/poem/mongodb", false).await; - let client = reqwest::Client::new(); - - // Post a todo note and get the persisted todo objectId - let post_text = client - .post(format!("{url}/todo")) - .body("{\"note\": \"Deploy to shuttle\"}") - .header("content-type", "application/json") - .send() - .await - .unwrap() - .text() - .await - .unwrap(); - - // Valid objectId is 24 char hex string - assert_eq!(post_text.len(), 24); - - let request_text = client - .get(format!("{url}/todo/{post_text}")) - .send() - .await - .unwrap() - .text() - .await - .unwrap(); - - assert_eq!(request_text, "{\"note\":\"Deploy to shuttle\"}"); - } } diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 0d2bbf166..b225e3fc5 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-codegen" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/common-tests/Cargo.toml b/common-tests/Cargo.toml index fb0fbd361..adbfeaf5f 100644 --- a/common-tests/Cargo.toml +++ b/common-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-common-tests" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/common/Cargo.toml b/common/Cargo.toml index 31a305663..e61c966fc 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-common" -version = "0.48.2" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/deployer/Cargo.toml b/deployer/Cargo.toml index dd8b1be8e..044fa7968 100644 --- a/deployer/Cargo.toml +++ b/deployer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-deployer" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true description = "Service with instances created per project for handling the compilation, loading, and execution of Shuttle services" diff --git a/deployer/tests/deploy_layer/bind-panic/Cargo.toml b/deployer/tests/deploy_layer/bind-panic/Cargo.toml index 2f0278a18..fcffaabc8 100644 --- a/deployer/tests/deploy_layer/bind-panic/Cargo.toml +++ b/deployer/tests/deploy_layer/bind-panic/Cargo.toml @@ -7,5 +7,5 @@ edition = "2021" [workspace] [dependencies] -shuttle-runtime = "0.48.0" +shuttle-runtime = "0.49.0" tokio = "1.22" diff --git a/deployer/tests/deploy_layer/main-panic/Cargo.toml b/deployer/tests/deploy_layer/main-panic/Cargo.toml index de1cc83c2..79b534a8c 100644 --- a/deployer/tests/deploy_layer/main-panic/Cargo.toml +++ b/deployer/tests/deploy_layer/main-panic/Cargo.toml @@ -7,5 +7,5 @@ edition = "2021" [workspace] [dependencies] -shuttle-runtime = "0.48.0" +shuttle-runtime = "0.49.0" tokio = "1.22" diff --git a/deployer/tests/deploy_layer/self-stop/Cargo.toml b/deployer/tests/deploy_layer/self-stop/Cargo.toml index aba33d963..267a125b3 100644 --- a/deployer/tests/deploy_layer/self-stop/Cargo.toml +++ b/deployer/tests/deploy_layer/self-stop/Cargo.toml @@ -7,5 +7,5 @@ edition = "2021" [workspace] [dependencies] -shuttle-runtime = "0.48.0" +shuttle-runtime = "0.49.0" tokio = "1.22" diff --git a/deployer/tests/deploy_layer/sleep-async/Cargo.toml b/deployer/tests/deploy_layer/sleep-async/Cargo.toml index 4327b347d..cfd283f17 100644 --- a/deployer/tests/deploy_layer/sleep-async/Cargo.toml +++ b/deployer/tests/deploy_layer/sleep-async/Cargo.toml @@ -7,5 +7,5 @@ edition = "2021" [workspace] [dependencies] -shuttle-runtime = "0.48.0" +shuttle-runtime = "0.49.0" tokio = { version = "1.0", features = ["time"]} diff --git a/examples b/examples index 830348b5d..65b1195fe 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit 830348b5d6a063a297806dc30383c9275092ef7a +Subproject commit 65b1195febc619a7d225ab21efb66003badddd89 diff --git a/gateway/Cargo.toml b/gateway/Cargo.toml index bcd8cf52e..e5ab7d024 100644 --- a/gateway/Cargo.toml +++ b/gateway/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-gateway" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true publish = false diff --git a/logger/Cargo.toml b/logger/Cargo.toml index 50aa6e3e1..c9cb08a47 100644 --- a/logger/Cargo.toml +++ b/logger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-logger" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 99ca86f6d..970638b34 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-proto" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/provisioner/Cargo.toml b/provisioner/Cargo.toml index 3dd60d4d6..f453eafb4 100644 --- a/provisioner/Cargo.toml +++ b/provisioner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-provisioner" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true description = "Service responsible for provisioning and managing resources for services" diff --git a/resource-recorder/Cargo.toml b/resource-recorder/Cargo.toml index 4f652854a..29c5fd857 100644 --- a/resource-recorder/Cargo.toml +++ b/resource-recorder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-resource-recorder" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/resources/aws-rds/Cargo.toml b/resources/aws-rds/Cargo.toml index 6af468aee..d44e9d831 100644 --- a/resources/aws-rds/Cargo.toml +++ b/resources/aws-rds/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-aws-rds" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Plugin to provision AWS RDS resources" @@ -13,7 +13,7 @@ diesel-async = { version = "0.4.1", optional = true } paste = "1.0.7" serde = { version = "1", features = ["derive"] } serde_json = "1" -shuttle-service = { path = "../../service", version = "0.48.0" } +shuttle-service = { path = "../../service", version = "0.49.0" } sqlx = { version = "0.8.2", optional = true } [features] diff --git a/resources/openai/Cargo.toml b/resources/openai/Cargo.toml index 25bcd8d9e..89f7ad5a8 100644 --- a/resources/openai/Cargo.toml +++ b/resources/openai/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-openai" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Shuttle plugin for connecting to OpenAI" @@ -12,4 +12,4 @@ async-openai = "0.23.0" async-trait = "0.1.56" serde = { version = "1.0.203", features = ["derive"] } serde_json = "1" -shuttle-service = { path = "../../service", version = "0.48.0" } +shuttle-service = { path = "../../service", version = "0.49.0" } diff --git a/resources/opendal/Cargo.toml b/resources/opendal/Cargo.toml index 0dbe5ea5b..bafbe4ee9 100644 --- a/resources/opendal/Cargo.toml +++ b/resources/opendal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-opendal" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Plugin to obtain a client connected to Apache OpenDAL" @@ -11,7 +11,7 @@ keywords = ["shuttle-service", "opendal"] async-trait = "0.1.56" opendal = "0.45" serde = { version = "1", features = ["derive"] } -shuttle-service = { path = "../../service", version = "0.48.0" } +shuttle-service = { path = "../../service", version = "0.49.0" } [dev-dependencies] tokio = { version = "1.28.2", features = ["rt-multi-thread", "macros"] } diff --git a/resources/persist/Cargo.toml b/resources/persist/Cargo.toml index 72d9628dd..1a68c5126 100644 --- a/resources/persist/Cargo.toml +++ b/resources/persist/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-persist" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Plugin for persist objects" @@ -11,5 +11,5 @@ keywords = ["shuttle-service", "persistence"] async-trait = "0.1.56" bincode = "1.2.1" serde = { version = "1", features = ["derive"] } -shuttle-service = { path = "../../service", version = "0.48.0" } +shuttle-service = { path = "../../service", version = "0.49.0" } thiserror = "2" diff --git a/resources/qdrant/Cargo.toml b/resources/qdrant/Cargo.toml index 3bb367e41..56469d0d0 100644 --- a/resources/qdrant/Cargo.toml +++ b/resources/qdrant/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-qdrant" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Shuttle plugin for connecting to a Qdrant database" @@ -12,4 +12,4 @@ async-trait = "0.1.56" qdrant-client = "1.10.1" serde = { version = "1", features = ["derive"] } serde_json = "1" -shuttle-service = { path = "../../service", version = "0.48.0" } +shuttle-service = { path = "../../service", version = "0.49.0" } diff --git a/resources/shared-db/Cargo.toml b/resources/shared-db/Cargo.toml index e7798a063..cc5119d06 100644 --- a/resources/shared-db/Cargo.toml +++ b/resources/shared-db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-shared-db" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Plugin for managing shared databases on shuttle" @@ -13,7 +13,7 @@ diesel-async = { version = "0.4.1", optional = true } mongodb = { version = "2.3.0", optional = true } serde = { version = "1", features = ["derive"] } serde_json = "1" -shuttle-service = { path = "../../service", version = "0.48.0" } +shuttle-service = { path = "../../service", version = "0.49.0" } sqlx = { version = "0.8.2", optional = true } [features] diff --git a/resources/turso/Cargo.toml b/resources/turso/Cargo.toml index a20647c1d..1d4874575 100644 --- a/resources/turso/Cargo.toml +++ b/resources/turso/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-turso" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Plugin to obtain a client connected to a Turso database" @@ -12,7 +12,7 @@ async-trait = "0.1.56" dunce = "1.0.4" libsql = { version = "0.3.1", default-features = false, features = ["core", "remote"] } serde = { version = "1", features = ["derive"] } -shuttle-service = { path = "../../service", version = "0.48.0" } +shuttle-service = { path = "../../service", version = "0.49.0" } url = { version = "2.3.1", features = ["serde"] } [dev-dependencies] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index e3672378d..6d151985a 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-runtime" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/runtime/README.md b/runtime/README.md index 693488739..3211d2c12 100644 --- a/runtime/README.md +++ b/runtime/README.md @@ -29,8 +29,8 @@ be a binary crate with a few dependencies including `shuttle-runtime` and `shutt ```toml axum = "0.7.3" -shuttle-axum = "0.48.0" -shuttle-runtime = "0.48.0" +shuttle-axum = "0.49.0" +shuttle-runtime = "0.49.0" tokio = "1.28.2" ``` diff --git a/service/Cargo.toml b/service/Cargo.toml index db11cfcb5..cf5603097 100644 --- a/service/Cargo.toml +++ b/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-service" -version = "0.48.0" +version = "0.49.0" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/services/shuttle-actix-web/Cargo.toml b/services/shuttle-actix-web/Cargo.toml index bf5914aed..774f5c531 100644 --- a/services/shuttle-actix-web/Cargo.toml +++ b/services/shuttle-actix-web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-actix-web" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run an actix webserver on shuttle" @@ -12,4 +12,4 @@ keywords = ["shuttle-service", "actix"] [dependencies] actix-web = "4.3.1" num_cpus = "1.15.0" -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } diff --git a/services/shuttle-axum/Cargo.toml b/services/shuttle-axum/Cargo.toml index a1872b551..40d12ad48 100644 --- a/services/shuttle-axum/Cargo.toml +++ b/services/shuttle-axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-axum" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run an axum webserver on shuttle" @@ -12,7 +12,7 @@ keywords = ["shuttle-service", "axum"] [dependencies] axum = { version = "0.7.3", optional = true } axum-0-6 = { package = "axum", version = "0.6.13", optional = true } -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } [features] default = ["axum"] diff --git a/services/shuttle-axum/README.md b/services/shuttle-axum/README.md index dd52aeedb..5a2d6ae66 100644 --- a/services/shuttle-axum/README.md +++ b/services/shuttle-axum/README.md @@ -6,7 +6,7 @@ Axum 0.6 is supported by using these feature flags: ```toml,ignore axum = "0.6.0" -shuttle-axum = { version = "0.48.0", default-features = false, features = ["axum-0-6"] } +shuttle-axum = { version = "0.49.0", default-features = false, features = ["axum-0-6"] } ``` ### Example diff --git a/services/shuttle-poem/Cargo.toml b/services/shuttle-poem/Cargo.toml index 2ce8a8d99..bdca2934a 100644 --- a/services/shuttle-poem/Cargo.toml +++ b/services/shuttle-poem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-poem" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run a poem webserver on shuttle" @@ -11,4 +11,4 @@ keywords = ["shuttle-service", "poem"] [dependencies] poem = "3.0.0" -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } diff --git a/services/shuttle-rocket/Cargo.toml b/services/shuttle-rocket/Cargo.toml index 1700d23de..eeda69989 100644 --- a/services/shuttle-rocket/Cargo.toml +++ b/services/shuttle-rocket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-rocket" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run a rocket webserver on shuttle" @@ -11,4 +11,4 @@ keywords = ["shuttle-service", "rocket"] [dependencies] rocket = "0.5.0" -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } diff --git a/services/shuttle-salvo/Cargo.toml b/services/shuttle-salvo/Cargo.toml index c29ad54e8..4d2ea45f3 100644 --- a/services/shuttle-salvo/Cargo.toml +++ b/services/shuttle-salvo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-salvo" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run a salvo webserver on shuttle" @@ -11,4 +11,4 @@ keywords = ["shuttle-service", "salvo"] [dependencies] salvo = "0.63.0" -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } diff --git a/services/shuttle-serenity/Cargo.toml b/services/shuttle-serenity/Cargo.toml index e66324713..fbbe7a991 100644 --- a/services/shuttle-serenity/Cargo.toml +++ b/services/shuttle-serenity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-serenity" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run a serenity server on shuttle" @@ -12,7 +12,7 @@ keywords = ["shuttle-service", "serenity"] [dependencies] serenity = { version = "0.12", default-features = false, features = ["client", "gateway", "model"], optional = true } serenity-0-11 = { package = "serenity", version = "0.11.7", default-features = false, features = ["client", "gateway", "model"], optional = true } -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } [features] default = ["rustls_backend"] diff --git a/services/shuttle-serenity/README.md b/services/shuttle-serenity/README.md index 9c23e3cdd..7123cef61 100644 --- a/services/shuttle-serenity/README.md +++ b/services/shuttle-serenity/README.md @@ -6,7 +6,7 @@ Serenity 0.11 is supported by using these feature flags (native TLS also availab ```toml,ignore serenity = { version = "0.11.7", features = ["..."] } -shuttle-serenity = { version = "0.48.0", default-features = false, features = ["serenity-0-11-rustls_backend"] } +shuttle-serenity = { version = "0.49.0", default-features = false, features = ["serenity-0-11-rustls_backend"] } ``` ### Example diff --git a/services/shuttle-thruster/Cargo.toml b/services/shuttle-thruster/Cargo.toml index 749304514..a152f50f5 100644 --- a/services/shuttle-thruster/Cargo.toml +++ b/services/shuttle-thruster/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-thruster" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run a thruster webserver on shuttle" @@ -11,7 +11,7 @@ keywords = ["shuttle-service", "thruster"] [dependencies] thruster = "1.3.0" -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } [dev-dependencies] thruster = { version = "1.3.0", features = ["hyper_server"] } diff --git a/services/shuttle-tide/Cargo.toml b/services/shuttle-tide/Cargo.toml index 062dc0536..bf3049b1e 100644 --- a/services/shuttle-tide/Cargo.toml +++ b/services/shuttle-tide/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-tide" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run a tide webserver on shuttle" @@ -14,4 +14,4 @@ keywords = ["shuttle-service", "tide"] # https://github.com/http-rs/tide/issues/791 async-std = { version = "1.12.0", features = ["tokio1"] } tide = "0.16.0" -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } diff --git a/services/shuttle-tower/Cargo.toml b/services/shuttle-tower/Cargo.toml index f4c3420c0..fc46f3168 100644 --- a/services/shuttle-tower/Cargo.toml +++ b/services/shuttle-tower/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-tower" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run a tower webserver on shuttle" @@ -11,5 +11,5 @@ keywords = ["shuttle-service", "tower"] [dependencies] hyper = { version = "0.14.23", features = ["server", "tcp", "http1"] } -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false } tower = { version = "0.4.13", features = ["make"] } diff --git a/services/shuttle-warp/Cargo.toml b/services/shuttle-warp/Cargo.toml index b60b91d71..5c24ad987 100644 --- a/services/shuttle-warp/Cargo.toml +++ b/services/shuttle-warp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shuttle-warp" -version = "0.48.0" +version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Service implementation to run a warp webserver on shuttle" @@ -11,4 +11,4 @@ keywords = ["shuttle-service", "warp"] [dependencies] warp = "0.3.3" -shuttle-runtime = { path = "../../runtime", version = "0.48.0", default-features = false } +shuttle-runtime = { path = "../../runtime", version = "0.49.0", default-features = false }