0.14.1
版本发布时间: 2024-12-18 16:36:20
langgenius/dify最新发布版本:0.14.1(2024-12-18 16:36:20)
✨ What’s New in v0.14.1? ✨
We’re excited to bring you version 0.14.1, packed with enhancements and new features designed to elevate your workflow and performance. Here’s what you can look forward to:
🚀 New Features
-
Gemini Models: Gemini models have received a robust upgrade. With integrated response metadata, you can manage token counting more efficiently, thanks to enhancements by @totsukash in #11743.
-
OpenAI O1 Model: Take advantage of the new OpenAI O1 model with updated pricing and a larger token limit, providing even greater flexibility for your projects, courtesy of @laipz8200 in #11780.
-
OpenDAL Integration: Introducing Apache OpenDAL™, the visionary approach to storage — One Layer, All Storage. This tool seamlessly integrates with a variety of object storage solutions like AWS S3 and Google Cloud Storage and includes an automatic retry feature to ensure reliability and ease of use. Brought to you by the ingenious work of @laipz8200 in #11754.
🛠️ Enhancements
-
Docker Proxy Improvements: Enhanced proxy support for Docker environments ensures smoother and more streamlined deployments, improved by @longfengpili in #11681.
-
Improved Docker API Startup: We've slashed API startup times by 50% when running in Docker, meaning faster development cycles and less downtime, thanks to the efforts of @laipz8200 in #11762.
🐛 Bug Fixes
-
Memory Leak Fix: Addressed a memory leak caused by Pypdfium2, ensuring your system runs smoothly and resources are optimized. This fix is credited to @yihong0618 in #11700.
-
Image Icon Display: Resolved issues with missing image icons to ensure all visuals render correctly, as fixed by @crazywoola in #11701.
-
Tidb Now Optional in Docker Compose: The Tidb service has been made optional in Docker setups, providing you with more configuration flexibility, led by @bowenliang123 in #11729.
This version is all about providing a more efficient, flexible, and streamlined platform, ensuring you can focus on innovation without the technical hiccups. Welcome to v0.14.1—happy coding! 🚀
Upgrade Guide
Docker compose deployments
[!WARNING]
The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.
-
Back up your customized docker-compose YAML file (optional)
cd docker cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
-
Get the latest code from the main branch
git checkout main git pull origin main
-
Stop the service,Command, please execute in the docker directory
docker compose down
-
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
-
Upgrade services
docker compose up -d
Source Code deployments
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the release branch:
git checkout 0.14.1
-
Update Python dependencies:
cd api poetry install
-
Then, let's run the migration script:
poetry run flask db upgrade
-
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- chore: remove duplicate folder with case sensitivity issue by @hjlarry in https://github.com/langgenius/dify/pull/11687
- fix: fix proxy for docker by @longfengpili in https://github.com/langgenius/dify/pull/11681
- feat: add gitee ai vl models by @fchange in https://github.com/langgenius/dify/pull/11697
- make login lockout duration configurable by @kazuhisa-wada in https://github.com/langgenius/dify/pull/11699
- fix: image icon can not display by @crazywoola in https://github.com/langgenius/dify/pull/11701
- fix: memory leak by pypdfium2 close(maybe) #11510 by @yihong0618 in https://github.com/langgenius/dify/pull/11700
- chore: update docker env close #11703 by @yihong0618 in https://github.com/langgenius/dify/pull/11706
- feat: enhance gemini models by @hjlarry in https://github.com/langgenius/dify/pull/11497
- feat(tool_node): Suppress exceptions thrown by the Tool by @laipz8200 in https://github.com/langgenius/dify/pull/11724
- Dark Mode: Workflow darkmode style by @douxc in https://github.com/langgenius/dify/pull/11695
- feat(knowledge_retrieval_node): Suppress exceptions thrown by DatasetRetrieval by @laipz8200 in https://github.com/langgenius/dify/pull/11728
- docs: Modify translation for error branch by @HanqingZ in https://github.com/langgenius/dify/pull/11731
- fix(api/ops_trace): avoid raise exception directly by @laipz8200 in https://github.com/langgenius/dify/pull/11732
- chore:update azure api version by @leslie2046 in https://github.com/langgenius/dify/pull/11711
- fix: make tidb service optional with proper profile in docker compose yaml by @bowenliang123 in https://github.com/langgenius/dify/pull/11729
- chore: the consistency of MultiModalPromptMessageContent by @hjlarry in https://github.com/langgenius/dify/pull/11721
- feat(ark): support doubao vision series models by @sinomoe in https://github.com/langgenius/dify/pull/11740
- chore: update comments in docker env file by @laipz8200 in https://github.com/langgenius/dify/pull/11705
- feat: use Gemini response metadata for token counting by @totsukash in https://github.com/langgenius/dify/pull/11743
- chore: improve gemini models by @hjlarry in https://github.com/langgenius/dify/pull/11745
- Fix explore app icon by @charli117 in https://github.com/langgenius/dify/pull/11742
- (doc) fix: update cURL examples to include Authorization header by @fujita-h in https://github.com/langgenius/dify/pull/11750
- fix: Prevent redirection to /overview when accessing /workflow. by @barabicu in https://github.com/langgenius/dify/pull/11733
- feat(app_factory): speed up api startup by @laipz8200 in https://github.com/langgenius/dify/pull/11762
- feat: full support for opendal and sync configurations between .env and docker-compose by @laipz8200 in https://github.com/langgenius/dify/pull/11754
- feat: add parameters for JinaReaderTool by @DDDDD12138 in https://github.com/langgenius/dify/pull/11613
- fix: file upload auth by @ZhouhaoJiang in https://github.com/langgenius/dify/pull/11774
- feat: add openai o1 & update pricing and max_token of other models by @laipz8200 in https://github.com/langgenius/dify/pull/11780
- fix: imperfect service-api introduction text by @lunarianss in https://github.com/langgenius/dify/pull/11782
- Lindorm vdb bug-fix by @AlwaysBluer in https://github.com/langgenius/dify/pull/11790
- chore(.env.example): add comments for opendal by @laipz8200 in https://github.com/langgenius/dify/pull/11778
- feat: Disable the "Forgot your password?" button when the mail server setup is incomplete by @miya in https://github.com/langgenius/dify/pull/11653
- chore(opendal_storage): remove unused comment by @laipz8200 in https://github.com/langgenius/dify/pull/11783
- feat:add hunyuan model(hunyuan-role, hunyuan-large, hunyuan-large-rol… by @xander-art in https://github.com/langgenius/dify/pull/11766
- chore: bump version to 0.14.1 by @laipz8200 in https://github.com/langgenius/dify/pull/11784
New Contributors
- @longfengpili made their first contribution in https://github.com/langgenius/dify/pull/11681
- @lunarianss made their first contribution in https://github.com/langgenius/dify/pull/11782
- @miya made their first contribution in https://github.com/langgenius/dify/pull/11653
- @xander-art made their first contribution in https://github.com/langgenius/dify/pull/11766
Full Changelog: https://github.com/langgenius/dify/compare/0.14.0...0.14.1