mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 10:25:23 -04:00
29a15ccdd7
* feat(http_parser): add functions to parse raw HTTP requests and convert Request objects to raw data - Implemented `parse_raw_request` to convert raw HTTP data into a Request object, including support for headers and body. - Added `convert_request_to_raw_data` to transform a Request object back into raw HTTP data. - Created unit tests for both functions to ensure correct parsing and conversion behavior. * apply ruff
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.2.0,<0.3.0