Releases: langgenius/dify
v0.3.30
New Features
- App supports image uploading and calls the OpenAI GPT-4V or
gpt-4-vision-preview
which allows the model to take in images and answer questions about them.
What's Changed
- fix: universal chat external_data_tools NPE by @takatost in #1467
- fix: external data tool parse error by @takatost in #1469
- feat: hidden api key enhancement. by @GarfieldDai in #1468
- fix: external data tool batch retrieve bug by @takatost in #1472
- fix: openai model name by @zxhlyh in #1474
- fix: code-based extension by @zxhlyh in #1477
- feat: support basic feature of OpenAI new models by @takatost in #1476
- fix: api extension selector by @zxhlyh in #1486
- fix: rename api based extension by @zxhlyh in #1485
- application embedded add chrome && ChatBot Chrome plugin update v1.5 by @charli117 in #1480
- feat: update the docs in forking applications by @crazywoola in #1491
- Fixed missing i18n app-debug.zh.ts items. by @BenjaminX in #1503
- Change Embedded chrome plugin Url by @charli117 in #1498
- feat: update free plan rules of spark by @takatost in #1515
- feat: add spark 3.0 tip by @zxhlyh in #1516
- 1506 remove duplicated code by @crazywoola in #1511
- feat: [backend] vision support by @takatost in #1510
- feat: [frontend] support vision by @zxhlyh in #1518
- feat: bump version to 0.3.30 by @takatost in #1519
Full Changelog: 0.3.29...0.3.30
v0.3.29
New Features
- App Moderation Support [DOCS WIP]
- App External Data Retrieve Support [DOCS WIP]
- the above functions support API-based / Code-based Extension [DOCS WIP]
- Support ZhipuAI chatglm_turbo, spark v3.0, weixin ernie-bot-4 model
What's Changed
- feat: logo by @zxhlyh in #1356
- Fix milvus configuration error by @JackLCL in #1362
- feat: optimize completion model agent by @takatost in #1364
- fix: app model config detached in completion thread by @takatost in #1366
- feat: support wenxin ernie-bot-4 and chat mode by @takatost in #1375
- fix: i18n runtime error by @zxhlyh in #1376
- fix: app config zhipu chatglm_std model, but it still use chatglm_lit… by @sbwkl in #1377
- refactor advanced prompt core. by @GarfieldDai in #1350
- feat: enchance prompt mode copywriting by @iamjoel in #1379
- fix: npm run start by @zxhlyh in #1380
- fix: not load dataset config by @iamjoel in #1381
- feat: add context missing warning by @iamjoel in #1384
- feat: add advanced prompt doc link by @iamjoel in #1363
- Chrome Dify Chatbot Plug-in by @charli117 in #1378
- feat: adjust anthropic by @takatost in #1387
- fix: return wrong when init 0 quota in trial provider by @takatost in #1394
- Update README.md by @Panmuse in #1389
- Update README_CN.md by @Panmuse in #1390
- Added diagram picture file for docker-compose yaml file visualization. by @yangboz in #1374
- fix: hex problem by @takatost in #1395
- feat: upgrade xinference-client to 0.5.4 by @takatost in #1402
- fix: workspace app avatar is abnormal by @Hickays in #1411
- mermaid front-end rendering initialization exception handling logic o… by @charli117 in #1407
- fix: provider delete api key modal z-index by @zxhlyh in #1416
- fix: Add icons for apps in "Related apps list" by @Hickays in #1425
- fix: delete app and setting modal is not wokring in firefox by @crazywoola in #1427
- fix: metadata not saved by @crazywoola in #1429
- feat: add spark v3.0 llm support by @takatost in #1434
- chore(deps): bump semver from 5.7.1 to 5.7.2 in /web by @dependabot in #1436
- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 in /web by @dependabot in #1437
- chore(deps-dev): bump postcss from 8.4.24 to 8.4.31 in /web by @dependabot in #1439
- chore(deps): bump word-wrap from 1.2.3 to 1.2.5 in /web by @dependabot in #1440
- fix: service suggested api by @crazywoola in #1452
- feat: support chatglm_turbo model #1443 by @takatost in #1460
- fix: Use correct typehint for return values by @lethe3000 in #1454
- feat: add api-based extension & external data tool & moderation backend by @GarfieldDai in #1403
- feat: add api-based extension & external data tool & moderation by @zxhlyh in #1459
- fix: chat style by @zxhlyh in #1463
- fix: refresh api-based-extension by @zxhlyh in #1464
- fix: prompt variables validate when using external data tools by @takatost in #1465
- feat: bump version to 0.3.29 by @takatost in #1462
New Contributors
- @JackLCL made their first contribution in #1362
- @sbwkl made their first contribution in #1377
- @yangboz made their first contribution in #1374
- @dependabot made their first contribution in #1436
- @lethe3000 made their first contribution in #1454
Full Changelog: 0.3.28...0.3.29
v0.3.28
What's Changed
- fix: new app with template display by @kztao in #1322
- fix: value.join is not a function in log list by @crazywoola in #1332
- fix: raise error in minimax stream generate by @takatost in #1336
- Add Message Suggested Api by @charli117 in #1326
- fix: modal z-index by @crazywoola in #1337
- fix: max tokens of OpenAI gpt-3.5-turbo-instruct to 4097 by @takatost in #1338
- feat: use xinference client instead of xinference by @takatost in #1339
- Feat/advanced prompt enhancement by @GarfieldDai in #1340
- feat: switch to generation model set default stop word by @iamjoel in #1341
- fix: modal z-index by @Hickays in #1343
- remove the suggested api for completion app by @crazywoola in #1347
- feat: bump version to 0.3.28 by @takatost in #1349
New Contributors
Full Changelog: 0.3.27...0.3.28
v0.3.27
What's Changed
- feat: using random sampling to check if it violates the review mechan… by @takatost in #1308
- fix: compatibility issues with the tongyi model. by @takatost in #1310
- feat: optimize minimax llm call by @takatost in #1312
- fix: grpc gevent compatible by @JohnJyong in #1314
- fix: minimax tests by @takatost in #1313
- feat: add document of authorization by @JzoNgKVO in #1311
- feat: remove llm client use by @takatost in #1316
- fix: retriever_resource missing by @takatost in #1317
- feat: adjust to only build the latest image when pushing a tag. by @takatost in #1324
- feat: improve document delete logic by @JohnJyong in #1325
- fix: dataset segment not exist return agent response by @takatost in #1329
- feat: advanced prompt backend by @GarfieldDai in #1301
- feat: advanced prompt by @zxhlyh in #1330
- feat: bump version to 0.3.27 by @takatost in #1331
Full Changelog: 0.3.26...0.3.27
v0.3.26
What's Changed
- document segmentApi Add get&update&delete operate by @charli117 in #1285
- fix: openllm completion start with prompt, remove it by @takatost in #1303
- Feat/add milvus vector db by @JohnJyong in #1302
- milvus secure check fix by @JohnJyong in #1305
- milvus docker compose env by @JohnJyong in #1306
- bump version to 0.3.26 by @JohnJyong in #1307
Full Changelog: 0.3.25...0.3.26
v0.3.25
What's Changed
- fix: request timeout when openai completion by @takatost in #1265
- fix: db not commit when streaming output by @takatost in #1266
- fix: count down thread in completion db not commit by @takatost in #1267
- fix: detached model in completion thread by @takatost in #1269
- fix devcontainer issue by @guangtouwangba in #1273
- chore(web): strong type by @JunIce in #1259
- Application share qrcode by @charli117 in #1277
- feat: move login_required wrapper outside by @takatost in #1281
- feat: qdrant support in docker compose by @takatost in #1286
- feat: upgrade xinference client to 0.5.2 by @takatost in #1292
- feat: add baichuan llm support by @takatost in #1294
- feat: support openllm embedding by @takatost in #1293
- feat: provider add baichuan by @zxhlyh in #1298
- fix: prompt for baichuan text generation models by @takatost in #1299
- feat: bump version to 0.3.25 by @takatost in #1300
Full Changelog: 0.3.24...0.3.25
v0.3.24
What's Changed
- add help wanted issue template by @crazywoola in #1199
- fix: provider spark free quota text by @zxhlyh in #1201
- Complete type defined. by @JunIce in #1200
- fix: transaction hangs due to message commit block during long LLM calls by @takatost in #1206
- fix: transaction not commit during long LLM calls by @takatost in #1213
- Feat/huggingface embedding support by @GarfieldDai in #1211
- Fix/qdrant data issue by @JohnJyong in #1203
- fix: dataset eslint error by @iamjoel in #1221
- Fix: add loading for dataset creation by @JzoNgKVO in #1214
- feat: batch run support retry errors and decrease rate limit times by @iamjoel in #1215
- Feat/api jwt by @zxhlyh in #1212
- fix: FATAL: role "root" does not exist. by @crazywoola in #1233
- Fix App logs page modal show different model icon. by @JunIce in #1224
- Fix: debounce of dataset creation by @JzoNgKVO in #1237
- Fix: dataset list refresh by @JzoNgKVO in #1216
- feat: support binding context var by @GarfieldDai in #1227
- fix: dataset query error. by @GarfieldDai in #1244
- Feat/dataset service api by @JohnJyong in #1245
- Feat/dataset support api service by @zxhlyh in #1240
- fix: wenxin model name invalid when llm call by @takatost in #1248
- fix: db session not commit before long llm call running by @takatost in #1251
- fix: dataset footer styles by @crazywoola in #1254
- Fix/dataset api key delete by @JohnJyong in #1255
- fix: doc by @zxhlyh in #1256
- Fix/notion sync by @zxhlyh in #1258
- feat: bump version to 0.3.24 by @takatost in #1262
Full Changelog: 0.3.23...0.3.24
Version 0.3.23
What's Changed
- feat: spark free quota verify by @zxhlyh in #1152
- feat: spark check by @takatost in #1134
- feat: add hosted moderation by @takatost in #1158
- chore: hover conversation show option button by @iamjoel in #1160
- Update README.md by @crazywoola in #1164
- add video to cn readme by @crazywoola in #1165
- fix LocalAI is missing in lang/en by @crazywoola in #1169
- Feat/add blocking mode resource return by @JohnJyong in #1171
- fix: correct invite url by @MatriQ in #1173
- fix: Improved fallback solution for avatar image loading failure by @CoolBoyLeo in #1172
- Mermaid front end rendering by @charli117 in #1166
- Restore the application template by @charli117 in #1174
- chore: Optimization model parameter description by @iamjoel in #1181
- fix: model param description error by @iamjoel in #1183
- fix: text error by @iamjoel in #1184
- feat(web): service request return generics type by @JunIce in #1157
- 1111 wrong embedding model displayed in datasets by @crazywoola in #1186
- fix: inference embedding validate by @takatost in #1187
- feat: add zhipuai by @takatost in #1188
- Feat/provider add zhipuai by @zxhlyh in #1192
- Feat/improve vector database logic by @JohnJyong in #1193
- feat: support gpt-3.5-turbo-instruct model by @takatost in #1195
- fix: gpt-3.5-turbo-instruct context size to 8192 by @takatost in #1196
- build: update devDependencies by @jiaowoxiaobala in #1125
- feat: bump version to 0.3.23 by @takatost in #1198
New Contributors
- @CoolBoyLeo made their first contribution in #1172
- @charli117 made their first contribution in #1166
Full Changelog: 0.3.22...0.3.23
Version 0.3.22
Notice: if you're upgrading from before version 0.3.21, make sure you've read the BREAKING CHANGE in version 0.3.21: https://github.com/langgenius/dify/releases/tag/0.3.21
What's Changed
- Feat:csv & docx support by @JzoNgKVO in #1139
- Feat:dataset retiever resource by @JohnJyong in #1123
- fix(web): complete some ts type by @JunIce in #1148
- Update issue template by @crazywoola in #1150
- Update bug_report.yml by @crazywoola in #1151
- feat: bump version to 0.3.22 by @takatost in #1153
Full Changelog: 0.3.21...0.3.22
Version 0.3.21
⚠️ [BREAKING CHANGE] ⚠️
- The fixed parameters of the
Query content
in the text generation application have been removed. Users can freely add any variables in the prompt, instead of appending the content of the query content at the end. - The
query
parameter in thePOST /v1/completion-messages
endpoint of the App OpenAPI is expected to be completely removed in 3 months. Currently, it's optional and the parameter in API documentation has already been removed.
To ensure that the previous applications can still function properly after removing the fixed parameters in the query content of the text generation application, we need to execute a command to fix the data:
Migration Guide
-
Enter the Docker Container: Before running the migration script, you need to enter the Docker container where your application is running. Use the following command:
docker exec -it docker-api-1 bash
-
Run the Migration Script: Once inside the container, execute the following migration command. The migration script can be executed multiple times without side effects:
# --batch-size: Specifies the number of records migrated per batch, default is 500 flask update_app_model_configs --batch-size=500
What's Changed
- feat: support optional query content by @iamjoel in #1097
- fix: in log page not show user query by @iamjoel in #1140
- fix: log page compatible old query by @iamjoel in #1141
- fix: remove the deprecated depends_on.condition format by @takatost in #1142
- feat: cache huggingface gpt2 tokenizer files by @takatost in #1138
- feat: set transformers offline default true by @takatost in #1143
- fix: TRANSFORMERS_OFFLINE orders in Dockerfile by @takatost in #1144
- feat: bump version to 0.3.21 by @takatost in #1145
Full Changelog: 0.3.20...0.3.21