MyGit

1.0.0-beta.1

langgenius/dify

版本发布时间: 2025-01-09 22:47:14

langgenius/dify最新发布版本:0.15.1(2025-01-13 19:21:38)

Introduce Plugin System

We are glad to share that we're launching Plugins beta. 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.

image

Changes you should know

Important Notes

Docker Deployment

v1.0.0 supports Docker compose deployment. You can start Dify using the following commands:

git checkout 1.0.0-beta.1
cd ./docker
./generate_docker_compose
docker compose -f docker-compose.yaml up -d

Plugin Migration

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

This command will download and install all necessary plugins into the latest environment.

Database Migration

After completing the basic plugin installation process, follow the standard Dify upgrade procedure to update the database schema to the latest version.

poetry run flask db upgrade

Dify v1.0 includes compatibility for old data. You should be able to operate normally, but for better future compatibility, run the following data migration command once you're sure you won't revert to an older version:

poetry run flask migrate-data-for-plugin

This command will prefix existing model and tool vendors in the database with langgenius, such as converting openai to langgenius/openai/openai. This operation may affect the functioning of the older Dify version, so back up your database before running this command to prevent unwanted issues.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2025-01-09发行的版本