From ce842b0ca413eef488bf2262274654f36d83fb14 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Fri, 28 Jun 2024 14:11:52 +0200 Subject: [PATCH] Update api version to 1.2.0 In the node endpoint the version field has been renamed to agent --- config/default.json | 2 +- radicle-httpd/src/api.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/default.json b/config/default.json index 6f92bbbec..ce446f015 100644 --- a/config/default.json +++ b/config/default.json @@ -1,7 +1,7 @@ { "nodes": { "fallbackPublicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path", - "apiVersion": "1.1.0", + "apiVersion": "1.2.0", "defaultHttpdPort": 443, "defaultLocalHttpdPort": 8080, "defaultHttpdHostname": "seed.radicle.garden", diff --git a/radicle-httpd/src/api.rs b/radicle-httpd/src/api.rs index d561fc284..8ab7edfa4 100644 --- a/radicle-httpd/src/api.rs +++ b/radicle-httpd/src/api.rs @@ -36,7 +36,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 = "1.1.0"; +pub const API_VERSION: &str = "1.2.0"; /// Identifier for sessions type SessionId = String;