github langgenius/dify 1.4.2
v1.4.2

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

πŸš€ What's New in v1.4.2?

We've packed v1.4.2 with usability upgrades, polished features, and stability enhancements. Check out what's new:

🌟 New Features & Improvements

  • Smarter Webapp Inputs: Automatically fill hidden fields using URL parameters (#20630), by @hjlarry.

  • Efficient Document Extraction: Faster, streamlined processing for Excel and CSV files (#20625), thanks to @HaiyangPeng.

  • Marketplace UI Update: Easier browsing with improved sorting for app types (#20685), courtesy of @nite-knite.

  • Personalized Chatbot UX: Chat input placeholder now dynamically displays your bot's name (#20473), thanks to @crazywoola.

  • Robust File Uploads: Addressed issues with multiple file extension mappings (#20559), by @bowenliang123.

  • Advanced Knowledge Base API Features:

    • Refined metadata filtering for precise querying. Targeted searches using chunk IDs (#20426), by @Gevtolev.
    • Improved tagging and dataset binding capabilities (#20023), thanks to @ZombieBlue.
  • Weave Tracing & W&B Integration: Enhanced support for dedicated cloud instances for better operations monitoring (#20765), from @parambharat.

πŸ”’ Security Updates

  • Flask-Cors Upgrade: Enhanced security by updating to the latest Flask-Cors version (#20577), by @laipz8200.

πŸ› Bug Fixes

  • Resolved 401 Errors:

    • Smooth parallel workflow execution (#20321).
    • Fixed authentication issues in workflow_as_tool (#20347).
    • Eliminated backward invoke errors (#20374).
      All thanks to @laipz8200.
  • Agent Node Refinements:

  • Annotation API Fix: Restored the missing end_user argument (#20428), courtesy of @quicksandznzn.

  • Docker Environment Corrections: Fixed erroneous handling of environment variables (#20436), by @crazywoola.

  • Code Node & Trace Management:

    • Enhanced array validation in code nodes (#20437), by @Yeuoly.
    • app_id now included in TraceTasks for better management (#20461), thanks to @laipz8200.
  • HTTP Node Reliability: Corrected curl operations using --data (#20471), by @hjlarry.

  • Memory Leak Prevention: Fixed Celery worker leaks ensuring jobs close correctly (#19268), by @JohnJyong.

  • Improved Housekeeping Command: Now preserves avatar images and app icons correctly (#20532), thanks to @kurokobo.

  • Email Invitation Fixes: SMTP authentication errors resolved (#20545), by @AnshumanSaini.

  • Consistent App Tagging: Resolved app tag update issues (#20618), by @Nov1c444.

  • Markdown Rendering Fixes: Ensured abbreviations display properly in react-markdown (#20648), by @xuzijie1995.

  • LLM Node Image Parsing: Improved reliability for single-step executions with images (#20417), by @lrhan321.

  • Restored Agent Moderation: Functionality fully restored (#20673), by @Nov1c444.

  • Plugin Extension Performance: Restored responsiveness and speed (#20704), by @Yeuoly.

  • Question Classifier Stability: Executions now error-free (#20829), thanks to @QuantumGhost.

  • Enhanced Web UX: Single-run modals now auto-dismiss for better usability (#20865), by @HyaCiovo.

Enjoy these improvements and a smoother, more stable experience! πŸš€


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.4.2
  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.4.1...1.4.2

Don't miss a new dify release

NewReleases is sending notifications on new releases.