diff --git a/CHANGELOG.md b/CHANGELOG.md index 4028064a..a40f68de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGE LOG -## 2024-04-12 v0.0.2 +## 2024-04-12 v0.2.1 - support send email @@ -8,17 +8,51 @@ DB changes: - `db/2024-04-12-patch.sql` -## 2024-04-10 v0.0.1 +## 2024-04-10 v0.2.0 -Breaking changes: +### Breaking Changes - remove `ENABLE_ATTACHMENT` config - use rust wasm to parse email in frontend - deprecated api moved to `/api/v1` -DB changes +### Rust Mail Parser -- `db/2024-04-09-patch.sql` +由于 nodejs 解析 email 的库有些问题,此版本切换到使用 rust wasm 调用 rust 的mail 解析库 + +- 速度更快,附件支持好,可以显示邮件的附件图片 +- 解析支持更多 rfc 规范 + +Due to some problems with nodejs' email parsing library, this version switches to using rust wasm to call rust's mail parsing library. + +- Faster speed, good attachment support, can display attachment images of emails +- Parsing supports more rfc specifications + +### DB changs + +将 `mails` 表废弃,新的 `mail` 的 `raw` 文本将直接存入 `raw_mails` 表. +The `mails` table will be discarded, and the `raw` text of the new `mail` will be directly stored in the `raw_mails` table + +## Upgrade Step + +```bash +git checkout v0.2.0 +cd worker +wrangler d1 execute dev --file=../db/2024-04-09-patch.sql +pnpm run deploy +cd ../frontend +pnpm run deploy +``` + +注意:对于历史邮件,请使用部署新网页查看旧数据。 +Note: For historical messages, use the Deploy New web page to view old data. + +```bash +git checkout feature/backup +cd frontend +# 创建一个新的 pages, 用于访问旧数据 +pnpm run deploy --project-name temp-email-v1 +``` ## 2024-04-09 v0.0.0