Skip to content

v0.8.1

Compare
Choose a tag to compare
@laipz8200 laipz8200 released this 12 Sep 18:49
· 680 commits to main since this release
c78828a

✨ 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 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 #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 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.

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 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! 💻✨


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.

  1. Back up your customized docker-compose YAML file (optional)

    cd docker
    cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
  2. Get the latest code from the main branch

    git checkout main
    git pull origin main
  3. Stop the service,Command, please execute in the docker directory

    docker compose down
  4. Back up data

    tar -cvf volumes-$(date +%s).tgz volumes
  5. Upgrade services

    docker compose up -d

Source Code deployments

  1. Stop API server, Worker and Web frontend Server.

  2. Get the latest code from the main branch:

    git checkout main
    git pull origin main
  3. Update Python dependencies:

    cd api
    poetry install
  4. Then, let's run the migration script:

    poetry shell
    flask db upgrade
  5. Finally, run API server, Worker and Web frontend Server again.


What's Changed

New Contributors

Full Changelog: 0.8.0...0.8.1