版本发布

Release v1.7.0

发布于 2026年8月5日

1.7.0 (2026-08-05)

⚠ BREAKING CHANGES

  • theme: useTheme() 不再返回 link、font、fonts。字体样式表已由 模块在构建期注入,移除 app.vue 中 useHead 的 link 即可。theme.fonts 选项 移除,theme.font 改为接受 string | { name, href }。
  • css: 项目需在 main.css 中写 @import "@movk/nuxt"(置于 @import "tailwindcss" 之后),并在 nuxt.config.ts 的 css 中注册该文件。 @movk/nuxt 内部已引入 @nuxt/ui,无需再单独 @import "@nuxt/ui"。 漏引时模块在构建期告警。

✨ Features

  • icon: 构建期注入 movk 自有图标到 client bundle (e9e5eba)
  • theme: Vue 模式构建期注入字体样式表 (a5340f9)

🐛 Bug Fixes

  • playground: 补齐 .ts 中的图标扫描 (675c631)

📝 Documentation

  • agents: 新增「图标注入约定」并校正目录表 (c7a65b3)
  • agents: 新增「样式入口约定」并校正目录表 (39586a2)
  • icon: 补充图标集与图标包说明 (c5432f4)
  • theme: 补充 Vue 模式字体行为说明 (e70f51f)
  • theme: 重写字体章节 (54f3036)
  • 修正样式引入写法 (05ba3b6)
  • 清理字体运行时切换的残留描述 (345f260)

♻️ Code Refactoring

  • css: 模块样式改由项目 CSS 引入 (4ee8904)
  • playground: 样式入口适配单 Tailwind root (96b34a9)
  • playground: 适配字体构建期注入 (0e2f9b6)
  • theme: 字体降为构建期配置 (4811df5)

✅ Tests

  • icon: 覆盖图标扫描、可解析性过滤与缺失提示 (69ba4df)
  • theme: 覆盖 Vue 模式字体样式表注入 (bbe55aa)
  • theme: 覆盖构建期字体注入与契约一致性 (4708995)

📦 Build System

  • deps: 升级依赖版本 (e1ab360)
  • deps: 将 @iconify-json 图标集移到开发依赖 (1b05055)
  • deps: 移除未使用的 unifont (d4ddcea)
  • docs: 文档站部署迁移至 Vercel,移除 Docker 部署配置 (65993c3)

🔧 Chores

  • deps: lock file maintenance (9728db1)
  • deps: 升级依赖版本并锁定 typescript 范围 (13b8c61)
  • docs: 移除与模块默认值重复的 theme 配置 (89542eb)
  • playground: 精简重复配置并固定 compatibilityDate (353de15)
Copyright © 2025 - 2026 YiXuan - MIT License