Repository navigation
Releases: yaoxinghuo/dbx-dev-tools
Releases · yaoxinghuo/dbx-dev-tools
Release list
DBX plugin Dev Tool v0.6.10
🇨🇳 v0.6.10 更新说明
🆕 Unicode 编解码([#7](https://github.com/yaoxinghuo/dbx-dev-tools/issues/7))
- 编码面板:支持 6 种输出格式——
\u4e2d(默认,emoji 输出 UTF-16 代理对)、\u1f600(4–6 位宽字符)、\u{4e2d}(ES6 大括号)、U+4E2D、中(十进制实体)、中(十六进制实体) - 忽略 ASCII 开关:混合文本只编码非 ASCII 字符(默认开启)
- 解码自动识别:
\uXXXX、\u{X}、\u{4-6位}、U+、&#NN;、&#xNN;混排输入也能正确还原;裸\u带 5–6 位时仅在码点超出 BMP 时按宽字符处理,不会误吞后续文本 - 格式选项用真实样例标注(如
Unicode \u4e2d(默认)),大小写约定一目了然 - 原「Unicode 检查」更名 「Unicode 编解码」,逐码位分析(码位/UTF-8/UTF-16/区块)保留在下方
🇬🇧 v0.6.10 Release Notes
🆕 Unicode Codec ([#7](#7))
- Encode panel with six output formats:
\u4e2d(default, surrogate pairs for astral chars),\u1f600(4–6 digits),\u{4e2d}(ES6 braces),U+4E2D,中(decimal entity),中(hex entity) - Skip-ASCII toggle to escape only non-ASCII characters in mixed text (on by default)
- Auto-detecting decoder:
\uXXXX,\u{X},\u{4-6},U+and HTML entities are all recognized, even mixed in one input; a bare\uwith 5–6 digits is only treated as a wide escape when the code point exceeds the BMP - Format options are labeled with live samples (
Unicode \u4e2d (default)etc.) so shapes and hex casing are self-evident - The former Unicode Inspector is now Unicode Codec — the per-code-point breakdown (code point / UTF-8 / UTF-16 / block) stays below
DBX plugin Dev Tool v0.6.9
🇨🇳 v0.6.9 更新说明
🛠️ 修复
- 首页网格列数:修复部分机器首页只显示 2 列工具、右侧大片留白的问题(0.6.8 页脚布局引入的回归),现在按窗口宽度正常排 3+ 列
- GitHub 入口复制反馈:点击页脚 GitHub 链接后此前无任何提示——复制确认浮层在空间不足时会翻到控件上方显示;沙箱内复制不可用时直接展示链接文本,不再静默无响应
🎨 视觉
- 收藏星标统一主题色:已收藏的星星、收藏空状态图标从金色改为品牌青色(跟随明暗主题);特殊符号工具内的字符收藏态同步统一
🇬🇧 v0.6.9 Release Notes
🛠️ Fixes
- Home grid columns: fixed a regression where the tool grid shrank to 2 columns with dead space on the right — it now lays out 3+ columns based on available width again
- GitHub link copy feedback: clicking the footer link previously gave no confirmation — the floating chip now flips above the control when there's no room below, and shows the URL itself when copying is unavailable in the sandbox
🎨 Visual
- Theme-colored favorites: favorited stars and the favorites empty-state icon switched from gold to the brand teal (follows light/dark themes); per-character favorites in Special Chars match
DBX plugin Dev Tool v0.6.8
🇨🇳 v0.6.8 更新说明
🛠️ Cron 表达式修复(#6)
- 修复
N/step步长解析:10 0/2 * * * ?此前退化为每小时一次,现在正确展开为0-max区间按步长取值(每 2 分钟的第 10 秒) - 非法的
?/N组合现在会被拒绝而不是静默产出怪异结果 - 摘要描述对等差数列做压缩显示——
0/2不再展开成 30 个数字的长列表
✨ Cron 工具增强
- 「下次执行」条数可自定义(1–100),写入持久化,下次进入保持上次的设置
🐙 GitHub 入口升级
- 章鱼猫图标有了生命:空闲时虚线光环缓慢旋转 + 每 5 秒轻轻摆一下尾,悬停时大幅摇摆并染成品牌青色渐变(跟随明暗主题),
prefers-reduced-motion下自动静止 - 页脚新增开源反馈入口:「有问题或需求?欢迎前往 GitHub 提交 Issue / PR,欢迎点个 Star 支持!」——内容短时钉在视口底部
- 复制链接的确认改为跟随点击位置的浮层提示(修复了在页脚点却在顶部图标出勾的错位感)
🇬🇧 v0.6.8 Release Notes
🛠️ Cron fixes (#6)
N/stepatoms now expand to the impliedN-maxrange —10 0/2 * * * ?correctly fires at second :10 every 2 minutes instead of once an hour- Invalid
?/Ncombinations are rejected instead of silently producing odd subsets - The human-readable summary compresses arithmetic progressions back to step notation (
0/2instead of a 30-value list)
✨ Cron enhancements
- The "next runs" list is now user-configurable (1–100) and persisted across sessions
🐙 GitHub link upgrade
- The octocat icon is alive: a slowly drifting dashed halo plus a gentle tail-flick every 5s when idle; a stronger wag with a brand-teal gradient fill on hover (theme-aware); fully quiet under
prefers-reduced-motion - New footer invite for issues, PRs and stars — pinned to the viewport bottom on short pages
- Copy confirmation is now a floating chip under whichever control was clicked (no more check icon morphing at the other end of the page)
DBX plugin Dev Tool v0.6.7
🇨🇳 v0.6.7 更新说明
🆕 三个新格式化工具(46→48 款)
- Nginx 格式化(#4):规范空白、按花括号重新缩进(移植自 Apache-2.0
nginxfmt,与 Sublime 插件同款算法);缩进 2/4/8 空格或 Tab,支持「{ 并到上一行」「对齐指令值」;语法高亮指令、字符串、注释、$变量;修复上游丢失行尾注释的问题 - XML 格式化(#5):手写 tokenizer 重排缩进,正确处理注释、CDATA、DOCTYPE、处理指令;DOMParser 合法性校验
- YAML 格式化:按缩进层级重排(2/4 空格/Tab),注释、块标量(
|/>)、锚点原样保留;检测到 Tab 缩进会警告并替换;连续空行压缩为一行
✨ 体验改进
- 新分类:首页新增「格式化」筛选卡(JSON / Nginx / XML / YAML)
- 搜索状态记忆:搜索词与分类筛选在进工具再返回后保留,不用重输
- 保存为文件:Nginx/XML/YAML 输出可另存为
.conf/.xml/.yaml(JSON 此前已支持)
🛠️ 修复
- 身份证号工具:「指定日期」改为定宽
YYYY-MM-DD输入框(原生日期控件显示格式跟随系统语言),非法/未来日期即时提示
📝 商店
- 「更新历史」将按版本显示各自的更新说明(此前所有版本共用一段旧文案)
🇬🇧 v0.6.7 Release Notes
🆕 Three new formatters (46 → 48 tools)
- Nginx Formatter (#4): whitespace normalization and brace-based re-indenting via a vendored Apache-2.0
nginxfmtport (same engine as the Sublime plugin); 2/4/8-space or Tab indents, "join{" and value-alignment toggles; syntax highlighting for directives, strings, comments and$variables; fixes an upstream bug that dropped trailing comments - XML Formatter (#5): tokenizing pretty-printer that handles comments, CDATA, DOCTYPE and processing instructions, with DOMParser validation
- YAML Formatter: indentation-based re-formatter (2/4 spaces/Tab) preserving comments, block scalars (
|/>) and anchors verbatim; warns on and replaces tab indentation; collapses blank lines
✨ Improvements
- New Formatter category on the home grid (JSON / Nginx / XML / YAML)
- Search memory: query text and active category filter persist when returning from a tool
- Save to file: Nginx/XML/YAML output can be saved as
.conf/.xml/.yaml(JSON already could)
🛠️ Fixes
- CN ID Card: exact-date option now uses a fixed-width
YYYY-MM-DDinput with inline validation (the native picker rendered per OS locale)
📝 Store
- Per-version release notes now reach the update history (previously one stale blurb for every version)
DBX plugin Dev Tool v0.6.6
🇨🇳 v0.6.6 更新说明
新增第 45 款工具:身份证号工具。
🆔 身份证号工具
- 生成:按地区(34 个省级区划,随机或指定)、出生(随机 18–60 岁 / 指定年龄 / 指定日期)、性别、数量(最多 500 条)生成符合国标 GB 11643 校验规则的身份证号,批量结果一键复制
- 校验:输入 18 位号码,验证格式、出生日期、校验位(ISO 7064 MOD 11-2),并解析展示地区、生日、当前年龄、性别、顺序码;错误时列出具体原因
- 兼容 15 位旧证:校验通过后自动换算出对应的 18 位号码
- 区划码采用真实 GB/T 2260 省级及省会/市辖区码,生成结果更贴近真实证件
- 全部本地计算,零联网;页面注明仅限开发测试用途
🇬🇧 v0.6.6 Release Notes
Introducing the 45th tool: CN ID Card.
🆔 CN ID Card
- Generate: valid-format Chinese national ID numbers by region (34 province-level divisions, random or specific), birth (random 18–60 / exact age / exact date), gender, and count (up to 500), with one-click copy
- Validate: check any 18-digit number for format, real birth date, and checksum (ISO 7064 MOD 11-2), then parse out region, birthday, current age, gender, and sequence — with specific error reasons on failure
- Legacy 15-digit support: validated legacy numbers are automatically upgraded to their 18-digit equivalent
- Region codes are real GB/T 2260 province and capital-city assignments for realistic test data
- Fully offline; labeled for development testing only
DBX plugin Dev Tool v0.6.5
🇨🇳 v0.6.5 更新说明
这次重点是工作台导航体验和一处权限变化。
✨ 首页导航记忆(会话级)
- 展开状态保留:「按分类浏览」和「全部工具」展开后,进工具再回来不再收起
- 滚动位置还原:回首页精确回到离开时的位置——支持文档滚动和宿主滚动两种环境,找不到滚动条时会锚定到你刚点开的那张工具卡上
- 无闪屏:恢复期间页面先隐藏,落位稳定后才显示,不再有"顶部闪一下"的跳动
🏷️ 标签页标题跟随工具(需 DBX ≥ 0.6.48)
- 打开工具时 workbench 标签页显示工具名(跟随界面语言),回首页恢复默认
- 旧版本宿主自动跳过该能力,不影响功能
- 为此新增了
host.workbench权限
🛠️ 细节修复
- 复制按钮不再晃动:「复制 → 已复制」文案切换按最长项预留宽度,相邻内容零位移
- 大小写与 Slug 转换:输入框升级为多行 textarea,长文本更好编辑
📖 文档
- README 补充打包说明:
npm run build && npx dbx-plugin package一行搞定本地实测包
🇬🇧 v0.6.5 Release Notes
An iteration focused on workbench navigation polish — plus one permission change.
✨ Home navigation memory (session-scoped)
- Expand state persists: the category chips and full tool grid stay expanded when you return from a tool
- Scroll position restored: coming back lands exactly where you left — works in both document-scroll and host-scroll environments, with a card anchor fallback that zeroes in on the tool you opened
- No flash: the page stays hidden until the position settles, so there's no top-of-page jump
🏷️ Tab title follows the tool (requires DBX ≥ 0.6.48)
- Opening a tool names the workbench tab after it (localized); returning home restores the default
- Gracefully skipped on older hosts
- Adds the
host.workbenchpermission
🛠️ Fixes
- Copy button no longer jolts: the label width reserves the longest state, so neighbors never shift
- Case & Slug: input upgraded to a multiline textarea
📖 Docs
- README now documents the one-liner
npm run build && npx dbx-plugin packagefor local test installs
DBX plugin Dev Tool v0.6.4
🇨🇳 v0.6.4 更新说明
本次重点:同步列表瘦身 + 界面微调。
🧹 存储优化(刷同步列表的看过来)
- 工具状态合并:原先每个工具一条
devtools:state.*持久化 key,44 个工具会刷满 DBX 同步配置列表。现在全部并入单个devtools:statekey,同步列表只显示一行 - 自动迁移:旧 key 的状态会自动合并进新结构然后清理,你的工具偏好不会丢;带版本号机制,后续结构升级走同一通道
- 三层防护:单工具快照 32KiB 哨兵 → 整体 180KiB 预算(超限只回退当前工具)→ 存储层硬上限兜底,一个大输入不会拖垮全体持久化
- 大字段不落盘:图片 Base64、Data URI 等 MB 级粘贴内容改为会话内保留,不进同步
🎨 界面
- 工具内容区最大宽度 860px → 960px
- 首页"最近使用"单行显示:放不下的整颗隐藏,不再出现孤零零的半行
- 标题栏新增 GitHub 仓库链接(版本号旁的猫图标;沙箱环境会复制链接到剪贴板并给出 ✓ 反馈)
🇬🇧 v0.6.4 Release Notes
A polish release — focus: leaner sync footprint + UI refinements.
🧹 Storage rework
- Consolidated tool state: 44 tools each used to write a separate
devtools:state.*key, flooding the host's sync list. All snapshots now live in a singledevtools:statekey — one row in the sync list - Automatic migration: legacy per-tool keys are merged into the new blob and cleaned up on first launch — no state is lost. A version field paves the way for future migrations
- Three-layer protection: 32KiB per-tool sentinel → 180KiB total budget (only the offending tool rolls back) → hard storage cap fallback — one giant pasted input can't take down persistence for all tools
- Large inputs stay session-only: pasted image Base64 and data URIs no longer persist
🎨 UI
- Tool content column widened 860px → 960px
- Home "Recent" row now clips to a single line — no more lonely half-row
- New GitHub repo link next to the version tag (in sandboxed hosts it copies the URL to your clipboard with a ✓ confirmation)
DBX plugin Dev Tool v0.6.3
🇨🇳 v0.6.3 更新说明
44 款工具,安装包 <200KB,依然零联网、仅 1 项本地权限 🎯
🆕 新工具
- 📊 数据转换:JSON ⇄ CSV / TSV / NDJSON / XML 互转,外加 JSON → YAML
- 🔣 特殊字符表:330+ 个精选字符点选即复制——希腊字母、数学符号、箭头、货币、排版、上下标、分数、中文标点,外加完整的 Gitmoji 分类(复制 emoji 或
:shortcode:);支持中英名搜索、⭐ 收藏、最近使用
🔐 加密工具系统化
- AES 对称加密:新增原始密钥模式(hex/base64 的 AES-128/192/256)+ CBC 模式 + AAD;口令模式向后兼容
- RSA 非对称加密:新增 OAEP 加解密、PKCS#1v1.5/PSS 签名验签;密钥框同时认 PEM 和 JWK
- JWT:补齐 RS256/384/512 与 PS256/384/512 的签发与验签
🛠️ 现有工具增强
- ⏰ Cron:支持 6 段(带秒)/ 7 段(带年)Quartz 表达式,
?、L、LW、15W、6#3全支持,方言自动识别 - 🔢 进制转换:每一栏都能直接输入,新增自定义 2–36 进制、数字分组、
0x/0b前缀开关、位宽/字节/字符信息卡 - 📝 文本行处理:新增正则替换(支持
$1)、前后缀、去行号、Tab⇄空格、全半角转换、提取列、长度过滤 - 📱 二维码:新增识别——上传图片用系统级条码引擎解码
- 🎨 颜色工具:新增 HSV 色盘 + 明度滑杆,RGB/HSL/HSV/CMYK 四组数值框都可直接编辑
- 🔗 Data URI:新增解析模式(MIME / 编码 / 大小 / 预览)
- 🔀 文本对比:新增词级粒度
- 📜 证书工具:可直接粘贴 SSH 公钥查看 SHA256/MD5 指纹
- 🖼️ 占位图:支持指定目标文件体积(JPEG/WebP 质量二分逼近)
- { } JSON:新增 JSONPath 子集查询与 TypeScript 接口导出
- 📃 占位文本:新增自定义重复模式(
user_#→user_1…user_N) - ⌨️ 编码类工具:编码/解码输入框分离,切换时自动回填上一次输出,往返验证一步到位
🐛 修复
- 修复 URL/图片 Base64 工具在解码模式下的响应式死循环卡死(Refs #3)
- 修复 JSON 格式化与 UUID 生成器的选项切换不生效
- 修复无损数字节点在 CSV/XML/YAML 转换中的序列化问题
🔒 隐私
- 特殊字符表的最近使用现在遵循全局开关:关闭时不记录也不保留已存记录
🇬🇧 v0.6.3 Release Notes
44 tools, <200KB package, still fully offline with a single local permission 🎯
🆕 New tools
- 📊 Data Converter: JSON ⇄ CSV / TSV / NDJSON / XML, plus JSON → YAML
- 🔣 Special Characters: click-to-copy palette of 330+ curated glyphs — Greek, math, arrows, currency, typography, super/subscripts, fractions, CJK punctuation, and a full Gitmoji category (copy the emoji or the
:shortcode:); bilingual name search, ⭐ favorites, recent history
🔐 Crypto rework
- AES (symmetric): raw hex/base64 key mode (AES-128/192/256), CBC mode, optional AAD; password (PBKDF2) mode unchanged
- RSA (asymmetric): OAEP encrypt/decrypt, PKCS#1v1.5 / PSS sign & verify; key box accepts PEM or JWK
- JWT: RS256/384/512 and PS256/384/512 signing & verification
🛠️ Upgrades
- ⏰ Cron: 6-field (with seconds) / 7-field Quartz support —
?,L,LW,15W,6#3, dialect auto-detect - 🔢 Number Base: every column is an input now; custom base 2–36, digit grouping,
0x/0bprefixes, bit-width / byte / char info card - 📝 Line Ops: regex replace (
$1groups), prefix/suffix, strip numbering, Tab⇄spaces, full/half-width, column pick, length filter - 📱 QR: added scan — decode QR/barcodes from an image via the native BarcodeDetector
- 🎨 Color: HSV disc + value slider; RGB/HSL/HSV/CMYK all directly editable
- 🔗 Data URI: new parse mode (MIME / encoding / decoded size / preview)
- 🔀 Diff: word-level granularity
- 📜 Cert: paste SSH public keys for SHA256/MD5 fingerprints
- 🖼️ Placeholder: optional target file size (quality bisection for JPEG/WebP)
- { } JSON: JSONPath subset query + TypeScript interface export
- 📃 Lorem: repeat mode with
#counter (user_#→user_1…user_N) - ⌨️ Codecs: split encode/decode inputs with auto-seeding — round-trip in one click
🐛 Fixes
- Fixed a reactive infinite-loop crash in the URL & image-Base64 tools on decode mode (Refs #3)
- JSON indent/sort and UUID case/hyphen toggles now re-render correctly
- Lossless number nodes no longer leak
{"raw":…}wrappers in CSV/XML/YAML output
🔒 Privacy
- The character palette's recent list now honors the global recents toggle — when off, nothing is recorded or retained
DBX plugin Dev Tool v0.6.2
中文
问题修复
- JSON 格式化不再损坏大整数:超过 JS 安全整数范围(2^53-1)的数字字面值
原样保留(如雪花 ID 1968549762545291267),1e400/1.50/-0 等写法也不再
被改写(#2) - 同类问题一并修复:JWT 查看器(claims 显示与签名载荷)和 HTTP 工具的
JSON→请求头转换
新功能
- 侧栏收起时,图标栏改为浮出面板:收藏(支持拖拽排序)、最近使用为紧凑
列表;全部工具为宽网格面板,自带搜索框(自动聚焦,Enter 直达首个结果) - 首页标题旁显示插件版本号徽标,截图反馈问题时方便对版本
细节优化
- 动效开关采用主题强调色,呼吸灯观感更明显
- 星标悬停配色统一:未收藏悬停为主题色、已收藏保持金色,侧栏与首页一致
- 依赖声明更新为 DBX ≥ 0.6.19
English
Bug fixes
- The JSON formatter no longer corrupts integers beyond 2^53-1 (e.g.
snowflake IDs like 1968549762545291267) — number literals round-trip
exactly as written, including 1e400, 1.50 and -0 (#2) - Same class of fix applied to the JWT inspector (claims display and signed
payload) and the HTTP tool's JSON-to-headers conversion
New
- With the sidebar collapsed, the icon rail now opens floating panels:
favorites (drag-reorderable) and recents as compact lists, all tools as a
wide grid with its own search box (autofocused, Enter jumps to the first
hit, Esc clears the query then closes) - The home header carries a small plugin-version badge so bug-report
screenshots self-identify the release
Polish
- The typewriter toggle pill uses the accent color with a clearer breathing
dot - Favorite-star hover colors are now consistent between sidebar and home
(teal = clickable, gold = already starred) - Engine requirement bumped to DBX >= 0.6.19
DBX plugin Dev Tool v0.6.1
中文
新增 2 个工具(现共 42 个,安装包 ~150KB)
- HTTP 工具:原始请求头 ⇄ JSON 互转(容忍请求行/状态行,重名头保留为数组),附状态码与常用请求头双语速查
- CSS 生成器:渐变(linear/radial/conic、多色标)与盒阴影可视化构建,实时预览、一键复制
既有工具增强
- 时间与日期转换:新增时区模式——全 IANA 时区互转,支持 +8 / UTC+8 / GMT-5 / +05:30 偏移输入与反查,「本机」一键填入当前时区;三个模式输入框互相独立
- 颜色转换:新增配色方案(互补/类似/三角/分裂互补/四角/同色系明暗),色块点击复制
- 大小写与 Slug 转换:新增 URL slug(去音符、保留中日韩字符)
- ID 生成器:新增基于命名空间的确定性 UUID v5 / v3
界面与体验
- 分类重整为 23 个可筛选类目(每个分类 ≥2 个工具),分类区折叠为两行,「更多 +N」展开
- 首页全部工具默认只显示前两行,「展开其余 N 个」虚线条展开;筛选态不折叠
- 侧栏全部工具默认展开并只预览前 5 个;收藏区空态常驻提示;最近使用 dock 新增隐私开关(关闭即清空并停止记录)
- 搜索框打字机新增 pill 开关(持久化),聚焦时自动暂停;⌘K / Ctrl+K 任意位置唤起并聚焦搜索
- 收藏/最近使用高亮改为文字态,实心高亮只留给全部工具;背景色块换 teal 系;滚动条贴边
English
Two new tools (42 total, ~150KB package)
- HTTP helper: raw headers ⇄ JSON (request/status lines tolerated, repeated headers kept as arrays), plus a searchable bilingual reference for status codes and common headers
- CSS generator: visual gradient (linear/radial/conic, multi-stop) and box-shadow builders with live preview and copyable CSS
Tool upgrades
- Time & Date Converter: new timezone mode — all IANA zones, bare offsets like +8 / UTC+8 / GMT-5 / +05:30 with reverse zone lookup, one-click local zone; independent input per mode
- Color Converter: harmony palettes (complementary / analogous / triadic / split / tetradic / shades) with click-to-copy swatches
- Case & Slug Converter: URL slug output (diacritics stripped, CJK kept)
- ID Generator: deterministic name-based UUID v5 / v3 with predefined namespaces
UI & UX
- Tags consolidated into 23 filterable categories (each ≥2 tools); category bar collapses to two rows behind a "more +N" chip
- All-tools grid shows two rows by default with a dashed "show N more" bar; filtered views never collapse
- Sidebar all-tools expands by default with a 5-item preview; favorites stays visible with an empty-state hint; recents dock gains a privacy switch (off = history cleared and paused)
- Typewriter placeholder gets a persisted pill toggle and pauses on focus; ⌘K / Ctrl+K focuses search from anywhere in the plugin
- Favorites/recents highlight is now a text accent — the filled highlight belongs to all-tools alone; ambient blobs retuned to teal; scrollbar hugs the sidebar edge