What's Changed
- To update: run
npm run update
from 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_EXPIRY
to a lower value and setREFRESH_TOKEN_EXPIRY
Default values: session expiry: 15 minutes, refresh token expiry: 7 days
See .env.example for exact values in millisecond calculation
✨ New Features
- 🛡️ Refresh Token for Improved Session Security by @bsu3338 & @danny-avila in #927
- 🛡️ Message Rate Limiters, Violation Logging, & Ban System 🔨 by @danny-avila in #903
- 🛡️ Stricter AI Message Rendering to Prevent XSS by @danny-avila in #893
- 🛡️ Encrypt & Expire User Provided Keys, Rate Limiting by @danny-avila in #874
- OpenRouter Support & Improve Model Fetching ⇆ by @danny-avila in #936
- Add Confirm Dialog to Conversation Delete Button by @Berry-13 in #875
- Bun Support 🥟 by @danny-avila in #907
- Icons for Chat Identification by @Berry-13 in #879
- CodeBrew Plugin by @Falven in #931
- Auto-detect Browser language by @Berry-13 in #947
🌐 Internationalization
- Update Zh.tsx by @yuanmu0814 in #862
- Italian Translation for User Provided Keys and Data Controls by @Berry-13 in #886
- Updated Portuguese, Spanish translations by @itzraiss in #857 #876 #888 #898
- Japanese Translation by @forestsource in #895
- Swedish Translation by @yoHasse in #940
🔧 Fixes
- Match OpenAI Token Counting Strategy 🪙 by @danny-avila in #945
- Add More Translation Text & Minor UI Fixes by @Berry-13 in #861
- Fix Docker Install Guide Broken Link by @finnless in #877
- Fix Various Broken Docker_compose_install.md Links in Docs by @GovernmentPlates in #882
- Devcontainer Image and Networking by @finnless in #891
- Aborted Messages Not Saving by @danny-avila in #894
- Duplicate Key Error in Translation by @danny-avila in #906
- Module Resolution for Create-user Script 👤 by @danny-avila in #935
- Only Include Fields Defined by API Reference in Payload by @danny-avila in #933 #938
- Allow Latin-based Special Characters in Username by @danny-avila in #969
📝 Documentation
- Make_your_own.md Formatting Fix for Mkdocs by @danny-avila in #855
- Hugging Face Deployment by @fuegovic in #867
- Free API Documentation Update by @Berry-13 in #902
- Update Huggingface.md by @fuegovic in #942
⚙️ Other Changes
- Enhance DB Schemas/Controllers and Improve E2E Tests by @danny-avila in #966
- Hide Source Map from Client by @danny-avila in #905
- Update: Install Script by @fuegovic in #858
- Bump Packages, Fix Langchain Peer Dep Issue by @danny-avila in #883
- Add Zod to All Workspaces as is Used Individually by Each by @danny-avila in #884
- Bump Data-provider by @danny-avila in #885
- Organize Root Directory Files 🧹 by @danny-avila in #887
- Remove Unused Dependencies 🧹 by @danny-avila in #939
- Refactor(.env.example) by @Berry-13 in #880
- Initialize Ban Env Vars in JestSetup by @danny-avila in #937
New Contributors
- @yuanmu0814 made their first contribution in #862
- @finnless made their first contribution in #877
- @GovernmentPlates made their first contribution in #882
- @forestsource made their first contribution in #895
- @Falven made their first contribution in #931
- @yoHasse made their first contribution in #940