Docs: Update version references to v0.25.6 in READMEs and docs (#15248)

### What problem does this PR solve?

- Update version tags in README files (including translations) from
v0.25.5 to v0.25.6
- 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
This commit is contained in:
Liu An
2026-05-26 19:45:43 +08:00
committed by GitHub
parent 3619ceca01
commit 0639dba89a
32 changed files with 77 additions and 77 deletions

View File

@@ -275,8 +275,8 @@ python db_schema_sync.py [OPTIONS]
### Version Format
Version must be in format `vxx.xx.xx` where `xx` are digits:
- Valid: `v0.25.5`, `v1.0.0`, `v10.20.30`
- Invalid: `0.25.5`, `v0.25`, `v0.25.5.1`
- Valid: `v0.25.6`, `v1.0.0`, `v10.20.30`
- Invalid: `0.25.6`, `v0.25`, `v0.25.6.1`
### Migration File Location
@@ -287,7 +287,7 @@ tools/migrate/{version_dir}/
Where `{version_dir}` is the version with `.` replaced by `_`.
Example: Version `v0.25.5` → Directory `tools/migrate/v0_25_5/`
Example: Version `v0.25.6` → Directory `tools/migrate/v0_25_6/`
### Examples
@@ -295,32 +295,32 @@ Example: Version `v0.25.5` → Directory `tools/migrate/v0_25_5/`
# List all migrations
python db_schema_sync.py --list \
--host localhost --port 3306 --user root --password xxx --database rag_flow \
--version v0.25.5
--version v0.25.6
# Create a new auto-detected migration (new tables, new fields, type changes only)
python db_schema_sync.py --create \
--host localhost --port 3306 --user root --password xxx --database rag_flow \
--version v0.25.5
--version v0.25.6
# Create a 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.5
--version v0.25.6
# Create a named migration
python db_schema_sync.py --create --name add_user_table \
--host localhost --port 3306 --user root --password xxx --database rag_flow \
--version v0.25.5
--version v0.25.6
# Run all pending migrations
python db_schema_sync.py --migrate \
--host localhost --port 3306 --user root --password xxx --database rag_flow \
--version v0.25.5
--version v0.25.6
# Show schema differences (including removed fields)
python db_schema_sync.py --diff \
--host localhost --port 3306 --user root --password xxx --database rag_flow \
--version v0.25.5
--version v0.25.6
```
## How It Works

View File

@@ -55,7 +55,7 @@ def validate_version(version: str) -> bool:
def version_to_dirname(version: str) -> str:
"""Convert version string to valid directory name (e.g., 'v0.25.5' -> 'v0_25_5')"""
"""Convert version string to valid directory name (e.g., 'v0.25.6' -> 'v0_25_6')"""
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.5
python db_schema_sync.py --list --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.6
# 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.5
python db_schema_sync.py --create --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.6
# 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.5
python db_schema_sync.py --create --drop --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.6
# Run all pending migrations
python db_schema_sync.py --migrate --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.5
python db_schema_sync.py --migrate --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.6
# Show schema differences
python db_schema_sync.py --diff --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.5
python db_schema_sync.py --diff --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.25.6
"""
)
@@ -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.5)')
help='Version number in format vxx.xx.xx (e.g., v0.25.6)')
# 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.5)")
logger.error(f"Invalid version format: {args.version}. Expected format: vxx.xx.xx (e.g., v0.25.6)")
sys.exit(1)
# Validate at least one action is specified