Releases: langgenius/dify
v0.6.11
✨ What’s New in v0.6.11? ✨
Hey everyone, we’ve got a fresh update for you! Version 0.6.11 is here, and it’s packed with new features, enhancements, and fixes. Let’s dive into what’s changed:
🚀 New Features
📜 Knowledge
-
🔥 Firecrawl Support: Use Firecrawl as a "Sync from website" solution in Knowledge by @iamjoel in #5226 and @JohnJyong @nickscamara @guchenhe in #5232.
🚀 Workflow
-
Note Support: Add notes directly into your workflows to enhance documentation and readability when editing or reviewing shared DSLs by @zxhlyh in #5164.
🤖 Model Support
- Jina: Support for Jina-CLIP-v1 embedding model by @sinomoe in #5146.
- Zhipu: Added GLM4 new models and Zhipu embedding-2 by @orangeclk in #5089.
- ERNIE-4.0-8K-Latest: Support for ERNIE-4.0-8K-Latest by @iamsk in #5216.
- Doubao: Support for Doubao LLM function calling by @sinomoe in #5100.
- Hunyuan: Support for Hunyuan LLM models by @xielong in #5013.
- SiliconFlow: Added support for SiliconFlow by @orangeclk in #5129.
- Novita.ai: Added Novita.ai as a model provider by @jasonhp in #4961.
🛠️ Tools
- DuckDuckGo Tools: Added DuckDuckGo image search, translate, and AI chat tools by @hjlarry in #5074.
- Feishu multi-dimensional table Tools: Added Feishu multi-dimensional table operation tools by @hgnulb in #5213.
🗄️ Vector DB
- TiDB Vector: Support for TiDB vector by @Weaxs in #4588.
- Chroma Vector Store: Support for Chroma vector store by @bowenliang123 in #5015.
- Tencent Vector DB: Support for Tencent vector DB by @quicksandznzn in #3568.
☁️ AWS
- EKS Pod Identity: Upgraded boto3 library to support EKS Pod Identity by @nanasi880 in #5064.
- IAM Role for Bedrock: Allow using IAM Role for Bedrock by @tmokmss in #5188.
- AWS S3 IAM Check: Added AWS S3 IAM check by @JohnJyong in #5174.
🏗️ API Service Infrastructures
-
Poetry Support: Initial support for the Poetry build tool by @MatriQ in #4513.
⚠️ In the next version, we will deprecate pip as the primary package management tool for Dify api service, currently Poetry and pip coexist. -
Poetry in CI: Use Poetry as the default build system for dependency installation in CI jobs by @bowenliang123 in #5088.
-
Pydantic Migration: Modernized validation by migrating Pydantic from 1.x to 2.x by @bowenliang123 in #4592.
Other Enhancements
- Editor User Permission: New editor user permission profile by @chazzhou in #4435.
- Memory Messages Limit: Set default memory messages limit to infinite by @takatost in #5002.
- DOCX Image Handling: Improved handling of external images when extracting DOCX images by @JohnJyong in #5024.
- Dataset Delete Endpoint: Added dataset delete endpoint by @perzeuss in #5048.
- Knowledge Retrieval: Optimized knowledge retrieval performance by batching dataset queries by @wangiii in #4917.
- Jina Tools: Added optional API key, proxy server, and bypass cache parameters to Jina tools by @XiaoLey in #5197.
- HTTP Request Fix: Fixed HTTP request delete method not working by @th3n00b13 in #4975.
For additional enhancements and updates, refer to the What's Changed section below.
Upgrade Guide
Docker compose deployments
-
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 main branch:
git checkout main git pull origin main
-
Update Python dependencies:
-
If using pip
cd api pip install -r requirements.txt
-
If using poetry
cd api poetry install
-
-
Then, let's run the migration script:
-
If using pip
flask db upgrade
-
If using poetry
cd api poetry run python -m flask db upgrade
-
-
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- change "Import from text file" to "Import from file" by @harrywang in #4935
- feat: pricing page add llm load balancing info by @iamjoel in #4942
- Optimize knowledge retrieval performance by batching dataset quries. by @wangiii in #4917
- fix: end node limit in next step by @zxhlyh in #4945
- fix: import error in web/app/components/header/account-setting/model-provider-page/declarations.ts by @crazywoola in #4944
- chore: fix indention violations by applying E111 to E117 ruff rules by @bowenliang123 in #4925
- fix: missing dataset patch parameters in settings modal by @chazzhou in #4901
- fix: missing iterator in task pipeline by @Yeuoly in #4948
- fixing a bug of handling header row when parsing xls file, and tune xls/xlsx parsing result to be more structured by @yc-huang in #3600
- fix: duckduckgo search does not work by @hjlarry in #4949
- feat: support tidb vector by @Weaxs in #4588
- Typo in Knowledge settings by @WeepsDanky in #4958
- fix some tidb bugs by @JohnJyong in #4960
- add meta.doc_id index for tidb by @JohnJyong in #4963
- feat: add create tenant command by @takatost in #4974
- chore: rename vdb tests for PGVector and PGvectoRS by @bowenliang123 in #4973
- fix: gemini timeout error by @ZhouhaoJiang in #4955
- fix: llm selector position is incorrect in not workflow app by @iamjoel in #4982
- feat: support login by given mail by @iamjoel in #4991
- fix: add handling for non-string type in variable template parser by @Yeuoly in #4996
- fix: typo in sd3 by @Yeuoly in #5000
- feat: set default memory messages limit to infinite by @takatost in #5002
- fix: some base models cannot be selected in Azure OpenAI Service setting page by @doufa in #4985
- fix: modal z-index and cleanup by @chazzhou in #4978
- Fix/azure blob new version by @JohnJyong in #5004
- Fix: z-index in header by @JzoNgKVO in #5017
- deal the external image when extract docx image by @JohnJyong in #5024
- Fix language setting not success by @doufa in #5023
- fix(style): some style issues by @HiChen404 in #5029
- feat: feature modal style by @zxhlyh in #5032
- improve: generalize vector factory classes and vector type by @bowenliang123 in #5033
- 🔧 fix docker-compose ssrf_proxy service WARNING: You should probably remove '::/0' from the ACL named 'all' by @takuya-o in #5005
- fix: update presence_penalty configuration for wenxin AI ernie-4.0-8k and ernie-3.5-8k models by @XiaoLey in #5039
- fix: issue where an error occurs when invoking TTS without selecting a voice by @takatost in #5046
- fix: wrong link to web app repo in chatflow mode by @perzeuss in #5062
- feat: add dataset delete endpoint by @perzeuss in #5048
- chore: update maas model provider description by @sinomoe in #5056
- 🔧 Fix(docker/volumes/ssrf_proxy/squid.conf): The squid process on ssrf_proxy docker service crashes at startup by @takuya-o in #5050
- build: initial support for poetry build tool by @MatriQ in #4513
- Arabic README.md by @ra2230 in #5078
- fix: dependency package versions are not synchronized to requirements.txt by @takatost in #5084
- feat: add glm4 new models and zhipu embedding-2 by @orangeclk in #5089
- Fix: infinite loading not work when message is too short by @JzoNgKVO in #5075
- fix: autoHeightTextarea dimensions in Firefox by @ZuzooVn in #4891
- fix: Google HL Parameter for SearchApi by @ugyuji in https://git...
v0.6.10
✨ What’s New in v0.6.10? ✨
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
🚀 New Features
- Workflow Variable Aggregator: Now supports grouping by @zxhlyh in #4811.
- Document Rename Support: You can now rename documents in datasets by @iamjoel in #4732 and @JohnJyong in #4915.
- Instruction in Classifier Node: Added support for using variables in instructions by @iamjoel in #4710 and @JohnJyong in #4913.
- Tool Tags: You can now define tags in tool YAML files by @Yeuoly in #4763.
- NVIDIA NIM: Added support for NVIDIA NIM by @joshua20231026 in #4882.
- Anthropic Claude3 Models: Added to Google Cloud Vertex AI by @hellof20 in #4870.
- Baichuan Model Support: Added support for Baichuan3 Turbo, Baichuan3 Turbo 128k, and Baichuan4 by @xielong in #4762.
- Ernie Model Update: Updated the Ernie model by @Weaxs in #4756.
- Vanna.AI Tool: Added Vanna.AI as a built-in tool by @luxmus in #4878.
- SearchApi Tools: Added new SearchApi tools by @SebastjanPrachovskij in #4648.
- Opportunistic TLS for SMTP: Added a flag for opportunistic TLS in SMTP by @chazzhou in #4794.
- Ollama Keep Alive: Added a keep-alive parameter for Ollama by @Yash-1511 in #4655.
- Model Load Balancing: Added support for load balancing backend models by @takatost in #4927 and @nite-knite in #4926.
⚙️ Enhancements
- SD-WebUI API Update: Updated API parameters to v1.9.3 by @lingfengchencn in #4798.
- Pandas Upgrade: Bumped pandas from 1.x to 2.x by @bowenliang123 in #4820.
- Question Classify Node: Now supports using variables in instructions by @iamjoel in #4710.
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 -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
- feat: add América/São Paulo tz by @crazywoola in #4701
- Add workflow translations for ja-JP by @Hirosa0 in #4698
- fix: key-value-table styles by @HiChen404 in #4678
- fix: Input fields in the model provider's settings modal do not switch sequence via keyboard navigation (Tab key) by @doufa in #4662
- fix: the new node name is generated based on the original node when duplicating by @hjlarry in #4675
- fix: workflow as tool garbled by @Yeuoly in #4707
- style: update VarPanel to use whitespace-pre-wrap for value display by @xuzuodong in #4684
- add error msg for hit test by @JohnJyong in #4704
- fix: retrieval value greater more than 1 caused ui problem by @iamjoel in #4718
- fix: Correct context size for banchuan2-53b and banchuan2-turbo by @xielong in #4721
- Show tool i18n name on chat pannel by @hibernate2011 in #4724
- fix: workflow run sequence number slow sql by @takatost in #4737
- fix: optimize sticky header styles z-index in tools - ProviderList component by @chazzhou in #4746
- fix: Corrected schema link in model_runtime's README.md by @xielong in #4757
- style: the 'all' of add tool panel should contain workflow tools by @hjlarry in #4755
- Fix/4742 ollama num gpu option not consistent with allowed values by @crazywoola in #4751
- Add WORKFLOW_CALL_MAX_DEPTH env var. by @majian159 in #4713
- style: fix annotation panel display misalignment by @hjlarry in #4750
- fix: confusing chart description by @Yeuoly in #4760
- feat: support baichuan3 turbo, baichuan3 turbo 128k, and baichuan4 by @xielong in #4762
- fix: incorrect workflow max call depth by @Yeuoly in #4759
- feat: update ernie model by @Weaxs in #4756
- feat: support define tags in tool yaml by @Yeuoly in #4763
- fix organize agent's history messages without recalculating tokens by @zeroameli in #4324
- feat: Add logging warning when MAIL_TYPE is not set by @Kota-Yamaguchi in #4771
- fix: in tool and http node of iteration can not show item var correctly by @iamjoel in #4791
- chore: improve node user experience by @iamjoel in #4792
- Add SearchApi tools by @SebastjanPrachovskij in #4648
- chore: node help link by @zxhlyh in #4795
- fix: some filed in model param selector has no left spacing by @iamjoel in #4803
- feat: show more usage info in billing page by @iamjoel in #4808
- add: i18n: update korean by @qkdxorjs1002 in #4813
- feat: workflow variable aggregator support group by @zxhlyh in #4811
- feat: opportunistic tls flag for smtp by @chazzhou in #4794
- fix: remove redundant props by @lesenelir in #4787
- update sd-webui api parameters to v1.9.3 by @lingfengchencn in #4798
- fix: revision styles for workflow by @lawvs in #4087
- fix: app_count of dataset is error when apps was deleted by @DomKing in #4810
- Feat/i18n workflow by @crazywoola in #4819
- chore: Enable case-insensitive search for large models by @xielong in #4817
- fix: workflow app run by @zxhlyh in #4831
- add: ollama keep alive parameter added. issue #4024 by @Yash-1511 in #4655
- fix 'NoneType' and new ContentType supported. by @lichengwu in #4818
- chore: cleanup tools, remove useless code by @Yeuoly in #4833
- chore: increase workflow max steps to 500 by @Yeuoly in #4835
- fix: status query not stop when leaving document embedding detail page by @doufa in #4754
- test: triggering tests on changes and allow cancelling in-progress CI test jobs by @bowenliang123 in #4743
- test: CI test for db migration scripts on changes by @bowenliang123 in #4739
- chore: skip explicit installing jinja2 as testing dependency by @bowenliang123 in #4845
- chore: fix invalid escape sequences by applying W605 rule by @bowenliang123 in #4851
- Bugfix: Vertex AI vision model not support image by @hellof20 in #4853
- chore: upgrade sandbox by @Yeuoly in #4839
- fix: Incorrect argument types in createChatMessage by @dar0xt in #4861
- Fixed workflow tts feature audition by @charli117 in #4867
- fix: update npm version to fix Incorrect argument types in createChatMessage by @iamjoel in #4865
- chore: add issue link tempate for IDEA by @bowenliang123 in #4866
- add-nvidia-mim by @joshua20231026 in #4882
- improve: generalize tool parameter converter by @bowenliang123 in #4786
- chore: optimize nvidia nim credential schema and info by @takatost in #4898
- feat: added Anthropic Claude3 models to Google Cloud Vertex AI by @hellof20 in #4870
- chore: remove unused code and class in text splitter by @bowenliang123 in #4864
- chore(deps): bump azure-storage-blob from 12.9.0 to 12.13.0 in /api by @dependabot in #4695
- chore: separate style checks into multiple jobs triggering on file changes by @bowenliang123 in #4876
- chore: update page.tsx by @eltociear in #4897
- fix azure blob token expire by @JohnJyong in #4911
- chore: modify tools/JinaReader label to Jina by @doufa in https://github.com/langgenius/dif...
v0.6.9 Workflow as Tool
✨ Dify v0.6.9 has landed! ✨
We’ve been working on enhancing our workflow capabilities lately. Today we’ve got some news:
☄️ Publish workflow as a tool
You can now publish your AI workflow in Dify as a reusable tool. This allows for integration with new agents and other workflows, eliminating redundant efforts.
dify-0-6-9.mp4
🧩 Two new workflow nodes and one node improvement
🔄 Iteration
Make sure the input is an array. Each item in the array will be processed sequentially by the iteration node until all items are addressed. For instance, if you require a lengthy article, simply input several headlines. This will result in an article containing a paragraph for each headline, freeing you from the need for complex prompt orchestration.
💥 Parameter Extractor
Uses LLM to extract structured parameters from natural language, making tool use and HTTP requests in workflows a breeze.
🔗 Variable Aggregator
Improved Variable Assigner supports more flexible variable selection. Additionally, the user experience is enhanced by improving the way node connections are made.
🖼️ Brand new tool management page
We’ve updated our UI to be more intuitive and easier to use, with improved classification.
🚀 Other New Features
- GPT-4o for Azure: Added support for GPT-4o on Azure by @leslie2046 in #4568.
- Vertex AI Support: Added support for Vertex AI by @patryk20120 in #4586 and @miendinh in #4641.
- Gemini Flash: Added Gemini Flash by @QuietRocket in #4616.
- Doubao LLM and Embedding Models: Added support for Doubao LLM and embedding models by @sinomoe in #4431.
- Amazon Titan V2: Added support for Amazon Titan V2 and updated pricing for Titan V1 by @longzhihun in #4643.
- Ernie-Character-8k of Wenxin: New LLM Ernie-Character-8k added by @jiaqianjing in #4448.
- Claude Stream Tool Call: Enhanced Claude stream tool call by @Yeuoly in #4469.
- Chat Custom Disclaimer: You can add custom disclaimers in WebApp by @patryk20120 in #4306.
- MiniMax Mode Sensitive Info Masking: Added parameter config for masking sensitive info in MiniMax mode by @zhangever in #4294.
- Jina Search & Reader CSS Selectors: Added CSS selectors for Jina Search & Reader by @rennokki in #4523.
- Images and Tables Extraction from DOCX: Now supports extracting images and tables from DOCX files by @JohnJyong in #4619.
⚙️ Enhancements
- RAG Document Segmentation: Configurable max segmentation tokens length for RAG documents using an environment variable by @rainchen in #4375.
- WORKFLOW_MAX_EXECUTION_TIME: Added environment variable for max workflow execution time by @majian159 in #4632.
- Image Preview URL expire Env Variable: Added environment variable for time signature of image preview url by @patryk20120 in #4650.
🛠️ Bug Fixes
- General Fixes: Various bug fixes and improvements to enhance stability and performance.
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 -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
- Create README_KR.md by @leejoo0 in #4364
- fix: delete end node by @zxhlyh in #4372
- fix: requests timeout by @Yeuoly in #4370
- improve the code readability of http_executor node by @hjlarry in #4360
- fix: Jinja switch not aligned in vertical direction by @iamjoel in #4374
- feat: Use Romanian & other langs in QA by @rennokki in #4205
- fix the issue of MILVUS_DATABASE has no effect. by @kerlion in #4353
- fix: add timeout to SMTPClient to prevent worker blocking by @chazzhou in #4352
- docs: Add CONTRIBUTING_JA.md by @shutootaki in #4383
- Fix: setup google-storage client by @kotamat in #4296
- FIX: fix the temperature value of ollama model by @Yash-1511 in #4027
- Fix HTTP REQUEST NODE is always waiting but endpoint have responsed by @hjlarry in #4395
- chore: remove model as tool by @Yeuoly in #4409
- fix: workflow delete edge when node is selected by @zxhlyh in #4414
- Optimize webscraper by @charli117 in #4392
- chore: remove useless code in knowledge_retrieval_node by @VoidIsVoid in #4412
- Custom sqlalchemy database uri scheme is supported by @xtuhcy in #4367
- Remove useless code by @GarfieldDai in #4416
- feat: support doubao llm and embeding models by @sinomoe in #4431
- fix: wrong category name in examples of question classifier completion prompt by @hanfangyuan4396 in #4421
- fix: self node type shouldn't show in the picker by @HiChen404 in #4445
- feat: add pre ping for sqlalchemy configuration by @takatost in #4454
- fix the wrong env variable AZURE_BLOB_CONTAINER_NAME by @JohnJyong in #4455
- add llm: ernie-character-8k of wenxin by @jiaqianjing in #4448
- fix: workflow add next node from knowledge retrieval node by @zxhlyh in #4467
- improve: exract Code Node provider for each supported scripting language by @bowenliang123 in #4164
- enhance: claude stream tool call by @Yeuoly in #4469
- fix: cot gent duplicate messages by @Yeuoly in #4470
- fix: cot agent token usage is empty by @sinomoe in #4474
- fix: app logo by @zxhlyh in #4483
- fix: copy button is always displayed on the chat logs page by @vikeychen in #4488
- chore: update docker-compose.yaml by @eltociear in #4492
- Fix: HTTP request node PARAMS parameters, if ':' appears in the value… by @Wang-HL in #4403
- Update docker-compose.yaml- New DEBUG variable by @Theysua in #4476
- Feat/chat custom disclaimer by @patryk20120 in #4306
- chore: skip unnecessary key checks prior to accessing a dictionary by @bowenliang123 in #4497
- fix:modify spelling errors: lanuage ->language in schema.md by @fanghongtai in #4499
- fix: files data missed for message by @MatriQ in #4512
- chore: sort categories in recommended app service response by @BenjaminX in #4498
- fix: read llm node's first prompt role by optional chaining by @sinomoe in #4510
- feat:Provide parameter config for mask_sensitive_info of MiniMax mode… by @zhangever in #4294
- fix: workaround db migration error when adding custom_disclaimer column to recommended_apps by @bowenliang123 in #4518
- Add UNSTRUCTURED_API_KEY env support by @majian159 in #4369
- allow to config max segmentation tokens length for RAG document using environment variable by @rainchen in #4375
- improve: generalize transformations and scripts of runner and preloads into TemplateTransformer by @bowenliang123 in #4487
- chore: apply and fix flake8-bugbear lint rules by @bowenliang123 in #4496
- feat: Jina Search & Jina Reader CSS selectors by @rennokki in #4523
- chore: update yfinance dependency to version 0.2.40 by @BenjaminX in #4517
- Bump oss2 to 2.18.5 for AuthV4 support by @denverdino in #4425
- oauth2 supports. by @GarfieldDai in #4551
- add qdrant metadata.doc_id index by @JohnJyong in #4559
- feat:add gpt-4o for azure by @leslie2046 in #4568
- chore: Hide the copy button when there is no content to copy by @hjlarry in #4546
- Refactor part of the ProviderManager code to improve readability by @hjlarry in #4524
- chore(api): U...
v0.6.8 GPT-4o is available now in Dify
✨ What’s New in v0.6.8? ✨
Hey folks, we've rolled out version 0.6.8 of our platform and it's packed with some new features, enhancements, and fixes. Here’s a quick rundown of what’s new:
🚀 New Features
-
Introduced GPT-4 Turbo for Azure by @leslie2046 in #4287.
-
New models hosted on NVIDIA added by @joshua20231026 in #4303.
-
Added Jinja2 template prompt support for LLM node by @Yeuoly in #3968 and @iamjoel in #4260.
-
Code node with upgraded network support and additional Python dependencies by @Yeuoly in #4231.
And we also removed the need for SYS_ADMIN permission for the sandbox service.
-
Added support for Google Storage by @KiyotakaMatsushita in #4266.
-
Korean language support (ko-KR) by @qkdxorjs1002 in #4333.
⚙️ Enhancements
-
Optimized workflow graph sync by @takatost in #4251 and @zxhlyh in #4250.
Now, you won't lose any workflow graph data when switching between multiple tabs in the browser. It's instantly synced to the latest draft version!
-
Hide node detail outputs and run details in web apps to streamline interfaces by @takatost in #3954 and @iamjoel in #4289.
Before, the tracing of the workflow might expose the log details of the nodes to the end-users, now we have disabled it.
-
Increased max steps to 50 in workflows by @takatost in #4252.
-
Question classifier prompt optimization for better accuracy by @JohnJyong in #4262.
After optimization, the classification results will be more accurate.
-
Optimized install form for better user experience by @TinsFox in #4154.
🛠️ Bug Fixes
- Fixed workflow zoom in/out shortcuts by @zxhlyh in #4283.
- Addressed an issue where web apps did not show number type input fields by @iamjoel in #4292.
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 -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
- refactor: install form by @TinsFox in #4154
- fix: add missing translations by @crazywoola in #4212
- feat: workflow interaction by @zxhlyh in #4214
- fix: workflow end node deletion by @zxhlyh in #4240
- chore: workflow sync with hash by @zxhlyh in #4250
- feat: Add draft hash check in workflow by @takatost in #4251
- feat: increase max steps to 50 in workflow by @takatost in #4252
- correct comparison chart by @guchenhe in #4254
- Feat/vector db pgvector by @vaayne in #3879
- question classifier prompt optimize by @JohnJyong in #4262
- feat: support LLM jinja2 template prompt by @Yeuoly in #3968
- fix: system default model name length (#4245) by @GalvinYang in #4246
- feat: llm support jinia fe by @iamjoel in #4260
- fix: miss usage of os.path.join for URL assembly and add tests on yarl by @bowenliang123 in #4224
- fix: remove unexpected zip and add FlipForward arrow icon by @lawvs in #4263
- feat: Add storage type and Google Storage settings to worker by @KiyotakaMatsushita in #4266
- fix(frontend): 🔧 add privacy policy spaces by @patryk20120 in #4277
- fix: hook dependency by @TinsFox in #4242
- fix: do nothing if switch to current app by @cainiaokan in #4249
- fix: deutsch edit app by @YidaHu in #4270
- fix: workflow zoomin/out shortcuts by @zxhlyh in #4283
- fix(Backend:http_executor): 🔧 prevent splitting JSON data as v… by @patryk20120 in #4276
- Add rerank model type for LocalAI provider by @thiner in #3952
- feat:add gpt-4-turbo for azure by @leslie2046 in #4287
- feat: hide node detail outputs in webapp & installed app in explore by @takatost in #3954
- feat: hide run detail in webapps and installed apps by @iamjoel in #4289
- Update docker-compose.yaml by @rechardwang in #4288
- fix: webapps not show number type input field by @iamjoel in #4292
- fix: align versions of react typing packages by @nite-knite in #4297
- fix: chatflow run progress problem by @iamjoel in #4298
- feat: support copy run text result in debug panel in workflow by @iamjoel in #4300
- fix: text generation app not show copy button by @iamjoel in #4304
- Update README.md to remove outdated badge by @guchenhe in #4302
- add-some-new-models-hosted-on-nvidia by @joshua20231026 in #4303
- fix: minimax streaming function_call message by @Weaxs in #4271
- chore: update gmpy2_pkcs10aep_cipher.py by @eltociear in #4314
- improve: code upgrade by @Yeuoly in #4231
- fix typo by @hjlarry in #4329
- feat: i18n: add korean language (ko-KR) by @qkdxorjs1002 in #4333
- add yi models by @orangeclk in #4335
- fix: handleUpdateWorkflowCanvas is not a function by @sinomoe in #4343
- feat: gpt-4o by @Yeuoly in #4346
- version to 0.6.8 by @takatost in #4347
New Contributors
- @GalvinYang made their first contribution in #4246
- @KiyotakaMatsushita made their first contribution in #4266
- @thiner made their first contribution in #3952
- @rechardwang made their first contribution in #4288
- @hjlarry made their first contribution in #4329
- @qkdxorjs1002 made their first contribution in #4333
Full Changelog: 0.6.7...0.6.8
v0.6.7
✨ What’s New in v0.6.7? ✨
The latest update, v0.6.7, continues to refine and expand our features with an emphasis on integrations and accessibility. Key updates include:
🚀 New Features
-
Integrate
DeepSeek
Models by both @joshua20231026 and @soulteary in #4157 and #4162 -
Integrate
LeptonAI
Models by @joshua20231026 in #4079 -
New model support from
Azure OpenAI
for theGPT-4-turbo-2024-04-09
model by @charli117 in #4144 -
Integrate
Volcengine MaaS
model provider by @sinomoe in #4142 -
Update to
bedrock.yaml
adds the Asia Pacific (Sydney) region by @chenx5 in #4016 -
LocalAI
speech-to-text support by @Tomywang999 in #3921. -
Added support for vision models from xinference by @Minamiyama in #4094.
-
A new built-in tool for Slack Incoming Webhook by @ericyangpan in #4067
-
Added support for Polish (pl-PL) by @patryk20120 in #4128
⚙️ Enhancements
-
Integration of OpenAI usage in streaming response by @Yeuoly in #4140
-
New HTTP node settings allow for increased maximum size environments by @Yeuoly in #4137
-
Improved Japanese translations make our platform more accessible to Japanese speakers by @Fyphen1223 in #4119.
-
Support for time formats in code sandbox by @Yeuoly in #4138
-
Update to
model_provider jina
to support custom URLs and models by @VoidIsVoid in #4110 -
Added BaseURL configuration for the Cohere model by @huangbaichao in #4152
-
Improved testing of the CodeExecutor with code templates and extracted CodeLanguage enum for better development practices by @bowenliang123 in #4098
🛠️ Bug Fixes
- Fixed the HTTP node timeout and URL checks in workflows to ensure smoother operations and reliability by @zxhlyh in #4175.
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 -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: workflow avg user interaction. by @GarfieldDai in #4056
- fix: unable to fetch CoT agent runner log by @sinomoe in #4052
- test: add integration tests on CodeExecutor with the sandbox service by @bowenliang123 in #4015
- fix typo: writeOpner -> writeOpener by @shoheiweb86 in #4060
- Feat: frontend support timezone of timestamp by @JzoNgKVO in #4070
- fix: agent log timezone by @Yeuoly in #4076
- feat: add a new built-in tool of Slack Incoming Webhook by @ericyangpan in #4067
- fix: transform None into correct dest type by @Yeuoly in #4077
- Revert "fix: hydration warning (#3897)" by @TinsFox in #4059
- Update bedrock.yaml add Region Asia Pacific (Sydney) by @chenx5 in #4016
- Leptonai integrate by @joshua20231026 in #4079
- Urgent Correction: Resolving Critical License Documentation Error in Dify's Japanese README by @LinkX-shomasakamoto in #4075
- improve: menu collapse readability by @JunIce in #4099
- fix: correct the license link by @buddypia in #4093
- fix: typo in get-automatic-res.tsx by @eltociear in #4097
- 🦄 refactor(dataset svc): delete check none by @baxiang in #4101
- feat: support aliyun oss auth v4 by @S96EA in #3886
- fix: prevent http node overwrite on open by @perzeuss in #4127
- feat: add http node max size env by @Yeuoly in #4137
- Improved Japanese translation by @Fyphen1223 in #4119
- improve: test CodeExecutor with code templates and extract CodeLanguage enum by @bowenliang123 in #4098
- feat: support time format by @Yeuoly in #4138
- feat: support openai stream usage by @Yeuoly in #4140
- bug fix: update minimax model_apis by @Weaxs in #4116
- feat(Languages): 👽 add pl-PL language by @patryk20120 in #4128
- azure_openai add gpt-4-turbo-2024-04-09 model by @charli117 in #4144
- fix: passing in 0 as a numeric variable will be converted to null by @takatost in #4148
- question classifier optimize by @JohnJyong in #4147
- fix: http authorization leakage by @Yeuoly in #4146
- Add support for local ai speech to text by @Tomywang999 in #3921
- feat: support vision models from xinference by @Minamiyama in #4094
- feat: update model_provider jina to support custom url and model by @VoidIsVoid in #4110
- fix dataset segment update api not effect issue by @JohnJyong in #4151
- feat: add proxy configuration for Cohere model by @huangbaichao in #4152
- fix: stop event propagation when deleting selected workflow var node by @lawvs in #4158
- Add-Deepseek by @joshua20231026 in #4157
- feat: DeepSeek by @soulteary in #4162
- Fix:typo Incorrect Japanese 2 by @sasaharukimedes in #4167
- Typo on deepseek.yaml and yi.yaml by @Yongtae723 in #4170
- feat: add volcengine maas model provider by @sinomoe in #4142
- fix: workflow http node timeout & url check by @zxhlyh in #4175
- fix: button widths by @tomoyuki28jp in #4145
- fix delete log annotation by @cainiaokan in #4201
- modify spelling errors: bulild -> build by @faukwaa in #4206
- version to 0.6.7 by @takatost in #4208
New Contributors
- @shoheiweb86 made their first contribution in #4060
- @ericyangpan made their first contribution in #4067
- @chenx5 made their first contribution in #4016
- @LinkX-shomasakamoto made their first contribution in #4075
- @buddypia made their first contribution in #4093
- @S96EA made their first contribution in #3886
- @Fyphen1223 made their first contribution in #4119
- @Tomywang999 made their first contribution in #3921
- @Minamiyama made their first contribution in #4094
- @lawvs made their first contribution in #4158
- @sasaharukimedes made their first contribution in #4167
- @Yongtae723 made their first contribution in #4170
- @tomoyuki28jp made their first contribution in #4145
- @cainiaokan made their first contribution in #4201
- @faukwaa made their first contribution in #4206
Full Changelog: 0.6.6...0.6.7
v0.6.6
✨ What’s New in v0.6.6? ✨
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
🚀 New Features
-
Tool Firecrawl support by @richards199999 in #3819
This new tool provides capabilities akin to JinaReader, allowing you to efficiently scrape web content and convert it to Markdown format.
-
Bedrock Llama3 support by @longzhihun in #3890
-
VectorDB PGVecto_rs support and SQLAlchemy upgrade to 2.x by @JohnJyong in #3833
-
Added support for HTTP Request Timeout Settings in the HTTP request node by @majian159 in #3854
With the new connection, read, and write timeout settings, you can control your HTTP requests with precision.
⚙️ Enhancements
-
Added support for Traditional Chinese language by @yongjer in #3899
-
Workflow remove preview mode by @zxhlyh in #3941
During preview, users can modify workflow graph configurations to enhance the user experience.”
-
Qdrant gRPC mode support by @leslie2046 in #3929
-
Refactor storage using the factory pattern by @JohnJyong in #3922
-
Update sandbox service image tag to a specific version to avoid any issues with delayed image updates by @Yeuoly in #3997
-
Text stream support for workflow app when using LLM node text as End node output by @takatost in #3798
If the END node in the workflow app contains the LLM text variable, it can support streaming output in typewriter form.
-
CODE transform node editor support insert var by add slash or left brace by @iamjoel in #3946
-
Added class_name output variable for question classifier node by @sinomoe in #4000
🛠️ Bug Fixes
- fix: tool webscraper - too many redirects in case target url does not support HEAD method and redirect infinite to the same error link by @miendinh in #3831
- fix: fetch page name of notion wiki by @badbye in #3847
- fix: together ai model setting by @JohnJyong in #3895
- feat: replicate model provider supports default version by @GarfieldDai in #3884
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 -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
- test: refactor vdb tests by visitor design pattern by @bowenliang123 in #3838
- Reduce tool redundancy for [Judge0 CE] by @richards199999 in #3837
- fix: using api can not execute relyt vector database by @klaus-xiong in #3766
- fix: billing tenant account role. by @GarfieldDai in #3850
- refactor: config file by @takatost in #3852
- test: add tests covering all methods of vector store by @bowenliang123 in #3849
- fix: chat api doc not show title in english vision by @iamjoel in #3864
- fix: UP031 style rule violation by @bowenliang123 in #3866
- optimize the knowledge failed documents query by @charli117 in #3870
- fix: full screen editor not follow panel width by @iamjoel in #3876
- fix: copy invite link for HTTPS has deplicate origin by @zhangever in #3877
- add the comment in entrypoint.sh by @hikariming in #3882
- fix: tool webscraper - too many redirects in case target url does not… by @miendinh in #3831
- fix: fetch page name of notion wiki by @badbye in #3847
- test: improve vector store tests by @bowenliang123 in #3855
- add together ai model setting by @JohnJyong in #3895
- chore: integrate code-inspector-plugin by @TinsFox in #3900
- Add support for Traditional Chinese language by @yongjer in #3899
- feat: replicate supports default version. by @GarfieldDai in #3884
- fix: hydration warning by @TinsFox in #3897
- feat: add support for Bedrock LLAMA3 by @longzhihun in #3890
- chore: skip warning messages when pytest auto-collecting the vdb test class by removing
Test
prefix by @bowenliang123 in #3906 - feat: Add google storage support by @miendinh in #3887
- fix: api doc example error by @StudyingLover in #3925
- fix: code full screen in web app cause error by @iamjoel in #3935
- feat: add start commands to devcontainer by @perzeuss in #3902
- improvement: Optimizing the experience of the app list page by @majian159 in #3885
- enhancement:support Qdrant gRPC mode by @leslie2046 in #3929
- feat: workflow remove preview mode by @zxhlyh in #3941
- feat: llm text stream support for workflow app by @takatost in #3798
- optimize: code node has a bad error message by @Yeuoly in #3949
- feat: code transform node editor support insert var by add slash or left brace by @iamjoel in #3946
- chore: update
@types/react
by @TinsFox in #3939 - feat: rename var name sync to used jinjia code by @iamjoel in #3964
- delete duplicate check get_dataset by @baxiang in #3966
- add pgvecto_rs support and upgrade SQLAlchemy by @JohnJyong in #3833
- fix: db connections not being released during workflow execution by @takatost in #3971
- fix-nvidia-llama3 by @joshua20231026 in #3973
- feat: add support for request timeout settings in the HTTP request node. by @majian159 in #3854
- Add new tool: Firecrawl by @richards199999 in #3819
- Fix: password check in page of install by @JzoNgKVO in #3978
- add default value for QDRANT_GRPC_PORT by @JohnJyong in #3976
- Feat/install process refinement by @crazywoola in #3982
- add storage factory by @JohnJyong in #3922
- fix: ci by @crazywoola in #3983
- chore: add sandbox tag by @Yeuoly in #3997
- fix: workflow disable shortcuts when feature panel occured by @zxhlyh in #4001
- fix: prompt editor insert quickly by @zxhlyh in #4004
- Enabled Notion integration setup in Docker Compose Deployment by @kei-yamazaki in #3919
- fix(web): copy button visible at chat page normally by @JunIce in #4005
- Update the description and labels in Judge0ce tool by @richards199999 in #3990
- fix: submitCodeExecutionTask by @crazywoola in #4006
- chore: skip deprecated field_schema param in creating payload index on Qdrant by @bowenliang123 in #3903
- fix: prompt undefined caused match problem by @iamjoel in #4010
- feat: support minimax abab6.5, abab6.5s by @Weaxs in #4012
- feat: support question classifier node output by @sinomoe in #4000
- add glm-3-turbo max_tokens parameter setting by @orangeclk in #4017
- chore(deps): bump word-wrap from 1.2.3 to 1.2.5 in /web by @dependabot in #4018
- fix: lodash version has warning by @iamjoel in #4020
- fix: typo of jinja2 by @bowenliang123 in #4019
- chore(deps): bump semver from 5.7.1 to 5.7.2 in /web by @dependabot in #4022
- test: remove explicit env settings for CI pytests by @bowenliang123 in #4041
- version to 0.6.6 by @takatost in #4050
New Contributors
- @zhangever made their first contribution in #3877
- @hikariming made their first contribution in #3882
- @badbye ma...
v0.6.5
✨ What’s New in v0.6.5? ✨
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
🚀 New Features
-
Added support for the Bedrock Mistral AI model by @longzhihun in #3676.
-
Introduced a new tool, Judge0 CE, by @richards199999 in #3684.
-
Added
conversation_id
anduser_id
to the chatflow/workflow system variables by @takatost in #3771.This is particularly valuable when you need to interact with internal systems. You can pass these two parameters when using the HTTP Request node, allowing the internal system to understand the current user and the corresponding conversation to establish a connection.
-
Added chatflow LLM node with query prompt template support by @takatost in #3791.
You can now enable memory in the LLM node within your chatflow, and customize the query prompt template.
-
Enabled the addition of custom tags for Knowledge and App categories by @JohnJyong in #3755.
⚙️ Enhancements
- Supported knowledge embedding model modification by @JohnJyong in #3755.
- Added a retry function for when embedding a document fails by @JohnJyong in #3755.
- Increased the speed of xinference audio transcription by @leslie2046 in #3636.
🛠️ Bug Fixes
- Fixed an issue where creating a collection could fail due to a Milvus version upgrade by @bowenliang123 in #3683.
- Resolved a problem where workflow drafts might be lost during synchronization by @zxhlyh in #3824.
- Addressed an upgrading issue where gmpy2 could cause the error "Worker (pid:67) was sent code 132!" on some CPUs by @bowenliang123 in #3745.
- Fixed inconsistencies in number variable types in the IF/ELSE node of a workflow by @takatost in #3758.
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 -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
- add groq llama3 by @guchenhe in #3673
- feat: add support for bedrock Mistral AI model by @longzhihun in #3676
- chore: update description of code interpreter tool by @bowenliang123 in #3679
- fix: incorrect type parser by @Yeuoly in #3682
- fix: Added prevention of click event propagation for overlay layer by @Luvian77 in #3666
- Add new tool: Judge0 CE by @richards199999 in #3684
- Localize links to localized READMEs by @carsonkahn-external in #3689
- fix: skip dataset icon by @Yeuoly in #3696
- fix: workflow shortcuts by @zxhlyh in #3701
- refactor: tool parameter cache by @Yeuoly in #3703
- fix: cannot change file uploader method by @Luvian77 in #3710
- fix: workflow restore by @zxhlyh in #3711
- enhance:speedup xinference audio transcription by @leslie2046 in #3636
- fix: milvus usage with create_collection by @bowenliang123 in #3683
- feat: prompt editor support auto height by content height and fix some bugs by @iamjoel in #3712
- fix: workflow connection by @zxhlyh in #3713
- bedrock llm Model file name change by @1102asd in #3714
- Update README_JA.md by @eltociear in #3727
- Update "@formatjs/intl-localematcher" to version 0.5.4 in package.json by @LeoQuote in #3726
- feat: add copy button to code by @crazywoola in #3719
- fix: workflow node variable by @zxhlyh in #3743
- fix: toggling AppDetailNav causes unnecessary component rerenders by @yikayiyo in #3718
- fix: rollback gmpy2 to 2.1.5 by @bowenliang123 in #3745
- fix: workflow restore by @zxhlyh in #3750
- chore: add selector for use app store by @JzoNgKVO in #3746
- fix: llm editor readonly cover error by @iamjoel in #3752
- Knowledge optimization by @JohnJyong in #3755
- fix: type num of variable converted to str by @takatost in #3758
- feat: support prompt messages sorting by @iamjoel in #3757
- fix: workflow sync by @zxhlyh in #3756
- fix: endpoint for 'Update a document from a file' by @ugyuji in #3751
- fix: handle inputs show the focus ui together in tools node by @iamjoel in #3763
- Fix: redirection of app remove by @JzoNgKVO in #3770
- test: add test for PKCS1OAEP_Cipher with gmpy2 by @bowenliang123 in #3760
- feat: add conversation_id and user_id in chatflow/workflow system vars by @takatost in #3771
- feat: test all unit tests by @takatost in #3787
- use pymilvus 2.3.7 by @bowenliang123 in #3790
- test: add unit tests for vector stores of Milvus, Qdrant and Weaviate by @bowenliang123 in #3688
- feat: add log_file environment variable by @YidaHu in #3793
- fix: credentials validate failed for groqcloud model provider by @takatost in #3817
- fix: missing url field when searching special keywords by @Yeuoly in #3820
- fix:still enable SSL verification when using qdrant based on HTTP protocol by @leslie2046 in #3805
- chore: remove anthropic pay entrance by @iamjoel in #3822
- fix: event of keyboard "enter" in text generator app by @JzoNgKVO in #3823
- fix: workflow sync data by @zxhlyh in #3824
- Update EN,KL,JA,FR,ES documentation Llma2 to Llama3 model support by @Caplost in #3827
- Fix: event of click away in message-log-modal by @JzoNgKVO in #3828
- version to 0.6.5 by @takatost in #3834
- feat: add aliyun oss storage by @henrybit in #3690
- feat: query prompt template support in chatflow by @takatost in #3791
- fix: model parameter default value by @zxhlyh in #3841
- extract enum type for tenant account role by @bowenliang123 in #3788
- fix: debug run not show total right tokens by @iamjoel in #3843
- fix: citations always appear in the chatflow app by @takatost in #3844
New Contributors
- @Luvian77 made their first contribution in #3666
- @carsonkahn-external made their first contribution in #3689
- @1102asd made their first contribution in #3714
- @ugyuji made their first contribution in #3751
- @Caplost made their first contribution in #3827
- @henrybit made their first contribution in #3690
Full Changelog: 0.6.4...0.6.5
v0.6.4
✨ Spotlight on Dify v0.6 ✨
🚀 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.4?
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
- feat: Added agent tools log by @JzoNgKVO in #3537
- feat: Added claude 3 opus of bedrock by @tellsiddh in #3545
- feat: Added Code Interpreter Tool by @Yeuoly in #3557
- feat: Added workflow api in Node.js sdk by @iamjoel in #3584
- feat: Added Mistral open-mixtral-8x22b by @joshua20231026 in #3591
- feat: Added stable diffusion 3 tool by @Yeuoly in #3599
- feat: Added mixtral 8x22b by @joshua20231026 in #3606
- feat: Vision switch functionality is provided on OpenRouter by @jeessy2 in #3564
- feat: moonshot function calling support by @Yeuoly in #3629
- feat: Added llama3 for nvidia-api-catalog by @joshua20231026 in #3631
- feat: File logging support by @liuzhenghua in #3612
- 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 -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 the return with wrong datatype of segment by @JohnJyong in #3525
- fix: the hover style of the card-item operation button container by @bushuai in #3520
- chore: lint .env file templates by @bowenliang123 in #3507
- add support for swagger object type by @LeePui in #3426
- feat: increase read timeout of OpenAI Compatible API, Ollama, Nvidia LLM by @takatost in #3538
- feat: agent log by @JzoNgKVO in #3537
- fix: typo of PublishConfig by @bowenliang123 in #3540
- fix: workflow delete edge by @zxhlyh in #3541
- feat: filter empty content messages in llm node by @takatost in #3547
- fix: json-reader-json-output by @Yeuoly in #3552
- fix: tool node show output text variable type error by @iamjoel in #3556
- feat: economical index support retrieval testing by @iamjoel in #3563
- optimize question classifier prompt and support keyword hit test by @JohnJyong in #3565
- fix event/stream ping by @liuzhenghua in #3553
- enhance: preload general packages by @Yeuoly in #3567
- added claude 3 opus by @tellsiddh in #3545
- feat: code by @Yeuoly in #3557
- feat: add workflow api in Node.js sdk by @iamjoel in #3584
- Fix: use debounce for switch by @JzoNgKVO in #3585
- fix: json in raw text sometimes changed back to key value in HTTP node by @iamjoel in #3586
- test: add scripts for running tests on api module both locally and CI jobs by @bowenliang123 in #3497
- add-open-mixtral-8x22b by @joshua20231026 in #3591
- docs: Update README.md by @matheus-mondaini in #3577
- enhance:speedup xinference embedding & rerank by @leslie2046 in #3587
- fix(openai_api_compatible): fixing the error when converting chunk to json by @aniaan in #3570
- feat: stable diffusion 3 by @Yeuoly in #3599
- Feat/enterprise sso by @GarfieldDai in #3602
- Add mixtral 8x22b by @joshua20231026 in #3606
- fix: copy invite link has duplicated origin by @iamjoel in #3608
- seucirty: http smuggling by @Yeuoly in #3609
- chore: apply ruff rules on tests and app.py by @bowenliang123 in #3605
- feat: Vision switch functionality is provided on OpenRouter by @jeessy2 in #3564
- get dict key indexing_technique in DocumentAddByFileApi by @sqj8899 in #3615
- fix: chat rename by @zxhlyh in #3627
- feat: moonshot fc by @Yeuoly in #3629
- add-llama3-for-nvidia-api-catalog by @joshua20231026 in #3631
- content fix to continue by @fuckqqcom in #3633
- Fix error in [Update yaml and py file in Tavily Tool] by @richards199999 in #3465
- feat: add file log by @liuzhenghua in #3612
- fix: validate languages by @YidaHu in #3638
- Fix problem with scroll inside chat window by @rmmedia-pl in #3578
- fix: in alembic's offline mode (db migrate with --sql option), skip data operations by @sagarey in #3533
- fix: workflow_run_id not log_id in workflow api doc by @iamjoel in #3658
- Optimize README_CN by @takatost in #3660
- fix: delete tool parameters cache when sync draft workflow for run workflow use new parameter change in draft workflow by @gaoxin-pen in #3637
- python 3.12 support by @bowenliang123 in #3652
- version to 0.6.4 by @takatost in #3670
New Contributors
- @bushuai made their first contribution in #3520
- @LeePui made their first contribution in #3426
- @tellsiddh made their first contribution in #3545
- @matheus-mondaini made their first contribution in #3577
- @aniaan made their first contribution in #3570
- @jeessy2 made their first contribution in #3564
- @sqj8899 made their first contribution in #3615
- @fuckqqcom made their first contribution in #3633
- @rmmedia-pl made their first contribution in #3578
- @gaoxin-pen made their first contribution in #3637
Full Changelog: 0.6.3...0.6.4
v0.6.3
✨ Spotlight on Dify v0.6 ✨
🚀 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.3?
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
- feat: Add
JinaReader
as Tool by @Yeuoly in #3468 - feat:
Function calling
support for Google Gemini Pro by @Yeuoly in #3406 - feat: Add support for
embedding models
with AWS Bedrock Titan Model by @longzhihun in #3377 - feat: Support configurate openai compatible
stream tool call
by @Yeuoly in #3467 - feat: Refactor
tongyi
models, addfunction calling & vision
support by @takatost in #3496 - feat: Add support for AWS Bedrock
Cohere embedding
by @kerlion in #3444 - feat: Cohere
rerank 3 model
added by @Yash-1511 in #3431 - feat: Add nvidia
codegemma 7b
support by @joshfeng in #3437 - feat: API tool support custom timeout by @Yeuoly in #3420
- feat: Integrated
SearXNG search
as built-in tool by @junytang in #3363 - feat: Add support for extracting
EPUB
files in RAG extractors by @vaayne in #3254 - feat: Add support for extracting
XLS
files in RAG extractors by @ic-xu in #3321 - feat: Support
relyt
vector database by @klaus-xiong in #3367 - feat: Add workflow editor
shortcuts
(#3382) by @perzeuss in #3390 - feat: Show citation info in run history by @nite-knite in #3399
- feat: Optimize the efficiency of generating chatbot conversation name by @takatost in #3472
- 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
- feat: Add support for embed file with AWS Bedrock Titan Model by @longzhihun in #3377
- fix: remove - in dataset retriever tool name by @Yeuoly in #3381
- feat:api Add support for extracting EPUB files in ExtractProcessor by @vaayne in #3254
- feat: show citation info in run history by @nite-knite in #3399
- Feat: Invitation link automatically completes domain name by @huangbaichao in #3393
- Integrated SearXNG search as built-in tool by @junytang in #3363
- fix: [azure_openai] Error: 'NoneType' object has no attribute 'content' by @sagarey in #3389
- Update providers preview by @guchenhe in #3403
- add xls file suport by @ic-xu in #3321
- Update README.md by @guchenhe in #3405
- Fix/workflow tool incorrect parameter configurations by @Yeuoly in #3402
- chore: replace all set interval by @iamjoel in #3411
- feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling (#3408) by @pamaforce in #3416
- chore: remove Langchain tools import by @JohnJyong in #3407
- feat: gemini pro function call by @Yeuoly in #3406
- fix: shared text-generation stream by @zxhlyh in #3419
- fix/dataset-retriever-tool-parameter-redundancy by @Yeuoly in #3418
- Feat/api tool custom timeout by @Yeuoly in #3420
- fix: test env key missing or wrong by @takatost in #3430
- Doc/update readme by @crazywoola in #3433
- Update README_CN.md by @crazywoola in #3434
- Update README_CN.md by @crazywoola in #3435
- feat: add workflow editor shortcuts (#3382) by @perzeuss in #3390
- FEAT: cohere rerank 3 model added by @Yash-1511 in #3431
- chore: remove the COPY instruction in .devcontainer/Dockerfile by @BodhiHu in #3409
- fix typo: Changlog -> Changelog by @Selene29 in #3442
- fix: node shortcuts active in input fields by @perzeuss in #3438
- Add nvidia codegemma 7b by @joshfeng in #3437
- Update yaml and py file in Tavily Tool by @richards199999 in #3450
- feat: Added the mirror of Aliyun's Linux apk installation package and updated the deprecated taobao npm mirror address to npmmirror by @Kennytian in #3459
- Revert "Update yaml and py file in Tavily Tool" by @crazywoola in #3464
- feat: jina reader by @Yeuoly in #3468
- feat: support configurate openai compatible stream tool call by @Yeuoly in #3467
- feat: optimize the efficiency of generating chatbot conversation name by @takatost in #3472
- feat: remove langchain from output parsers by @takatost in #3473
- chore: separate Python dependencies for development by @bowenliang123 in #3198
- chore: add sandbox permission tooltip by @Yeuoly in #3477
- fix: prompt template issue by @YidaHu in #3449
- feat: support relyt vector database by @klaus-xiong in #3367
- Update README.md by @guchenhe in #3478
- nvidia-label-update by @joshua20231026 in #3482
- fix: in conversation log click op button would cause close drawer by @iamjoel in #3483
- fix: workflow auto layout nodes offset & delete node shortcuts by @zxhlyh in #3484
- fix: workflow edge curvature by @zxhlyh in #3488
- fix: stringify object while exporting batch result to csv by @sinomoe in #3481
- question classifier prompt optimization by @JohnJyong in #3479
- feat: refactor tongyi models by @takatost in #3496
- fix: bump twilio to 9.0.4 skipping yanked versions by @bowenliang123 in #3500
- test: install ffmpeg for pytests by @bowenliang123 in #3499
- feat: support var auto rename in prompt editor by @iamjoel in #3510
- fix: add message caused problem after simple chat convert to workflow by @iamjoel in #3511
- fix: the object field is empty string in some openAI api compatible model by @liuzhenghua in #3506
- Add suuport for AWS Bedrock Cohere embedding by @kerlion in #3444
- fix: add completion mode object check by @Yeuoly in #3515
- get config default for sandbox by @miendinh in #3508
- chore: improve reference variable picker user experience by @iamjoel in #3517
- fix: array[string] context in llm node invalid by @takatost in #3518
- version to 0.6.3 by @takatost in #3519
New Contributors
- @longzhihun made their first contribution in #3377
- @vaayne made their first contribution in #3254
- @junytang made their first contribution in #3363
- @sagarey made their first contribution in #3389
- @ic-xu made their first contribution in #3321
- @pamaforce made their first contribution in #3416
- @BodhiHu made their first contribution in #3409
- @Selene29 made their first contribution in #3442
- @joshfeng made their first contribution in #3437
- @YidaHu made their first contribution in #3449
- @klaus-xiong made their first contribution in #3367
- @sinomoe made their first contribution in https://github.com/langg...
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