# Changelog All notable changes to MetonaToast will be documented in this file. ## [0.2.0] - 2026-07-25 ### Changed - **TypeScript 源码重构**:全部源码从 JavaScript 迁移到 TypeScript - 删除手动维护的 `types/index.d.ts`,类型由源码自动生成 - `core.js` (1244行) 拆分为 `toast.ts` + `api.ts` + `templates.ts` - 构建工具链:Babel → `ts-jest`,新增 `@rollup/plugin-typescript` - 测试迁移至 TypeScript (`tests/index.test.ts`) ### Added - `tsconfig.json` (strict: true) - `src/types.ts` 核心类型模块 - `.eslintrc.json` ESLint 配置 - `.gitea/workflows/ci.yml` CI 工作流 - `CHANGELOG.md` ### Removed - `babel.config.js` - `types/` 目录 ## [0.1.2] - 2026-07-24 ### Fixed - 补全和修正 TypeScript 类型声明 - 全面修复、优化与增强 ## [0.1.1] - 2026-07-23 ### Changed - 版本号重置,更新文档页面 ## [0.1.0] - 2026-07-22 ### Added - 初始发布 - 107 种内置图标 - 11 种动画效果 - 4 种主题(light/dark/auto/warm) - 国际化支持 (zh-CN/en-US) - 插件系统 (keyboard/persistence/accessibility) - 拖拽关闭、进度条、倒计时等高级特性 - TypeScript 类型声明 - 零依赖