You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
🚀 Key Features
✨ OpenAI o1-Series Models Support
Unlock the power of OpenAI's cutting-edge models with support for both o1-preview and o1-mini. These additions provide you with more flexibility and enhanced AI capabilities to meet your diverse needs.
Special thanks to @takatost for implementing this feature in feat: add OpenAI o1 series models support #8328.
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 feat: add from_variable_selector for stream chunk / message event #8228.
Enhanced Markdown Readability
Adjusted markdown paragraph margins to enhance readability and overall user experience.
Courtesy of @zxhlyh in fix: markdown paragraph margin #8289.
API Key Creation for Editors
Editors can now create API keys directly, streamlining the development workflow and enhancing security.
Thanks to @cuckootan in editor can also create api key #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! 💻✨
Upgrade Guide
Docker compose deployments
Warning
The docker-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
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
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
✨ What’s New in v0.8.1? ✨
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:
🚀 Key Features
Unlock the power of OpenAI's cutting-edge models with support for both
o1-preview
ando1-mini
. These additions provide you with more flexibility and enhanced AI capabilities to meet your diverse needs.Special thanks to @takatost for implementing this feature in feat: add OpenAI o1 series models support #8328.
🛠️ Improvements & Bug Fixes
Workflow Enhancements
Multi-Parallel Execution Fixed
Resolved issues with workflows executing multiple parallel branches and conditional paths seamlessly.
Credit to @takatost for fix(workflow): in multi-parallel execution with multiple conditional branches #8221.
Accurate Branch Outputs
Fixed simultaneous output problems in different branches of the question classifier node for more reliable results.
Thanks to @takatost in fix(workflow): answers are output simultaneously across different braches in the question classifier node. #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 fix(workflow): IF-ELSE nodes connected to the same subsequent node cause execution to stop #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 fix(workflow): missing content in the answer node stream output during iterations #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 feat: add from_variable_selector for stream chunk / message event #8228.
Ollama Embedding Model
Squashed bugs related to adding the Ollama embedding model, including pesky 500 errors, for a smoother integration experience.
Thanks to @Howe829 in fix:error when adding the ollama embedding model #8236 and fix:ollama text embedding 500 error #8252.
UI & Usability Enhancements
Improved Icon Alignment
Corrected the misalignment of the upload image icon in the chat input area for a cleaner interface.
Implemented by @hjlarry in fix: upload img icon mis-align in the chat input area #8263.
Enhanced Markdown Readability
Adjusted markdown paragraph margins to enhance readability and overall user experience.
Courtesy of @zxhlyh in fix: markdown paragraph margin #8289.
Copy Shortcut Fixes
Resolved issues with copy shortcuts in the workflow debug and preview panels for smoother navigation.
Thanks to @Kevin9703 in fix(workflow/hooks/use-shortcuts): resolve issue of copy shortcut not working in workflow debug and preview panel #8249.
Miscellaneous Fixes
Localized Translations
Enhanced regionalization of translations to provide a more localized and user-friendly experience.
Contributed by @thalessalazar in fix: improving the regionalization of translation #8231.
Value Handling & Label Issues
Fixed truthy value handling and response format label issues for better data consistency.
Thanks to @ZuzooVn in fix: truthy value #8208 and fix: response_format label #8326.
VariableEntityType Bug
Resolved naming convention inconsistencies by fixing the VariableEntityType bug.
Handled by @GuoNingNing in Fix VariableEntityType Bug external-data-tool -> external_data_tool #8299.
🌟 Other Enhancements
Bedrock Improvements
Claude Models Support
Claude models in Bedrock now support the
response_format
parameter, providing more customization options.Thanks to @badbye in let claude models in bedrock support the response_format parameter #8220.
Cross-Region Inference
Added support for Bedrock cross-region inference, enhancing deployment flexibility across different regions.
Implemented by @ybalbert001 in Fix: Support Bedrock cross region inference [#8190](https://github.com/langgenius/dify/issues/8190) #8317.
API Key Creation for Editors
Editors can now create API keys directly, streamlining the development workflow and enhancing security.
Thanks to @cuckootan in editor can also create api key #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! 💻✨
Upgrade Guide
Docker compose deployments
Warning
The
docker-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)
Get the latest code from the main branch
Stop the service,Command, please execute in the docker directory
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
Upgrade services
Source Code deployments
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
Update Python dependencies:
cd api poetry install
Then, let's run the migration script:
Finally, run API server, Worker and Web frontend Server again.
What's Changed
New Contributors
Full Changelog: 0.8.0...0.8.1
This discussion was created from the release v0.8.1.
Beta Was this translation helpful? Give feedback.
All reactions