From 551805370e88dfa172dce9b458b449627e312410 Mon Sep 17 00:00:00 2001 From: Matt Grogan Date: Thu, 18 Jul 2024 09:36:59 +0100 Subject: [PATCH] Post release (#6057) --- backend/canisters/community/CHANGELOG.md | 10 ++++++---- backend/canisters/group/CHANGELOG.md | 10 ++++++---- backend/canisters/local_group_index/impl/src/lib.rs | 8 ++++---- backend/canisters/local_user_index/impl/src/lib.rs | 4 ++-- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/backend/canisters/community/CHANGELOG.md b/backend/canisters/community/CHANGELOG.md index 9702bee2f8..b0c2163dcd 100644 --- a/backend/canisters/community/CHANGELOG.md +++ b/backend/canisters/community/CHANGELOG.md @@ -5,11 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [unreleased] +## [[2.0.1244](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1244-community)] - 2024-07-18 + ### Added - Support gates with multiple verifiable credentials ([#6029](https://github.com/open-chat-labs/open-chat/pull/6029)) - Allow UserIndex to send Group/Channel messages as the OpenChat Bot ([#6048](https://github.com/open-chat-labs/open-chat/pull/6048)) +### Changed + +- Added support for a bunch more achievements ([#6033](https://github.com/open-chat-labs/open-chat/pull/6033)) + ## [[2.0.1235](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1235-community)] - 2024-07-09 ### Added @@ -18,10 +24,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add `UniquePerson` access gate ([#5993](https://github.com/open-chat-labs/open-chat/pull/5993)) - Support composite access gates ([#5988](https://github.com/open-chat-labs/open-chat/pull/5988)) -### Changed - -- Added support for a bunch more achievements ([#6033](https://github.com/open-chat-labs/open-chat/pull/6033)) - ### Fixed - Allow changing casing of channel names ([#5999](https://github.com/open-chat-labs/open-chat/pull/5999)) diff --git a/backend/canisters/group/CHANGELOG.md b/backend/canisters/group/CHANGELOG.md index d9c6d80577..04a58876f5 100644 --- a/backend/canisters/group/CHANGELOG.md +++ b/backend/canisters/group/CHANGELOG.md @@ -5,11 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [unreleased] +## [[2.0.1245](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1245-group)] - 2024-07-18 + ### Added - Support gates with multiple verifiable credentials ([#6029](https://github.com/open-chat-labs/open-chat/pull/6029)) - Allow UserIndex to send Group/Channel messages as the OpenChat Bot ([#6048](https://github.com/open-chat-labs/open-chat/pull/6048)) +### Changed + +- Added support for a bunch more achievements ([#6033](https://github.com/open-chat-labs/open-chat/pull/6033)) + ## [[2.0.1234](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1234-group)] - 2024-07-09 ### Added @@ -18,10 +24,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add `UniquePerson` access gate ([#5993](https://github.com/open-chat-labs/open-chat/pull/5993)) - Support composite access gates ([#5988](https://github.com/open-chat-labs/open-chat/pull/5988)) -### Changed - -- Added support for a bunch more achievements ([#6033](https://github.com/open-chat-labs/open-chat/pull/6033)) - ## [[2.0.1195](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1195-group)] - 2024-06-06 ### Added diff --git a/backend/canisters/local_group_index/impl/src/lib.rs b/backend/canisters/local_group_index/impl/src/lib.rs index 85e3846ebf..44850ca060 100644 --- a/backend/canisters/local_group_index/impl/src/lib.rs +++ b/backend/canisters/local_group_index/impl/src/lib.rs @@ -84,11 +84,9 @@ impl RuntimeState { local_group_count: self.data.local_groups.len() as u64, local_community_count: self.data.local_communities.len() as u64, group_upgrades_completed: group_upgrades_metrics.completed, - group_upgrades_failed: group_upgrades_metrics.failed, group_upgrades_pending: group_upgrades_metrics.pending as u64, group_upgrades_in_progress: group_upgrades_metrics.in_progress as u64, community_upgrades_completed: community_upgrades_metrics.completed, - community_upgrades_failed: community_upgrades_metrics.failed, community_upgrades_pending: community_upgrades_metrics.pending as u64, community_upgrades_in_progress: community_upgrades_metrics.in_progress as u64, group_wasm_version: self.data.group_canister_wasm_for_new_canisters.wasm.version, @@ -109,6 +107,8 @@ impl RuntimeState { event_relay: event_relay_canister_id, internet_identity: self.data.internet_identity_canister_id, }, + group_upgrades_failed: group_upgrades_metrics.failed, + community_upgrades_failed: community_upgrades_metrics.failed, } } } @@ -213,11 +213,9 @@ pub struct Metrics { pub local_community_count: u64, pub canisters_in_pool: u16, pub group_upgrades_completed: u64, - pub group_upgrades_failed: Vec, pub group_upgrades_pending: u64, pub group_upgrades_in_progress: u64, pub community_upgrades_completed: u64, - pub community_upgrades_failed: Vec, pub community_upgrades_pending: u64, pub community_upgrades_in_progress: u64, pub group_wasm_version: BuildVersion, @@ -228,6 +226,8 @@ pub struct Metrics { pub community_upgrade_concurrency: u32, pub event_store_client_info: EventStoreClientInfo, pub canister_ids: CanisterIds, + pub group_upgrades_failed: Vec, + pub community_upgrades_failed: Vec, } #[derive(Serialize, Debug)] diff --git a/backend/canisters/local_user_index/impl/src/lib.rs b/backend/canisters/local_user_index/impl/src/lib.rs index 844c313305..a1f4558aff 100644 --- a/backend/canisters/local_user_index/impl/src/lib.rs +++ b/backend/canisters/local_user_index/impl/src/lib.rs @@ -181,7 +181,6 @@ impl RuntimeState { local_user_count: self.data.local_users.len() as u64, global_user_count: self.data.global_users.len() as u64, canister_upgrades_completed: canister_upgrades_metrics.completed, - canister_upgrades_failed: canister_upgrades_metrics.failed, canister_upgrades_pending: canister_upgrades_metrics.pending as u64, canister_upgrades_in_progress: canister_upgrades_metrics.in_progress as u64, user_wasm_version: self.data.user_canister_wasm_for_new_canisters.wasm.version, @@ -202,6 +201,7 @@ impl RuntimeState { event_relay: event_relay_canister_id, }, oc_secret_key_initialized: self.data.oc_secret_key_der.is_some(), + canister_upgrades_failed: canister_upgrades_metrics.failed, } } } @@ -316,7 +316,6 @@ pub struct Metrics { pub global_user_count: u64, pub canisters_in_pool: u16, pub canister_upgrades_completed: u64, - pub canister_upgrades_failed: Vec, pub canister_upgrades_pending: u64, pub canister_upgrades_in_progress: u64, pub user_wasm_version: BuildVersion, @@ -328,6 +327,7 @@ pub struct Metrics { pub event_store_client_info: EventStoreClientInfo, pub canister_ids: CanisterIds, pub oc_secret_key_initialized: bool, + pub canister_upgrades_failed: Vec, } #[derive(Serialize, Debug)]