Skip to content

重要通知:v0.7.0 迁移至 Rust 版本 #465

@fawney19

Description

@fawney19

重要通知:v0.7.0 迁移至 Rust 版本

v0.7.0 已正式从 Python 迁移至 Rust 版本,主分支从 master 改为 main

给 Python 用户

仍在使用 Python 版本的用户,请切换至 main 分支并使用新的 docker-compose.yml

注意:Python 版本将不再接受新内容,也不再维护。请尽快做好数据备份并迁移至 Rust 版本。

Rust 版本亮点

  • 性能提升 —— 更快的请求处理速度
  • 更低内存占用 —— 资源消耗显著下降
  • SQLite 单文件版本 —— 适用于个人使用,可摒弃沉重的 PostgreSQL 和 Redis 服务

迁移步骤

重要:从 Python 迁移到 Rust 前,请先将镜像升级至 Python 最新的 v0.6.3,再更新至 Rust v0.7.0,避免跨版本迁移导致数据库不兼容。

1. 先升级到 Python v0.6.3

APP_IMAGE=ghcr.io/fawney19/aether:0.6.3 docker compose pull app
APP_IMAGE=ghcr.io/fawney19/aether:0.6.3 docker compose up -d app

2. 验证 v0.6.3 运行正常后,再升级至 Rust 版本

docker compose pull app
docker compose up -d app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions