github langgenius/dify 0.13.0
v0.13.0

latest releases: v0.8.3-fix1, 0.14.1, 0.14.0...
20 days ago

🚀 What’s New in v0.13.0? 🚀

Hey there, update seekers! Welcome to version 0.13.0. We’ve packed a lot of goodies in this release, from fixes and feature upgrades to some nice behind-the-scenes refactoring. Here's the scoop:

✨ New Features

  • Variable Assigner Node Update
    The Variable Assigner node now supports several powerful features to streamline workflows:
    • Operations on multiple conversation variables in a single node.
    Extend operator to link two arrays seamlessly.
    Set operator to assign constants to variables directly.

    variable assigner

    📄 Read the full documentation

  • Github DSL URL Support
    You can now use github.com links directly for DSLs instead of relying on raw.githubusercontent.com. This makes integration smoother and more intuitive. Thanks to @yihong0618 in #11125.

  • VTT File Support
    Document Extractor can now handle VTT files for all your subtitle extraction needs. Big thanks to @fujita-h in #11148.

  • Conversational Opener Upgrade
    More opening questions for your conversations, increasing engagement points. Thanks to @fujita-h in #11233.

🛠️ Improvements and Fixes

  • LLM Invoke Errors
    Reduced noise from unnecessary exceptions—LLM node invoke errors will no longer recorded in the logs. Thanks to @laipz8200 in #11141.

  • Parameter Type Fix
    Resolved an issue with the parameter extractor function that expected a string and wasn't given one. Kudos to @charli117 in #11142.

  • ToolInvokeMessage Validation Fix
    Fixed validation errors for ToolInvokeMessages when the blob_message meta is missing. Thanks to @catusax in #11212.

  • Claude Handling
    Claude can now handle empty strings gracefully. Thanks to @yihong0618 in #11238.

  • Redis Port Double Split Fix
    Adjusted the Redis port handling logic to address double-split issues. Thanks to @yihong0618 in #11270.

  • Modular App Features
    Reorganized app features into modular components for improved scalability and development ease. Shoutout to @bowenliang123 in #9129.

That’s the short version, but as always, there’s plenty more in the logs for those who like a deep dive. Update your systems and take these features for a spin. Keep building, keep exploring, and stay tuned for more!


Upgrade Guide

Docker compose deployments

Warning

The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.

  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 release branch:

    git checkout 0.13.0
  3. Update Python dependencies:

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

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


What's Changed

New Contributors

Full Changelog: 0.12.1...0.13.0

Don't miss a new dify release

NewReleases is sending notifications on new releases.