0.11.2
版本发布时间: 2024-11-18 17:54:14
langgenius/dify最新发布版本:0.11.2(2024-11-18 17:54:14)
✨ What’s New in v0.11.2? ✨
[!Important]
Heads up! Starting with the next minor version, we'll no longer support Python 3.10. Make sure to upgrade to Python 3.11 or 3.12 to stay current with our updates.
Version 0.11.2 is here with new models, tools, improvements, and bug fixes for a smoother experience. Here’s what’s new:
🚀 New Features
- Added Gemini-exp-1114 model by @hjlarry (#10779).
- Introduced DuckDuckGo Video Search and News Search by @taowang1993 (#10771).
- Added YouTube Transcript API as a tool by @taowang1993 (#10772).
- Launched Email Built-in Tool by @wakaka6 (#10493) to improve connectivity.
- VL Models from Siliconflow are now supported by @senseb (#10704).
- Added JSON Response for Siliconflow Models for easier handling by @orangeclk (#10657).
- Fal AI Wizper ASR is now a built-in tool by @fdb02983rhy (#10716).
- Added Fal AI Flux for image generation by @fdb02983rhy (#10606).
⚙️ Enhancements
- Added an inverted chat color theme toggle by @fujita-h (#10558).
- Made
CODE_EXECUTION_TIMEOUT
configurable via.env
by @lzzzzzzzzz (#10688). - Enabled up/down arrow key navigation for group questions, improving debugging by @dajianguo (#10793).
🛠️ Bug Fixes
- Fixed issues with non-UTF8 characters in the Document Extractor node by @yihong0618 (#10698).
- Resolved
mp3
file upload issues by @hjlarry (#10650). - Fixed custom file extension support by @leslie2046 (#10759) and @zxhlyh (#10801).
- Restored legacy image upload compatibility by @JzoNgKVO (#10803).
- Ensured default model settings don't conflict with audio tools by @hjlarry (#10729).
- Removed unused
generation
queue to save server resources by @jiangbo721 (#10532). - Fixed number handling for empty strings by @crazywoola (#10743).
- Updated deployment scripts to ensure Celery logs to file only when available by @fdb02983rhy (#10563).
Enjoy these updates and streamline your workflows with the new features and fixes. Happy coding!
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).bak
-
Get the latest code from the main branch
git checkout main git pull origin main
-
Stop the service,Command, please execute in the docker directory
docker compose down
-
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
-
Upgrade 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.11.2
-
Update Python dependencies:
cd api poetry install
-
Then, let's run the migration script:
poetry run flask db upgrade
-
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- fix issues:Image file not deleted when a doc is removed #9541 by @liuhaoran1212 in https://github.com/langgenius/dify/pull/10465
- Fixes
you have not added provider None
by @smyhw in https://github.com/langgenius/dify/pull/10501 - fix: set default factory for extract_by in ListOperatorNodeData by @laipz8200 in https://github.com/langgenius/dify/pull/10561
- Fix: Set Celery LOG_File only when available, always log to console by @fdb02983rhy in https://github.com/langgenius/dify/pull/10563
- feat(settings): add chat color theme inverted toggle in settings modal by @fujita-h in https://github.com/langgenius/dify/pull/10558
- chore(vanna): update form parameter from 'form' to 'llm' in vanna.yaml by @BenjaminX in https://github.com/langgenius/dify/pull/10548
- refactor(api): improve handling of
tools
field and cleanup variable usage by @laipz8200 in https://github.com/langgenius/dify/pull/10553 - fix: retrieval setting validate by @zxhlyh in https://github.com/langgenius/dify/pull/10454
- fix: Page may lock if user close the page when refresh access_token by @douxc in https://github.com/langgenius/dify/pull/10550
- fix: text-generation webapp file form by @zxhlyh in https://github.com/langgenius/dify/pull/10578
- chore(api): remove setting of expired remember_token cookie in after_request by @laipz8200 in https://github.com/langgenius/dify/pull/10582
- chore(deps): bump elliptic from 6.5.7 to 6.6.0 in /web by @dependabot in https://github.com/langgenius/dify/pull/10587
- fix: Azure OpenAI o1 max_completion_token error by @Kevin9703 in https://github.com/langgenius/dify/pull/10593
- Gitee AI Qwen2.5-72B model by @fchange in https://github.com/langgenius/dify/pull/10595
- add the index field for elasticsearch by @JohnJyong in https://github.com/langgenius/dify/pull/10592
- fix: update conversation session naming and API path in documentation by @BenjaminX in https://github.com/langgenius/dify/pull/10589
- feat: add builtin tools for send email by @wakaka6 in https://github.com/langgenius/dify/pull/10493
- feat(variable-handling): enhance variable and segment conversion by @laipz8200 in https://github.com/langgenius/dify/pull/10483
- fix: remove unused queue
generation
by @jiangbo721 in https://github.com/langgenius/dify/pull/10532 - fix:
mp3
file upload not work by @hjlarry in https://github.com/langgenius/dify/pull/10650 - Feat(tool): fal ai flux image generation by @fdb02983rhy in https://github.com/langgenius/dify/pull/10606
- add abab7-chat-preview model by @xiandan-erizo in https://github.com/langgenius/dify/pull/10654
- feat: add json response format for siliconflow models by @orangeclk in https://github.com/langgenius/dify/pull/10657
- check dataset is none by @JohnJyong in https://github.com/langgenius/dify/pull/10682
- Update expat version by @ZuzooVn in https://github.com/langgenius/dify/pull/10686
- export configuration 'CODE_EXECUTION_TIMEOUT' to .env by @lzzzzzzzzz in https://github.com/langgenius/dify/pull/10688
- feat: update pr template by @crazywoola in https://github.com/langgenius/dify/pull/10690
- Update pull_request_template.md by @crazywoola in https://github.com/langgenius/dify/pull/10692
- chore: update issue template by @crazywoola in https://github.com/langgenius/dify/pull/10693
- feat: add the audio tool by @hjlarry in https://github.com/langgenius/dify/pull/10695
- fixed the Base URL usage issue in Podcast Generator tool verification by @XiaoLey in https://github.com/langgenius/dify/pull/10697
- fix: non utf8 code decode close #10691 by @yihong0618 in https://github.com/langgenius/dify/pull/10698
- feat: add vlm models from siliconflow by @senseb in https://github.com/langgenius/dify/pull/10704
- fix: typo in test by @yihong0618 in https://github.com/langgenius/dify/pull/10707
- chore: Bump Alpine Linux to 3.20 in web dockerfile by @bowenliang123 in https://github.com/langgenius/dify/pull/10671
- fix:position error when creating segments by @jarvis2f in https://github.com/langgenius/dify/pull/10706
- feat(tool): fal ai wizper ASR built-in tool by @fdb02983rhy in https://github.com/langgenius/dify/pull/10716
- fix(i18n): handle key naming error by @GeorgeCaoJ in https://github.com/langgenius/dify/pull/10713
- chore(lint): bump ruff from 0.6.9 to 0.7.3 by @bowenliang123 in https://github.com/langgenius/dify/pull/10714
- fix: create_blob_message of tool will always create image type file by @hjlarry in https://github.com/langgenius/dify/pull/10701
- fix: remove default model selection for audio tool by @hjlarry in https://github.com/langgenius/dify/pull/10729
- Feat/add reddit icon by @stvlynn in https://github.com/langgenius/dify/pull/10733
- Feat/add Slovensko (Slovenija) by @crazywoola in https://github.com/langgenius/dify/pull/10731
- chore(lint): cleanup repeated cause exception in logging.exception replaced by helpful message by @bowenliang123 in https://github.com/langgenius/dify/pull/10425
- Fix: number maybe empty string by @crazywoola in https://github.com/langgenius/dify/pull/10743
- feat: add license. by @GarfieldDai in https://github.com/langgenius/dify/pull/10403
- Supports display license status by @douxc in https://github.com/langgenius/dify/pull/10408
- chore: translate i18n files by @github-actions in https://github.com/langgenius/dify/pull/10754
- fix: date filter key not unique by @cuckootan in https://github.com/langgenius/dify/pull/10645
- fix:custom file extension not support by @leslie2046 in https://github.com/langgenius/dify/pull/10759
- Add DuckDuckGo Video Search and News Search by @taowang1993 in https://github.com/langgenius/dify/pull/10771
- fix: fal ai wizper also return text msg by @fdb02983rhy in https://github.com/langgenius/dify/pull/10789
- feat: add gemini-exp-1114 by @hjlarry in https://github.com/langgenius/dify/pull/10779
- fix:Resolve the issue of Docker startup documents being queued all th… by @xiahao90 in https://github.com/langgenius/dify/pull/10791
- Feat(tools) add tavily extract tool and enhance tavily search implementation by @fdb02983rhy in https://github.com/langgenius/dify/pull/10786
- Add youtube-transcript-api as tool by @taowang1993 in https://github.com/langgenius/dify/pull/10772
- feat: Optimize usability during debugging #10641 by @dajianguo in https://github.com/langgenius/dify/pull/10793
- fix: upload custom file extension by @zxhlyh in https://github.com/langgenius/dify/pull/10801
- Fix: legacy image upload compatible by @JzoNgKVO in https://github.com/langgenius/dify/pull/10803
- Feat/account not found by @GarfieldDai in https://github.com/langgenius/dify/pull/10804
- Feat/clean message records by @JohnJyong in https://github.com/langgenius/dify/pull/10588
- chore: bump version to 0.11.2 by @laipz8200 in https://github.com/langgenius/dify/pull/10805
New Contributors
- @smyhw made their first contribution in https://github.com/langgenius/dify/pull/10501
- @wakaka6 made their first contribution in https://github.com/langgenius/dify/pull/10493
- @lzzzzzzzzz made their first contribution in https://github.com/langgenius/dify/pull/10688
- @yihong0618 made their first contribution in https://github.com/langgenius/dify/pull/10698
- @jarvis2f made their first contribution in https://github.com/langgenius/dify/pull/10706
- @xiahao90 made their first contribution in https://github.com/langgenius/dify/pull/10791
- @dajianguo made their first contribution in https://github.com/langgenius/dify/pull/10793
Full Changelog: https://github.com/langgenius/dify/compare/0.11.1...0.11.2