github langgenius/dify 1.1.0
v1.1.0

19 hours ago

🚀 What's New in v1.1.0

Welcome to v1.1.0! This release packs a punch with significant improvements, enhancements, and the introduction of some much-awaited features. Here's what we've got:

🚀 New Features

  • Metadata Filtering for Knowledge Retrieval by @JohnJyong in #15982 and #16063. Metadata filtering enhances the retrieval and accuracy of relevant data in knowledge bases by leveraging custom metadata attributes. This makes finding the right data quicker and more precise. To get more information, please read our blog.
    image

🛠️ Enhancements

  • Improved File Upload Handling in manager.py by @laipz8200 in #15714.
  • IF-ELSE Node Improvements: Handles missing optional file variables seamlessly by @lrhan321 in #15693.
  • Enhanced Integration of pg_bigm for Keyword Search in pgvector by @utsumi-fj in #13876.
  • Increased Maximum Number of Parallelism Branches by @XiaoBa-Yu in #15964.
  • HTTP request node now supports skipping SSL verification by @sho-takano-dev in #15664.

🐞 Bug Fixes

  • Fixed SQL Injection Vulnerabilities in Vector DB by @JohnJyong in #16096. We recommend users upgrade to this version immediately to mitigate risks.
  • Resolved Conditional Branches That Disrupted Streaming Output by @Nov1c444 in #14065.
  • Fixed Trace Return Null Issues Causing Page Crashes by @iamjoel in #15588.
  • Corrected Missing Translations by @crazywoola in #4212.
  • Improved Handling of Unicode in Keyword Search Queries by @kenwoodjw in #15522.
  • Fixed Dataset Re-Ranking Mode to Handle Optional Fields Gracefully by @JohnJyong in #15643.
  • Resolved File Upload Method Validation Issues for Non-Image Files in Workflows by @lrhan321 in #15932.
  • Fixed Nginx Template Environment Variable Replacement Issues by @LiuBodong in #15651.
  • Improved InputNumber Component Behavior by @ACAne0320 in #16044.

Miscellaneous

This release aims to strengthen our platform's reliability, security, and usability, and we are keen on hearing your feedback. Happy coding with v1.1.0!


Upgrade Guide

Docker compose deployments

  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 the API server, Worker, and Web frontend Server.

  2. Get the latest code from the release branch:

    git checkout 1.1.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 the API server, Worker, and Web frontend Server again.


What's Changed

New Contributors

Full Changelog: 1.0.1...1.1.0

Don't miss a new dify release

NewReleases is sending notifications on new releases.