github langgenius/dify 1.5.1
v1.5.1

latest releases: 2.0.0-beta.1, 1.8.1, 1.8.0...
2 months ago

๐ŸŽ‰ Whatโ€™s New in v1.5.1? ๐ŸŽ‰

In this release, we've packed a punch with a host of new features, enhancements, and fixes designed to make your experience smoother and more intuitive.

๐Ÿš€ New Features

  • Knowledge Basis Indexing: Introduced KB indexing by @Gevtolev in #20868. It optimizes the access and retrieval speeds for your data treasures.
  • Model Provider Validation: Added model provider validation in the API by @khoazero123 in #21582. Ensure your models are always in check.
  • Dynamic Select Parameter: Implemented DYNAMIC_SELECT for dynamic options in parameter entities by @Yeuoly in #21425. Say goodbye to static param limits!
  • Structured Output Plugin: Now invoke LLMs with structured output via a new API endpoint by @Yeuoly in #21624.
  • Adaptive Panel Width Management: A refactor to add adaptive width observer for panels by @ZeroZ-lab in #21576.
  • New Plugin Enhancements: Default value autofill in plugin settings by @leslie2046 in #21669.

๐ŸŒŸ Enhancements

  • Front-End UX: Improved tooltip for workflow run node names and input restrictions by @CorrectRoadH in #21564 and #21562.
  • UI and Style Tweaks: Various style fixes and enhancements, including decreasing navbar z-index for clarity by @douxc in #21612.
  • Langfuse Trace Readability: Enhanced the clarity of Langfuse traces, making debugging and performance tracking clearer by @DavideDelbianco in #21777.

๐Ÿ› ๏ธ Bug Fixes

  • Various UI and API Fixes: Addressed pop logic in tool selectors, variable inspection, and numerous API-related bugs to ensure a smoother experience.

    • Fixed incorrect doc links and context insertion in prompt editors by @iamjoel and @zxhlyh.
    • Resolved false token numbers and auto-increment errors in question-answer models by @NeatGuyCoding in #21574.
    • Fixed node validation, hover effects, and modal presentations to fully support your workflows by multiple contributors.
  • Error Handling & Reset Issues:

  • Integration and Language Support:

    • Improved integrations with services like Notion and document detail services by @baonudesifeizhai and others.
    • Fixed dollar-sign escaping in LaTeX for smoother document processing by @ShadowJobs in #21796.

This latest release blends a blend of functional enrichment and optimized usability across the board. Dive in and make the most of these updates - we can't wait to see what you build next! Happy developing! ๐ŸŽจ๐Ÿ› ๏ธ


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.5.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.5.0...1.5.1

Don't miss a new dify release

NewReleases is sending notifications on new releases.