Files
Harry 4a8fdbca8b feat: add update_subscription method to TriggerSubscriptionConstructor
Added update_subscription and _update_subscription methods to support updating existing subscriptions with new parameters. This allows plugins to handle subscription updates more efficiently and with better error handling control.

Key features:
- Supports direct update API calls for services that provide them
- Allows custom delete+create implementation with better error handling
- Provides fallback mechanism if not implemented by plugin
- Includes comprehensive documentation and examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:22:40 +08:00
..
2025-07-09 20:17:32 +08:00

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