v0.8.1
✨ 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
- ✨ OpenAI o1-Series Models Support
Unlock the power of OpenAI's cutting-edge models with support for botho1-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 #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 #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 newfrom_variable_selector
. This feature allows for more precise management of stream chunk and message events, ensuring smoother data flow.
Implemented by @takatost in #8228.
Ollama Embedding Model
- Error Resolutions
Squashed bugs related to adding the Ollama embedding model, including pesky 500 errors, for a smoother integration experience.
Thanks to @Howe829 in #8236 and #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 #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.
Miscellaneous Fixes
-
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.
🌟 Other Enhancements
-
Bedrock Improvements
-
Claude Models Support
Claude models in Bedrock now support theresponse_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! 💻✨
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.
What's Changed
- fix(workflow): in multi-parallel execution with multiple conditional branches by @takatost in #8221
- fix(workflow): answers are output simultaneously across different braches in the question classifier node. by @takatost in #8225
- feat: add from_variable_selector for stream chunk / message event by @takatost in #8228
- fix: improving the regionalization of translation by @thalessalazar in #8231
- fix:error when adding the ollama embedding model by @Howe829 in #8236
- fix: CHECK_UPDATE_URL comment by @ZuzooVn in #8235
- fix: workflow parallel limit in ifelse node by @zxhlyh in #8242
- fix(workflow): IF-ELSE nodes connected to the same subsequent node cause execution to stop by @takatost in #8247
- fix: truthy value by @ZuzooVn in #8208
- fix: upload img icon mis-align in the chat input area by @hjlarry in #8263
- editor can also create api key by @cuckootan in #8214
- Update Gitlab query field, add query by path by @wlrnet in #8244
- fix:ollama text embedding 500 error by @Howe829 in #8252
- chore: apply pep8-naming rules for naming convention by @bowenliang123 in #8261
- chore: remove useless code by @crazywoola in #8198
- enhance: improve empty data display for detail panel by @DDDDD12138 in #8266
- let claude models in bedrock support the response_format parameter by @badbye in #8220
- chore: cleanup pycodestyle E rules by @bowenliang123 in #8269
- fix(workflow/hooks/use-shortcuts): resolve issue of copy shortcut not working in workflow debug and preview panel by @Kevin9703 in #8249
- fix: markdown paragraph margin by @zxhlyh in #8289
- chore: cleanup ruff flake8-simplify linter rules by @bowenliang123 in #8286
- fix(workflow): missing content in the answer node stream output during iterations by @takatost in #8292
- chore: apply ruff E501 line-too-long linter rule by @bowenliang123 in #8275
- chore: refurbish Python code by applying refurb linter rules by @bowenliang123 in #8296
- chore: apply flake8-pytest-style linter rules by @bowenliang123 in #8307
- Fix: Support Bedrock cross region inference #8190 by @ybalbert001 in #8317
- Revert "Feat: update app published time after clicking publish button" by @crazywoola in #8320
- chore:add Azure openai api version 2024-08-01-preview by @leslie2046 in #8291
- Fix VariableEntityType Bug external-data-tool -> external_data_tool by @GuoNingNing in #8299
- docs: update lambda_translate_utils.yaml by @eltociear in #8293
- fix: response_format label by @ZuzooVn in #8326
- feat: add OpenAI o1 series models support by @takatost in #8328
- chore: update Dify version to 0.8.1 by @laipz8200 in #8329
New Contributors
- @Howe829 made their first contribution in #8236
- @GuoNingNing made their first contribution in #8299
Full Changelog: 0.8.0...0.8.1