Skip to content

v1.9.1 – 1,000 Contributors, Infinite Gratitude

Latest
Compare
Choose a tag to compare
@laipz8200 laipz8200 released this 29 Sep 11:35
· 120 commits to main since this release
cd47a47

Congratulations on having our 1000th contributor!

image

🚀 New Features

  • Infrastructure & DevOps:

    • Next.js upgraded to 15.5, now leveraging Turbopack in development for a faster, more modern build pipeline by @17hz in #24346.
    • Provided X-Dify-Version headers in marketplace API access for better traceability by @RockChinQ in #26210.
    • Security reporting improvements, with new sec report workflow added by @crazywoola in #26313.
  • Pipelines & Engines:

    • Built-in pipeline templates now support language configuration, unlocking multilingual deployments by @WTW0313 in #26124.
    • Graph engine now blocks response nodes during streaming to avoid unintended outputs by @laipz8200 in #26364 / #26377.
  • Community & Documentation:

🛠 Fixes & Improvements

  • Debugging & Logging:

    • Fixed NodeRunRetryEvent debug logging not working properly in Graph Engine by @quicksandznzn in #26085.
    • Fixed LLM node losing Flask context during parallel iterations, ensuring stable concurrent runs by @quicksandznzn in #26098.
    • Fixed agent-strategy prompt generator error by @quicksandznzn in #26278.
  • Search & Parsing:

  • Pipeline & Workflow:

    • Fixed workflow variable splitting logic (requires ≥2 parts) by @zhanluxianshen in #26355.
    • Fixed tool node attribute tool_node_version judgment error causing compatibility issues by @goofy-z in #26274.
    • Fixed iteration conversation variables not syncing correctly by @laipz8200 in #26368.
    • Fixed Knowledge Base node crash when retrieval_model is null by @quicksandznzn in #26397.
    • Fixed workflow node mutation issues, preventing props from being incorrectly altered by @hyongtao-code in #26266.
    • Removed restrictions on adding workflow nodes by @zxhlyh in #26218.
  • File Handling:

    • Fixed remote filename handling so Content-Disposition: inline becomes inline instead of incorrect parsing by @sorphwer in #25877.
    • Synced FileUploader context with props to fix inconsistent file parameters in cached variable view by @Woo0ood in #26199.
    • Fixed variable not found error (#26144) by @sqewad in #26155.
    • Fixed db connection error in embed_documents() by @AkisAya in #26196.
    • Fixed model list refresh when credentials change by @zxhlyh in #26421.
    • Fixed retrieval configuration handling and missing vector_setting in dataset components by @WTW0313 in #26361 / #26380.
    • Fixed ChatClient audio_to_text files keyword bug by @EchterTimo in #26317.
    • Added missing import IO in client.py by @EchterTimo in #26389.
    • Removed FILES_URL in default .yaml settings by @JoJohanse in #26410.
  • Performance & Networking:

    • Improved pooling of httpx clients for requests to code sandbox and SSRF protection by @Blackoutta in #26052.
    • Distributed plugin auto-upgrade tasks with concurrency control by @RockChinQ in #26282.
    • Switched plugin auto-upgrade cache to Redis for reliability by @RockChinQ in #26356.
    • Fixed plugin detail panel not showing when >100 plugins are installed by @JzoNgKVO in #26405.
    • Debounce reference fix for performance stability by @crazywoola in #26433.
  • UI/UX & Display:

    • Fixed lingering display-related issues (translations, UI consistency) by @hjlarry in #26335.
    • Fixed broken CSS animations under Turbopack by naming unnamed animations in CSS modules by @lyzno1 in #26408.
    • Fixed verification code input using wrong maxLength prop by @hyongtao-code in #26244.
    • Fixed array-only filtering in List Operator picker, removed file-children fallback, aligned child types by @Woo0ood in #26240.
    • Fixed translation inconsistencies in ja-JP: “ナレッジベース” vs. “ナレッジの名前とアイコン” by @mshr-h in #26243 and @NeatGuyCoding in #26270.
    • Improved “time from now” i18n support by @hjlarry in #26328.
    • Standardized dataset-pipeline i18n terminology by @lyzno1 in #26353.
  • Code & Components:

    • Refactored component exports for consistency by @ZeroZ-lab in #26033.
    • Refactored router to apply ns.route style by @laipz8200 in #26339.
    • Refactored lint scripts to remove duplication and simplify naming by @lyzno1 in #26259.
    • Applied @console_ns.route decorators to RAG pipeline controllers (internal refactor) by @Copilot in #26348.
    • Added missing type="button" attributes in components by @Copilot in #26249.

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. 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.9.1
  3. Update Python dependencies:

    cd api
    uv sync
  4. Then, let's run the migration script:

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


What's Changed

New Contributors

Full Changelog: 1.9.0...1.9.1