LibreChat/packages
Marco Beretta adb17c83f8
fix: load app config on remaining retention-relevant routes
The messages routes (branch, artifact, post), share-link create/patch, and
the agent chat-abort route read req.config.interfaceConfig but never ran
configMiddleware, so req.config was undefined and retention was skipped.
Under ephemeral (and all) this let branched/edited/aborted messages and
shared links persist without isTemporary/expiredAt, outliving the chat.

Apply configMiddleware to those routes so retention is enforced
consistently. Add a getSharedLinkExpiration ephemeral test and keep route
test middleware mocks in sync.
2026-06-23 16:40:57 +02:00
..
api fix: load app config on remaining retention-relevant routes 2026-06-23 16:40:57 +02:00
client 🏷️ chore: Bump Individual Package Versions (#13891) 2026-06-22 09:54:19 -04:00
data-provider feat: add ephemeral retention mode for forced temporary chats 2026-06-23 16:40:21 +02:00
data-schemas feat: add ephemeral retention mode for forced temporary chats 2026-06-23 16:40:21 +02:00