v0.6.2 EMERGENCY FIX
Warning
⚠️ EMERGENCY FIX ⚠️
PLEASE UPGRADE to v0.6.2
AS SOON AS POSSIBLE TO PREVENT DATA LEAKAGE.
Fix the issue where sys.query
/sys.files
data gets confused with other tasks during high concurrency in workflow
/chatflow
in #3378.
✨ Spotlight on Dify v0.6.0 ✨
🚀 Introducing Dify Workflow 🚀
Eager to elevate the stability and reproducibility of your LLM applications? The latest release, Dify Workflow, is here to empower you.
Curious for more? Swing by the v0.6.0 Release Notes for the full scoop.
What’s New in v0.6.2?
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
- feat: OpenAI
gpt-4-turbo
&gpt-4-turbo-2024-04-09
support by @Yeuoly in #3263 - feat: Azure OpenAI
gpt-4-turbo-2024-04-09
support by @Kennytian in #3300 - feat: Add Cohere Command R / R+ model support by @takatost in #3333
- feat: Add Google
gemini-1.5-pro
support by @lroolle in #2925 - feat: Enabled vision feature support of OpenAI Compatible API by @takatost in #3272
- feat: Agent app support image input for reasoning by @Yeuoly in #3293
- feat: Update aws bedrock new models by @crazywoola in #3326
- refactor: Enhanced ReAct mode of Agent app by @Yeuoly in #3355
- For additional enhancements and updates, refer to the What's Changed section below.
Update Guide
Docker compose deployments:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker compose up -d
Source Code deployments:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Update Python dependencies:
cd api pip install --upgrade -r requirements.txt
-
Then, let's run the migration script:
flask db upgrade
-
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- fix: agent chat multiple model debug by @zxhlyh in #3258
- feat: gpt-4-turbo by @Yeuoly in #3263
- fix: image was sent to an unsupported LLM when sending second message by @takatost in #3268
- feat: vision parameter support of OpenAI Compatible API by @takatost in #3272
- fix: var assigner input node can not find caused error by @iamjoel in #3274
- fix: variable-assigner node connect by @zxhlyh in #3288
- Feat/Agent-Image-Processing by @Yeuoly in #3293
- chore: address security alerts on braces escape and KaTeX by @nite-knite in #3301
- chore(deps): bump katex from 0.16.8 to 0.16.10 in /web by @dependabot in #3307
- Update README.md by @guchenhe in #3281
- Remove langchain dataset retrival agent logic by @JohnJyong in #3311
- add german translations by @guchenhe in #3322
- feat: add missing workflow i18n keys by @khazic in #3309
- feat:add 'name' field return by @leslie2046 in #3152
- improvement: speed up dependency installation in docker image rebuilds by mounting cache layer by @bowenliang123 in #3218
- feat: support gpt-4-turbo-2024-04-09 model by @Kennytian in #3300
- feat: Add Cohere Command R / R+ model support by @takatost in #3333
- fix dataset retrival in dataset mode by @JohnJyong in #3334
- chore:bump pypdfium2 from 4.16.0 to 4.17.0 by @leslie2046 in #3310
- feat(llm/models): add gemini-1.5-pro by @lroolle in #2925
- feat: make input size bigger in start by @crazywoola in #3340
- Doc/update readme by @crazywoola in #3344
- fix: leave progress page still call indexing-status api by @iamjoel in #3345
- feat: update aws bedrock by @crazywoola in #3326
- fix/moonshot-function-call by @Yeuoly in #3339
- fix issue: user’s keywords do not affect when add segment by @JohnJyong in #3349
- fix: add segment with keyword issue by @JohnJyong in #3351
- Fix issue : don't delete DatasetProcessRule, DatasetQuery and AppDatasetJoin when delete dataset with no document by @JohnJyong in #3354
- fix: remove middle editor may cause render placement error by @iamjoel in #3356
- Added a note on the front-end docker build: use taobao source to accelerate the installation of front-end dependency packages to achieve the purpose of quickly building containers by @khazic in #3358
- fix: var name too long would break ui in var assigner and end nodes by @iamjoel in #3361
- Refactor/react agent by @Yeuoly in #3355
- Fix/Bing Search url endpoint cannot be customized by @Yeuoly in #3366
- fix: image token calc of OpenAI Compatible API by @takatost in #3368
- Update README.md by @guchenhe in #3371
- update workflow intro mp4 codec by @guchenhe in #3372
- fix: cohere tool call does not support single tool by @takatost in #3373
- version to 0.6.2 by @takatost in #3375
- fix: variable pool mapping variable mixed up by @takatost in #3378
- fix: yarn install extract package err when using GitHub Cache in amd6… by @takatost in #3383
New Contributors
Full Changelog: 0.6.1...0.6.2