1.3.1
v1.3.1
🚀 What's New in v1.3.1?
Hello Dify community! Version 1.3.1 is here and packed with updates aimed to enhance your LLMOps operations and workflow. Let’s take a closer look at what's included:
🌟 New Features
- VTT to Document Transform: We've enhanced the Document extractor to support VTT data formats, thanks to @te-chan2.
- Advanced Storage Management: Admins, rejoice! You can now easily reclaim storage space by cleaning up unused files. This feature is courtesy of @kurokobo.
- Vastbase Vector Database Support: Enjoy seamless integration with Vastbase vector DB for more efficient processing, thanks to @yayaxxww.
👌 Improvements & Refactoring
- Frontend Timezone Support: The frontend now respects timezone for timestamps, thanks to @JzoNgKVO.
- Enhanced Embedded Chatbot Usability: Drag-and-drop functionality in embedded websites has been improved significantly for both mouse and touch inputs, by @hjlarry.
- Upload Folders to Knowledgebase: Simplify your knowledgebase management by uploading entire folders directly, thanks to @Silow9.
🛠️ Bug Fixes
- Model Plugin Order Correction: Fixed order settings enforcement from
position.yaml, thanks to insights by @bravomark. - Authorization & Password Autofill Fixes: Resolved unintentional password autofill behavior within authorization plugins, by @hjlarry.
- Import Template Error Fix: Squashed those bugs—no more errors when importing templates! Special acknowledgment to our diligent devs for this fix.
That's all in v1.3.1! Get your hands on these new features and improvements, and do let us know your thoughts and feedback on our forums or GitHub discussions. Until next time, keep coding and exploring! 🚀
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. 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.3.1Update Python dependencies:
cd api uv syncThen, let's run the migration script:
uv run flask db upgradeFinally, run the API server, Worker, and Web frontend Server again.
What's Changed
- chore: fix reimported by @IthacaDream in https://github.com/langgenius/dify/pull/18610
- embedding in websites support initializes to specify the conversation_id by @junjiem in https://github.com/langgenius/dify/pull/18602
- fix: improve translation of community code of conduct sentence by @minglu7 in https://github.com/langgenius/dify/pull/18607
- feat: add missing switches by @crazywoola in https://github.com/langgenius/dify/pull/18619
- embedding in websites setting conversation_id requires hiding reset conversation button by @junjiem in https://github.com/langgenius/dify/pull/18623
- fix: enhance TOC navigation with scrollable overflow for better usability by @ZeroZ-lab in https://github.com/langgenius/dify/pull/18636
- Add jp translation by @HanqingZ in https://github.com/langgenius/dify/pull/18628
- Fix some prompt typos by @mPyKen in https://github.com/langgenius/dify/pull/18645
- fix agentflow error if first variable is num by @ZombieBlue in https://github.com/langgenius/dify/pull/18660
- fix some browser autofill password when authorization plugin by @hjlarry in https://github.com/langgenius/dify/pull/18661
- fix: sometimes error message not display complete by @hjlarry in https://github.com/langgenius/dify/pull/18663
- chore(docker): bump dify-plugin-daemon to 0.0.9 by @laipz8200 in https://github.com/langgenius/dify/pull/18672
- fix: link address error in the embedding in websites first example by @junjiem in https://github.com/langgenius/dify/pull/18677
- fix: remove chat variable in workflow mode by @zxhlyh in https://github.com/langgenius/dify/pull/18696
- Added the missing path of the webpath prefix and the prefix basepath + of static resources to remove the bug of adding more basepath. by @gq957534377 in https://github.com/langgenius/dify/pull/18658
- fix: project version to 1.3.0 in package.json and uv.lock by @junjiem in https://github.com/langgenius/dify/pull/18684
- feat: support vastbase vector database by @yayaxxww in https://github.com/langgenius/dify/pull/16308
- fix: not render conversation var in prompt editor by @iamjoel in https://github.com/langgenius/dify/pull/18728
- [Lindorm VDB] Add the QUERY_TIMEOUT parameter to force the search query to fail. by @AlwaysBluer in https://github.com/langgenius/dify/pull/18613
- issue: #17056 : Add a reason field to the message_replace event by @just2gooo in https://github.com/langgenius/dify/pull/17195
- fix: buildin tool provider credentials_for_provider by @luckylhb90 in https://github.com/langgenius/dify/pull/18725
- Resolves #18536 Retreive conversation variables by @AlexChim1231 in https://github.com/langgenius/dify/pull/18581
- fix: enable Milvus database configuration via .env(#18707) by @jiawei5807 in https://github.com/langgenius/dify/pull/18714
- fix: wording in README.md by @crStiv in https://github.com/langgenius/dify/pull/18751
- fix: update api rate limit on Pricing page by @douxc in https://github.com/langgenius/dify/pull/18755
- enable pan by fingers by @crazywoola in https://github.com/langgenius/dify/pull/18775
- fix(web): add missing 'clsx' dependency for pagination component by @minglu7 in https://github.com/langgenius/dify/pull/18769
- fix: #18744 The model order defined in position.yaml in the Model Plugin is not taking effect. by @bravomark in https://github.com/langgenius/dify/pull/18756
- optimize account status field hard coded by @gsmini in https://github.com/langgenius/dify/pull/18771
- fix: Allow advanced chat app to get workflow run detail (#18753) by @1betatsu in https://github.com/langgenius/dify/pull/18758
- fix: embed chatbot can't drag when use mouse by @hjlarry in https://github.com/langgenius/dify/pull/18781
- refactor: Apply DI to WorkflowNodeExecutionRepository. by @laipz8200 in https://github.com/langgenius/dify/pull/18794
- feat(app_dsl_service): Refines version compatibility logic by @laipz8200 in https://github.com/langgenius/dify/pull/18798
- Hotfix/create from template category by @douxc in https://github.com/langgenius/dify/pull/18807
- fix(plugin_service): Add marketplace enabled check before plugin operations by @Yeuoly in https://github.com/langgenius/dify/pull/18806
- feat: Add W&B Weave Tracing Integration by @parambharat in https://github.com/langgenius/dify/pull/14262
- fix depth param issue for WaterCrawl by @wesleysui in https://github.com/langgenius/dify/pull/18839
- feat: add administrative commands to free up storage space by removing unused files by @kurokobo in https://github.com/langgenius/dify/pull/18835
- fix: LLMResultChunk cause concatenate str and list exception by @hjlarry in https://github.com/langgenius/dify/pull/18852
- feat: change delete status code from 200 to 204 by @devxing in https://github.com/langgenius/dify/pull/18398
- fix: update notice for users for clear-orphaned-file-records and remove-orphaned-files-on-storage commands by @kurokobo in https://github.com/langgenius/dify/pull/18864
- fix: install plugins permissions by @zxhlyh in https://github.com/langgenius/dify/pull/18870
- fix: check dsl version when create app from explore template by @zxhlyh in https://github.com/langgenius/dify/pull/18872
- chore: support other webapps embedded in iframe by @iamjoel in https://github.com/langgenius/dify/pull/18877
- refactor: rename plugin manager to plugin client and rename path from manager to impl by @Yeuoly in https://github.com/langgenius/dify/pull/18876
- fix: Text Generation App should not should not show embedded in website by @crazywoola in https://github.com/langgenius/dify/pull/18880
- [Observability] Convert exception logging into span in OpenTelemetry by @TedaLIEz in https://github.com/langgenius/dify/pull/18821
- refactor: remove external link for dataset description guidance by @ZeroZ-lab in https://github.com/langgenius/dify/pull/18884
- feat: add interfaces of OAuth handler methods for authorization by @Yeuoly in https://github.com/langgenius/dify/pull/18889
- chatflow/workflow add field required by @junjiem in https://github.com/langgenius/dify/pull/18892
- fix: annotation update need use http put method and annotation-reply api doc parms wrong by @safejob in https://github.com/langgenius/dify/pull/18891
- refactor: Refactors repository imports structure by @laipz8200 in https://github.com/langgenius/dify/pull/18901
- chore: disabled struct output not show model not support warning by @iamjoel in https://github.com/langgenius/dify/pull/18909
- fix: when cot_agent call tool like searxng lost some response content by @hanqingwu in https://github.com/langgenius/dify/pull/16781
- [Observability][Bugfix] Fix expected an instance of Token, got None error in OpenTelemetry by @TedaLIEz in https://github.com/langgenius/dify/pull/18934
- fix: i.find is not a function by @crazywoola in https://github.com/langgenius/dify/pull/18945
- feat: add VTT data transform to Document extractor by @crazywoola in https://github.com/langgenius/dify/pull/18936
- fix: classify remove always remove the last one by @iamjoel in https://github.com/langgenius/dify/pull/18959
- fix: header padding by @zxhlyh in https://github.com/langgenius/dify/pull/18957
- if as_attachment is in the url, add it to the sign_url by @sondin in https://github.com/langgenius/dify/pull/18930
- feat: improve embedded chatbot styles by @ModyQyW in https://github.com/langgenius/dify/pull/18692
- refactor(plugin/backwards_invocation/app): Remove unnecessary .value from StrEnum by @laipz8200 in https://github.com/langgenius/dify/pull/18896
- feat (document_extractor): support .properties file by @quicksandznzn in https://github.com/langgenius/dify/pull/18969
- feat: Upload a folder to knowledgebase by @Silow9 in https://github.com/langgenius/dify/pull/17026
- chore: Bump version to 1.3.1 by @laipz8200 in https://github.com/langgenius/dify/pull/18962
Full Changelog: https://github.com/langgenius/dify/compare/1.3.0...1.3.1