-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: andyit/dify-java-client
base: main
head repository: imfangs/dify-java-client
compare: main
- 13 commits
- 21 files changed
- 4 contributors
Commits on Jan 7, 2026
-
fix: 添加conversation_id字段到BaseWorkflowEvent以修复issue imfangs#145
## 问题描述 Chatflow的"workflow_started"、"node_started"等workflow事件实体类缺少conversation_id字段。 直接调用dify的HTTP接口能够返回conversation_id,但SDK中只有BaseMessageEvent的子类包含该字段, 而BaseWorkflowEvent的子类缺失,导致前几个SSE事件无法获取conversation_id。 ## 修复内容 - 在BaseWorkflowEvent基类中添加conversation_id字段,使其与BaseMessageEvent保持一致 - 所有继承BaseWorkflowEvent的事件类(WorkflowStartedEvent, NodeStartedEvent, NodeFinishedEvent等) 现在都可以获取conversation_id ## 验证 - 已验证Dify HTTP API在chatflow模式下返回的workflow事件确实包含conversation_id字段 - 代码成功编译通过(mvn clean compile) - 与BaseMessageEvent保持一致的设计 Fixes imfangs#145 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b97473 - Browse repository at this point
Copy the full SHA 4b97473View commit details -
fix: Change builtInMetadata return type from String to SimpleResponse
Fixes imfangs#146 The builtInMetadata API endpoint returns a JSON object ({"result": "success"}) instead of a plain string. This was causing a MismatchedInputException: "Cannot deserialize value of type java.lang.String from Object value". Changed the return type from String to SimpleResponse in both the interface and implementation to properly handle the API response. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d92367b - Browse repository at this point
Copy the full SHA d92367bView commit details -
Merge pull request imfangs#148 from imfangs/fix/issue-146-builtInMeta…
…data-response-type fix: Change builtInMetadata return type from String to SimpleResponse
Configuration menu - View commit details
-
Copy full SHA for c8c7322 - Browse repository at this point
Copy the full SHA c8c7322View commit details -
chore(release): bump version to 1.2.4
- Fix builtInMetadata return type from String to SimpleResponse (imfangs#146) - Add conversation_id field to BaseWorkflowEvent (imfangs#145) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c682bc7 - Browse repository at this point
Copy the full SHA c682bc7View commit details -
fix: Update test to use SimpleResponse for builtInMetadata
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1b5116 - Browse repository at this point
Copy the full SHA b1b5116View commit details
Commits on Jan 15, 2026
-
Configuration menu - View commit details
-
Copy full SHA for f2ba633 - Browse repository at this point
Copy the full SHA f2ba633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6c0a6 - Browse repository at this point
Copy the full SHA 0a6c0a6View commit details
Commits on Jan 30, 2026
-
chore(release): bump version to 1.2.5
- add workflow_id support for Chatflow requests (imfangs#151) - improve workflow event compatibility for workflow_id - build: ensure Lombok annotation processing on newer JDKs
Configuration menu - View commit details
-
Copy full SHA for 4484beb - Browse repository at this point
Copy the full SHA 4484bebView commit details
Commits on Apr 8, 2026
-
fix: add node_retry event and text_to_speech parameter (imfangs#157, i…
…mfangs#158) - Add node_retry event support for Workflow and Chatflow streaming - Add text_to_speech, more_like_this, sensitive_word_avoidance to AppParametersResponse - Add workflow_file_upload_limit to SystemParameters - Bump version to 1.2.6
Configuration menu - View commit details
-
Copy full SHA for 8d815cc - Browse repository at this point
Copy the full SHA 8d815ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6d7adf - Browse repository at this point
Copy the full SHA d6d7adfView commit details
Commits on May 7, 2026
-
refactor: optimize streaming response terminal event handling (imfang…
…s#161) - 引入 CHAT_TERMINAL_EVENTS 和 WORKFLOW_TERMINAL_EVENTS 常量集合 - 修改 processStreamLine 方法参数以支持动态终止事件判断 - 为聊天、补全、工作流等不同场景配置相应的终止事件类型 - 重构事件处理逻辑,统一通过枚举集合判断流式读取终止条件 - 移除硬编码的特定事件判断,提高代码可维护性 - 优化不同 Dify 应用类型的流式响应处理策略
Configuration menu - View commit details
-
Copy full SHA for 18848bf - Browse repository at this point
Copy the full SHA 18848bfView commit details -
feat: add missing fields to DetailedDocumentResponse (imfangs#160)
Add doc_type, doc_metadata, summary_index_status, and need_summary fields to align with the latest Dify API response for document detail endpoint.
Configuration menu - View commit details
-
Copy full SHA for 9473156 - Browse repository at this point
Copy the full SHA 9473156View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcecca3 - Browse repository at this point
Copy the full SHA bcecca3View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main