Repository navigation
v2.5.8: Shorter Alarm Durations, Backup Data Loss Fixes, and Cross-Platform Parity
v2.5.8: Shorter Alarm Durations, Backup Data Loss Fixes, and Cross-Platform Parity
Summary of Changes
Release v2.5.8 introduces shorter alarm ring duration options ("Ring Once" and "15 Seconds"), fixes critical data loss during backup restoration where dose notes and user preferences were omitted, resolves a schedule dosage desynchronization bug when editing medications, fixes undoing as-needed (PRN) doses, achieves 100% translation and format specifier parity across all 12 locales, and aligns the cross-platform OpenAPI 3.0 specification with Android Room database models.
⚠️ Note for existing GitHub APK users:
Because Dosezy v2.4.2+ transitions to our official production release signing key (required for Google Play), updating directly over older debug-signed APKs requires a quick backup & reinstall:
- In Dosezy, go to Menu → Backup & Restore and tap Export/Create Backup.
- Uninstall the older version.
- Install the new v2.5.8 APK.
- Go to Menu → Backup & Restore and tap Restore Backup to restore all profiles, medicines, and history in 1 tap.
📱 Patient App (Android)
- Shorter Alarm Ring Duration Options:
- Added Ring Once (
-1) and 15 Seconds (15s) options to Alarm Ring Duration preferences, complementing existing continuous, 30s, 1m, 2m, and 5m options. - Implemented single-shot audio completion listener for
MediaPlayerandRingtoneManageralong with single-pulse vibration waveforms (repeatIndex = -1) when "Ring Once" is selected. - Fully translated duration labels across all 12 supported locales.
- Added Ring Once (
- Fix Backup Restore Data Loss:
- Resolved a critical data omission in
BackupRestoreManager.parseUserFromJson()whereallowDoseSkipping,allowCustomDoseTime,hideAddMedicineNavButton,allowDoseUndo,allowDoseNotes, andpromptDoseNoteswere not deserialized, causing restored profiles to silently reset preferences. - Fixed
parseSchedulesFromJson()to restoredoseNotes, ensuring patient symptom notes, food context, and meal records are fully preserved across backup cycles.
- Resolved a critical data omission in
- Fix Schedule Dosage Desynchronization on Medicine Edit:
- Updated
MedicineRepository.updateMedicine()to detect changes indosageandcustomDosages. - Modifying a medication's dosage or time-slot amounts now immediately regenerates future pending schedule entries with the updated dosage.
- Updated
- Fix As-Needed (PRN) Dose Undo:
- Fixed
ScheduleRepository.undoDoseTaken()to delete dynamicPRN_entries from Room rather than resetting them toPENDING, eliminating phantom pending records on the home screen.
- Fixed
- Data Exporter Parity:
- Updated
DataExporter.buildJsonContent()to export all user preferences, custom dosages, schedule dosages, and dose notes. - Added
DosageandDose Notescolumns to theSCHEDULESsection inbuildCsvContent().
- Updated
- Locales and Translations 100% Parity:
- Re-aligned
import_profiles_foundacross all 11 translated locales to match English non-parameterized text. - Escaped single apostrophes in French and Italian (
l\'archive,nell\'archivio) to prevent resource compilation errors. - Added
formatted="false"across all 12 locales for strings containing literal percentage signs.
- Re-aligned
🔌 API & Cross-Platform Parity
- OpenAPI 3.0 Full Schema Parity:
- Added
allowDoseNotestoUserandUserCreateInputschemas inapi/openapi.yaml. - Updated
alarmDurationSecondsdescriptions to include-1(Ring Once) and15seconds. - Updated
api/README.mdto document complete 100% field mapping and bidirectional data mappers between Room database models and network DTOs. - Bumped
/healthcheck response example version to2.5.8.
- Added