Skip to content

Releases

v0.4.1

Choose a tag to compare

@uxgnod uxgnod released this 18 Nov 03:33

Important

强烈建议在 2026-11-20 前升级 / Recommended upgrade before November 20, 2026

Cloudflare 将于 2026 年 11 月 20 日 正式下线 @cf/qwen/qwen3-30b-a3b-fp8(yaf v0.2.0–v0.4.0 洞察功能的默认免费模型)。到期后继续请求该模型会直接返回 HTTP 410 Gone (code 5028),导致洞察报告生成失败。

Cloudflare is retiring @cf/qwen/qwen3-30b-a3b-fp8 on November 20, 2026, after which requests to it will fail with HTTP 410 Gone (5028).

更新内容 / What's Changed

  • 可选 Workers AI 洞察模型与废弃提醒(Selectable Workers AI insight model):
    • 在 设置 › 洞察与搜索 › 洞察模型 中点击「更换模型」,可从当前可用的免费套餐模型(如 @cf/qwen/qwen3.8-27b、@cf/google/gemma-4-26b-a4b-it、@cf/zai-org/glm-4.7-flash、@cf/moonshotai/kimi-k2.5 等)或 Paid 套餐模型(@cf/deepseek-ai/deepseek-v4.1-flash-1017、@cf/zai-org/glm-5.3)中选择,并支持按需开关思考模式(enable_thinking)。
    • 新老用户策略:全新安装或首次启用洞察的用户默认使用 @cf/qwen/qwen3.8-27b(思考模式关闭);已有存量洞察计划的老用户保持原有配置不变,并在侧栏、洞察页与设置页给出明确的下线提醒,由用户自行确认切换。
  • 洞察报告增强(Insights improvements):
    • 报告正文(摘要、要点、追问)支持完整 Markdown 渲染(引用块、列表、行内代码与代码块);
    • 每条笔记召回的相关历史笔记提升至 20 条,并由代码统计高频标签与未勾选待办直接提供给模型。
  • 摘抄引用块渲染与标签识别优化(Excerpt quotes & tag linking):
    • Markdown 引用块(>)渲染为带悬挂引号与衬线字体的摘抄卡片,尾行以 — 或 —— 开头时自动作为右下角来源行展示;
    • 正文中的 #tag 仅在属于该 memo 的真实标签时才渲染为可点击链接(避免代码或正文中的 #include 等误匹配)。
  • 文档与 CI:
    • 中英文 README 补充 16 张功能演示截图与目录;新增 GitHub Actions 类型检查与构建工作流。

升级说明 / Upgrade Notes

  • Migrations: none(无需执行数据库迁移)
  • Resources: none(无新增 Cloudflare 资源)
  • Secrets: none(无新增 Secret)
  • Action required(已开启洞察功能的存量用户):升级部署 v0.4.1 后,请打开 设置 › 洞察与搜索 › 洞察模型,点击 更换模型,从 @cf/qwen/qwen3-30b-a3b-fp8 切换至 Qwen 3.8 27B 或 Gemma 4 26B A4B 并保存。
  • 升级步骤 / Upgrade procedure: docs/AGENT-UPGRADE.md

v0.4.0

Choose a tag to compare

@uxgnod uxgnod released this 27 Oct 12:23
  • Sidebar AI usage ring: today's Workers AI neurons for the account, admin only. Hidden until configured (optional secrets CF_ACCOUNT_ID, CF_ANALYTICS_TOKEN, AI_PLAN).
  • WeChat image descriptions use @cf/qwen/qwen3.8-27b (thinking off).
  • npm run deploy now runs a preflight check (needs database_id, no pending migrations). main no longer contains a database_id: keep it on your own deploy branch.
  • Includes v0.2.1 (card editor / device code) and v0.3.0 (lenses, private memo masking; migration 0007).

Install: tell your AI agent: Read https://raw.githubusercontent.com/uxgnod/yaf/main/docs/AGENT-INSTALL.md and install yaf for me.

Upgrade: docs/AGENT-UPGRADE.md. Migrations only add; rolling back the code is always safe. Per-version notes: CHANGELOG.md.

Migrations since v0.2.0: 0007. New resources: none. Required secrets: none new.

v0.2.0 · AI-native yaf

Choose a tag to compare

@uxgnod uxgnod released this 26 Oct 04:09

yaf becomes AI-native. Self-hosted on Cloudflare, works on the free plan. Still a work in progress.

yaf 进入 AI 原生版本:自部署在 Cloudflare 上,免费套餐即可运行。仍在开发中。

Highlights · 主要更新

  • Hybrid search · 混合检索: keywords (D1 FTS5 + Chinese segmentation) + semantics (Workers AI bge-m3 + Vectorize), plus related notes for every memo. 关键词 + 语义检索,每条 memo 可查看相关笔记。
  • Insights · 洞察: scheduled reviews of your memos with recurring themes and open questions, every point cited. Workers AI by default, or your own Claude key. 按计划回顾 memo,每条结论附原文引用;默认 Workers AI,也可用自己的 Claude key。
  • MCP server · MCP 服务器: let Claude Code and other AI assistants search and write memos. 让 AI 助手直接搜索和记录 memo。
  • API tokens and CLI · API Token 与命令行: scoped tokens, device-code login, and yaf-cli on npm. 按权限授权的 Token、设备码登录,以及 npm 上的 yaf-cli。
  • WeChat capture (experimental) · 微信收录(实验性): text, images and voice sent to WeChat ClawBot become memos; images and voice are stored in R2 and play back in the browser. Uses an unofficial protocol. 发给微信 ClawBot 的文字、图片、语音存为 memo;非官方协议。
  • Source icons and auto tags · 来源图标与自动标签: each memo shows where it came from; optional automatic tags per source. 显示每条 memo 的来源,可按来源自动加标签。
  • Settings · 设置页: account and security, API tokens, WeChat, insight plans and models, search index. 账号与安全、API Token、微信、洞察计划与模型、语义索引。

Upgrading from v0.1.0 · 从 v0.1.0 升级

New Cloudflare resources and secrets are required. See the deploy section in the README / 中文 README:
需要新增 Cloudflare 资源和密钥,步骤见 README 的部署一节:

  1. npx wrangler vectorize create yaf-memos --dimensions=1024 --metric=cosine and create the userId metadata index
  2. openssl rand -base64 32 | npx wrangler secret put ENCRYPTION_KEY
  3. Optional · 可选: npx wrangler r2 bucket create yaf-media (or remove r2_buckets from wrangler.jsonc)
  4. npm run db:migrate:remote (migrations 0002–0006), then npm run deploy

Existing memos are indexed for semantic search automatically within about 15 minutes. 已有 memo 会在约 15 分钟内自动建立语义索引。

License · 许可证

From this release yaf is licensed under AGPL-3.0, which also applies to earlier commits. The name "yaf" is covered by TRADEMARKS.md. yaf-cli is MIT.
从这个版本起,yaf 以 AGPL-3.0 授权(同样适用于更早的提交);「yaf」名称的使用见 TRADEMARKS.md;yaf-cli 为 MIT。

v0.1.0 · The simple version

Choose a tag to compare

@uxgnod uxgnod released this 26 Oct 04:09

The original, simple version of yaf: a flomo-style memo app on Cloudflare Workers + D1. No AI, API or WeChat. Use this tag if you prefer a minimal starting point for a fork.

yaf 最初的简单版本:跑在 Cloudflare Workers + D1 上的 flomo 风格笔记应用,没有 AI、API 和微信。想要一个精简的起点来 fork,可以用这个标签。

  • Memos in Markdown, #tags with nesting, tag filter · Markdown memo、层级标签、按标签筛选
  • Keyword search, export to Markdown / JSON · 关键词搜索、导出 Markdown / JSON
  • Email + password login, light / dark themes, stats and heatmap · 邮箱密码登录、亮暗主题、统计与热力图

Licensed under AGPL-3.0 (see the LICENSE file on main). 以 AGPL-3.0 授权(见 main 分支的 LICENSE)。