fix(service/controller): add support for paginated and non-paginated plugin list responses with backward compatibility#396
Conversation
… plugin list responses with backward compatibility
|
As for me, it's not a good implementation that returns data with different schema, it's not so restful, and of course, versions between Dify and daemon should always align, upgrading only one side would make lots of problems, not only this one, such as MCP and Tools OAuth |
You're right about this issue. This is just a solution provided based on the current state, mainly to solve the problems we encountered during the upgrade process. It's essential that all component versions remain consistent. However, during the upgrade process, if dify and daemon are deployed separately, this situation will cause problems now. @Yeuoly |
… plugin list responses with backward compatibility
Description
Fixes langgenius/dify#22250
During the upgrade process, we encountered an error (reference issue: xxx). I resolved this by introducing a new response_type parameter in the Plugin Daemon.
Fix Details:
Recommended Upgrade Paths:
It's recommended to upgrade Plugin Daemon first, followed by Dify. This ensures a smooth and error-free transition.
You should first upgrade Dify to v1.6.0 before upgrading Plugin Daemon, to ensure compatibility between components.
Type of Change
Essential Checklist
Testing
Bug Fix (if applicable)
Fixes #123orCloses #123)Additional Information
Please provide any additional context that would help reviewers understand the changes.