Skip to content

Conversation

@PierreVieira
Copy link
Member

This commit addresses a bug that could cause a user's reading progress to be lost after an update. This is resolved by defining default values for new columns in the database schema, ensuring data integrity during migrations.

  • Incremented the Room database version from 5 to 6 and added an auto-migration.
  • Set default values for isRead and isFavorite in BookEntity.
  • Specified a default value for readingPlanType and isRead in DayEntity.
  • Added release notes for version 1.8.1 in English, Spanish, and Portuguese to inform users about the fix.

This commit addresses a bug that could cause a user's reading progress to be lost after an update. This is resolved by defining default values for new columns in the database schema, ensuring data integrity during migrations.

- Incremented the Room database version from 5 to 6 and added an auto-migration.
- Set default values for `isRead` and `isFavorite` in `BookEntity`.
- Specified a default value for `readingPlanType` and `isRead` in `DayEntity`.
- Added release notes for version 1.8.1 in English, Spanish, and Portuguese to inform users about the fix.
@PierreVieira PierreVieira self-assigned this Jan 12, 2026
This commit introduces and begins tracking the JSON schema files for Room database auto-migrations. Tracking these files is essential for managing database schema evolution and ensuring smooth upgrades.

- Added schema definitions for database versions 1 through 6.
- Removed the corresponding path from `.gitignore` to allow the schema files to be committed to version control.
@PierreVieira PierreVieira merged commit 4521480 into main Jan 13, 2026
1 check passed
@PierreVieira PierreVieira deleted the prevent-reading-progress-loss-after-update branch January 13, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants