From 90c76e73d072a2fba9ffdd8cdde694a9cb4a31af Mon Sep 17 00:00:00 2001 From: Jin Hai Date: Wed, 20 May 2026 20:05:45 +0800 Subject: [PATCH] Docs: Update version references to v0.25.5 in READMEs and docs (#15059) Signed-off-by: Jin Hai --- README.md | 6 +++--- README_ar.md | 6 +++--- README_fr.md | 6 +++--- README_id.md | 6 +++--- README_ja.md | 6 +++--- README_ko.md | 6 +++--- README_pt_br.md | 6 +++--- README_tr.md | 6 +++--- README_tzh.md | 6 +++--- README_zh.md | 6 +++--- admin/client/README.md | 2 +- admin/client/pyproject.toml | 2 +- admin/client/uv.lock | 2 +- docker/.env | 6 +++--- docker/README.md | 2 +- docs/administrator/admin/ragflow_cli.md | 2 +- .../configurations/configurations.md | 2 +- .../migration/database_schema_and_migration.md | 2 +- docs/administrator/upgrade_ragflow.mdx | 10 +++++----- docs/develop/build_docker_image.mdx | 2 +- docs/faq.mdx | 6 +++--- .../guides/dataset/configure_knowledge_base.md | 2 +- docs/guides/manage_files.md | 2 +- docs/quickstart.mdx | 6 +++--- helm/values.yaml | 2 +- pyproject.toml | 2 +- sdk/python/pyproject.toml | 2 +- sdk/python/uv.lock | 2 +- test/README.md | 2 +- tools/scripts/README.md | 18 +++++++++--------- tools/scripts/db_schema_sync.py | 16 ++++++++-------- uv.lock | 2 +- 32 files changed, 77 insertions(+), 77 deletions(-) diff --git a/README.md b/README.md index d724690d3..2a86b2490 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Static Badge - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Latest Release @@ -192,12 +192,12 @@ releases! 🌟 > All Docker images are built for x86 platforms. We don't currently offer Docker images for ARM64. > If you are on an ARM64 platform, follow [this guide](https://ragflow.io/docs/dev/build_docker_image) to build a Docker image compatible with your system. -> The command below downloads the `v0.25.4` edition of the RAGFlow Docker image. See the following table for descriptions of different RAGFlow editions. To download a RAGFlow edition different from `v0.25.4`, update the `RAGFLOW_IMAGE` variable accordingly in **docker/.env** before using `docker compose` to start the server. +> The command below downloads the `v0.25.5` edition of the RAGFlow Docker image. See the following table for descriptions of different RAGFlow editions. To download a RAGFlow edition different from `v0.25.5`, update the `RAGFLOW_IMAGE` variable accordingly in **docker/.env** before using `docker compose` to start the server. ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # Optional: use a stable tag (see releases: https://github.com/infiniflow/ragflow/releases) # This step ensures the **entrypoint.sh** file in the code matches the Docker image version. diff --git a/README_ar.md b/README_ar.md index b3c244f98..1f7393945 100644 --- a/README_ar.md +++ b/README_ar.md @@ -25,7 +25,7 @@ Static Badge - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Latest Release @@ -192,12 +192,12 @@ > جميع الصور Docker مصممة لمنصات x86. لا نعرض حاليًا صور Docker لـ ARM64. > إذا كنت تستخدم نظامًا أساسيًا ARM64، فاتبع [هذا الدليل](https://ragflow.io/docs/dev/build_docker_image) لإنشاء صورة Docker متوافقة مع نظامك. -> يقوم الأمر أدناه بتنزيل إصدار `v0.25.4` من الصورة RAGFlow Docker. راجع الجدول التالي للحصول على أوصاف لإصدارات RAGFlow المختلفة. لتنزيل إصدار RAGFlow مختلف عن `v0.25.4`، قم بتحديث المتغير `RAGFLOW_IMAGE` وفقًا لذلك في **docker/.env** قبل استخدام `docker compose` لبدء تشغيل الخادم. +> يقوم الأمر أدناه بتنزيل إصدار `v0.25.5` من الصورة RAGFlow Docker. راجع الجدول التالي للحصول على أوصاف لإصدارات RAGFlow المختلفة. لتنزيل إصدار RAGFlow مختلف عن `v0.25.5`، قم بتحديث المتغير `RAGFLOW_IMAGE` وفقًا لذلك في **docker/.env** قبل استخدام `docker compose` لبدء تشغيل الخادم. ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # Optional: use a stable tag (see releases: https://github.com/infiniflow/ragflow/releases) # This step ensures the **entrypoint.sh** file in the code matches the Docker image version. diff --git a/README_fr.md b/README_fr.md index 354c0e322..b21d380ec 100644 --- a/README_fr.md +++ b/README_fr.md @@ -25,7 +25,7 @@ Badge statique - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Dernière version @@ -189,12 +189,12 @@ Essayez notre service cloud sur [https://cloud.ragflow.io](https://cloud.ragflow > Toutes les images Docker sont construites pour les plateformes x86. Nous ne proposons pas actuellement d'images Docker pour ARM64. > Si vous êtes sur une plateforme ARM64, suivez [ce guide](https://ragflow.io/docs/dev/build_docker_image) pour construire une image Docker compatible avec votre système. -> La commande ci-dessous télécharge l'édition `v0.25.4` de l'image Docker RAGFlow. Consultez le tableau suivant pour les descriptions des différentes éditions de RAGFlow. Pour télécharger une édition de RAGFlow différente de `v0.25.4`, mettez à jour la variable `RAGFLOW_IMAGE` dans **docker/.env** avant d'utiliser `docker compose` pour démarrer le serveur. +> La commande ci-dessous télécharge l'édition `v0.25.5` de l'image Docker RAGFlow. Consultez le tableau suivant pour les descriptions des différentes éditions de RAGFlow. Pour télécharger une édition de RAGFlow différente de `v0.25.5`, mettez à jour la variable `RAGFLOW_IMAGE` dans **docker/.env** avant d'utiliser `docker compose` pour démarrer le serveur. ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # Optionnel : utiliser un tag stable (voir les versions : https://github.com/infiniflow/ragflow/releases) # Cette étape garantit que le fichier **entrypoint.sh** dans le code correspond à la version de l'image Docker. diff --git a/README_id.md b/README_id.md index 2eeae3f23..a9d45317f 100644 --- a/README_id.md +++ b/README_id.md @@ -25,7 +25,7 @@ Lencana Daring - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Rilis Terbaru @@ -192,12 +192,12 @@ Coba layanan cloud kami di [https://cloud.ragflow.io](https://cloud.ragflow.io). > Semua gambar Docker dibangun untuk platform x86. Saat ini, kami tidak menawarkan gambar Docker untuk ARM64. > Jika Anda menggunakan platform ARM64, [silakan gunakan panduan ini untuk membangun gambar Docker yang kompatibel dengan sistem Anda](https://ragflow.io/docs/dev/build_docker_image). -> Perintah di bawah ini mengunduh edisi v0.25.4 dari gambar Docker RAGFlow. Silakan merujuk ke tabel berikut untuk deskripsi berbagai edisi RAGFlow. Untuk mengunduh edisi RAGFlow yang berbeda dari v0.25.4, perbarui variabel RAGFLOW_IMAGE di docker/.env sebelum menggunakan docker compose untuk memulai server. +> Perintah di bawah ini mengunduh edisi v0.25.5 dari gambar Docker RAGFlow. Silakan merujuk ke tabel berikut untuk deskripsi berbagai edisi RAGFlow. Untuk mengunduh edisi RAGFlow yang berbeda dari v0.25.5, perbarui variabel RAGFLOW_IMAGE di docker/.env sebelum menggunakan docker compose untuk memulai server. ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # Opsional: gunakan tag stabil (lihat releases: https://github.com/infiniflow/ragflow/releases) # This steps ensures the **entrypoint.sh** file in the code matches the Docker image version. diff --git a/README_ja.md b/README_ja.md index 5d67babc3..185d6e9c3 100644 --- a/README_ja.md +++ b/README_ja.md @@ -25,7 +25,7 @@ Static Badge - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Latest Release @@ -172,12 +172,12 @@ > 現在、公式に提供されているすべての Docker イメージは x86 アーキテクチャ向けにビルドされており、ARM64 用の Docker イメージは提供されていません。 > ARM64 アーキテクチャのオペレーティングシステムを使用している場合は、[このドキュメント](https://ragflow.io/docs/dev/build_docker_image)を参照して Docker イメージを自分でビルドしてください。 -> 以下のコマンドは、RAGFlow Docker イメージの v0.25.4 エディションをダウンロードします。異なる RAGFlow エディションの説明については、以下の表を参照してください。v0.25.4 とは異なるエディションをダウンロードするには、docker/.env ファイルの RAGFLOW_IMAGE 変数を適宜更新し、docker compose を使用してサーバーを起動してください。 +> 以下のコマンドは、RAGFlow Docker イメージの v0.25.5 エディションをダウンロードします。異なる RAGFlow エディションの説明については、以下の表を参照してください。v0.25.5 とは異なるエディションをダウンロードするには、docker/.env ファイルの RAGFLOW_IMAGE 変数を適宜更新し、docker compose を使用してサーバーを起動してください。 ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # 任意: 安定版タグを利用 (一覧: https://github.com/infiniflow/ragflow/releases) # この手順は、コード内の entrypoint.sh ファイルが Docker イメージのバージョンと一致していることを確認します。 diff --git a/README_ko.md b/README_ko.md index 9c46284a1..ee243344e 100644 --- a/README_ko.md +++ b/README_ko.md @@ -25,7 +25,7 @@ Static Badge - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Latest Release @@ -174,12 +174,12 @@ > 모든 Docker 이미지는 x86 플랫폼을 위해 빌드되었습니다. 우리는 현재 ARM64 플랫폼을 위한 Docker 이미지를 제공하지 않습니다. > ARM64 플랫폼을 사용 중이라면, [시스템과 호환되는 Docker 이미지를 빌드하려면 이 가이드를 사용해 주세요](https://ragflow.io/docs/dev/build_docker_image). - > 아래 명령어는 RAGFlow Docker 이미지의 v0.25.4 버전을 다운로드합니다. 다양한 RAGFlow 버전에 대한 설명은 다음 표를 참조하십시오. v0.25.4와 다른 RAGFlow 버전을 다운로드하려면, docker/.env 파일에서 RAGFLOW_IMAGE 변수를 적절히 업데이트한 후 docker compose를 사용하여 서버를 시작하십시오. + > 아래 명령어는 RAGFlow Docker 이미지의 v0.25.5 버전을 다운로드합니다. 다양한 RAGFlow 버전에 대한 설명은 다음 표를 참조하십시오. v0.25.5와 다른 RAGFlow 버전을 다운로드하려면, docker/.env 파일에서 RAGFLOW_IMAGE 변수를 적절히 업데이트한 후 docker compose를 사용하여 서버를 시작하십시오. ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # Optional: use a stable tag (see releases: https://github.com/infiniflow/ragflow/releases) # 이 단계는 코드의 entrypoint.sh 파일이 Docker 이미지 버전과 일치하도록 보장합니다. diff --git a/README_pt_br.md b/README_pt_br.md index a03da741e..2bebd2c26 100644 --- a/README_pt_br.md +++ b/README_pt_br.md @@ -25,7 +25,7 @@ Badge Estático - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Última Versão @@ -192,12 +192,12 @@ Experimente o nosso serviço na nuvem em [https://cloud.ragflow.io](https://clou > Todas as imagens Docker são construídas para plataformas x86. Atualmente, não oferecemos imagens Docker para ARM64. > Se você estiver usando uma plataforma ARM64, por favor, utilize [este guia](https://ragflow.io/docs/dev/build_docker_image) para construir uma imagem Docker compatível com o seu sistema. - > O comando abaixo baixa a edição`v0.25.4` da imagem Docker do RAGFlow. Consulte a tabela a seguir para descrições de diferentes edições do RAGFlow. Para baixar uma edição do RAGFlow diferente da `v0.25.4`, atualize a variável `RAGFLOW_IMAGE` conforme necessário no **docker/.env** antes de usar `docker compose` para iniciar o servidor. + > O comando abaixo baixa a edição`v0.25.5` da imagem Docker do RAGFlow. Consulte a tabela a seguir para descrições de diferentes edições do RAGFlow. Para baixar uma edição do RAGFlow diferente da `v0.25.5`, atualize a variável `RAGFLOW_IMAGE` conforme necessário no **docker/.env** antes de usar `docker compose` para iniciar o servidor. ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # Opcional: use uma tag estável (veja releases: https://github.com/infiniflow/ragflow/releases) # Esta etapa garante que o arquivo entrypoint.sh no código corresponda à versão da imagem do Docker. diff --git a/README_tr.md b/README_tr.md index 22903d604..778d4122f 100644 --- a/README_tr.md +++ b/README_tr.md @@ -25,7 +25,7 @@ Çevrimiçi Demo - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Son Sürüm @@ -190,12 +190,12 @@ Bulut hizmetimizi [https://cloud.ragflow.io](https://cloud.ragflow.io) adresinde > Tüm Docker imajları x86 platformları için oluşturulmuştur. Şu anda ARM64 için Docker imajı sunmuyoruz. > ARM64 platformundaysanız, sisteminizle uyumlu bir Docker imajı oluşturmak için [bu kılavuzu](https://ragflow.io/docs/dev/build_docker_image) takip edin. -> Aşağıdaki komut RAGFlow Docker imajının `v0.25.4` sürümünü indirir. Farklı RAGFlow sürümleri için aşağıdaki tabloya bakın. `v0.25.4` dışında bir sürüm indirmek için, `docker compose` ile sunucuyu başlatmadan önce **docker/.env** dosyasındaki `RAGFLOW_IMAGE` değişkenini güncelleyin. +> Aşağıdaki komut RAGFlow Docker imajının `v0.25.5` sürümünü indirir. Farklı RAGFlow sürümleri için aşağıdaki tabloya bakın. `v0.25.5` dışında bir sürüm indirmek için, `docker compose` ile sunucuyu başlatmadan önce **docker/.env** dosyasındaki `RAGFLOW_IMAGE` değişkenini güncelleyin. ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # İsteğe bağlı: Kararlı bir etiket kullanın (sürümler: https://github.com/infiniflow/ragflow/releases) # Bu adım, koddaki **entrypoint.sh** dosyasının Docker imaj sürümüyle eşleşmesini sağlar. diff --git a/README_tzh.md b/README_tzh.md index e4b33a199..0d6c95af0 100644 --- a/README_tzh.md +++ b/README_tzh.md @@ -25,7 +25,7 @@ Static Badge - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Latest Release @@ -191,12 +191,12 @@ > 所有 Docker 映像檔都是為 x86 平台建置的。目前,我們不提供 ARM64 平台的 Docker 映像檔。 > 如果您使用的是 ARM64 平台,請使用 [這份指南](https://ragflow.io/docs/dev/build_docker_image) 來建置適合您系統的 Docker 映像檔。 -> 執行以下指令會自動下載 RAGFlow Docker 映像 `v0.25.4`。請參考下表查看不同 Docker 發行版的說明。如需下載不同於 `v0.25.4` 的 Docker 映像,請在執行 `docker compose` 啟動服務之前先更新 **docker/.env** 檔案內的 `RAGFLOW_IMAGE` 變數。 +> 執行以下指令會自動下載 RAGFlow Docker 映像 `v0.25.5`。請參考下表查看不同 Docker 發行版的說明。如需下載不同於 `v0.25.5` 的 Docker 映像,請在執行 `docker compose` 啟動服務之前先更新 **docker/.env** 檔案內的 `RAGFLOW_IMAGE` 變數。 ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # 可選:使用穩定版標籤(查看發佈:https://github.com/infiniflow/ragflow/releases) # 此步驟確保程式碼中的 entrypoint.sh 檔案與 Docker 映像版本一致。 diff --git a/README_zh.md b/README_zh.md index 0e17af24d..c2222a95a 100644 --- a/README_zh.md +++ b/README_zh.md @@ -25,7 +25,7 @@ Static Badge - docker pull infiniflow/ragflow:v0.25.4 + docker pull infiniflow/ragflow:v0.25.5 Latest Release @@ -192,12 +192,12 @@ > 请注意,目前官方提供的所有 Docker 镜像均基于 x86 架构构建,并不提供基于 ARM64 的 Docker 镜像。 > 如果你的操作系统是 ARM64 架构,请参考[这篇文档](https://ragflow.io/docs/dev/build_docker_image)自行构建 Docker 镜像。 - > 运行以下命令会自动下载 RAGFlow Docker 镜像 `v0.25.4`。请参考下表查看不同 Docker 发行版的描述。如需下载不同于 `v0.25.4` 的 Docker 镜像,请在运行 `docker compose` 启动服务之前先更新 **docker/.env** 文件内的 `RAGFLOW_IMAGE` 变量。 + > 运行以下命令会自动下载 RAGFlow Docker 镜像 `v0.25.5`。请参考下表查看不同 Docker 发行版的描述。如需下载不同于 `v0.25.5` 的 Docker 镜像,请在运行 `docker compose` 启动服务之前先更新 **docker/.env** 文件内的 `RAGFLOW_IMAGE` 变量。 ```bash $ cd ragflow/docker - # git checkout v0.25.4 + # git checkout v0.25.5 # 可选:使用稳定版本标签(查看发布:https://github.com/infiniflow/ragflow/releases) # 这一步确保代码中的 entrypoint.sh 文件与 Docker 镜像的版本保持一致。 diff --git a/admin/client/README.md b/admin/client/README.md index 9274120ad..964cbcc6f 100644 --- a/admin/client/README.md +++ b/admin/client/README.md @@ -48,7 +48,7 @@ It consists of a server-side Service and a command-line client (CLI), both imple 1. Ensure the Admin Service is running. 2. Install ragflow-cli. ```bash - pip install ragflow-cli==0.25.4 + pip install ragflow-cli==0.25.5 ``` 3. Launch the CLI client: ```bash diff --git a/admin/client/pyproject.toml b/admin/client/pyproject.toml index 0d849f40e..bb450c330 100644 --- a/admin/client/pyproject.toml +++ b/admin/client/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragflow-cli" -version = "0.25.4" +version = "0.25.5" description = "Admin Service's client of [RAGFlow](https://github.com/infiniflow/ragflow). The Admin Service provides user management and system monitoring. " authors = [{ name = "Lynn", email = "lynn_inf@hotmail.com" }] license = { text = "Apache License, Version 2.0" } diff --git a/admin/client/uv.lock b/admin/client/uv.lock index 649ff599b..17b8554c9 100644 --- a/admin/client/uv.lock +++ b/admin/client/uv.lock @@ -188,7 +188,7 @@ wheels = [ [[package]] name = "ragflow-cli" -version = "0.25.4" +version = "0.25.5" source = { virtual = "." } dependencies = [ { name = "beartype" }, diff --git a/docker/.env b/docker/.env index e05faac14..e4787d9ab 100644 --- a/docker/.env +++ b/docker/.env @@ -159,11 +159,11 @@ GO_ADMIN_PORT=9383 API_PROXY_SCHEME=python # use pure python server deployment # The RAGFlow Docker image to download. v0.22+ doesn't include embedding models. -RAGFLOW_IMAGE=infiniflow/ragflow:v0.25.4 +RAGFLOW_IMAGE=infiniflow/ragflow:v0.25.5 # If you cannot download the RAGFlow Docker image: -# RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:v0.25.4 -# RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:v0.25.4 +# RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:v0.25.5 +# RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:v0.25.5 # # - For the `nightly` edition, uncomment either of the following: # RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:nightly diff --git a/docker/README.md b/docker/README.md index c681b38ff..bfabefb9a 100644 --- a/docker/README.md +++ b/docker/README.md @@ -79,7 +79,7 @@ The [.env](./.env) file contains important environment variables for Docker. - `SVR_HTTP_PORT` The port used to expose RAGFlow's HTTP API service to the host machine, allowing **external** access to the service running inside the Docker container. Defaults to `9380`. - `RAGFLOW_IMAGE` - The Docker image edition. Defaults to `infiniflow/ragflow:v0.25.4`. The RAGFlow Docker image does not include embedding models. + The Docker image edition. Defaults to `infiniflow/ragflow:v0.25.5`. The RAGFlow Docker image does not include embedding models. > [!TIP] diff --git a/docs/administrator/admin/ragflow_cli.md b/docs/administrator/admin/ragflow_cli.md index 682105116..7e60121ca 100644 --- a/docs/administrator/admin/ragflow_cli.md +++ b/docs/administrator/admin/ragflow_cli.md @@ -16,7 +16,7 @@ The RAGFlow CLI is a command-line-based system administration tool that offers a 2. Install ragflow-cli. ```bash - pip install ragflow-cli==0.25.4 + pip install ragflow-cli==0.25.5 ``` 3. Launch the CLI client: diff --git a/docs/administrator/configurations/configurations.md b/docs/administrator/configurations/configurations.md index 83a1677d0..42733e8dd 100644 --- a/docs/administrator/configurations/configurations.md +++ b/docs/administrator/configurations/configurations.md @@ -103,7 +103,7 @@ RAGFlow utilizes MinIO as its object storage solution, leveraging its scalabilit - `SVR_HTTP_PORT` The port used to expose RAGFlow's HTTP API service to the host machine, allowing **external** access to the service running inside the Docker container. Defaults to `9380`. - `RAGFLOW_IMAGE` - The Docker image edition. Defaults to `infiniflow/ragflow:v0.25.4` (the RAGFlow Docker image without embedding models). + The Docker image edition. Defaults to `infiniflow/ragflow:v0.25.5` (the RAGFlow Docker image without embedding models). :::tip NOTE If you cannot download the RAGFlow Docker image, try the following mirrors. diff --git a/docs/administrator/migration/database_schema_and_migration.md b/docs/administrator/migration/database_schema_and_migration.md index 32ae48c28..021f8a5b7 100644 --- a/docs/administrator/migration/database_schema_and_migration.md +++ b/docs/administrator/migration/database_schema_and_migration.md @@ -43,7 +43,7 @@ The [db_schema_sync.py](https://github.com/infiniflow/ragflow/blob/main/tools/sc ### Key functions - **Change detection**: Compares Python model definitions in `api/db/db_models.py` against the live database to identify new tables, added fields, or type mismatches. -- **Migration generation**: Automatically creates Python migration files (containing `migrate()` and `rollback()` logic) in version-specific directories (e.g., `tools/migrate/v0_25_0/`). +- **Migration generation**: Automatically creates Python migration files (containing `migrate()` and `rollback()` logic) in version-specific directories (e.g., `tools/migrate/v0_25_5/`). - **Schema auditing**: Provides a `--diff` command to view structural discrepancies without applying changes. - **Execution management**: Applies pending migrations to the database to bring it up to date with the current software version. - **Safety controls**: Prevents accidental data loss by requiring an explicit `--drop` flag to generate `DROP COLUMN` statements for removed fields. diff --git a/docs/administrator/upgrade_ragflow.mdx b/docs/administrator/upgrade_ragflow.mdx index 790430958..7fa3fd24f 100644 --- a/docs/administrator/upgrade_ragflow.mdx +++ b/docs/administrator/upgrade_ragflow.mdx @@ -62,16 +62,16 @@ To upgrade RAGFlow, you must upgrade **both** your code **and** your Docker imag git pull ``` -3. Switch to the latest, officially published release, e.g., `v0.25.4`: +3. Switch to the latest, officially published release, e.g., `v0.25.5`: ```bash - git checkout -f v0.25.4 + git checkout -f v0.25.5 ``` 4. Update **ragflow/docker/.env**: ```bash - RAGFLOW_IMAGE=infiniflow/ragflow:v0.25.4 + RAGFLOW_IMAGE=infiniflow/ragflow:v0.25.5 ``` 5. Update the RAGFlow image and restart RAGFlow: @@ -92,10 +92,10 @@ No, you do not need to. Upgrading RAGFlow in itself will *not* remove your uploa 1. From an environment with Internet access, pull the required Docker image. 2. Save the Docker image to a **.tar** file. ```bash - docker save -o ragflow.v0.25.4.tar infiniflow/ragflow:v0.25.4 + docker save -o ragflow.v0.25.5.tar infiniflow/ragflow:v0.25.5 ``` 3. Copy the **.tar** file to the target server. 4. Load the **.tar** file into Docker: ```bash - docker load -i ragflow.v0.25.4.tar + docker load -i ragflow.v0.25.5.tar ``` diff --git a/docs/develop/build_docker_image.mdx b/docs/develop/build_docker_image.mdx index 989b409f4..71578c3e2 100644 --- a/docs/develop/build_docker_image.mdx +++ b/docs/develop/build_docker_image.mdx @@ -49,7 +49,7 @@ After building the infiniflow/ragflow:nightly image, you are ready to launch a f 1. Edit Docker Compose Configuration -Open the `docker/.env` file. Find the `RAGFLOW_IMAGE` setting and change the image reference from `infiniflow/ragflow:v0.25.4` to `infiniflow/ragflow:nightly` to use the pre-built image. +Open the `docker/.env` file. Find the `RAGFLOW_IMAGE` setting and change the image reference from `infiniflow/ragflow:v0.25.5` to `infiniflow/ragflow:nightly` to use the pre-built image. 2. Launch the Service diff --git a/docs/faq.mdx b/docs/faq.mdx index e6a811cca..42f81e282 100644 --- a/docs/faq.mdx +++ b/docs/faq.mdx @@ -147,12 +147,12 @@ When debugging your chat assistant, you can use AI search as a reference to veri --- -### Get a `Request error 404: undefined` when upgrading to v0.25.4 +### Get a `Request error 404: undefined` when upgrading to v0.25.5 To resolve this issue, do either of the following: -- Pull the latest source code from the [main branch](https://github.com/infiniflow/ragflow), then pull and start the v0.25.4 image. -- Update `RAGFLOW_IMAGE` from `infiniflow/ragflow:latest` to `infiniflow/ragflow:v0.25.4` in the [.env file](https://github.com/infiniflow/ragflow/blob/main/docker/.env), then restart the service. +- Pull the latest source code from the [main branch](https://github.com/infiniflow/ragflow), then pull and start the v0.25.5 image. +- Update `RAGFLOW_IMAGE` from `infiniflow/ragflow:latest` to `infiniflow/ragflow:v0.25.5` in the [.env file](https://github.com/infiniflow/ragflow/blob/main/docker/.env), then restart the service. ### How to build the RAGFlow image from scratch? diff --git a/docs/guides/dataset/configure_knowledge_base.md b/docs/guides/dataset/configure_knowledge_base.md index 50cb24c23..6b02ca204 100644 --- a/docs/guides/dataset/configure_knowledge_base.md +++ b/docs/guides/dataset/configure_knowledge_base.md @@ -135,7 +135,7 @@ See [Run retrieval test](./run_retrieval_test.md) for details. ## Search for dataset -As of RAGFlow v0.25.4, the search feature is still in a rudimentary form, supporting only dataset search by name. +As of RAGFlow v0.25.5, the search feature is still in a rudimentary form, supporting only dataset search by name. ![search dataset](https://raw.githubusercontent.com/infiniflow/ragflow-docs/main/images/search_datasets.jpg) diff --git a/docs/guides/manage_files.md b/docs/guides/manage_files.md index 82a88b5ef..5efaed3c2 100644 --- a/docs/guides/manage_files.md +++ b/docs/guides/manage_files.md @@ -89,4 +89,4 @@ RAGFlow's file management allows you to download an uploaded file: ![download_file](https://github.com/infiniflow/ragflow/assets/93570324/cf3b297f-7d9b-4522-bf5f-4f45743e4ed5) -> As of RAGFlow v0.25.4, bulk download is not supported, nor can you download an entire folder. +> As of RAGFlow v0.25.5, bulk download is not supported, nor can you download an entire folder. diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx index 9cbbf0fbd..0beacb2f9 100644 --- a/docs/quickstart.mdx +++ b/docs/quickstart.mdx @@ -48,7 +48,7 @@ This section provides instructions on setting up the RAGFlow server on Linux. If `vm.max_map_count`. This value sets the maximum number of memory map areas a process may have. Its default value is 65530. While most applications require fewer than a thousand maps, reducing this value can result in abnormal behaviors, and the system will throw out-of-memory errors when a process reaches the limitation. - RAGFlow v0.25.4 uses Elasticsearch or [Infinity](https://github.com/infiniflow/infinity) for multiple recall. Setting the value of `vm.max_map_count` correctly is crucial to the proper functioning of the Elasticsearch component. + RAGFlow v0.25.5 uses Elasticsearch or [Infinity](https://github.com/infiniflow/infinity) for multiple recall. Setting the value of `vm.max_map_count` correctly is crucial to the proper functioning of the Elasticsearch component. bool: def version_to_dirname(version: str) -> str: - """Convert version string to valid directory name (e.g., 'v0.25.4' -> 'v0_25_4')""" + """Convert version string to valid directory name (e.g., 'v0.25.5' -> 'v0_25_5')""" return version.replace('.', '_') @@ -839,19 +839,19 @@ def main(): epilog=""" Examples: # List all migrations - python db_schema_sync.py --list --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.4 + python db_schema_sync.py --list --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.5 # Create migration from model changes - python db_schema_sync.py --create --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.4 + python db_schema_sync.py --create --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.5 # Create migration including dropped fields (destructive!) - python db_schema_sync.py --create --drop --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.4 + python db_schema_sync.py --create --drop --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.5 # Run all pending migrations - python db_schema_sync.py --migrate --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.4 + python db_schema_sync.py --migrate --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.5 # Show schema differences - python db_schema_sync.py --diff --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.4 + python db_schema_sync.py --diff --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.5 """ ) @@ -864,7 +864,7 @@ Examples: # Version option parser.add_argument('--version', '-v', type=str, required=True, - help='Version number in format vxx.xx.xx (e.g., v0.25.4)') + help='Version number in format vxx.xx.xx (e.g., v0.25.5)') # Action options parser.add_argument('--list', '-l', action='store_true', help='List all migrations') @@ -882,7 +882,7 @@ Examples: # Validate version format if not validate_version(args.version): - logger.error(f"Invalid version format: {args.version}. Expected format: vxx.xx.xx (e.g., v0.25.4)") + logger.error(f"Invalid version format: {args.version}. Expected format: vxx.xx.xx (e.g., v0.25.5)") sys.exit(1) # Validate at least one action is specified diff --git a/uv.lock b/uv.lock index a9747f82b..8faf560e4 100644 --- a/uv.lock +++ b/uv.lock @@ -6147,7 +6147,7 @@ wheels = [ [[package]] name = "ragflow" -version = "0.25.4" +version = "0.25.5" source = { virtual = "." } dependencies = [ { name = "agentrun-sdk" },