Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
OTHER License
Bot releases are visible (Hide)
Published by laipz8200 18 days ago
[!IMPORTANT]
This version is for preview only, do not use in production!
[!NOTE]
We highly value your feedback! Please feel free to share your thoughts and discuss any issues using the GitHub Discussions feature. You can find the entry point for Discussions at the bottom of the release page.
To upgrade to this version, follow these steps:
Clone the repository using the following command:
git clone https://github.com/langgenius/dify.git
Switch to the beta branch:
git checkout 0.10.0-beta2
Then follow the Deploy with Docker Compose > Starting Dify.
We hope you find the new file processing capabilities and nodes useful in this release. Your feedback and contributions are always appreciated to help us improve Dify!
Published by laipz8200 19 days ago
[!IMPORTANT]
This version is for preview only, do not use in production!
[!NOTE]
We highly value your feedback! Please feel free to share your thoughts and discuss new features using the GitHub Discussions feature. You can find the entry point for Discussions at the bottom of the release page.
We are pleased to offer Dify 0.10.0-beta1 for early access. This release includes support for file processing in Workflows and Chatflow, allowing users to utilize File
and Array<File>
variable types and pass these variables through multiple nodes.
File Processing in Workflows: Added support for File
and Array<File>
variable types, allowing seamless handling and transfer of files across various nodes in a workflow. This capability significantly expands the range of tasks you can automate with Dify.
Document Extractor Node: Introducing the new Document Extractor node, which serves as a case example for file usage. This node is designed to parse various types of documents into text, facilitating text extraction from different file formats for further processing.
List Filter Node: To make it easier for users to work with Array
variables, the List Filter node has been added. This node allows you to filter, sort, and slice arrays based on specific conditions, offering enhanced control over array-type data within your workflows.
We have also introduced some UI and UX improvements to make Dify more modern and user-friendly.
To upgrade to this version, follow these steps:
Clone the repository using the following command:
git clone https://github.com/langgenius/dify.git
Switch to the beta branch:
git checkout 0.10.0-beta1
Then follow the Deploy with Docker Compose > Starting Dify.
We hope you find the new file processing capabilities and nodes useful in this release. Your feedback and contributions are always appreciated to help us improve Dify!
Published by laipz8200 19 days ago
We've shipped version 0.9.1 and it’s all about tightening up those loose ends. Let’s dive into what’s been improved:
Dataset Updates Refined: We've streamlined the process for updating original datasets by removing unnecessary parameters. Kudos to @JohnJyong for ironing this out in #8935 and #8939. Less clutter, smoother update experience.
Web Page Import via Jina: If you've hit a snag with importing web pages using Jina, the fix is now in place. Thanks to @douxc, those pesky errors should be a thing of the past in #8937.
Internal Dataset Request Params: Adjustments have been made to correct request parameters for internal datasets, ensuring your data requests play nice. Thanks, @YIXIAO0, for handling this in #8940.
Knowledge Node Retrieval: We’ve eliminated instances of multiple retrieval in the knowledge node to optimize performance and efficiency. A big shout-out to @JohnJyong again for this fix in #8942.
This version is all about refinement and stability, ensuring that the gears behind the scenes are turning smoothly. Until next time, keep building and innovating!
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout 0.9.1
git pull origin 0.9.1
Update Python dependencies:
cd api
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.9.0...0.9.1
Published by laipz8200 19 days ago
Get ready for a feature-packed update! Version 0.9.0 brings major enhancements, new integrations, and crucial fixes. Let’s dive into the details:
External Knowledge API: Now you can connect to third-party knowledge bases seamlessly (introduced by @JohnJyong in #8913).
Website Crawling: Now supports Jina Reader as additional alternative for website crawling, converting web page URL to LLM-friendly input format. Read Sync Data from Website for details. (@mapleeit in #8761).
Chat
, Agent
, and Chatflow
applications (@xuzuodong in #7661).With this release, we’re truly showcasing the power of Dify! We appreciate your continued support—explore the new features and share your feedback with us!
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout 0.9.0
git pull origin 0.9.0
Update Python dependencies:
cd api
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Chat
, agent
and Chatflow
app by @xuzuodong in https://github.com/langgenius/dify/pull/7661
Full Changelog: https://github.com/langgenius/dify/compare/0.8.3...0.9.0
Published by laipz8200 29 days ago
Hey everyone! We’re thrilled to announce the release of version 0.8.3, and it brings something truly game-changing:
In addition to the powerful Qwen models, we’ve also made several other improvements and fixes to optimize your experience:
We've also worked on various optimizations and bug fixes to improve overall stability:
This release is all about delivering cutting-edge capabilities with the Qwen 2.5 Series models and refining the platform with additional tools and fixes. Huge thanks to our incredible contributors for making this version happen! 🚀
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.8.2...0.8.3
Published by laipz8200 about 1 month ago
Hey everyone, we've got some fresh updates in version 0.8.2 that are all about making your experience smoother and more efficient. Here's the lowdown:
O1-Series Models Support: We've added support for the O1-series models in the Agent App, specifically for ReACT workflows. This enhancement by @takatost in #8350 opens up new possibilities for those leveraging ReACT in their applications.
Service API Workflow Logs: Thanks to @fanlia in #8323, you can now access detailed workflow logs via the service API. This is a big win for those of you who need to keep a close eye on what's happening under the hood.
Score Threshold Fix: Addressed an issue where the score threshold was set to none, ensuring more reliable performance metrics by @JohnJyong in #8342.
Workflow Var-Selector Update: Fixed a bug where the var-selector wasn't updating when edges changed in workflows. Kudos to @HiChen404 for this fix in #8259.
Copy and Paste Shortcut: Resolved an issue with the copy and paste shortcut in the textarea of the workflow run panel, making text manipulation a breeze again. Thanks to @YIXIAO0 for the fix in #8345.
That's it for this release! Keep those feedback and contributions coming, and let's keep making this platform even better together.
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.8.1...0.8.2
Published by laipz8200 about 1 month ago
Hello Dify Community! 🎉 We're excited to announce the release of v0.8.1, packed with enhancements, new features, and important bug fixes to elevate your experience. Let's explore what's new:
o1-preview
and o1-mini
. These additions provide you with more flexibility and enhanced AI capabilities to meet your diverse needs.Multi-Parallel Execution Fixed
Resolved issues with workflows executing multiple parallel branches and conditional paths seamlessly.
Credit to @takatost for #8221.
Accurate Branch Outputs
Fixed simultaneous output problems in different branches of the question classifier node for more reliable results.
Thanks to @takatost in #8225.
IF-ELSE Node Stability
Addressed execution halts when IF-ELSE nodes connect to the same subsequent node, ensuring consistent workflow execution.
Handled by @takatost in #8247.
Complete Data Flow in Answer Nodes
Fixed missing content in answer node stream outputs during iterations, guaranteeing comprehensive data flow.
Another great fix by @takatost in #8292.
Stream Chunk/Message Event Selector
Take greater control over your data streams with the new from_variable_selector
. This feature allows for more precise management of stream chunk and message events, ensuring smoother data flow.
Implemented by @takatost in #8228.
Improved Icon Alignment
Corrected the misalignment of the upload image icon in the chat input area for a cleaner interface.
Implemented by @hjlarry in #8263.
Enhanced Markdown Readability
Adjusted markdown paragraph margins to enhance readability and overall user experience.
Courtesy of @zxhlyh in #8289.
Copy Shortcut Fixes
Resolved issues with copy shortcuts in the workflow debug and preview panels for smoother navigation.
Thanks to @Kevin9703 in #8249.
Localized Translations
Enhanced regionalization of translations to provide a more localized and user-friendly experience.
Contributed by @thalessalazar in #8231.
Value Handling & Label Issues
Fixed truthy value handling and response format label issues for better data consistency.
Thanks to @ZuzooVn in #8208 and #8326.
VariableEntityType Bug
Resolved naming convention inconsistencies by fixing the VariableEntityType bug.
Handled by @GuoNingNing in #8299.
Bedrock Improvements
Claude Models Support
Claude models in Bedrock now support the response_format
parameter, providing more customization options.
Thanks to @badbye in #8220.
Cross-Region Inference
Added support for Bedrock cross-region inference, enhancing deployment flexibility across different regions.
Implemented by @ybalbert001 in #8317.
API Key Creation for Editors
Editors can now create API keys directly, streamlining the development workflow and enhancing security.
Thanks to @cuckootan in #8214.
Thank you to everyone who contributed to v0.8.1! 🙌 Your feedback and support help us build something truly awesome. Keep the suggestions coming, and let's continue to innovate together! 🚀
Stay tuned for more updates and happy coding! 💻✨
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.8.0...0.8.1
Published by laipz8200 about 1 month ago
Hey everyone, we’re excited to announce the release of version 0.8.0! This update brings a mix of new features, enhancements, and crucial bug fixes. Here’s a quick rundown:
Parallel Execution of Nodes in Workflows by @takatost, @zxhlyh, and @YIXIAO0 in #8192.
Nodes can now be executed in parallel within a workflow, greatly increasing the execution speed. This feature is especially beneficial for complex workflows that involve multiple steps or processes, allowing for quicker completion times and improved performance.
Dive deeper into the details and unleash the full potential of these new features by exploring our latest blog post and documentation!
gpt-4o-2024-08-06
and json_schema
for Azure OpenAI Service: Support for the latest GPT-4o model and JSON schema for Azure OpenAI by @hjlarry in #7648That’s it for this release! As always, we appreciate your feedback and contributions. Do it for you! 🚀
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
REDIS_SENTINEL_SOCKET_TIMEOUT
and CELERY_SENTINEL_SOCKET_TIMEOUT
by @laipz8200 in https://github.com/langgenius/dify/pull/8218
Full Changelog: https://github.com/langgenius/dify/compare/0.7.3...0.8.0
Published by laipz8200 about 2 months ago
[!IMPORTANT]
This version is for preview only, do not use in production!
We are excited to announce the release of Dify 0.8.0-beta1! This version introduces a significant enhancement to workflow performance by enabling the parallel execution of nodes within workflows. This improvement allows workflows to run faster and more efficiently, optimizing the use of resources and reducing overall processing time.
Parallel Execution of Nodes in Workflows: Nodes can now be executed in parallel within a workflow, greatly increasing the execution speed. This feature is especially beneficial for complex workflows that involve multiple steps or processes, allowing for quicker completion times and improved performance.
To upgrade to this version, follow these steps:
Clone the repository using the following command:
git clone https://github.com/langgenius/dify.git
Switch to the 0.8.0-beta1 branch:
git checkout 0.8.0-beta1
Then following the Deploy with Docker Compose > Starting Dify.
We hope you enjoy the new features and improvements in this release. As always, we welcome your feedback and contributions to make Dify even better!
Published by laipz8200 about 2 months ago
Hey everyone, we've just dropped version 0.7.3, and it's packed with new features, enhancements, and fixes. Let's dive into what's new:
score_threshold
to zero if it is None
by @lqhl in #7640.dataset_id
and index_node_id
in document segments table by @JohnJyong in #7681.None
value in chunk overlap by @JohnJyong in #7703.None
by @JohnJyong in #7890.That's all for this release! As always, thanks for your contributions and feedback. Keep them coming! 🚀
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.7.2...0.7.3
Hey everyone, we’re excited to bring you version 0.7.2 of our platform. This release is packed with new features, enhancements, and bug fixes to make your experience even better. Here’s a quick rundown:
UI/UX Improvements:
Backend Improvements:
That’s all for this release! As always, thank you for your contributions and feedback. Keep them coming, and happy coding! 🚀
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
workflow__conversation_variables
to workflow_conversation_variables
. by @laipz8200 in https://github.com/langgenius/dify/pull/7432
__init__
to Workflow by @laipz8200 in https://github.com/langgenius/dify/pull/7443
<AppIcon />
by @xuzuodong in https://github.com/langgenius/dify/pull/7512
api/core
by @totsukash in https://github.com/langgenius/dify/pull/7652
Full Changelog: https://github.com/langgenius/dify/compare/0.7.1...0.7.2
Published by laipz8200 2 months ago
Hey everyone, we’re excited to bring you version 0.7.1 of our platform! This release is packed with new features, enhancements, and crucial fixes. Let’s dive in:
Custom App Icons: Personalize your apps with custom icons by @xuzuodong in #7196.
OpenAI Structured Outputs Support: Now supporting OpenAI's Structured Outputs by @hjlarry in #7258.
Dify Sandbox v0.2.6: Install any Python package you want by @Yeuoly in #7410.
That’s all for this release! As always, thank you for your contributions and feedback. Keep building and innovating!
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Conversation.dialogue_count
by @laipz8200 in https://github.com/langgenius/dify/pull/7275
Full Changelog: https://github.com/langgenius/dify/compare/0.7.0...0.7.1
Published by laipz8200 2 months ago
Hey everyone, we’ve got a fresh update for you! Version 0.7.0 is here, and it’s packed with new features, model support, tools, and enhancements. Let’s dive in:
Conversation Variable & Variable Assigner Node by @JzoNgKVO, @iamjoel and @laipz8200 in #7222
Learn more:
That’s a wrap for v0.7.0! We hope you enjoy the new features and improvements. As always, your feedback is invaluable to us. Happy coding! 🚀
For additional enhancements and updates, refer to the What's Changed section below.
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
order_by
and paginate
at the same time by @feng000000 in https://github.com/langgenius/dify/pull/7225
api
in tests. by @laipz8200 in https://github.com/langgenius/dify/pull/7251
Full Changelog: https://github.com/langgenius/dify/compare/0.6.16...0.7.0
Published by takatost 2 months ago
Hey everyone, we’re back with another update, and this one’s packed with some exciting new features, model support, and enhancements. Let’s dive right in!
[!IMPORTANT]
We're phasing out theN-to-1
retrieval strategy on September 1, 2024, and introducing a more flexible multi-path retrieval strategy. We recommend switching to this new approach to boost your application's retrieval efficiency.
Learn More: https://dify.ai/blog/dify-ai-blog-n-to-1-knowledge-retrieval-legacy
For additional enhancements and updates, refer to the What's Changed section below.
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
to_object
in ObjectVariable and ArrayVariable. by @laipz8200 in https://github.com/langgenius/dify/pull/6671
convert_template
by @laipz8200 in https://github.com/langgenius/dify/pull/6709
delta.delta
is None. by @laipz8200 in https://github.com/langgenius/dify/pull/6727
dify_config
by @laipz8200 in https://github.com/langgenius/dify/pull/6750
upgrade-db
command for proper locking by @bowenliang123 in https://github.com/langgenius/dify/pull/6946
Full Changelog: https://github.com/langgenius/dify/compare/0.6.15...0.6.16
Published by takatost 3 months ago
Hey everyone, we’ve got a fresh update for you! Version 0.6.15 is here, and it’s packed with new features, model support, tools, and enhancements. Let’s dive in:
Environment Variables in Workflow: Now you can use environment variables directly in your chatflows/workflows, by @laipz8200 and @JzoNgKVO in #6515.
Environment variables can be used to store private information and credentials. They are read-only and can be separated from the DSL file during export.
The secret
variable type is used to define sensitive information or data, with DSL settings configured for leak prevention.
New Prompt Generator: We’ve introduced a new prompt generator, by @iamjoel in #6514, #6525, #6564, and @ZhouhaoJiang in #6516.
For additional enhancements and updates, refer to the What's Changed section below.
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
mask_authorization_header
because its alwary true. by @laipz8200 in https://github.com/langgenius/dify/pull/6379
difyChatbotConfig
by @yoyocircle in https://github.com/langgenius/dify/pull/6376
get_any
in some nodes that use object or array. by @laipz8200 in https://github.com/langgenius/dify/pull/6566
to_object
. by @laipz8200 in https://github.com/langgenius/dify/pull/6572
like
feedback to caculate User Satisfaction by @hjlarry in https://github.com/langgenius/dify/pull/6553
Full Changelog: https://github.com/langgenius/dify/compare/0.6.14...0.6.15
Published by takatost 3 months ago
Hey everyone, we’ve got some exciting updates in version 0.6.14. Here’s a quick look at what’s new and improved:
TTS Streaming Config: Text-to-Speech support automatic voice playback and streaming by @ic-xu in #5492.
Workflow Enhancements:
Added elif
support to the if-else
workflow node, and expanded condition values from only supporting static values to accepting variables by @zxhlyh in #6072 and @ZhouhaoJiang in #6094.
New Integrations:
ernie-4.0-turbo-8k-preview
by @Littlesheepxy in #6132.Support for importing DSL from a URL by @takatost in #6287 and @zxhlyh in #6286.
Implemented rate limiting for apps to manage the number of concurrent calls to the App Service API by setting the environment variable APP_MAX_ACTIVE_REQUESTS by @liuzhenghua in #5844.
For additional enhancements and updates, refer to the What's Changed section below.
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.13...0.6.14
Published by takatost 3 months ago
Hey everyone, we’ve just dropped version v0.6.13, and it’s packed with some routine updates and minor fixes. Let’s dive in:
Forgot Password Feature by @xielong in #5534
Finally, you can reset your password by sending an email if you forget it.
Nominatim OpenStreetMap Search Tool by @chazzhou in #5789
Firecrawl Tools: Scrape and Search by @ahasasjeb in #6016
Oracle OCI Object Storage Support by @hymvp in #5616
Llama 3 and Mixtral Model Options in ddgo_ai.yaml
by @k8scat in #5979
Moonshot and GLM Base Models for Volcengine Provider by @sinomoe in #6029
Correctly Delete Applications Using Celery Workers by @chazzhou in #5787
More completely remove App associated database records using celery queue.
WeCom Bot Markdown Message Support by @quicksandznzn in #5791
Claude3 Function Calling by @longzhihun in #5889
Request Params Field in Jina Reader Tool by XiaoLey in #5610
For additional enhancements and updates, refer to the What's Changed section below.
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
docker-entrypoint.sh
for nginx and ssrf-proxy services causing startup failures by @takatost in https://github.com/langgenius/dify/pull/5776
dify_config
with Pydantic. by @laipz8200 in https://github.com/langgenius/dify/pull/5938
Full Changelog: https://github.com/langgenius/dify/compare/0.6.12-fix1...0.6.13
Published by takatost 4 months ago
[!WARNING]
Fixed the issue where the WebApp URL was incorrect and the problem where the model and tools icons weren’t showing up after starting from Docker Compose with default.env
.
Persistent Custom Environment Variables: Users can now declare environment variables in .env that remain persistent across deployments. This change ensures that custom configurations are not lost during upgrades or redeployments.
Unified Vector Database Services: All vector database services have been consolidated into a single Docker file. Users can switch between different vector databases by modifying the VECTOR_STORE
environment variable in your local .env
. This simplifies the management of various vdb services and allows for more dynamic deployments.
Mandatory .env File: Unlike the previous deployment method, the new method requires an [.env] file before running docker compose up
. Users should start by copying the .env.example
file to create their own .env
file. This step is crucial for configuring the deployment to meet specific needs.
Legacy Support: The previous deployment files have been moved to a docker-legacy
directory. These files will no longer be maintained, but they are available for use if needed.
For existing users who's customized docker-compose.yaml
, ssrf_proxy/squid.conf
or nginx/conf.d/default.conf
, you may need to modify the corresponding environment variables in .env
to reflect your existing changes.
We are actively seeking feedback from the community to refine and enhance the deployment process. As more users adopt this new method, we will continue to make improvements based on your experiences and suggestions.
To get started with the new deployment method:
docker
directory.docker/.env.example
file to a new file named .env
and customize it as needed.docker compose up
to start the services.We encourage all users to transition to this new method to take advantage of the improved flexibility and configuration options. Your feedback during this beta phase is invaluable and will help us make the deployment process even better.
For detailed configuration options and environment variable settings, refer to the .env.example
file and the Docker Compose configuration files in the docker directory.
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.12...0.6.12-fix1
Published by takatost 4 months ago
[!IMPORTANT]
In the current version:
- We have deprecated
pip
as the primary package management tool in favor ofPoetry
for the Dify API service.- We have optimized the self-hosted deployment experience with Docker Compose by adding support for
.env
files and allowing the option to independently select Vector Database at startup.
The previous Docker Compose configuration has been moved to thedocker-legacy
directory.
For more details seeUpgrade to new docker compose deployment
below.
Hey everyone, we’ve got a fresh update for you with v0.6.12, and it’s packed with new features, tools, and improvements. Let’s dive in:
Undo/Redo for Workflow Editor: Finally, you can undo and redo your actions in the workflow editor by @perzeuss in #3927.
Import and Overwrite Workflow DSL: Importing and overwriting workflow DSL is now supported, you can now manage versions indirectly through DSL Export & Import by @takatost in #5511.
New Icons: We’ve replaced the old icons with fresh new ones by @zxhlyh in #5412.
Hide Workflow Steps: You now have the option to hide workflow steps in WebApp settings by @crazywoola in #5436.
Self-Hosting for Firecrawl Tool: The Firecrawl tool now supports self-hosting by @keita69 in #5528.
Latex in Chat Messages: Support for displaying Latex in chat messages by @ZuzooVn in #5001.
Citations and Attributions: These are now enabled by default by @takatost in #5508.
Jina New Pre-defined Rerankers: Including jina-reranker-v2 by @takatost in #5657.
Bedrock Command R Models: Added support for these models by @realjustinwu in #4521.
Claude-3-5-Sonnet-20240620: Support added for this model by @takatost in #5452 and @soulteary in #5461.
Vertex AI Claude-3-5-Sonnet@20240620: Support added by @hellof20 in #5475.
Predefined Models for OpenRouter: Added support by @sinomoe in #5494.
Qwen LLM: Added support by @LiXuemin in #5659.
Spark 4.0: Added support by @leslie2046 in #5688.
For additional enhancements and updates, refer to the What's Changed section below.
Persistent Custom Environment Variables: Users can now declare environment variables in .env that remain persistent across deployments. This change ensures that custom configurations are not lost during upgrades or redeployments.
Unified Vector Database Services: All vector database services have been consolidated into a single Docker file. Users can switch between different vector databases by modifying the VECTOR_STORE
environment variable in your local .env
. This simplifies the management of various vdb services and allows for more dynamic deployments.
Mandatory .env File: Unlike the previous deployment method, the new method requires an [.env] file before running docker compose up
. Users should start by copying the .env.example
file to create their own .env
file. This step is crucial for configuring the deployment to meet specific needs.
Legacy Support: The previous deployment files have been moved to a docker-legacy
directory. These files will no longer be maintained, but they are available for use if needed.
For existing users who's customized docker-compose.yaml
, ssrf_proxy/squid.conf
or nginx/conf.d/default.conf
, you may need to modify the corresponding environment variables in .env
to reflect your existing changes.
We are actively seeking feedback from the community to refine and enhance the deployment process. As more users adopt this new method, we will continue to make improvements based on your experiences and suggestions.
To get started with the new deployment method:
docker
directory.docker/.env.example
file to a new file named .env
and customize it as needed.docker compose up
to start the services.We encourage all users to transition to this new method to take advantage of the improved flexibility and configuration options. Your feedback during this beta phase is invaluable and will help us make the deployment process even better.
For detailed configuration options and environment variable settings, refer to the .env.example
file and the Docker Compose configuration files in the docker
directory.
[!WARNING]
Thedocker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
field_validator
and classmethod
to fit Pydantic V2. by @laipz8200 in https://github.com/langgenius/dify/pull/5257
flask upgrade-db
command for running db upgrade with redis lock by @bowenliang123 in https://github.com/langgenius/dify/pull/5333
novita_client
to pyproject.toml
by @laipz8200 in https://github.com/langgenius/dify/pull/5349
forwardRef
by @TinsFox in https://github.com/langgenius/dify/pull/4379
=
by @laipz8200 in https://github.com/langgenius/dify/pull/5380
indexMethodHighQualityTip
by @GOODBOY008 in https://github.com/langgenius/dify/pull/5431
Full Changelog: https://github.com/langgenius/dify/compare/0.6.11...0.6.12
Published by takatost 4 months ago
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:
🔥 Firecrawl Support: Use Firecrawl as a "Sync from website" solution in Knowledge by @iamjoel in #5226 and @JohnJyong @nickscamara @guchenhe in #5232.
Note Support: Add notes directly into your workflows to enhance documentation and readability when editing or reviewing shared DSLs by @zxhlyh in #5164.
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.
For additional enhancements and updates, refer to the What's Changed section below.
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
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.
_transform_tool_parameters_type
. by @laipz8200 in https://github.com/langgenius/dify/pull/5190
Full Changelog: https://github.com/langgenius/dify/compare/0.6.10...0.6.11