Goal
What this is for
- Tell the user that a newer version is available
- Guide the user to the official website
- Keep update notice separate from the actual update process
Hachiko checks a public latest.json file to determine whether a newer version is available.
The update dialog is designed to tell the user that a new version exists and open the official website.
Related document: Local API Guide (currently available in Japanese)
latest.json
Hachiko reads a public update manifest JSON file.
The current public URL is https://hachiko.ritoa.jp/latest.json.
{
"latest_version": "0.1.2",
"published_at": "2026-06-18T00:00:00Z",
"message": "Hachiko 0.1.2 is now available.",
"release_notes_url": "update-guide.html",
"store_product_url": "",
"store_product_id": ""
}
| Field | Required | Description |
|---|---|---|
latest_version |
Yes | The newest version number. |
published_at |
Yes | The publish timestamp. |
message |
Yes | A short message shown in the update dialog. |
release_notes_url |
Yes | The normal destination. Relative paths and absolute URLs are both supported. |
store_product_url |
No | A reserved fallback field for possible future use. |
store_product_id |
No | A reserved fallback field for possible future use. |
store_product_url if presentstore_product_id as a fallback helper link if presentrelease_notes_url
In the current Hachiko setup, step 3 is normally used and points users to
https://hachiko.ritoa.jp/.
The update dialog is treated as a website entry point rather than the updater itself.
A new version is available. Open the official page?
update.enabledupdate.manifest_urlupdate.check_on_start
The current default manifest URL is https://hachiko.ritoa.jp/latest.json.