github langgenius/dify 1.1.3
v1.1.3

latest release: 0.15.6-alpha.1
one day ago

✨ 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

  • refactor: add OpikDataTrace instance builder. by @laipz8200 in #16444
  • feat: Skip Redis operations if RateLimit is disabled by @acelyc111 in #12226
  • fix: workflow file add related-id in iteration node by @kenwoodjw in #16255
  • feat: cleanup free tenants expired data like messages/conversations/workflow_runs/workflow_node_executions by @Yeuoly in #16490
  • use REDIS_PORT to replace 6379 in celery config by @jjzhoujun in #16182
  • fix: optimize query for expired workflow runs by adding date filter and limiting results by @Yeuoly in #16491
  • fix:weight_type missing when create document in dataset by @LiuBodong in #16503
  • fix: the error occurring when passing inputs on iOS devices and some … by @mrdotdotdot in #16534
  • fix: update chatbot doc link at create app page by @douxc in #16479
  • fix: fix the app max_active_requests been overwritten bug by @acelyc111 in #16513
  • feat: Make the logic of APP filtering and creation the same by @jiangbo721 in #16079
  • fix: fix variable-aggregator cannot pass node check in group mode by @LeeeeeeM in #16439
  • fix: update app mode display text for advanced-chat type by @WTW0313 in #16578
  • chore: enable eslint cache by @karamaru-alpha in #16570
  • fix: workflow if-else node variable tag style by @zxhlyh in #16583
  • fix: transition in simple select causes page crash by @iamjoel in #16587
  • Fix: web app sidebar cannot close when long title conversation existed by @JzoNgKVO in #16593
  • feat: datasets openapi list segements support paged resp by @StrayDragon in #16603
  • feat: add datasets detail context and provider for improved data vali… by @WTW0313 in #16451
  • fix: sanitizer svg to avoid xss by @iamjoel in #16606
  • feat: add openGauss PQ acceleration feature by @chenhuan0728 in #16432
  • fix: cancel marketplace debounced search when clear search keywords by @zxhlyh in #16614
  • Fix: show feedback status in conversation by @JzoNgKVO in #16615
  • Fix: style issue of app detail panel in jp by @JzoNgKVO in #16620
  • Fix: style of sidebar with in mobile by @JzoNgKVO in #16629
  • chore: update release trigger to include all tags in build-push workflow by @laipz8200 in #16631
  • fix: update retrieval configuration to correctly handle reranking mod… by @WTW0313 in #16641
  • fix: fix inner API workspace Account.query error. by @islenbo in #16630
  • chore: bump the package version to 1.1.3 by @laipz8200 in #16612
  • fix metadata filter not affect in keyword-search and fulltext-search by @JohnJyong in #16644

New Contributors

Full Changelog: 1.1.2...1.1.3

Don't miss a new dify release

NewReleases is sending notifications on new releases.