From c4aa4f04f2fe8c8a2d104c40ed41878182279cfc Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Fri, 12 Jul 2024 10:44:06 +0200 Subject: [PATCH] http: Update crate to 0.14.0 and api version to 3.0.0 --- config/default.json | 2 +- radicle-httpd/Cargo.lock | 2 +- radicle-httpd/Cargo.toml | 2 +- radicle-httpd/src/api.rs | 2 +- tests/support/radicle-httpd-release | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/default.json b/config/default.json index b4b07826e..64bf5aefa 100644 --- a/config/default.json +++ b/config/default.json @@ -1,7 +1,7 @@ { "nodes": { "fallbackPublicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path", - "apiVersion": "2.0.0", + "apiVersion": "3.0.0", "defaultHttpdPort": 443, "defaultHttpdHostname": "seed.radicle.garden", "defaultHttpdScheme": "https", diff --git a/radicle-httpd/Cargo.lock b/radicle-httpd/Cargo.lock index ca6ddfb77..5d12e60bd 100644 --- a/radicle-httpd/Cargo.lock +++ b/radicle-httpd/Cargo.lock @@ -1708,7 +1708,7 @@ dependencies = [ [[package]] name = "radicle-httpd" -version = "0.13.0" +version = "0.14.0" dependencies = [ "anyhow", "axum", diff --git a/radicle-httpd/Cargo.toml b/radicle-httpd/Cargo.toml index bbd37faea..fb08cae19 100644 --- a/radicle-httpd/Cargo.toml +++ b/radicle-httpd/Cargo.toml @@ -3,7 +3,7 @@ name = "radicle-httpd" description = "Radicle HTTP daemon" homepage = "https://radicle.xyz" license = "MIT OR Apache-2.0" -version = "0.13.0" +version = "0.14.0" authors = ["cloudhead "] edition = "2021" default-run = "radicle-httpd" diff --git a/radicle-httpd/src/api.rs b/radicle-httpd/src/api.rs index a3a0ef21d..86671b493 100644 --- a/radicle-httpd/src/api.rs +++ b/radicle-httpd/src/api.rs @@ -31,7 +31,7 @@ use crate::Options; pub const RADICLE_VERSION: &str = env!("RADICLE_VERSION"); // This version has to be updated on every breaking change to the radicle-httpd API. -pub const API_VERSION: &str = "2.0.0"; +pub const API_VERSION: &str = "3.0.0"; #[derive(Clone)] pub struct Context { diff --git a/tests/support/radicle-httpd-release b/tests/support/radicle-httpd-release index 51de3305b..0548fb4e9 100644 --- a/tests/support/radicle-httpd-release +++ b/tests/support/radicle-httpd-release @@ -1 +1 @@ -0.13.0 \ No newline at end of file +0.14.0 \ No newline at end of file