Make changelog in version response optional (#5115)

* Make changelog on version routes optional

* fix clippy

* fix ci
This commit is contained in:
aecsocket
2026-01-14 10:55:20 +00:00
committed by GitHub
parent d055dc68dc
commit f85a2d3ec1
16 changed files with 199 additions and 54 deletions

View File

@@ -306,7 +306,8 @@ pub struct LegacyVersion {
pub featured: bool,
pub name: String,
pub version_number: String,
pub changelog: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub changelog: Option<String>,
pub changelog_url: Option<String>,
pub date_published: DateTime<Utc>,
pub downloads: u32,