Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (28)
✅ Files skipped from review due to trivial changes (18)
🚧 Files skipped from review as they are similar to previous changes (4)
📝 WalkthroughWalkthroughThis PR updates version references systematically across the entire codebase and documentation from 0.25.3 to 0.25.4, including package metadata, Docker configuration, 10 localized READMEs, deployment guides, user documentation, and CLI tool examples. ChangesVersion 0.25.4 Release Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 5
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/administrator/admin/ragflow_cli.md`:
- Line 442: The two `show version` examples are inconsistent—update the
duplicate example so both occurrences of the `show version` output match; locate
the `show version` examples that currently contain `v0.21.0-241-gc6cf58d5` and
`0.25.4-24-g6f60e9f9e` and replace one so both show the same version string
(pick the correct canonical version for this doc and use it in both `show
version` examples).
In `@README_pt_br.md`:
- Line 195: The block starting with "O comando abaixo baixa a edição`0.25.4`..."
is currently indented as a code block; remove the leading spaces so it becomes a
proper nested blockquote under the preceding list item by prefixing the line
with a single '>' and a space (e.g., "> O comando abaixo...") and ensure no
leading four-space indentation remains; adjust any continuation lines so they
also start with '>' to keep the blockquote formatting consistent (look for the
exact string "O comando abaixo baixa a edição`0.25.4`" to locate and fix).
In `@README.md`:
- Line 200: Replace the incorrect tag example "git checkout 0.25.4" in the
README with the repository's valid tag format and an existing release, e.g.
change "git checkout 0.25.4" to "git checkout v0.25.3" (or another specific tag
from the project's releases) and search the README for any other occurrences of
"git checkout 0.25.4" or bare-version checkout examples and update them to use
the "v" prefixed tags consistently.
In `@tools/scripts/db_schema_sync.py`:
- Line 58: The CLI docs, examples, and the docstring for the "Convert version
string to valid directory name" helper are inconsistent with the actual
validation that requires a leading "v"; update the docstring text, all CLI
help/example strings, and the error message to use the "vX.Y.Z" form (e.g.,
"v0.25.4") so they match the validator, and ensure the validation-related symbol
(the regex or function named like validate_version/is_valid_version or the
version parsing logic that checks for a leading 'v') is referenced in the
error/help text to explicitly state the expected format "vX.Y.Z".
In `@tools/scripts/README.md`:
- Around line 278-279: Update the version examples and migration mapping so they
are consistent: remove the duplicate contradiction where `0.25.4` appears as
both valid and invalid, ensure all command examples use the `--version vX.Y.Z`
format (e.g., `--version v0.25.4`), and correct the migration directory mapping
that currently maps `0.25.4` to `v0_25_3` so it maps to the proper `v0_25_4` (or
the correct target directory name used by the migrations). Search for
occurrences of the literal strings `0.25.4`, `v0_25_3`, and `--version` to find
and update all affected examples and mappings in this section.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: f279a1ee-10a8-4c00-a312-bcc21d995898
⛔ Files ignored due to path filters (3)
admin/client/uv.lockis excluded by!**/*.locksdk/python/uv.lockis excluded by!**/*.lockuv.lockis excluded by!**/*.lock
📒 Files selected for processing (28)
README.mdREADME_ar.mdREADME_fr.mdREADME_id.mdREADME_ja.mdREADME_ko.mdREADME_pt_br.mdREADME_tr.mdREADME_tzh.mdREADME_zh.mdadmin/client/README.mdadmin/client/pyproject.tomldocker/.envdocker/README.mddocs/administrator/admin/ragflow_cli.mddocs/administrator/configurations/configurations.mddocs/administrator/upgrade_ragflow.mdxdocs/develop/build_docker_image.mdxdocs/faq.mdxdocs/guides/dataset/configure_knowledge_base.mddocs/guides/manage_files.mddocs/quickstart.mdxhelm/values.yamlpyproject.tomlsdk/python/pyproject.tomltest/README.mdtools/scripts/README.mdtools/scripts/db_schema_sync.py
| | version | | ||
| +-----------------------+ | ||
| | v0.25.3-24-g6f60e9f9e | | ||
| | 0.25.4-24-g6f60e9f9e | |
There was a problem hiding this comment.
Unify conflicting show version examples in this page.
Line 442 now shows 0.25.4-24-g6f60e9f9e, but Line 271 still shows v0.21.0-241-gc6cf58d5. Please align both examples to avoid contradictory output in one document.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/administrator/admin/ragflow_cli.md` at line 442, The two `show version`
examples are inconsistent—update the duplicate example so both occurrences of
the `show version` output match; locate the `show version` examples that
currently contain `v0.21.0-241-gc6cf58d5` and `0.25.4-24-g6f60e9f9e` and replace
one so both show the same version string (pick the correct canonical version for
this doc and use it in both `show version` examples).
| > 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.3` 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.3`, 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`0.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 `0.25.4`, atualize a variável `RAGFLOW_IMAGE` conforme necessário no **docker/.env** antes de usar `docker compose` para iniciar o servidor. |
There was a problem hiding this comment.
Fix blockquote indentation to avoid markdownlint MD046 failure.
Line 195 is currently parsed as an indented code block by markdownlint. Align it as a normal nested blockquote under the list item.
Suggested fix
- > O comando abaixo baixa a edição`0.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 `0.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 `0.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 `0.25.4`, atualize a variável `RAGFLOW_IMAGE` conforme necessário no **docker/.env** antes de usar `docker compose` para iniciar o servidor.📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| > O comando abaixo baixa a edição`0.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 `0.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 `0.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 `0.25.4`, atualize a variável `RAGFLOW_IMAGE` conforme necessário no **docker/.env** antes de usar `docker compose` para iniciar o servidor. |
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 195-195: Code block style
Expected: fenced; Actual: indented
(MD046, code-block-style)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@README_pt_br.md` at line 195, The block starting with "O comando abaixo baixa
a edição`0.25.4`..." is currently indented as a code block; remove the leading
spaces so it becomes a proper nested blockquote under the preceding list item by
prefixing the line with a single '>' and a space (e.g., "> O comando abaixo...")
and ensure no leading four-space indentation remains; adjust any continuation
lines so they also start with '>' to keep the blockquote formatting consistent
(look for the exact string "O comando abaixo baixa a edição`0.25.4`" to locate
and fix).
| $ cd ragflow/docker | ||
|
|
||
| # git checkout v0.25.3 | ||
| # git checkout 0.25.4 |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Check which tag naming exists upstream for this release.
git ls-remote --tags https://github.com/infiniflow/ragflow.git "refs/tags/0.25.4" "refs/tags/v0.25.4"Repository: infiniflow/ragflow
Length of output: 44
🏁 Script executed:
#!/bin/bash
# Search for the README.md file and check line 200
find . -name "README.md" -type f | head -5Repository: infiniflow/ragflow
Length of output: 182
🏁 Script executed:
#!/bin/bash
# Get a broader view of existing tags - check what tags exist for 0.25.x versions
git ls-remote --tags https://github.com/infiniflow/ragflow.git | grep -E "0\.25\." | head -20Repository: infiniflow/ragflow
Length of output: 298
🏁 Script executed:
#!/bin/bash
# Also check all tags to understand the naming pattern
git ls-remote --tags https://github.com/infiniflow/ragflow.git | grep -E "v[0-9]|[0-9]\.[0-9]" | tail -30Repository: infiniflow/ragflow
Length of output: 1822
🏁 Script executed:
#!/bin/bash
# Read README.md around line 200
sed -n '195,205p' README.mdRepository: infiniflow/ragflow
Length of output: 719
🏁 Script executed:
#!/bin/bash
# Search for all git checkout examples in README.md to identify any similar issues
grep -n "git checkout" README.mdRepository: infiniflow/ragflow
Length of output: 91
Update the git checkout example to use the correct tag format and an actual release version.
Line 200 uses git checkout 0.25.4, but the repository uses a v prefix for all tags (e.g., v0.25.3). Additionally, version 0.25.4 does not exist; the latest available is v0.25.3. Update the example to git checkout v0.25.3 or reference a specific available tag from https://github.com/infiniflow/ragflow/releases. Ensure all similar checkout examples in the README are corrected consistently.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@README.md` at line 200, Replace the incorrect tag example "git checkout
0.25.4" in the README with the repository's valid tag format and an existing
release, e.g. change "git checkout 0.25.4" to "git checkout v0.25.3" (or another
specific tag from the project's releases) and search the README for any other
occurrences of "git checkout 0.25.4" or bare-version checkout examples and
update them to use the "v" prefixed tags consistently.
| - Valid: `0.25.4`, `v1.0.0`, `v10.20.30` | ||
| - Invalid: `0.25.4`, `v0.25`, `0.25.4.1` |
There was a problem hiding this comment.
Fix contradictory version examples and incorrect migration directory mapping.
Line 278 and Line 279 conflict (0.25.4 is shown as both valid and invalid), and Line 290 maps 0.25.4 to v0_25_3, which is incorrect. Also, the command examples use --version 0.25.4 while the doc states vxx.xx.xx format. This will mislead users into failing commands.
Suggested doc patch
- Version must be in format `vxx.xx.xx` where `xx` are digits:
-- Valid: `0.25.4`, `v1.0.0`, `v10.20.30`
-- Invalid: `0.25.4`, `v0.25`, `0.25.4.1`
+ Version must be in format `vxx.xx.xx` where `xx` are digits:
+ - Valid: `v0.25.4`, `v1.0.0`, `v10.20.30`
+ - Invalid: `0.25.4`, `v0.25`, `0.25.4.1`
- Example: Version `0.25.4` → Directory `tools/migrate/v0_25_3/`
+ Example: Version `v0.25.4` → Directory `tools/migrate/v0_25_4/`
- --version 0.25.4
+ --version v0.25.4(Apply the same --version v0.25.4 correction to all examples in this section.)
Also applies to: 290-290, 298-324
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@tools/scripts/README.md` around lines 278 - 279, Update the version examples
and migration mapping so they are consistent: remove the duplicate contradiction
where `0.25.4` appears as both valid and invalid, ensure all command examples
use the `--version vX.Y.Z` format (e.g., `--version v0.25.4`), and correct the
migration directory mapping that currently maps `0.25.4` to `v0_25_3` so it maps
to the proper `v0_25_4` (or the correct target directory name used by the
migrations). Search for occurrences of the literal strings `0.25.4`, `v0_25_3`,
and `--version` to find and update all affected examples and mappings in this
section.
- Update version tags in README files (including translations) from v0.25.3 to v0.25.4 - Modify Docker image references and documentation to reflect new version - Update version badges and image descriptions - Maintain consistency across all language variants of README files
a4eaf10 to
8b9d278
Compare
…iflow#14912) ### What problem does this PR solve? - Update version tags in README files (including translations) from v0.25.3 to v0.25.4 - Modify Docker image references and documentation to reflect new version - Update version badges and image descriptions - Maintain consistency across all language variants of README files ### Type of change - [x] Documentation Update
What problem does this PR solve?
Type of change