From 30647fbb262f79a86b0b65a568685c3821e3e7ff Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Wed, 28 Aug 2024 16:26:16 +0200 Subject: [PATCH] Update heartwood and radicle-httpd releases --- config/default.json | 2 +- radicle-httpd/src/api.rs | 2 +- tests/e2e/node.spec.ts | 2 +- tests/support/fixtures.ts | 6 ++++++ tests/support/heartwood-release | 2 +- tests/support/radicle-httpd-release | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/config/default.json b/config/default.json index 5c8e19a2a..93b02c342 100644 --- a/config/default.json +++ b/config/default.json @@ -1,7 +1,7 @@ { "nodes": { "fallbackPublicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path", - "apiVersion": "5.0.0", + "apiVersion": "6.0.0", "defaultHttpdPort": 443, "defaultHttpdScheme": "https" }, diff --git a/radicle-httpd/src/api.rs b/radicle-httpd/src/api.rs index 8d6ced1f2..04a424554 100644 --- a/radicle-httpd/src/api.rs +++ b/radicle-httpd/src/api.rs @@ -33,7 +33,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 = "5.0.0"; +pub const API_VERSION: &str = "6.0.0"; #[derive(Clone)] pub struct Context { diff --git a/tests/e2e/node.spec.ts b/tests/e2e/node.spec.ts index 80b299c7b..75dd026b8 100644 --- a/tests/e2e/node.spec.ts +++ b/tests/e2e/node.spec.ts @@ -22,7 +22,7 @@ test("node metadata", async ({ page, peerManager }) => { await page.goto(peer.uiUrl()); await expect(page.getByText(shortNodeRemote).first()).toBeVisible(); - await expect(page.getByText("/radicle:1.0.0-rc.13/")).toBeVisible(); + await expect(page.getByText("/radicle:1.0.0-rc.16/")).toBeVisible(); }); test("node repos", async ({ page }) => { diff --git a/tests/support/fixtures.ts b/tests/support/fixtures.ts index 50bd95518..8fbd43363 100644 --- a/tests/support/fixtures.ts +++ b/tests/support/fixtures.ts @@ -282,6 +282,7 @@ export async function createCobsFixture(peer: RadiclePeer) { "--message", "This is a multiline comment\n\nWith some more text.", "--quiet", + "--no-announce", ], createOptions(repoFolder, 2), ); @@ -301,6 +302,7 @@ export async function createCobsFixture(peer: RadiclePeer) { "--reply-to", commentIssueOne, "--quiet", + "--no-announce", ], createOptions(repoFolder, 3), ); @@ -318,6 +320,7 @@ export async function createCobsFixture(peer: RadiclePeer) { "--message", "A root level comment after a reply, for margins sake.", "--quiet", + "--no-announce", ], createOptions(repoFolder, 4), ); @@ -376,6 +379,7 @@ export async function createCobsFixture(peer: RadiclePeer) { "--reply-to", commentPatchOne, "--quiet", + "--no-announce", ], createOptions(repoFolder, 2), ); @@ -389,6 +393,7 @@ export async function createCobsFixture(peer: RadiclePeer) { "--reply-to", commentPatchOne, "--quiet", + "--no-announce", ], createOptions(repoFolder, 3), ); @@ -414,6 +419,7 @@ export async function createCobsFixture(peer: RadiclePeer) { "--reply-to", commentTwo, "--quiet", + "--no-announce", ], createOptions(repoFolder, 5), ); diff --git a/tests/support/heartwood-release b/tests/support/heartwood-release index 746c7afa6..f9ed1a095 100644 --- a/tests/support/heartwood-release +++ b/tests/support/heartwood-release @@ -1 +1 @@ -1.0.0-rc.13 \ No newline at end of file +1.0.0-rc.16 \ No newline at end of file diff --git a/tests/support/radicle-httpd-release b/tests/support/radicle-httpd-release index d183d4ace..07feb8234 100644 --- a/tests/support/radicle-httpd-release +++ b/tests/support/radicle-httpd-release @@ -1 +1 @@ -0.16.0 \ No newline at end of file +0.17.0 \ No newline at end of file