๐ LibreChat v0.8.5-rc1
The v0.8.5-rc1 release of LibreChat
v0.8.5-rc1
What's Changed
๐๏ธ Highlights
- Admin Panel Foundation
- Per-principal (Roles & Groups) configuration overrides, Custom Roles & Groups, System Grants for admin-level access control
- Admin panel, available for testing here
- Context Compaction/Summarization
- Long-running agent conversations are automatically summarized to stay within context limits. Includes configurable triggers, context pruning of large tool results, and a new top-level
summarizationconfig. See Config v1.3.8.
- Long-running agent conversations are automatically summarized to stay within context limits. Includes configurable triggers, context pruning of large tool results, and a new top-level
- UI Redesign
- Redesigned sidebar with unified icon strip layout, including all panels (agent builder, prompts, etc.)
- Overhauled tool call UI with grouping/richer output rendering
- Refreshed Prompts UI
- Performance & MCP Improvements
- Pinned Model Specs: Users can now pin favorite model specs for quick access.
โจ Features
- ๐งฉ Redesign Tool Call UI with Contextual Icons, Smart Grouping, and Rich Output Rendering by @berry-13 in #12163
- ๐๏ธ DB-Backed Per-Principal Configuration Override System by @danny-avila in #12354
- ๐งต ALS Context Middleware and Config Cache Invalidation by @danny-avila in #12407
- ๐ฅ Admin Groups API Endpoints by @dustinhealy in #12387
- ๐ชช Admin Roles API Endpoints by @dustinhealy in #12400
- ๐ข Scoped App Config in Auth Login Flows by @danny-avila in #12434
- ๐๏ธ 3-Tier MCP Server Architecture with Config-Source Lazy Init by @danny-avila in #12435
- ๐๏ธ bulkWrite Isolation, Pre-Auth Context, Strict-Mode Fixes by @danny-avila in #12445
- โฉ๏ธ Admin Grants API Endpoints by @dustinhealy in #12438
- ๐ Model-Aware Bedrock Document Size Validation by @danny-avila in #12467
- ๐ Admin Auth Support for SAML and Social OAuth Providers by @danny-avila in #12472
- ๐จโ๐จโ๐ฆโ๐ฆ Admin Users API Endpoints by @dustinhealy in #12446
- ๐ Add Pin Support for Model Specs by @berry-13 in #11219
๐ Fixes
- ๐ Type-Safe User Context Forwarding for Non-OAuth Tool Discovery by @crossagent in #12348
- ๐ Resolve MeiliSearch Startup Sync Failure from Model Loading Order by @adityaarunsinghal in #12397
- ๐๏ธ Resolve User-Provided API Key in Agents API Flow by @ESJavadex in #12390
- ๐ธ Snapshot Options to Prevent Mid-Await Client Disposal Crash by @danny-avila in #12398
- ๐ Invalidate Message Cache on Stream 404 Instead of Showing Error by @danny-avila in #12411
- ๐ Robust MCP OAuth Detection in Tool-Call Flow by @danny-avila in #12418
- ๐ช Safe Hook Fallbacks for Tool-Call Components in Search Route by @danny-avila in #12423
- ๐ก๏ธ Add Origin Binding to Admin OAuth Exchange Codes by @danny-avila in #12469
- ๐ฐ Lazy-Initialize Balance Record at Check Time for Admin Panel Overrides by @danny-avila in #12474
- ๐ผ๏ธ Message Icon Flickering from Context-Triggered Re-renders by @danny-avila in #12489
- ๐ก๏ธ Restrict System Grants to Role Principals by @dustinhealy in #12491
- ๐๏ธ Allow Empty-Overrides Scope Creation in Admin Config by @danny-avila in #12492
- ๐ Strip Unnecessary Fields Across Write Paths in Conversation & Message Methods by @danny-avila in #12498
- ๐ Exclude Unnecessary Fields from Conversation
$unsetby @danny-avila in #12501 - ๐ Auth-Aware Startup Config Caching for Fresh Sessions by @danny-avila in #12505
- ๐ Pass recursionLimit to OpenAI-Compatible Agents API Endpoint by @danny-avila in #12510
- ๐๏ธ Sandpack ExternalResources for Static HTML Artifact Previews by @danny-avila in #12509
- ๐ฏ MCP Tool Misclassification from Action Delimiter Collision by @danny-avila in #12512
- ๐ Route Unrecognized File Types via supportedMimeTypes Config by @danny-avila in #12508
- ๐ช Allow Nested
addParamsin Config Schema by @danny-avila in #12526 - ๐ Strip
code_challengefrom Admin OAuth Requests Before Passport by @danny-avila in #12534 - ๐ Only Show Searchbar if Enabled by @dlew in #12424
- ๐จ Custom Role Permissions by @dustinhealy in #12528
- ๐ Properly Restore Draft Text When Switching Conversations by @dlew in #12384
- ๐ฃ๏ธ Prevent
@librechat/clientuseLocalize from Overwriting Host App Language State by @shtayeb in #12515 - ๐ Specify Explicit Primary Key for Meilisearch Document Operations by @danny-avila in #12542
- โป๏ธ Reuse Existing MCP OAuth Client Registrations to Prevent
client_idMismatch by @DenisPalnitsky in #11925 - ๐ซ Hide Delete Account Button When ALLOW_ACCOUNT_DELETION Is Disabled by @danny-avila in #12568
- ๐ฏ Use Resolved Provider for Agent Token Lookup on Custom Endpoints by @danny-avila in #12574
- ๐ Add Middleware to Admin OAuth Callback Routes by @dustinhealy in #12579
- ๐งฌ Merge Custom Endpoints by Name Instead of Replacing Entire Array by @danny-avila in #12586
- ๐งฎ Atomize Redis Event Sequence Counters for Multi-Replica Deployments by @danny-avila in #12578
- ๐ Enable Hidden File Upload for GitNexus Index Artifact by @danny-avila in #12597
- ๐ Respect
supportedMimeTypesConfig in File Picker Accept Filter by @danny-avila in #12596 - ๐ฉ Restore Primary Action Button Visibility in Light Mode by @UnicronBE in #12591
๐ง Refactoring
- ๐จ Redesign Sidebar with Unified Icon Strip Layout by @berry-13 in #12013
- ๐ Migrate to
react-resizable-panelsv4 with Artifacts Header Polish by @danny-avila in #12356 - ๐ Prompts UI by @berry-13 in #11570
- ๐ Resolve Stale Active Sidebar Panel and Favorites Row Height by @danny-avila in #12366
- โก Fast-Fail MCP Tool Discovery on 401 for Non-OAuth Servers by @danny-avila in #12395
- โก Use In-Memory Cache for App MCP Configs to Avoid Redis SCAN by @danny-avila in #12410
- ๐ Local Snapshot for Aggregate Key Cache to Avoid Redundant Redis GETs by @danny-avila in #12422
- ๐ชข Eliminate Unnecessary Re-renders During Message Streaming by @danny-avila in #12454
- ๐งน Tighten Config Schema Typing and Remove Deprecated Fields by @danny-avila in #12452
- ๐๏ธ Remove Redundant Caching, Migrate Config Services to TypeScript by @danny-avila in #12466
- ๐ซ Remove Interface Config from Override Processing by @danny-avila in #12473
- โ๏ธ Split Config Route into Unauthenticated and Authenticated Paths by @danny-avila in #12490
- ๐๏ธ Eliminate Unstable React Keys During SSE Lifecycle by @danny-avila in #12536
- โก Short-Circuit Config Override Resolution by @danny-avila in #12553
- ๐งโ๐จ Prompts/Sidebar Styles for Improved UI Consistency by @berry-13 in #12426
- โฑ๏ธ User Job Tracking TTL and Proactive Cleanup to Redis Job Store by @danny-avila in #12595
โ๏ธ Other Changes
- ๐ฌ Add Forwarded Headers to Nginx SSL Proxy Template by @christopher-b in #12379
- ๐ Add UTM Tracking Parameters to Railway Deployment Links by @berry-13 in #12228
- ๐ Update Deployment Link for Railway in README and README.zh.md by @berry-13 in #12449
- ๐ฌ Add TypeScript Type Checks to Backend Workflow and Fix All Type Errors by @danny-avila in #12451
- ๐งน Remove Deprecated Gemini 2.0 Models & Fix Mistral-Large-3 Context Window by @danny-avila in #12453
- ๐งน Clean Up Config Fields by @danny-avila in #12537
- ๐๏ธ Update LICENSE.md Year: 2025 -> 2026 by @neuralnotesyt-netizen in #12554
- ๐ Add GitNexus CI/CD and Deployment Configuration by @danny-avila in #12577
- ๐ Bump MongoDB from 8.0.17 to 8.0.20 in Docker Compose Files by @danny-avila in #12399
- ๐ฆ Bump Dependabot Packages by @danny-avila in #12487
- ๐ฆ Bump
axiosto exact v1.13.6,@librechat/agentsto v3.1.63,@aws-sdk/client-bedrock-runtimeto v3.1013.0 by @danny-avila in #12488 - ๐ฆ Bump
mongodb-memory-serverto v11.0.1,mermaidto v11.14.0, npm audit by @danny-avila in #12543 - ๐ฆ npm audit by @danny-avila in #12570
- ๐ฆ Bump
nodemailerto v8.0.5 by @danny-avila in #12587 - ๐ฆ Bump
axios,@librechat/agentsby @danny-avila in #12598
๐ Internationalization
- ๐ i18n: Update translation.json with latest translations by @github-actions[bot] in #12458, #12571, #12583, #12588
New Contributors
- @crossagent made their first contribution in #12348
- @christopher-b made their first contribution in #12379
- @adityaarunsinghal made their first contribution in #12397
- @ESJavadex made their first contribution in #12390
- @neuralnotesyt-netizen made their first contribution in #12554
- @UnicronBE made their first contribution in #12591
Full Changelog: https://github.com/danny-avila/LibreChat/compare/v0.8.4...v0.8.5-rc1