Skip to content

Tags: wuzf/2fa

Tags

v1.7.1

Toggle v1.7.1's commit message
chore(release): bump version to 1.7.1

v1.7.0

Toggle v1.7.0's commit message
chore(release): bump version to 1.7.0

v1.6.0

Toggle v1.6.0's commit message
chore(release): centralize version source and add release automation

- Replace hardcoded 1.5.0 in logger/monitoring with APP_VERSION import
- Update README version badges to 1.6.0 with test-enforced consistency
- Add scripts/release.js: npm run release:patch/minor/major runs tests,
  bumps package.json, syncs version.js and README badges, commits and tags

v1.5.0

Toggle v1.5.0's commit message
Release v1.5.0

v1.4.0

Toggle v1.4.0's commit message
Release v1.4.0

v1.2.0

Toggle v1.2.0's commit message
fix(import): strip spaces and separators from secret before Base32 va…

…lidation

Secrets stored with spaces (e.g. "KEWL VJCN MWES Y2ZY") caused
URLSearchParams to encode spaces as "+", which then failed Base32
validation on re-import. Clean secrets in both import and export paths.

v1.1.0

Toggle v1.1.0's commit message
v1.1.0 - PC端二维码识别增强

新功能:
- 支持 Ctrl+V 粘贴截图识别二维码
- 支持拖拽图片到弹窗识别二维码
- 扫码导入和二维码解析工具均支持以上功能
- 各模块独立注册事件监听,兼容懒加载

文档:
- README 新增一键部署用户版本更新指南
- README 更新特性描述和使用说明

v1.0.0

Toggle v1.0.0's commit message
feat: restructure into modular architecture with full open-source setup

- Refactor monolithic worker into layered modules (api, otp, ui, utils)
- Add Vitest test suite with 598 tests across 17 files
- Set up GitHub Actions CI/CD, Dependabot
- Add community files (CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, templates)
- Add comprehensive documentation (API reference, architecture, deployment)
- Configure ESLint, Prettier, and Husky pre-commit hooks
- Implement PWA frontend with modular scripts, styles, and service worker

v0.2.0

Toggle v0.2.0's commit message
feat: 添加现代化Web界面和JSON API双模式支持

  主要改进:
  - 新增现代化深色主题Web界面,提供更好的用户体验
  - 实现实时倒计时进度条,直观显示OTP剩余有效时间
  - 添加点击复制OTP功能,方便快速使用
  - 支持JSON API模式(添加?format=json参数)
  - 优化代码结构,添加常量定义和错误处理
  - 修复倒计时计算bug(使用当前时间而非加载时间)
  - 改进Base32解码,增强输入验证和容错性
  - 更新README文档,详细说明双模式使用方法

  技术细节:
  - 添加响应头缓存控制,确保OTP实时性
  - 支持CORS跨域访问(JSON API模式)
  - 优化代码可维护性(TIME_STEP和OTP_LENGTH常量化)