Skip to content

Releases: Justin-Ju-0413/moneynote

v1.4.0

Choose a tag to compare

@Justin-Ju-0413 Justin-Ju-0413 released this 12 Aug 03:50
6770ffb

Added

  • AI 学习规则进化(B 层):
    • 匹配增强:规则剥离渠道前缀后参与包含匹配(「财付通-美团」可命中「美团外卖」),单字规则防误命中,核心词最长优先
    • 命中计量与效果可视化:每条规则记录累计命中/最近命中时间;设置页统计条「N 条规则 · 累计命中 X 次 · 约节省 X 次 LLM 调用」
    • 冲突自愈:删除规则或改判分类时自动撤回已提炼的分类关键词;llm→manual 升级后学习计数重置为 1
    • 冷规则清理:一键清理 180 天未命中的规则(确认后执行)
    • 规则独立导出/导入:JSON 文件迁移学习习惯,导入跳过已存在规则(含隐私提示)
  • E2E 进 CI:quality + e2e 双 job,Playwright 失败自动上传报告
  • 发布自动化node scripts/release.mjs(版本 bump → CHANGELOG 校验 → tag → GitHub Release,--publish 支持保护分支)

Changed

  • P1-4 AI 列映射并入 LLM 抽象层:bill-analyzer 手写管道收敛为 mappingTask 描述符,对外 API 不变
  • P1-3 Prompt 版本化:分类/审计缓存键纳入 prompt 版本,改 prompt 自动失效旧缓存

Fixed

  • 学习规则删除/改判后分类关键词残留导致的分类冲突
  • 单字学习规则(如「餐」)误命中任意含该字文本

v1.3.0

Choose a tag to compare

@Justin-Ju-0413 Justin-Ju-0413 released this 10 Aug 16:47
00a4a2a

AI 学习进化本地识别

  • learningRules 表(DB v12)沉淀商户→分类映射,本地识别越来越准、LLM 调用越来越少
  • 匹配链服务:学习规则(manual 优先于 llm)→ 分类关键词(内置+自定义)→ LLM 统一入口
  • 4 个学习触发点:聊天确认记录 / 明细改分类 / AI 工作台采纳建议 / LLM 高置信度结果
  • 关键词提炼:manual ≥1 次、llm ≥3 次,≥2 字,剥离渠道前缀后自动写入分类关键词
  • 设置页学习规则管理 UI(查看来源/命中次数/删除)
  • 修复 matchCategory 自定义分类关键词编辑不生效的 bug

测试与质量

  • Playwright E2E 6 spec 覆盖:聊天记账、账单导入、AI 工作台、智能查重、学习规则管理
  • 单测补齐:DB 契约 / NLP / 匹配链 / 学习规则等,共 +49 用例

MoneyNote v1.2.0

Choose a tag to compare

@Justin-Ju-0413 Justin-Ju-0413 released this 01 Aug 20:23
af28aed

Stable source release for the local-first MoneyNote PWA.

Supported platforms

  • Modern desktop/mobile browsers with IndexedDB and File APIs
  • Development verified with Node.js/npm on macOS and GitHub Actions Linux

Install and verify

  1. Clone this tag and run npm ci.
  2. Run npm run dev, or npm run build && npm run preview.
  3. Verify with npm run lint, npm test (120 tests), and npm run build.

Clean-checkout CI: https://github.com/Justin-Ju-0413/moneynote/actions/runs/30716660868

Source commit: af28aed4f27d0d55ff0b041b30367a9dd497737d

Changes and limits

  • Adds chat accounting plus CSV/XLSX spreadsheet import.
  • Import size is limited to 20 MB; legacy XLS is rejected.
  • Existing IndexedDB bills/chat history are preserved; data remains local unless the user explicitly exports it.
  • This is source-only; no separately built binary is attached.

Upgrade and rollback

Export a backup before upgrading. To roll back, check out v1.1.0 and restore the exported backup if required.

v1.1.0

Choose a tag to compare

@Justin-Ju-0413 Justin-Ju-0413 released this 23 Jul 08:15

v1.1.0 - 2026-07-23

Added

  • 明细页分类筛选支持支出/收入分组切换
  • 编辑弹窗新增收支类型切换
  • 统一确认弹窗(ConfirmDialog)替代 6 处浏览器原生 confirm
  • schema 迁移框架 + 契约单测

Changed

  • 统计聚合改走 [type+date] 复合索引
  • xlsx 换为 @e965/xlsx

Fixed

  • LLM endpoint 带 /v1 时双拼 404
  • todayExpense UTC 时区致今日支出显示 ¥0
  • 备注清理误吞助词「了」
  • crypto 加密失败静默降级为裸 Base64

Security

  • xlsx@0.18.5 原型污染 + ReDoS,换 @e965/xlsx@0.20.3
  • crypto API Key 加密不再有明文降级路径

完整变更见 CHANGELOG.md