Skip to content

Tags: imfangs/dify-java-client

Tags

v1.2.7

Toggle v1.2.7's commit message
v1.2.7

- Optimize streaming response handling by introducing terminal event constants for different app types (#161)
  - Chat/Completion streams now terminate on `message_end` or `error`
  - Chatflow/Workflow streams now terminate on `workflow_finished` or `error`
  - Fixes issue where Chatflow events after `message_end` were being lost
- Add missing fields to `DetailedDocumentResponse`: `doc_type`, `doc_metadata`, `summary_index_status`, `need_summary` (#160)

v1.2.6

Toggle v1.2.6's commit message
Release v1.2.6

v1.2.5

Toggle v1.2.5's commit message
v1.2.5

- Add `workflow_id` support for Chatflow requests to adapt multi-version workflow configuration (#151)
- Improve compatibility for workflow events by supporting `workflow_id` at the event root level (when present)
- Build: update Lombok to support newer JDKs and ensure annotation processing works in Maven builds

v1.2.4

Toggle v1.2.4's commit message
Release version 1.2.4

- Fix builtInMetadata return type from String to SimpleResponse (#146)
- Add conversation_id field to BaseWorkflowEvent (#145)

v1.2.3

Toggle v1.2.3's commit message
v1.2.3

- add UpdateDatasetRequest.description
- fix: ensure message_end is received in Chatflow mode

v1.2.2

Toggle v1.2.2's commit message
v1.2.2

v1.2.2 发布说明

数据集(Datasets)

- 将 getDatasetTags 从 POST 改为 GET(路径:/datasets/{datasetId}/tags)
- getChildChunks 增加查询参数:keyword、page、limit(返回分页信息)
- 文档元数据列表字段映射修正:将 useCount 标注为 @JsonProperty("count")
- 标记 getUploadFile 为 Deprecated(服务端无对应路由)
- 创建知识库请求新增:embedding_model、embedding_model_provider、retrieval_model
- 更新知识库请求新增:external_retrieval_model、external_knowledge_id、external_knowledge_api_id
- 文本/文件方式的文档更新请求新增:retrieval_model

应用(App / Chat)

- 新增获取应用反馈:GET /app/feedbacks
- 新增更新对话变量:PUT /conversations/{c_id}/variables/{variable_id}
- 去除 getConversationVariables 中服务端未解析的冗余查询参数 variable_name

工作流(Workflow)

- 新增按 workflow_id 运行:POST /workflows/{workflow_id}/run
- 工作流日志过滤项补齐:created_at__before/after、created_by_end_user_session_id、created_by_account

其他

- 本次为补丁版本(patch),不包含破坏性修改
- getUploadFile 仅标记为弃用(Deprecated),暂不移除;若项目中使用,请评估替代逻辑或移除依赖
- 其余新增字段均为向后兼容,默认保持与后端一致的缺省行为

v1.2.1

Toggle v1.2.1's commit message
v1.2.1

- updateDocumentMetadata deserialize error #131
- end SSE stream on terminal events to close socket #132
- retrieval_model.reranking_mode field type error #133

v1.2.0

Toggle v1.2.0's commit message
Release version 1.2.0

v1.1.5

Toggle v1.1.5's commit message
Release version 1.1.5

v1.1.4

Toggle v1.1.4's commit message
Release version 1.1.4