github langgenius/dify 1.3.1
v1.3.1

latest releases: 2.0.0-beta.2, 2.0.0-beta.1, 1.8.1...
4 months ago

πŸš€ 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

  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. 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.3.1
  3. Update Python dependencies:

    cd api
    uv sync
  4. Then, let's run the migration script:

    uv run flask db upgrade
  5. Finally, run the API server, Worker, and Web frontend Server again.


What's Changed

  • chore: fix reimported by @IthacaDream in #18610
  • embedding in websites support initializes to specify the conversation_id by @junjiem in #18602
  • fix: improve translation of community code of conduct sentence by @minglu7 in #18607
  • feat: add missing switches by @crazywoola in #18619
  • embedding in websites setting conversation_id requires hiding reset conversation button by @junjiem in #18623
  • fix: enhance TOC navigation with scrollable overflow for better usability by @ZeroZ-lab in #18636
  • Add jp translation by @HanqingZ in #18628
  • Fix some prompt typos by @mPyKen in #18645
  • fix agentflow error if first variable is num by @ZombieBlue in #18660
  • fix some browser autofill password when authorization plugin by @hjlarry in #18661
  • fix: sometimes error message not display complete by @hjlarry in #18663
  • chore(docker): bump dify-plugin-daemon to 0.0.9 by @laipz8200 in #18672
  • fix: link address error in the embedding in websites first example by @junjiem in #18677
  • fix: remove chat variable in workflow mode by @zxhlyh in #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 #18658
  • fix: project version to 1.3.0 in package.json and uv.lock by @junjiem in #18684
  • feat: support vastbase vector database by @yayaxxww in #16308
  • fix: not render conversation var in prompt editor by @iamjoel in #18728
  • [Lindorm VDB] Add the QUERY_TIMEOUT parameter to force the search query to fail. by @AlwaysBluer in #18613
  • issue: #17056 : Add a reason field to the message_replace event by @just2gooo in #17195
  • fix: buildin tool provider credentials_for_provider by @luckylhb90 in #18725
  • Resolves #18536 Retreive conversation variables by @AlexChim1231 in #18581
  • fix: enable Milvus database configuration via .env(#18707) by @jiawei5807 in #18714
  • fix: wording in README.md by @crStiv in #18751
  • fix: update api rate limit on Pricing page by @douxc in #18755
  • enable pan by fingers by @crazywoola in #18775
  • fix(web): add missing 'clsx' dependency for pagination component by @minglu7 in #18769
  • fix: #18744 The model order defined in position.yaml in the Model Plugin is not taking effect. by @bravomark in #18756
  • optimize account status field hard coded by @gsmini in #18771
  • fix: Allow advanced chat app to get workflow run detail (#18753) by @1betatsu in #18758
  • fix: embed chatbot can't drag when use mouse by @hjlarry in #18781
  • refactor: Apply DI to WorkflowNodeExecutionRepository. by @laipz8200 in #18794
  • feat(app_dsl_service): Refines version compatibility logic by @laipz8200 in #18798
  • Hotfix/create from template category by @douxc in #18807
  • fix(plugin_service): Add marketplace enabled check before plugin operations by @Yeuoly in #18806
  • feat: Add W&B Weave Tracing Integration by @parambharat in #14262
  • fix depth param issue for WaterCrawl by @wesleysui in #18839
  • feat: add administrative commands to free up storage space by removing unused files by @kurokobo in #18835
  • fix: LLMResultChunk cause concatenate str and list exception by @hjlarry in #18852
  • feat: change delete status code from 200 to 204 by @devxing in #18398
  • fix: update notice for users for clear-orphaned-file-records and remove-orphaned-files-on-storage commands by @kurokobo in #18864
  • fix: install plugins permissions by @zxhlyh in #18870
  • fix: check dsl version when create app from explore template by @zxhlyh in #18872
  • chore: support other webapps embedded in iframe by @iamjoel in #18877
  • refactor: rename plugin manager to plugin client and rename path from manager to impl by @Yeuoly in #18876
  • fix: Text Generation App should not should not show embedded in website by @crazywoola in #18880
  • [Observability] Convert exception logging into span in OpenTelemetry by @TedaLIEz in #18821
  • refactor: remove external link for dataset description guidance by @ZeroZ-lab in #18884
  • feat: add interfaces of OAuth handler methods for authorization by @Yeuoly in #18889
  • chatflow/workflow add field required by @junjiem in #18892
  • fix: annotation update need use http put method and annotation-reply api doc parms wrong by @safejob in #18891
  • refactor: Refactors repository imports structure by @laipz8200 in #18901
  • chore: disabled struct output not show model not support warning by @iamjoel in #18909
  • fix: when cot_agent call tool like searxng lost some response content by @hanqingwu in #16781
  • [Observability][Bugfix] Fix expected an instance of Token, got None error in OpenTelemetry by @TedaLIEz in #18934
  • fix: i.find is not a function by @crazywoola in #18945
  • feat: add VTT data transform to Document extractor by @crazywoola in #18936
  • fix: classify remove always remove the last one by @iamjoel in #18959
  • fix: header padding by @zxhlyh in #18957
  • if as_attachment is in the url, add it to the sign_url by @sondin in #18930
  • feat: improve embedded chatbot styles by @ModyQyW in #18692
  • refactor(plugin/backwards_invocation/app): Remove unnecessary .value from StrEnum by @laipz8200 in #18896
  • feat (document_extractor): support .properties file by @quicksandznzn in #18969
  • feat: Upload a folder to knowledgebase by @Silow9 in #17026
  • chore: Bump version to 1.3.1 by @laipz8200 in #18962

New Contributors

Full Changelog: 1.3.0...1.3.1

Don't miss a new dify release

NewReleases is sending notifications on new releases.