LibreChat/client
Marco Beretta 4e0f242557
⚡ fix: Parallelize Setup Cancel Lookups and Keep Attachment Drafts on Reload (#17963)
* fix: Read the Account and Session Together and Test Cancel on a Real Database

- Start the setup user and refresh session lookups together in the cancel controller instead of one after the other, as the opt-in confirmation already does
- Run the cancel controller spec on mongodb-memory-server with the real data-schemas methods, so the session and compare-and-swap predicates under test are the production ones, and add a negative case for each
- Keep only a module wiring test in the CJS controller spec, since the database behavior is now covered where it can run for real

* test: Pin the Cancel Response When the Session Lookup Fails

Both lookups now run before any cookie or write, so a failed session lookup answers 500 with the browser and the stored state untouched. Cover that on the real database.

* fix: Keep the Saved Files Draft Until the File List Loads

After a reload the live file map is empty until the server's file list arrives, and the restore that rebuilds it needs that list. The save effect rewrote the stored draft from the empty map in between, so a pasted-text chip or any other attachment was gone before it could be restored. It now waits for the list. This is what turned the composer-attachments restore scenario red on dev.
2026-11-09 21:57:01 +01:00
..
public 🐛 fix: Restore MCP App Rendering and Actions (#16382) 2026-10-16 13:27:29 -07:00
src ⚡ fix: Parallelize Setup Cancel Lookups and Keep Attachment Drafts on Reload (#17963) 2026-11-09 21:57:01 +01:00
sw
test 🪟 feat: Add Welcome Footer and Response Author Options and Tidy the Chat Chrome (#17879) 2026-11-08 14:57:59 +01:00
babel.config.cjs 🧹 chore: Clear the Whole-Repo Lint Errors on Dev (#17702) 2026-11-01 01:23:47 +01:00
check_updates.sh
index.html ↔️ fix: Follow the Interface Direction in Radix, the Composer and First Paint (#17264) 2026-10-19 23:10:06 +02:00
jest.config.cjs 🐣 chore: Prepare v0.8.9-rc1 Release (#17336) 2026-10-22 08:56:53 +00:00
jest.resolver.cjs
nginx.conf
package.json ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
postcss.config.cjs
tailwind.config.cjs 📊 refactor: Move the Context Usage Popover Into @librechat/chat (#17799) 2026-11-05 22:36:51 +01:00
tsconfig.json
vite.config.ts 🧩 fix: Match Vendor Chunk Rules Against the Module Path, Not the Checkout (#17921) 2026-11-09 00:48:32 +01:00