changelog
¶
Changelog API for the Dojo footer's "What's Changed" button.
ChangelogEntryOut
¶
Bases: ChangelogEntry
ChangelogResponse
¶
Bases: BaseModel
latest_version
instance-attribute
¶
latest_version: str | None
The newest version named in the changelog, or None if no changelog could be loaded.
update_available
instance-attribute
¶
update_available: bool
Whether latest_version is newer than installed_version - independent of is_new/acknowledgment, and true across restarts until the user actually upgrades.
is_localhost
instance-attribute
¶
is_localhost: bool
Whether this request came from the machine running Dojo - the What's Changed toggle only writes to settings.toml when this is true, same restriction as the Settings panel.
source
class-attribute
instance-attribute
¶
source: ChangelogSource | None = None
Where entries came from: remote (GitHub, just now), cache (the copy saved by an earlier fetch) or bundled (the changelog that ships with the installed package). Only remote is known to be current. None when no changelog could be loaded at all.
mark_changelog_seen
async
¶
Acknowledges body.version (the modal's own latest_version, echoed back on close), so it and everything older stop being flagged is_new and stop triggering the auto-open, on this launch and every future one, until a genuinely newer version appears.