0.15.2
v0.15.2
✨ What’s New in v0.15.2? ✨
The v0.15.2 release is all about squashing bugs, unlocking new capabilities, and generally making things run smoother. Here's a peek at what's changed:
🚀 New Features
- Deepseek-reasoner/deepseek-r1 by @wangiii in https://github.com/langgenius/dify/pull/12898
- Minimax-Text-01 Support: Added support for the new Minimax-Text-01 model by @AAlexDing in #12763.
- Gemini-2.0-Flash-Thinking-Exp-01-21: New experimental model added by @jiandanfeng in #12924.
- Doubao 1.5 Model Series: Support for Doubao 1.5 models in our tooling setup by @sinomoe in #12935.
- Profile Avatar Customization: You can now change your profile avatar and keep it fresh, thanks to @miya in #12642.
- Environment Configuration for Chunk Length: Configure document chunk length through environment variables by @iamjoel in #12925.
🛠️ Enhancements
- Credential Extraction Logic: Enhanced credential extraction logic for better configurability by @fujita-h in #12853.
- Document Chunk Setting Updates: Now possible to update chunk settings for existing documents by @kurokobo in #12833.
- Full-Text Search in Milvus: You can now configure full-text search capabilities within Milvus by @JohnJyong in #12930.
🐞 Bug Fixes
- Rerank Model Bug: Fixed the rerank model and switch issues across various tools by @WTW0313 in #12721 and @luckylhb90 in #12774.
- Clipboard WriteText on HTTP: Resolved issues with clipboard text writing under the HTTP protocol by @le0zh in #12936.
- OpenAI Bad Request Error: Cleaned up issues causing bad request errors on OpenAI o1 endpoint by @k-zaku in #12839.
- ReAct Inference Error: Fixed error logging issue when ReAct inference mode is enabled by @jiandanfeng in #12920.
- Agent Log Formatting: Tweaked DeepSeek's API response handling to fix format issues by @jiandanfeng in #12747.
🧑💻 Developer Note
[!NOTE]
Poetry Upgrade Alert: Heads up, devs! We've upgraded to Poetry 2.x from 1.x. This upgrade is aimed at making your package management smoother and more efficient, so make sure to update your local setup and check out what's new in Poetry 2.x by @bowenliang123 in #12369.
So, what's next? Get this version in your dev arsenal and explore these cool upgrades in Dify! As always, dive in, have fun, and let us know your thoughts.
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.15.2Update 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: copyright modification by @JzoNgKVO in https://github.com/langgenius/dify/pull/12707
- chore: translate i18n files by @github-actions in https://github.com/langgenius/dify/pull/12708
- fix: Fix rerank model switching issue by @WTW0313 in https://github.com/langgenius/dify/pull/12721
- feat: enhance credential extraction logic based on configurate method by @fujita-h in https://github.com/langgenius/dify/pull/12853
- fix: DeepSeek API Error with response format active (text and json_object) by @jiandanfeng in https://github.com/langgenius/dify/pull/12747
- chore: fix chinese translation for 'recall' by @xhdd123321 in https://github.com/langgenius/dify/pull/12772
- fix(i18n): correct typo in zh-Hant translation by @yenslife in https://github.com/langgenius/dify/pull/12852
- Fix suggested_question_prompt by @xu-song in https://github.com/langgenius/dify/pull/12738
- fix: "parmas" spelling mistake. by @jiandanfeng in https://github.com/langgenius/dify/pull/12875
- fix: SparkLite API Auth error (#12781) by @jiandanfeng in https://github.com/langgenius/dify/pull/12790
- feat: allow updating chunk settings for the existing documents by @kurokobo in https://github.com/langgenius/dify/pull/12833
- fix: serply credential check query might return empty records by @rayshaw001 in https://github.com/langgenius/dify/pull/12784
- feat:Support Minimax-Text-01 by @AAlexDing in https://github.com/langgenius/dify/pull/12763
- chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x by @bowenliang123 in https://github.com/langgenius/dify/pull/12702
- fix: Issues related to the deletion of conversation_id (#12488) by @jiandanfeng in https://github.com/langgenius/dify/pull/12665
- chore(fix): Invalid quotes for using Array[String] in HTTP request node as JSON body by @bowenliang123 in https://github.com/langgenius/dify/pull/12761
- add deepseek-reasoner by @wangiii in https://github.com/langgenius/dify/pull/12898
- fix: external dataset hit test display issue(#12564) by @le0zh in https://github.com/langgenius/dify/pull/12612
- Update deepseek model configuration by @wangiii in https://github.com/langgenius/dify/pull/12899
- fix: OpenAI o1 Bad Request Error by @k-zaku in https://github.com/langgenius/dify/pull/12839
- fix: variable panel scrollable by @xhdd123321 in https://github.com/langgenius/dify/pull/12769
- chore: remove webapp ga by @iamjoel in https://github.com/langgenius/dify/pull/12909
- bug: fixed bedrock rerank bug by @luckylhb90 in https://github.com/langgenius/dify/pull/12774
- fix update segment keyword with same content by @JohnJyong in https://github.com/langgenius/dify/pull/12908
- fix:Fix a bug that returns null when the passed path is a file. by @jiangbo721 in https://github.com/langgenius/dify/pull/12775
- feat: Add ability to change profile avatar by @miya in https://github.com/langgenius/dify/pull/12642
- feat: add gemini-2.0-flash-thinking-exp-01-21 by @jiandanfeng in https://github.com/langgenius/dify/pull/12924
- feat: support config chunk length by env by @iamjoel in https://github.com/langgenius/dify/pull/12925
- fix: app token's last_used_at can't be updated when last_used_at is null by @Egfly in https://github.com/langgenius/dify/pull/12770
- fix: Agent is configured for ReAct inference mode, an error is reported when viewing the agent log by @jiandanfeng in https://github.com/langgenius/dify/pull/12920
- add milvus full text search setting by @JohnJyong in https://github.com/langgenius/dify/pull/12930
- chore(build): bump poetry from 1.x to 2.x by @bowenliang123 in https://github.com/langgenius/dify/pull/12369
- fix(batch_create_segment_to_index_task): count max_position in memory. by @laipz8200 in https://github.com/langgenius/dify/pull/12929
- feat: workflow note dark theme by @zxhlyh in https://github.com/langgenius/dify/pull/12932
- fix: resolve clipboard.writeText failure under HTTP protocol by @le0zh in https://github.com/langgenius/dify/pull/12936
- feat(ark): support doubao 1.5 series of models by @sinomoe in https://github.com/langgenius/dify/pull/12935
- chore: update version to 0.15.2 in packaging and docker configurations by @laipz8200 in https://github.com/langgenius/dify/pull/12940
Full Changelog: https://github.com/langgenius/dify/compare/0.15.1...0.15.2