New features
-
Common. App status: announcements in more than one language. A message in
status.jsoncan now be a map of language to message, alongside the plain string it has always accepted:"messages": { "1.0.0": "Here is the **important** announcement for this version", "1.0.1": { "en": "You should update XYZ", "it": "Dovresti aggiornare XYZ" } }
Each user reads their own language, falling back on the app's default. The two forms are interchangeable and can share the same file, so nothing has to change in existing projects. See the App status how-to.
Fixes
- Common. App status: versions are compared as versions, not as text.
minVersionandlatestVersionwere compared as strings, so4.5.10read as older than4.5.5, and4.10.0as older than4.9.0. OnminVersionthat meant a forced update silently not firing. They are now compared segment by segment as numbers, with missing parts counting as zero, so4.6and4.6.0are the same version. - Common. A
status.jsonwithout themessageskey no longer breaks the check. It threw aTypeErrorthatcheck()swallowed into an empty status: the file looked fine while maintenance mode and forced update were quietly ignored.