1 Changelog V1.21.17
Forgejo Actions edited this page 2026-09-25 16:38:07 +00:00

v1.21.17

Date: 2026-07-21

Refactor

  • Discovery thumbnail pipeline now fully generic. Single job type generate_discovery_thumbnail replaces generate_face_thumbnail and generate_plant_thumbnail. Single enqueue method replaces per-domain methods. Generic endpoint /api/media/{id}/instances/{classInstanceId}/thumbnail replaces face/plant-specific endpoints. Old methods marked @Deprecated, kept functional for transition.
  • Face occurrence bounding boxes now stored in class_instance_occurrences.occurrence_ref.scope (was only in discovery_results.scope). V119 migration backfills existing data. Code: ClassInstanceDiscoveryService.upsertCandidateOccurrence() enriches new occurrences automatically.

Notes

  • Closes #666
  • Phase 2 (remove deprecated methods) is follow-up after transition period
  • Cosmetic: toInstanceView() at L1207 still uses /plants/ URL — non-blocking, both endpoints work