0.13.0
v0.13.0
🚀 What’s New in v0.13.0? 🚀
Hey there, update seekers! Welcome to version 0.13.0. We’ve packed a lot of goodies in this release, from fixes and feature upgrades to some nice behind-the-scenes refactoring. Here's the scoop:
✨ New Features
Variable Assigner Node Update
The Variable Assigner node now supports several powerful features to streamline workflows:
• Operations on multiple conversation variables in a single node.
• Extend operator to link two arrays seamlessly.
• Set operator to assign constants to variables directly.Github DSL URL Support
You can now usegithub.comlinks directly for DSLs instead of relying onraw.githubusercontent.com. This makes integration smoother and more intuitive. Thanks to @yihong0618 in #11125.VTT File Support
Document Extractor can now handle VTT files for all your subtitle extraction needs. Big thanks to @fujita-h in #11148.Conversational Opener Upgrade
More opening questions for your conversations, increasing engagement points. Thanks to @fujita-h in #11233.
🛠️ Improvements and Fixes
LLM Invoke Errors
Reduced noise from unnecessary exceptions—LLM node invoke errors will no longer recorded in the logs. Thanks to @laipz8200 in #11141.Parameter Type Fix
Resolved an issue with the parameter extractor function that expected a string and wasn't given one. Kudos to @charli117 in #11142.ToolInvokeMessage Validation Fix
Fixed validation errors for ToolInvokeMessages when the blob_message meta is missing. Thanks to @catusax in #11212.Claude Handling
Claude can now handle empty strings gracefully. Thanks to @yihong0618 in #11238.Redis Port Double Split Fix
Adjusted the Redis port handling logic to address double-split issues. Thanks to @yihong0618 in #11270.Modular App Features
Reorganized app features into modular components for improved scalability and development ease. Shoutout to @bowenliang123 in #9129.
That’s the short version, but as always, there’s plenty more in the logs for those who like a deep dive. Update your systems and take these features for a spin. Keep building, keep exploring, and stay tuned for more!
Upgrade Guide
Docker compose deployments
[!WARNING]
The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.
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 API server, Worker and Web frontend Server.
Get the latest code from the release branch:
git checkout 0.13.0Update Python dependencies:
cd api poetry installThen, let's run the migration script:
poetry run flask db upgradeFinally, run API server, Worker and Web frontend Server again.
What's Changed
- Feat: Divider component now supports gradient background by @douxc in https://github.com/langgenius/dify/pull/11130
- fix: enable after disabled memory not pass user query by @iamjoel in https://github.com/langgenius/dify/pull/11136
- fix: better way to handle github dsl url close #11113 by @yihong0618 in https://github.com/langgenius/dify/pull/11125
- fix: LLM invoke error should not be raised by @laipz8200 in https://github.com/langgenius/dify/pull/11141
- fix parameter extractor function call Expected str by @charli117 in https://github.com/langgenius/dify/pull/11142
- chore(*): Removes debugging print statements by @laipz8200 in https://github.com/langgenius/dify/pull/11145
- feat: add VTT file support to Document Extractor by @fujita-h in https://github.com/langgenius/dify/pull/11148
- fix: Incorrect iteration log display in workflow with multiple parallel mode iteartaion nodes by @Nov1c444 in https://github.com/langgenius/dify/pull/11158
- fix: gitee ai wrong default model, and better para by @yihong0618 in https://github.com/langgenius/dify/pull/11168
- fix(file_factory): convert tool file correctly. by @laipz8200 in https://github.com/langgenius/dify/pull/11167
- Adding AWS CDK deploy link in README in multi-language by @KevinZhao in https://github.com/langgenius/dify/pull/11166
- update the scheduler of update_tidb_serverless_status_task to 1/10min by @JohnJyong in https://github.com/langgenius/dify/pull/11135
- Fixes #11065: tenant_id not found when login via ADMIN_KEY by @lotabout in https://github.com/langgenius/dify/pull/11066
- fix: code linting by @jiangbo721 in https://github.com/langgenius/dify/pull/11143
- Feat: remove github star and community links if it is enterprise version by @douxc in https://github.com/langgenius/dify/pull/11180
- Feat: new pagination by @JzoNgKVO in https://github.com/langgenius/dify/pull/11170
- chore: translate i18n files by @github-actions in https://github.com/langgenius/dify/pull/11182
- fix: typo in upstashVector if id is always true, also fix some type hint by @yihong0618 in https://github.com/langgenius/dify/pull/11183
- feat: introduce a new environment variable in order to disable Scarf analytics by @realethanhsu in https://github.com/langgenius/dify/pull/11179
- Ensure consistent float type for cached embedding return values by @kazuya-awano in https://github.com/langgenius/dify/pull/10185
- chore: improve conversation list and rename docs by @hjlarry in https://github.com/langgenius/dify/pull/11187
- Update aws tools by @ybalbert001 in https://github.com/langgenius/dify/pull/11174
- chore(dep): bump flask from 3.0.1 to 3.1.0 and flask-compress to 1.17 by @bowenliang123 in https://github.com/langgenius/dify/pull/11195
- fix: handleLoadFileFromLink's transfer method incorrect by @hjlarry in https://github.com/langgenius/dify/pull/11197
- chore: add Thai GUI by @YIXIAO0 in https://github.com/langgenius/dify/pull/11201
- fix: fix azure open-4o-08-06 when enable json schema cant process content = "" by @liujiamingtiny in https://github.com/langgenius/dify/pull/11204
- fix(file_factory): Remove transfer_method validation by @laipz8200 in https://github.com/langgenius/dify/pull/11207
- fix: 'validation error for ToolInvokeMessage' when blob_message meta is None by @catusax in https://github.com/langgenius/dify/pull/11212
- fix: excel in node only read one sheet, close #9661 by @yihong0618 in https://github.com/langgenius/dify/pull/11215
- fix: Correct inputs field type in API documentation by @fengjiajie in https://github.com/langgenius/dify/pull/11198
- feat: add retireval_top_n to config in env by @ProseGuys in https://github.com/langgenius/dify/pull/11132
- fix: support setting variables in url by @zxbyoyoyo in https://github.com/langgenius/dify/pull/10676
- fix: use Gemini response metadata for token counting by @totsukash in https://github.com/langgenius/dify/pull/11226
- fix: search model not work as expected by @hjlarry in https://github.com/langgenius/dify/pull/11225
- refactor: assembling the app features in modular way by @bowenliang123 in https://github.com/langgenius/dify/pull/9129
- fix: total tokens is wrong which is zero in inter way, close #11221 by @yihong0618 in https://github.com/langgenius/dify/pull/11224
- feat: Increase the number of Opening Questions in the Conversation Opener by @fujita-h in https://github.com/langgenius/dify/pull/11233
- chore(api/Dockerfile): Bump perl to 0.40.0-8 by @laipz8200 in https://github.com/langgenius/dify/pull/11234
- chore(lint): extract ruff configs into .ruff.toml file keeping pyproject.toml clean by @bowenliang123 in https://github.com/langgenius/dify/pull/11222
- feat: add pagination support for Notion search by @kazuya-awano in https://github.com/langgenius/dify/pull/11194
- fix(word_extractor): Fix type error and remove stream in ssrf_proxy by @laipz8200 in https://github.com/langgenius/dify/pull/11241
- Fix/type-error by @laipz8200 in https://github.com/langgenius/dify/pull/11240
- feat(api): include tags in app information response by @fujita-h in https://github.com/langgenius/dify/pull/11242
- fix: nvidia special embedding model payload close #11193 by @yihong0618 in https://github.com/langgenius/dify/pull/11239
- fix: license str parser. by @GarfieldDai in https://github.com/langgenius/dify/pull/11248
- fix(workflow_cycle_manage): Handle special values in the process_data. by @laipz8200 in https://github.com/langgenius/dify/pull/11253
- fix(workflow_tool): Rename
streamtostreamingby @laipz8200 in https://github.com/langgenius/dify/pull/11258 - Sync INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH between API and Web by @fujita-h in https://github.com/langgenius/dify/pull/11230
- fix: claude can not handle empty string by @yihong0618 in https://github.com/langgenius/dify/pull/11238
- fix:
dialogue_countincorrect in chatflow when there's... by @xuzuodong in https://github.com/langgenius/dify/pull/11175 - chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /web by @dependabot in https://github.com/langgenius/dify/pull/11262
- docs: add api docs for /v1/info by @kurokobo in https://github.com/langgenius/dify/pull/11269
- fix: better handle error by @yihong0618 in https://github.com/langgenius/dify/pull/11265
- fix: double split error on redis port and some type hint by @yihong0618 in https://github.com/langgenius/dify/pull/11270
- Fix: iteration not in main thread pool by @Nov1c444 in https://github.com/langgenius/dify/pull/11271
- fix: use
removeprefix()instead oflstrip()to remove thedata:prefix by @laipz8200 in https://github.com/langgenius/dify/pull/11272 - chore(lint): sort all definitions by @bowenliang123 in https://github.com/langgenius/dify/pull/11243
- Feat: upgrade variable assigner by @YIXIAO0 in https://github.com/langgenius/dify/pull/11285
- fix: better wenxin rerank handler, close #11252 by @yihong0618 in https://github.com/langgenius/dify/pull/11283
- fix: auto translate fail by @iamjoel in https://github.com/langgenius/dify/pull/11286
- chore: bump version to 0.13.0 by @laipz8200 in https://github.com/langgenius/dify/pull/11284
- roll back rerank topn setting by @JohnJyong in https://github.com/langgenius/dify/pull/11297
Full Changelog: https://github.com/langgenius/dify/compare/0.12.1...0.13.0