github ProphetSe7en/clonarr v2.2.2

latest releases: v3.2.1, v3.2.0, v3.1.0...
one month ago

UX patch covering two data-loss-prone code paths and a couple of quality-of-life fixes around custom format handling.

Fixes

  • Custom format filenames preserve ! prefix. sanitizeFilename previously stripped ! from CF names, so !FLUX and FLUX collided to the same target file (flux-radarr.json) and one silently overwrote the other. ! is safe on every filesystem we support and is a very common convention for user-authored CFs (TRaSH-style sort-to-top). After this release !FLUX lives at !flux-radarr.json and FLUX at flux-radarr.json — no collision. Existing files migrate on next startup. Regression test: TestFileStore_PreservesBangPrefix.
  • Auto-sync toggle no longer rewrites the rule. When the Auto-sync this profile checkbox in the sync modal was toggled, toggleAutoSyncForProfile PUT the entire rule with whatever the current sync form had. If the user reached the modal via Save & Sync on a TRaSH profile (fresh defaults — no extra CFs, no overrides loaded), a single toggle click silently replaced the rule's saved customizations with empty state. The handler now only modifies the enabled flag; customizations are edited only through the Apply path or the Edit-pencil in the Sync Rules list.
  • "Showing X Custom Formats" counter on the Custom Formats tab read the wrong field on the category objects (c.cfs?.length instead of c.totalCFs) and so always rendered 0. Now reflects the real total across TRaSH categories + your own custom CFs.

UX

  • Sync modal defaults to "Create new profile" when opened from the profile list. Previously it auto-flipped to "Update existing profile" if any sync history matched the TRaSH profile, which silently put the user in overwrite mode. The Edit-pencil flow on a sync rule still flips to update automatically (that's its purpose).
  • Confirmation dialog before overwriting an existing sync rule. When the user explicitly picks "Update existing profile" and clicks Apply, a modal now describes what will be overwritten ("the saved rule with N CFs and M score overrides will be replaced") and offers to cancel and use the Edit pencil instead. The Edit-pencil flow itself doesn't show this dialog — overwriting is the explicit intent there.

Full changelog

Don't miss a new clonarr release

NewReleases is sending notifications on new releases.