From b6423f57d5779cc817274a33d4831c6cf9943e80 Mon Sep 17 00:00:00 2001 From: -LAN- Date: Tue, 5 Nov 2024 12:31:53 +0800 Subject: [PATCH] chore: update version to 0.11.0 across all relevant files --- api/configs/packaging/__init__.py | 2 +- api/services/app_dsl_service/service.py | 6 +----- docker-legacy/docker-compose.yaml | 6 +++--- docker/docker-compose.yaml | 6 +++--- web/package.json | 2 +- 5 files changed, 9 insertions(+), 13 deletions(-) diff --git a/api/configs/packaging/__init__.py b/api/configs/packaging/__init__.py index 3dc87e305836ac..b5cb1f06d951f0 100644 --- a/api/configs/packaging/__init__.py +++ b/api/configs/packaging/__init__.py @@ -9,7 +9,7 @@ class PackagingInfo(BaseSettings): CURRENT_VERSION: str = Field( description="Dify version", - default="0.10.2", + default="0.11.0", ) COMMIT_SHA: str = Field( diff --git a/api/services/app_dsl_service/service.py b/api/services/app_dsl_service/service.py index 32b95ae3aafa20..e6b0d9a2725b0f 100644 --- a/api/services/app_dsl_service/service.py +++ b/api/services/app_dsl_service/service.py @@ -27,11 +27,7 @@ logger = logging.getLogger(__name__) -current_dsl_version = "0.1.2" -dsl_to_dify_version_mapping: dict[str, str] = { - "0.1.2": "0.8.0", - "0.1.1": "0.6.0", # dsl version -> from dify version -} +current_dsl_version = "0.1.3" class AppDslService: diff --git a/docker-legacy/docker-compose.yaml b/docker-legacy/docker-compose.yaml index e3f1c3b761f3a0..88650194ec6348 100644 --- a/docker-legacy/docker-compose.yaml +++ b/docker-legacy/docker-compose.yaml @@ -2,7 +2,7 @@ version: '3' services: # API service api: - image: langgenius/dify-api:0.10.2 + image: langgenius/dify-api:0.11.0 restart: always environment: # Startup mode, 'api' starts the API server. @@ -227,7 +227,7 @@ services: # worker service # The Celery worker for processing the queue. worker: - image: langgenius/dify-api:0.10.2 + image: langgenius/dify-api:0.11.0 restart: always environment: CONSOLE_WEB_URL: '' @@ -396,7 +396,7 @@ services: # Frontend web application. web: - image: langgenius/dify-web:0.10.2 + image: langgenius/dify-web:0.11.0 restart: always environment: # The base URL of console application api server, refers to the Console base URL of WEB service if console domain is diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index a26838af106b63..cdcc62e127d504 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -273,7 +273,7 @@ x-shared-env: &shared-api-worker-env services: # API service api: - image: langgenius/dify-api:0.10.2 + image: langgenius/dify-api:0.11.0 restart: always environment: # Use the shared environment variables. @@ -293,7 +293,7 @@ services: # worker service # The Celery worker for processing the queue. worker: - image: langgenius/dify-api:0.10.2 + image: langgenius/dify-api:0.11.0 restart: always environment: # Use the shared environment variables. @@ -312,7 +312,7 @@ services: # Frontend web application. web: - image: langgenius/dify-web:0.10.2 + image: langgenius/dify-web:0.11.0 restart: always environment: CONSOLE_API_URL: ${CONSOLE_API_URL:-} diff --git a/web/package.json b/web/package.json index 04ef26afcdaa6b..de01eb4d489df1 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "dify-web", - "version": "0.10.2", + "version": "0.11.0", "private": true, "engines": { "node": ">=18.17.0"