-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
♻️ refactor: refactor the server model implement #4878
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4878 +/- ##
==========================================
+ Coverage 91.26% 91.59% +0.33%
==========================================
Files 526 525 -1
Lines 37478 37466 -12
Branches 3500 2333 -1167
==========================================
+ Hits 34203 34316 +113
+ Misses 3275 3150 -125
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
❤️ Great PR @arvinxx ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.35.10](v1.35.9...v1.35.10) <sup>Released on **2024-12-03**</sup> #### ♻ Code Refactoring - **misc**: Refactor the server db model implement. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor the server db model implement, closes [#4878](#4878) ([3814853](3814853)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 1.35.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.77.6](v1.77.5...v1.77.6) <sup>Released on **2024-12-03**</sup> #### ♻ Code Refactoring - **misc**: Refactor the server db model implement. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor the server db model implement, closes [lobehub#4878](https://github.com/bentwnghk/lobe-chat/issues/4878) ([3814853](3814853)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
将 server 部分的 model 实现全部抽离 serverdb,变成 初始化实例注入,进而为客户端使用 pglite 做好铺垫。
同时目前看到 models 里还存在一些依赖 server 端环境变量的实现,后续需要针对性重构掉。
📝 补充信息 | Additional Information