Skip to content

TerraManager v1.10.0 - Shedding History

Choose a tag to compare

@CodefrogCF CodefrogCF released this 21 Sep 08:51
· 93 commits to main since this release

TerraManager v1.10.0 replaces the previous free-form Animal shedding note with a complete timestamped shedding-history workflow.

Highlights

  • add timestamped shedding events to Animals
  • store optional notes for every shedding event
  • add shedding events directly from Animal Details
  • add and review shedding events from Edit Animal
  • dedicated reverse-chronological shedding history
  • edit existing shedding entries
  • delete individual shedding entries with confirmation
  • show the latest shedding directly on Animal Details
  • retain complete shedding history when an Animal is archived

Data migration

Database Schema Version 15 introduces the new SheddingEvents table.

Existing Animal.sheddingNotes data is migrated automatically:

  • every non-empty legacy shedding note becomes one SheddingEvent
  • the Animal's existing updatedAt timestamp is used because legacy notes did not contain a shedding date
  • whitespace-only values are ignored
  • the old Animal field is cleared after migration
  • the legacy database column remains available for compatibility with older databases and backups

No existing shedding information is intentionally discarded during the migration.

Backup & Restore

Portable Backup Format Version 2 remains unchanged and backward compatible.

Current backups now include complete shedding histories, including:

  • event IDs
  • shedding timestamps
  • optional notes
  • creation timestamps
  • update timestamps

Older backups that contain only the legacy sheddingNotes field remain supported. During restore, TerraManager converts that value into one shedding-history entry when no explicit shedding history exists.

Archived Animals retain their shedding history through backup and restore.

Animal workflows

New Animal and Animal duplication no longer create or copy legacy shedding-note values.

Shedding documentation is now handled entirely through the dedicated history model.

This keeps Animal profile data separate from chronological husbandry records and brings shedding documentation in line with TerraManager's existing Feeding and Weight history workflows.

Compatibility

  • Android: supported
  • Web: supported
  • iOS: not yet validated
  • Database Schema Version: 15
  • Portable Backup Format Version: 2
  • existing backups remain restorable

Quality

The release includes repository, database-migration, backup and widget regression coverage for:

  • shedding creation
  • editing
  • deletion
  • reverse-chronological ordering
  • latest-shedding display
  • legacy data migration
  • archived Animal retention
  • backup export and restore
  • legacy backup compatibility
  • Animal Details integration
  • Edit Animal integration
  • New Animal regression
  • Animal duplication regression

Final validation completed with:

flutter analyze
flutter test

Both complete successfully.


TerraManager remains local-first. Shedding history is stored locally alongside the rest of the collection data and introduces no new account, cloud, tracking, advertising or network requirement.