Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore(api): bump version (#25917)

QuantumGhost24e8d21b3f04
diff --git a/api/pyproject.toml b/api/pyproject.toml
index 0b2b41d6db1..012702edd25 100644
--- a/api/pyproject.toml
+++ b/api/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "dify-api"
-version = "2.0.0-beta2"
+version = "1.9.0"
requires-python = ">=3.11,<3.13"
dependencies = [
diff --git a/api/tests/test_containers_integration_tests/conftest.py b/api/tests/test_containers_integration_tests/conftest.py
index 145e31bca0b..243c8d1d625 100644
--- a/api/tests/test_containers_integration_tests/conftest.py
+++ b/api/tests/test_containers_integration_tests/conftest.py
@@ -173,7 +173,7 @@ class DifyTestContainers:
# Start Dify Plugin Daemon container for plugin management
# Dify Plugin Daemon provides plugin lifecycle management and execution
logger.info("Initializing Dify Plugin Daemon container...")
- self.dify_plugin_daemon = DockerContainer(image="langgenius/dify-plugin-daemon:0.2.0-local")
+ self.dify_plugin_daemon = DockerContainer(image="langgenius/dify-plugin-daemon:0.3.0-local")
self.dify_plugin_daemon.with_exposed_ports(5002)
self.dify_plugin_daemon.env = {
"DB_HOST": db_host,
diff --git a/api/uv.lock b/api/uv.lock
index ee49e79eff6..7ce71cd2158 100644
--- a/api/uv.lock
+++ b/api/uv.lock
@@ -1,5 +1,5 @@
version = 1
-revision = 2
+revision = 3
requires-python = ">=3.11, <3.13"
resolution-markers = [
"python_full_version >= '3.12.4' and sys_platform == 'linux'",
@@ -1273,7 +1273,7 @@ wheels = [
[[package]]
name = "dify-api"
-version = "2.0.0b2"
+version = "1.9.0"
source = { virtual = "." }
dependencies = [
{ name = "arize-phoenix-otel" },
diff --git a/docker/docker-compose-template.yaml b/docker/docker-compose-template.yaml
index 93159b056fe..685fc325d09 100644
--- a/docker/docker-compose-template.yaml
+++ b/docker/docker-compose-template.yaml
@@ -2,7 +2,7 @@ x-shared-env: &shared-api-worker-env
services:
# API service
api:
- image: langgenius/dify-api:2.0.0-beta.2
+ image: langgenius/dify-api:1.9.0
restart: always
environment:
# Use the shared environment variables.
@@ -31,7 +31,7 @@ services:
# worker service
# The Celery worker for processing the queue.
worker:
- image: langgenius/dify-api:2.0.0-beta.2
+ image: langgenius/dify-api:1.9.0
restart: always
environment:
# Use the shared environment variables.
@@ -58,7 +58,7 @@ services:
# worker_beat service
# Celery beat for scheduling periodic tasks.
worker_beat:
- image: langgenius/dify-api:2.0.0-beta.2
+ image: langgenius/dify-api:1.9.0
restart: always
environment:
# Use the shared environment variables.
@@ -76,7 +76,7 @@ services:
# Frontend web application.
web:
- image: langgenius/dify-web:2.0.0-beta.2
+ image: langgenius/dify-web:1.9.0
restart: always
environment:
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
@@ -177,7 +177,7 @@ services:
# plugin daemon
plugin_daemon:
- image: langgenius/dify-plugin-daemon:0.3.0b1-local
+ image: langgenius/dify-plugin-daemon:0.3.0-local
restart: always
environment:
# Use the shared environment variables.
diff --git a/docker/docker-compose.middleware.yaml b/docker/docker-compose.middleware.yaml
index 9e7060aad21..d350503f276 100644
--- a/docker/docker-compose.middleware.yaml
+++ b/docker/docker-compose.middleware.yaml
@@ -20,7 +20,17 @@ services:
ports:
- "${EXPOSE_POSTGRES_PORT:-5432}:5432"
healthcheck:
- test: [ 'CMD', 'pg_isready', '-h', 'db', '-U', '${PGUSER:-postgres}', '-d', '${POSTGRES_DB:-dify}' ]
+ test:
+ [
+ "CMD",
+ "pg_isready",
+ "-h",
+ "db",
+ "-U",
+ "${PGUSER:-postgres}",
+ "-d",
+ "${POSTGRES_DB:-dify}",
+ ]
interval: 1s
timeout: 3s
retries: 30
@@ -41,7 +51,11 @@ services:
ports:
- "${EXPOSE_REDIS_PORT:-6379}:6379"
healthcheck:
- test: [ 'CMD-SHELL', 'redis-cli -a ${REDIS_PASSWORD:-difyai123456} ping | grep -q PONG' ]
+ test:
+ [
+ "CMD-SHELL",
+ "redis-cli -a ${REDIS_PASSWORD:-difyai123456} ping | grep -q PONG",
+ ]
# The DifySandbox
sandbox:
@@ -65,13 +79,13 @@ services:
- ./volumes/sandbox/dependencies:/dependencies
- ./volumes/sandbox/conf:/conf
healthcheck:
- test: [ "CMD", "curl", "-f", "http://localhost:8194/health" ]
+ test: ["CMD", "curl", "-f", "http://localhost:8194/health"]
networks:
- ssrf_proxy_network
# plugin daemon
plugin_daemon:
- image: langgenius/dify-plugin-daemon:0.3.0b1-local
+ image: langgenius/dify-plugin-daemon:0.3.0-local
restart: always
env_file:
- ./middleware.env
@@ -143,7 +157,12 @@ services:
volumes:
- ./ssrf_proxy/squid.conf.template:/etc/squid/squid.conf.template
- ./ssrf_proxy/docker-entrypoint.sh:/docker-entrypoint-mount.sh
- entrypoint: [ "sh", "-c", "cp /docker-entrypoint-mount.sh /docker-entrypoint.sh && sed -i 's/\r$$//' /docker-entrypoint.sh && chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh" ]
+ entrypoint:
+ [
+ "sh",
+ "-c",
+ "cp /docker-entrypoint-mount.sh /docker-entrypoint.sh && sed -i 's/\r$$//' /docker-entrypoint.sh && chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh",
+ ]
env_file:
- ./middleware.env
environment:
diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml
index 2d6ba572e61..dc94883b751 100644
--- a/docker/docker-compose.yaml
+++ b/docker/docker-compose.yaml
@@ -593,7 +593,7 @@ x-shared-env: &shared-api-worker-env
services:
# API service
api:
- image: langgenius/dify-api:2.0.0-beta.2
+ image: langgenius/dify-api:1.9.0
restart: always
environment:
# Use the shared environment variables.
@@ -622,7 +622,7 @@ services:
# worker service
# The Celery worker for processing the queue.
worker:
- image: langgenius/dify-api:2.0.0-beta.2
+ image: langgenius/dify-api:1.9.0
restart: always
environment:
# Use the shared environment variables.
@@ -649,7 +649,7 @@ services:
# worker_beat service
# Celery beat for scheduling periodic tasks.
worker_beat:
- image: langgenius/dify-api:2.0.0-beta.2
+ image: langgenius/dify-api:1.9.0
restart: always
environment:
# Use the shared environment variables.
@@ -667,7 +667,7 @@ services:
# Frontend web application.
web:
- image: langgenius/dify-web:2.0.0-beta.2
+ image: langgenius/dify-web:1.9.0
restart: always
environment:
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
@@ -768,7 +768,7 @@ services:
# plugin daemon
plugin_daemon:
- image: langgenius/dify-plugin-daemon:0.3.0b1-local
+ image: langgenius/dify-plugin-daemon:0.3.0-local
restart: always
environment:
# Use the shared environment variables.
diff --git a/web/package.json b/web/package.json
index d9bd413b0ee..57ab734eb21 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,6 +1,6 @@
{
"name": "dify-web",
- "version": "2.0.0-beta2",
+ "version": "1.9.0",
"private": true,
"packageManager": "[email protected]",
"engines": {