LibreChat/packages
Danny Avila 3200f0133a
🚫 fix: Decline to Name a Heif Container With Unreported Compression (#15612)
`resolveImageMimeType` returned `image/heic` for any heif container whose
compression was not `av1`, which included the case where sharp reported no
compression at all. `Metadata.compression` is optional, so unreported is a real
outcome, and answering it with HEIC is a guess — an AVIF read back without its
compression would be recorded as HEIC.

That is the failure #15606 exists to prevent, reproduced inside the fix for it,
and it contradicted the documented contract of returning `undefined` rather than
naming bytes that cannot be identified.

Unreported or unrecognized compression now yields `undefined`, which leaves
`saveBase64Image` on the declared type: still only a claim, but the caller's
claim rather than one invented here.
2026-09-04 13:50:02 -04:00
..
api 🚫 fix: Decline to Name a Heif Container With Unreported Compression (#15612) 2026-09-04 13:50:02 -04:00
client style(insights): give panels their own surface in dark mode (#15552) 2026-09-04 18:17:48 +02:00
data-provider 🚰 fix: Throttle Shared Link Reads and Aggregate Audit Findings (#15605) 2026-09-04 12:38:34 -04:00
data-schemas 🍃 test: Restore Sweep Coverage of Typed-Criteria Methods (#15609) 2026-09-04 12:58:41 -04:00