1.1.3
v1.1.3
✨ 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_typeissue 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
Back up your customized docker-compose YAML file (optional)
cd docker cp docker-compose.yaml docker-compose.yaml.$(date +%s).bakGet the latest code from the main branch
git checkout main git pull origin mainStop the service, Command, please execute in the docker directory
docker compose downBack up data
tar -cvf volumes-$(date +%s).tgz volumesUpgrade services
docker compose up -d
Source Code deployments
Stop the API server, Worker, and Web frontend Server.
Get the latest code from the release branch:
git checkout 1.1.3Update Python dependencies:
cd api poetry installThen, let's run the migration script:
poetry run flask db upgradeFinally, run the API server, Worker, and Web frontend Server again.
What's Changed
- refactor: add OpikDataTrace instance builder. by @laipz8200 in https://github.com/langgenius/dify/pull/16444
- feat: Skip Redis operations if RateLimit is disabled by @acelyc111 in https://github.com/langgenius/dify/pull/12226
- fix: workflow file add related-id in iteration node by @kenwoodjw in https://github.com/langgenius/dify/pull/16255
- feat: cleanup free tenants expired data like messages/conversations/workflow_runs/workflow_node_executions by @Yeuoly in https://github.com/langgenius/dify/pull/16490
- use REDIS_PORT to replace 6379 in celery config by @jjzhoujun in https://github.com/langgenius/dify/pull/16182
- fix: optimize query for expired workflow runs by adding date filter and limiting results by @Yeuoly in https://github.com/langgenius/dify/pull/16491
- fix:weight_type missing when create document in dataset by @LiuBodong in https://github.com/langgenius/dify/pull/16503
- fix: the error occurring when passing inputs on iOS devices and some … by @mrdotdotdot in https://github.com/langgenius/dify/pull/16534
- fix: update chatbot doc link at create app page by @douxc in https://github.com/langgenius/dify/pull/16479
- fix: fix the app max_active_requests been overwritten bug by @acelyc111 in https://github.com/langgenius/dify/pull/16513
- feat: Make the logic of APP filtering and creation the same by @jiangbo721 in https://github.com/langgenius/dify/pull/16079
- fix: fix variable-aggregator cannot pass node check in group mode by @LeeeeeeM in https://github.com/langgenius/dify/pull/16439
- fix: update app mode display text for advanced-chat type by @WTW0313 in https://github.com/langgenius/dify/pull/16578
- chore: enable eslint cache by @karamaru-alpha in https://github.com/langgenius/dify/pull/16570
- fix: workflow if-else node variable tag style by @zxhlyh in https://github.com/langgenius/dify/pull/16583
- fix: transition in simple select causes page crash by @iamjoel in https://github.com/langgenius/dify/pull/16587
- Fix: web app sidebar cannot close when long title conversation existed by @JzoNgKVO in https://github.com/langgenius/dify/pull/16593
- feat: datasets openapi list segements support paged resp by @StrayDragon in https://github.com/langgenius/dify/pull/16603
- feat: add datasets detail context and provider for improved data vali… by @WTW0313 in https://github.com/langgenius/dify/pull/16451
- fix: sanitizer svg to avoid xss by @iamjoel in https://github.com/langgenius/dify/pull/16606
- feat: add openGauss PQ acceleration feature by @chenhuan0728 in https://github.com/langgenius/dify/pull/16432
- fix: cancel marketplace debounced search when clear search keywords by @zxhlyh in https://github.com/langgenius/dify/pull/16614
- Fix: show feedback status in conversation by @JzoNgKVO in https://github.com/langgenius/dify/pull/16615
- Fix: style issue of app detail panel in jp by @JzoNgKVO in https://github.com/langgenius/dify/pull/16620
- Fix: style of sidebar with in mobile by @JzoNgKVO in https://github.com/langgenius/dify/pull/16629
- chore: update release trigger to include all tags in build-push workflow by @laipz8200 in https://github.com/langgenius/dify/pull/16631
- fix: update retrieval configuration to correctly handle reranking mod… by @WTW0313 in https://github.com/langgenius/dify/pull/16641
- fix: fix inner API workspace Account.query error. by @islenbo in https://github.com/langgenius/dify/pull/16630
- chore: bump the package version to 1.1.3 by @laipz8200 in https://github.com/langgenius/dify/pull/16612
- fix metadata filter not affect in keyword-search and fulltext-search by @JohnJyong in https://github.com/langgenius/dify/pull/16644
Full Changelog: https://github.com/langgenius/dify/compare/1.1.2...1.1.3