Skip to content

Alex v0.0.5

Choose a tag to compare

@github-actions github-actions released this 21 Nov 11:58
· 23 commits to main since this release

What's New in Alex v0.0.5

中文更新亮点

  • 全端中英文双语国际化(zh-CN / en-US):
    • 首次启动自动跟随操作系统 / 浏览器语言(zh* → zh-CN,其余默认 en-US),桌面工作台、欢迎页、在线预览查看器(/p/<id>)、自建发行中心、离线/加密 HTML 导出及产品官网(website/)均支持一键无刷新切换并持久化偏好。
    • 同步联动 Ant Design、Day.js、Tiptap 富文本占位提示、Electron 原生菜单与关闭确认、Hermes Python 侧车(PROTOFLOW_LOCALE)、Hermes 嵌入式管理窗口实时双语切换、MCP 服务及 Go 发布后端(Accept-Language 错误消息本地化)。
    • 针对窄侧边栏、332px 四页签属性检查器、画布二级工具栏和在线预览顶栏完成自适应与折行加固,确保语言切换零挤压、零截断。
  • 跨语言业务与关系型数据契约零漂移:
    • 全量本地化 114+ 桌面/移动端物料元数据、启动示例项目与页面生成模板,严格保持底层物理契约不变:外键 value 主键绑定(含桌面 <Form> 与移动 <MForm> / <MSheetPicker> 合格供应商准入实时校验)、SQL ENUM(...) 状态机、人民币 ¥ 默认币种、{{form.<pfId>.<field>}} 类型化插值(number / boolean / null)以及校验提示随语言实时切换。

Highlights (English)

  • Full Bilingual Internationalization (zh-CN & en-US) Across All Surfaces:
    • Automatic OS / browser language detection on first launch with persistent live LanguageSwitch across the desktop workbench, welcome launcher, published web viewer (/p/<id>), release center, standalone/encrypted HTML exports, and official product website (website/).
    • Synchronized Ant Design (zhCN / enUS), dayjs (zh-cn / en), Tiptap editor placeholders, Electron native application menus, Python Hermes sidecars (PROTOFLOW_LOCALE), mounted Hermes management dashboard windows, MCP servers, and Go publishing API (Accept-Language error localization).
    • Container-query and flex-wrap layout hardening across narrow sidebars, 332px 4-tab node inspectors, secondary canvas toolbars, and web preview headers.
  • Locale-Invariant Business & Relational Data Contracts:
    • Localized 114+ desktop/mobile material metadata entries, starter projects, and page templates while strictly preserving foreign-key value bindings, live qualified-supplier checks across desktop & mobile forms, SQL ENUM(...) state machines, ¥ RMB currency defaults, typed {{form.<pfId>.<field>}} interpolation, and live translation of active validation errors.

Full Changelog: v0.0.4...v0.0.5