Releases: lingyired/newtab01
v1.0.18 — Chrome Web Store zh_CN / zh_HK / zh_TW _locales
v1.0.18 — 2026-07-07
Fixed
- 三处版本号同步:
src/lib/version.ts的VERSION常量从1.0.16同步到1.0.18,与manifest.json/package.json对齐(v1.0.18 release 时漏改,与 v1.0.14 → v1.0.15 的漂移模式相同)。注意:Chrome Web Store 上传的是源码3d3ec93那一刻的版本(VERSION 仍是 1.0.16),用户从 store 看到的「关于」tab 会显示 1.0.16;这个 commit 跟 tag v1.0.18 一起,让本地源码与 git tag 保持一致,store 端不重传(无功能差异)。
Added
- _locales Chinese variant support。v1.0.14 只发了
zh/目录,Chrome Web Store listing 的下拉里只有「中文」。但很多用户用的浏览器语言是zh-CN、zh-TW、zh-HK(三位 locale code),所以 dashboard 不匹配「zh」目录导致「中文」选项不可选。加 3 个新目录:_locales/zh_CN/— 与zh/内容一致(简体中文,45 chars ≤ 132)_locales/zh_HK/— 香港繁体(45 chars ≤ 132)_locales/zh_TW/— 台湾繁体(45 chars ≤ 132)- 原
_locales/zh/保留(向后兼容仅 zh 的浏览器) - 新 locale 不影响运行时
src/lib/i18n/的LocaleCode = 'zh'(Chrome store listing 和 runtime 走两套 i18n,设计决策见 v0.2.117 + v1.0.14)
Full Changelog: https://github.com/lingyired/newtab01/commits/v1.0.18
v1.0.17
Added
- 新选项「链接背景颜色」(linkBgColor)。独立于
backgroundColor(新标签页背景色),用户可以给书签链接单独设置背景色。 - 「背景颜色」label 改成「新标签页背景色」。10 个 locale 同步更新。
Fixed
- 「文字颜色」设置现在真正作用于书签链接文字和目录标题。引入
--newtab-link-colorCSS 变量插在 cascade 最前面。 - 纯白/纯黑 favicon 在对应背景下不可见问题。使用
filter: drop-shadow()外发光柔光,color-mix(in oklch, var(--foreground) 50%, transparent)自适应明暗。
v1.0.15 — Undo button: 'session-only' hint
v1.0.15 — Undo button: "session-only" hint
「回退」按钮下方加一行 hint 浮动文字
What's new
The undo button now ships with a small explanatory hint below it:
仅本次会话可回退,刷新后清空
Only undoable in this session; clears on refresh
The hint tells the user that the undo stack is in-memory only — refreshing the page (which commits the current layout to disk) clears the history, after which the undo button can no longer help. This was a frequent source of confusion ("why doesn't undo work after refresh?") that the user feedback wanted addressed.
Design
- Button itself is unchanged — same original size (≈33px tall, padding 7px 14px + font-size 1.2rem + line-height 1.4). We tried growing it to match the search input height, but the larger button felt visually heavy next to the search box.
- The hint floats below the button via
position: absolute(top: calc(100% + 4px)) anchored to the.undo-wrapdiv. Because the hint is out-of-flow, it does not affect the topbar's flex layout — the search input and undo button stay cleanly aligned. - 10 locale translations ship with the new string:
en / zh / es / ar / hi / fr / pt / de / ja / ru.tsc --noEmitenforces that every catalog has the newundo.sessionHintkey at compile time. hi / ar / rutranslations are AI-generated — they're usable but may benefit from manual polish. The translation source lives insrc/lib/i18n/catalog/<code>.ts.
DOM / CSS
<div class="undo-wrap"> <!-- position: relative (anchor) -->
<button id="undo_button">
<span class="undo-label">回退</span>
<span class="undo-count">1</span>
</button>
<span class="undo-hint"> <!-- position: absolute -->
仅本次会话可回退,刷新后清空
</span>
</div>.undo-wrap { position: relative; flex: 0 0 auto; margin-left: 8px; }
.undo-hint {
position: absolute;
top: calc(100% + 4px);
left: 50%;
transform: translateX(-50%);
font-size: 1.1rem;
color: var(--muted-foreground);
white-space: nowrap;
}Fixed
manifest.json/package.json/src/lib/version.tsversion drift. The v1.0.14 release only bumpedmanifest.jsonandpackage.json—src/lib/version.tsstayed at1.0.13. All three are now synced at1.0.15. (This was the underlying reason the About tab showed a different version number thanchrome://extensions.)
Files changed
| File | Δ |
|---|---|
src/lib/i18n/types.ts |
+1 line (new MessageKey) |
src/lib/i18n/catalog/*.ts (×10) |
+1 line each (translations) |
src/newtab/undo-button.ts |
refactored DOM + visibility logic |
styles/newtab.css |
+.undo-wrap / .undo-hint styles |
manifest.json / package.json / src/lib/version.ts |
version sync |
CHANGELOG.md |
v1.0.15 entry |
Bundle: newtab.js 29.19 KB gzipped (under the 80 KB budget).
Installation
- Chrome Web Store: upload
build/newtab01-1.0.15.zip - Edge Add-ons: upload the same zip (manifest already Edge-compatible per v1.0.13 store-submission cleanup)
- From source (developer):
pnpm install && pnpm build && load dist/ as unpacked extension
Acknowledgements
The _locales/ Chrome Web Store listing translation support was added in v1.0.14 (the release immediately before this one). That work makes the per-store-locale dashboard translation flow possible for the new undo.sessionHint string going forward.
The undo button itself was originally added in v0.2.61 (see feat/drag-undo branch).
v1.0.13 — Chrome Web Store submission snapshot
v1.0.13 — 2026-06-24
Chrome Web Store submission snapshot. No functional changes — bundle size and behavior identical to v1.0.9. The intervening v1.0.10 → v1.0.13 patch bumps were all store-listing metadata only (image paths in docs/README.zh.md, GitHub topics, manifest description text).
Changed
manifest.jsondescription — rewrote in English (115 chars, 17-char safety margin under the 132-char Web Store limit). New copy: "Bookmark-driven new tab. Open folders as tab groups or in split view. 12 built-in themes + unlimited custom themes." v1.0.11's 42-char Chinese copy ("是基于书签的新标签页...") was an emergency stop-gap after the previous 138-char English copy tripped validation; v1.0.12 fixed that in English but still named "Chrome tab groups" specifically; v1.0.13 drops the Chrome brand so the same copy reads correctly on the Edge Add-ons store as well.docs/permissions.md— rewritten for the Chrome Web Store review team. Per-permission reason (function + why, no API-level details), host_permissions preamble explaining why<all_urls>is required, 5-bullet privacy summary. 781 words / 1000 cap.
Notes
- This is the build that was submitted to the Chrome Web Store (package:
newtab01-1.0.13.zip). - The same zip / manifest description will be used for the Edge Add-ons submission.
- No
gh release createwas issued for v1.0.10, v1.0.11, or v1.0.12 — they were docs/metadata-only patch bumps (CLAUDE.md §11.1) and did not warrant a release on their own. v1.0.9 → v1.0.13 covers the full pre-submission store-listing prep cycle. - Manifest version sync:
manifest.json/package.json/src/lib/version.tsall at1.0.13. - Store listing copy:
docs/store-description.md(English) +docs/store-description.zh.md(中文).
v1.0.9 — Store submission prep (extension preview screenshots)
v1.0.9 — 2026-06-24
Store submission prep. No functional changes — bundle size and behavior identical to v1.0.8.
Added
extension-previews/— 14 extension screenshots (4.8 MB) for the Chrome Web Store listing and the README feature sections
Changed
README.md+docs/README.zh.md— each of the 6 feature sections now has its screenshot(s) below the description with a short alt text
Notes
- No code changes; version bumped 1.0.8 → 1.0.9 in
manifest.json/package.json/src/lib/version.ts(CLAUDE.md §11) - Branch
feat/extension-previewsfrozen on origin as a historical index
v1.0.5 — Store submission prep (permissions doc, README refresh)
v1.0.5 — 2026-06-24
Chrome Web Store submission prep. No functional changes — bundle size and behavior identical to v1.0.4.
Documentation
docs/permissions.md— full Chrome Web Store permissions justification (12 permissions, host_permissions, privacy practices, removedmanagementpermission rationale)README.mdrewritten in English (default); HNTP refactor claim replaced with an "Inspiration" note crediting ibillingsley; theme count 4 → 12; overview condensed to a flat feature listdocs/README.zh.md— Chinese README with cross-language link at the topdocs/github-description.md— copy-paste ready text for the repo's About box (description + topics + this release draft)- Repository description & topics refreshed
Notes
- No code changes; version bumped 1.0.4 → 1.0.5 in
manifest.json/package.json/src/lib/version.ts(CLAUDE.md §11) - Branch
feat/store-submission-prepfrozen on origin as a historical index