mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-23 10:55:45 -04:00
d6fa7bfb7e
- Updated the version in pyproject.toml from 0.6.0b6 to 0.6.0b7. - Renamed trigger-related methods and classes for clarity, changing invoke_trigger to invoke_trigger_event and updating associated request and response classes. - Adjusted event handling in the GithubTrigger class to improve event dispatching. These changes ensure the plugin is up-to-date and enhance the clarity and functionality of event handling.
Dify Plugin SDK
A Python SDK for building plugins for Dify.
Version Management
This SDK follows Semantic Versioning (a.b.c):
- a: Major version - Indicates significant architectural changes or incompatible API modifications
- b: Minor version - Indicates new feature additions while maintaining backward compatibility
- c: Patch version - Indicates backward-compatible bug fixes
For SDK Users
When depending on this SDK, it's recommended to specify version constraints that:
- Allow patch and minor updates for bug fixes and new features
- Prevent major version updates to avoid breaking changes
Example in your project's dependency management:
dify_plugin>=0.3.0,<0.5.0