Traceary

Catalog / Dify

1.1.3

v1.1.3

1.4 years agosecurityaddedfixedOriginal notes

✨ What’s New in v1.1.3? ✨

Here's what's been cooking in the latest update—v1.1.3. We've got some slick new features, essential fixes, and handy refinements to enhance your experience. Let's dive right in:

⚙️ Enhancements

  • APP Filtering Harmonization: Made the logic between App filtering and creation consistent for a seamless UX by @jiangbo721 in #16079.

  • ESLint Cache Enabled: Code quality meets speed as ESLint cache support is enabled, reducing linting time by @karamaru-alpha in #16570.

  • Workflow Adjustments: You can now add a related-id in iteration nodes for more dynamic workflows by @kenwoodjw in #16255.

🛠️ Bug Fixes

  • Optimize Expired Workflow Run Query: Fixed inefficient queries by adding a date filter and limiting the results to improve query performance by @Yeuoly in #16491.

  • Document Dataset Creation: Resolved the missing weight_type issue in documents created within datasets by @LiuBodong in #16503.

  • Inputs on iOS Devices: Squashed bugs causing errors when passing inputs on iOS by @mrdotdotdot in #16534.

  • Variable Aggregator Node in Workflows: Fixed issue with variable-aggregation nodes failing checks when using group mode by @LeeeeeeM in #16439.

  • XSS Sanitization: Strengthened your security with SVG sanitization to prevent XSS attacks by @iamjoel in #16606.

  • UI/UX Fixes: Addressed various style and interaction issues, like sidebar width on mobile (#16629) and app detail panel in JP (#16620) by @JzoNgKVO.

  • Sandbox Security Upgrade: Upgrade the Dify sandbox to avoid JavaScript code injection.

This update focuses on making the platform not only more efficient but also easier and secure to use. Enjoy the improvements, and let's keep pushing the boundaries together!


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.3
    
  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

Full Changelog: https://github.com/langgenius/dify/compare/1.1.2...1.1.3