0.4.0
Release Notes for Version 0.4.0
This release improves integration capabilities by providing more control over input and output data, expanding potential use cases for the Dify Plugin.
What's New
-
Path Parameter for
app_id:
Theapp_idis now part of the URL path rather than included in thereq.body. This change aligns with RESTful best practices and simplifies API usage. -
Middleware Support:
We've introduced support for custom middlewares. This allows the plugin to be extendable, enabling users to define specific logic such as request validation or custom mappings. Users are encouraged to contribute middlewares or fork the repository to add their own custom ones. -
Discord Middleware:
A new Discord middleware has been added. This middleware facilitates building Discord interactions through webhooks, making it possible to transform a Dify workflow into a Discord bot. -
Input/Output Handling Enhancements:
We've improved how input and output data are handled, giving users more flexibility in configuring the plugin to suit their integration needs. This includes specifying whether to usereq.body.inputsorreq.bodyfor inputs and the ability to return outputs as raw data without Dify metadata. -
Multilingual Support:
Some labels have been translated into other languages, broadening the plugin's usability across different language-speaking developer communities.
This release focuses on enhancing user flexibility and expanding integration options, making the Dify Plugin more versatile for various applications. Enjoy the new features and happy integrating! 🎉