Dify 1.0.0 (2025-02-28)
公式リリースノート: https://github.com/langgenius/dify/releases/tag/1.0.0
v1.0.0
このバージョンの記事
| # | テーマ | 状態 |
|---|---|---|
| 02-plugin-migration | プラグイン移行 (1.0.0) | draft |
| 03-database-migration | データベース移行 (1.0.0) | draft |
リリースノート抜粋
🎉 Introducing Dify Plugins 🎉
We are glad to share that we're launching Dify v1.0.0.
Plugins are modular components that extend AI applications with plug-and-play simplicity. Now you can assemble external services and custom functionalities with your Dify apps effortlessly.
What's new
- We've developed a plugin system, a standard for Dify that lets users create plugins with the suffix .difypkg. By installing different plugin packages, you can add various capabilities to Dify.
- Through this system, we've decoupled tools and models that can be expanded from Dify, enabling you to install them in a truly plug-and-play manner.
- We've introduced a new Agent node in Workflow, where the agent's behavior can now be defined by plugins. This means Dify is no longer limited to built-in strategies like CoT; you can define your own agent strategies.
- We've also introduced a new type of plugin called Extension, which is a custom service hosted within Dify. You can customize this service's code through plugins to handle external Webhook events.
- We've launched the Dify Marketplace, a centralized platform where plugins can be freely shared, allowing users to publish and download different plugins.
Docker Deployment
v1.0.0 supports Docker compose deployment. You can start Dify using the following commands:
git checkout 1.0.0
cd ./docker
docker compose -f docker-compose.yaml up -d
Plugin Migration
- !! Note, if you are upgrading from an older version to v1.0.0, you need to execute some basic migration steps.
The first step in upgrading to v1.0.0 is to install the tools and models used in your current environment into the new plugin environment, ensuring plugin installation is completed before database migration, run the following command:
poetry run flask extract-plugins --workers=20
This command extracts all models and tools used in the current environment. The workers parameter determines the number of parallel processes during extraction; adjust it according to your needs.
The final result will be saved in the plugins.jsonl file, which contains the plugin information for all workspaces in the current Dify instance.
Ensure your network is functioning properly and can access https://marketplace.dify.ai, then run the following command:
poetry run flask install-plugins --workers=2
This comman
…(以下省略、公式リリースノートを参照)
本記事は非公式まとめです。 正式な機能仕様、互換性、移行手順については Dify 公式ドキュメント および 公式リリースノート を必ずご確認ください。