LibreChat
AI chat platform combining multiple AI models and extended features
Alternative to: chatgpt, huggingface chat, microsoft azure openai, anthropic claude, cohiera, mistral ai, openrouter, openai playground, llama reasoning, perplexity ai
v0.5.9
2023-09-18What’s Changed
- To update: run
npm run updatefrom the project directory for a clean installation.- Prerequisites: git and npm installed
- Recommended: clear localStorage and cookies
⚠️ Breaking Change
It’s now required to set a JWT_REFRESH_SECRET in your .env file as of #927
It’s also recommended you update your
SESSION_EXPIRYto a lower value and setREFRESH_TOKEN_EXPIRYDefault values: session expiry: 15 minutes, refresh token expiry: 7 days See .env.example for exact values in millisecond calculation
:sparkles: New Features
- 🛡️ Refresh Token for Improved Session Security by @bsu3338 & @danny-avila in https://github.com/danny-avila/LibreChat/pull/927
- 🛡️ Message Rate Limiters, Violation Logging, & Ban System 🔨 by @danny-avila in https://github.com/danny-avila/LibreChat/pull/903
- 🛡️ Stricter AI Message Rendering to Prevent XSS by @danny-avila in https://github.com/danny-avila/LibreChat/pull/893
- 🛡️ Encrypt & Expire User Provided Keys, Rate Limiting by @danny-avila in https://github.com/danny-avila/LibreChat/pull/874
- OpenRouter Support & Improve Model Fetching ⇆ by @danny-avila in https://github.com/danny-avila/LibreChat/pull/936
- Add Confirm Dialog to Conversation Delete Button by @Berry-13 in https://github.com/danny-avila/LibreChat/pull/875
- Bun Support 🥟 by @danny-avila in https://github.com/danny-avila/LibreChat/pull/907
- Icons for Chat Identification by @Berry-13 in https://github.com/danny-avila/LibreChat/pull/879
- CodeBrew Plugin by @Falven in https://github.com/danny-avila/LibreChat/pull/931
- Auto-detect Browser language by @Berry-13 in #947
🌐 Internationalization
- Update Zh.tsx by @yuanmu0814 in https://github.com/danny-avila/LibreChat/pull/862
- Italian Translation for User Provided Keys and Data Controls by @Berry-13 in https://github.com/danny-avila/LibreChat/pull/886
- Updated Portuguese, Spanish translations by @itzraiss in https://github.com/danny-avila/LibreChat/pull/857 https://github.com/danny-avila/LibreChat/pull/876 https://github.com/danny-avila/LibreChat/pull/888 https://github.com/danny-avila/LibreChat/pull/898
- Japanese Translation by @forestsource in https://github.com/danny-avila/LibreChat/pull/895
- Swedish Translation by @yoHasse in https://github.com/danny-avila/LibreChat/pull/940
🔧 Fixes
- Match OpenAI Token Counting Strategy 🪙 by @danny-avila in https://github.com/danny-avila/LibreChat/pull/945
- Add More Translation Text & Minor UI Fixes by @Berry-13 in https://github.com/danny-avila/LibreChat/pull/861
- Fix Docker Install Guide Broken Link by @finnless in https://github.com/danny-avila/LibreChat/pull/877
- Fix Various Broken Docker_compose_install.md Links in Docs by @GovernmentPlates in https://github.com/danny-avila/LibreChat/pull/882
- Devcontainer Image and Networking by @finnless in https://github.com/danny-avila/LibreChat/pull/891
- Aborted Messages Not Saving by @danny-avila in https://github.com/danny-avila/LibreChat/pull/894
- Duplicate Key Error in Translation by @danny-avila in https://github.com/danny-avila/LibreChat/pull/906
- Module Resolution for Create-user Script 👤 by @danny-avila in https://github.com/danny-avila/LibreChat/pull/935
- Only Include Fields Defined by API Reference in Payload by @danny-avila in https://github.com/danny-avila/LibreChat/pull/933 https://github.com/danny-avila/LibreChat/pull/938
- Allow Latin-based Special Characters in Username by @danny-avila in https://github.com/danny-avila/LibreChat/pull/969
:memo: Documentation
- Make_your_own.md Formatting Fix for Mkdocs by @danny-avila in https://github.com/danny-avila/LibreChat/pull/855
- Hugging Face Deployment by @fuegovic in https://github.com/danny-avila/LibreChat/pull/867
- Free API Documentation Update by @Berry-13 in https://github.com/danny-avila/LibreChat/pull/902
- Update Huggingface.md by @fuegovic in https://github.com/danny-avila/LibreChat/pull/942
:gear: Other Changes
- Enhance DB Schemas/Controllers and Improve E2E Tests by @danny-avila in https://github.com/danny-avila/LibreChat/pull/966
- Hide Source Map from Client by @danny-avila in https://github.com/danny-avila/LibreChat/pull/905
- Update: Install Script by @fuegovic in https://github.com/danny-avila/LibreChat/pull/858
- Bump Packages, Fix Langchain Peer Dep Issue by @danny-avila in https://github.com/danny-avila/LibreChat/pull/883
- Add Zod to All Workspaces as is Used Individually by Each by @danny-avila in https://github.com/danny-avila/LibreChat/pull/884
- Bump Data-provider by @danny-avila in https://github.com/danny-avila/LibreChat/pull/885
- Organize Root Directory Files 🧹 by @danny-avila in https://github.com/danny-avila/LibreChat/pull/887
- Remove Unused Dependencies 🧹 by @danny-avila in https://github.com/danny-avila/LibreChat/pull/939
- Refactor(.env.example) by @Berry-13 in https://github.com/danny-avila/LibreChat/pull/880
- Initialize Ban Env Vars in JestSetup by @danny-avila in https://github.com/danny-avila/LibreChat/pull/937
New Contributors
- @yuanmu0814 made their first contribution in https://github.com/danny-avila/LibreChat/pull/862
- @finnless made their first contribution in https://github.com/danny-avila/LibreChat/pull/877
- @GovernmentPlates made their first contribution in https://github.com/danny-avila/LibreChat/pull/882
- @forestsource made their first contribution in https://github.com/danny-avila/LibreChat/pull/895
- @Falven made their first contribution in https://github.com/danny-avila/LibreChat/pull/931
- @yoHasse made their first contribution in https://github.com/danny-avila/LibreChat/pull/940