// 開發日誌

開發更新

根據 0xCMS Worker commit log 整理的最新改動。

2026‑07‑23

2 個 commits · 更豐富的欄位及拖曳排序內容

結構化編輯器加入可重用的上載和評分欄位選項,item 次序亦可直接以拖曳手柄調整。Rich text 在標點符號及 CJK 文字旁的 inline 格式亦更可靠。

2026‑07‑22

1 個 commit · 更安全的本機 plugin 預覽

由本機 CMS 提供的 plugin 頁面現在可顯示本機開發 server 的圖片,同時不會放寬 production policy。

2026‑07‑21

2 個 commits · 更快的媒體預覽及 dependency 維護

媒體選擇器現在可在 edge 產生精簡預覽,同時不會公開私有媒體 bucket。新路徑保留既有的安全行為,任何無法產生縮圖的情況都會可靠地提供原始檔案。

2026‑07‑19

4 個 commits · Markdown rich-text 編輯及 client build 維護

內容作者現在可在頁面編輯器使用更完整的 Markdown workflow。新的欄位會同步 rich text、Markdown 與已儲存的 HTML,而相關 client bundle 和 dependencies 亦已整理及記錄。

2026‑07‑18

4 個 commits · plugin 設定輔助、本地化欄位及整合 schema

Plugin operator 現可直接在 CMS 複製註冊 secret 和 tenant KV 連線資料,並會看見清晰的暫時成功提示。今次更新亦讓共用 page-field snippet 支援翻譯,並把 credit subscription 整合到 CMS 初始 schema。

2026‑07‑17

18 個 commits · 週期 credit、本地化後台、批量 workflow 及部署加固

CMS 進一步成為更適合國際化和訂閱模式的平台:admin 可按選用語言和時區工作,plugin 可收取週期 credit,而由設定或 plugin 擁有的 page type 可安全擴展,毋須修改其基礎定義。這個版本亦收緊 Worker 的渲染及 request 邊界,並改善安裝流程。

2026‑07‑16 · 安全審查

開放 host source 前加固

在公佈 host source 前,完成 authentication、authorization、plugins、structured input、response caching 及 dependencies 的程式碼層面審查。修正均有 regression tests;這是安全審查,不是認證,亦不能取代獨立 penetration test。

剩餘信任邊界:代理的插件頁面及已核准的 plugin JavaScript 會在 CMS origin 執行。只安裝已審核插件,並只批出最低所需的 assets 及 delegated scopes。

2026‑07‑16

7 個 commits · 語言後台、credit 可見性及耐久表單保護

新增可在執行時管理語言及翻譯的後台介面,讓所有 admin 更易檢視 plugin 價格和 limits,並加強 Worker 的請求一致性及重複提交防護。

2026‑07‑16

3 個 commits · 批量發佈、防重複提交與 dashboard 導覽

為 Plugin API 加入受範圍限制的批量發佈操作,保護 admin POST form 免受意外重播, 並讓已設定的 CMS 品牌可直接連回 admin dashboard。

2026‑07‑14

13 個 commits · Plugin API 擴展、統一類型後台、匯入/匯出插件、媒體與 credits

令大型 Plugin API lookup 可安全避開 D1 bind limit,統一 page/block type administration 與 plugin page creation, 並把 CSV tools 移至專用 import-export plugin;同時加入受權限控制的 media content list、穩定 Pages navigation,及擴充 plugin capabilities 與 credits。

2026‑07‑13

3 commits · Plugin API 批量寫入、operational limits 及 publish projections

擴充 plugin operations,支援 transactional bulk page updates 及 per-second limits;同時加入由 owner 定義的 publish-time lect projections,令 live content 可在發佈到所有 targets 前一致地精簡。

2026‑07‑12

5 commits · auto-republish、shared field assets 及 restore cleanup

加入 plugin-declared auto-republish behavior,令已 live 的 plugin page types 可在儲存後自動重新發布; 同時把 inline field behavior 移到 shared assets,令 admin page fields 在 client-side re-renders 及 plugin-view sanitization 後更穩定,並簡化 legacy trash restore handling。

2026‑07‑11

1 commit · tenant-aware plugin auth headers

加強 secret-authenticated plugin requests:把標準化 tenant identifier 帶到 admin proxying、 edit views、hooks、publish targets 及 background jobs。

2026‑07‑10

2 commits · plugin navigation labels 及 API errors

打磨 plugin-facing 細節:single-item navigation entries 會使用 plugin labels, 而 Plugin API 在禁止使用的 page type 場景會回傳更清晰的錯誤。

2026‑07‑08

3 commits · hook batching、field projection 及 pointer indexes

透過 batched plugin hooks、可選的 page field projection,以及 indexed pointer filter queries, 改善 Plugin API 的效能及 response shaping。

2026‑07‑07

13 commits · bulk operations、validation、RSVP ingest 及 Plugin API 命名

把 advanced search 擴展成較安全的 bulk operations 介面,加入 async admin jobs、batching、 lifecycle logging 及 queue configuration。同日亦加入 page create validation、RSVP submission ingestion、 Plugin API 命名整理、mobile dropdown 修正,以及 default-timezone version timestamps。

2026‑07‑06

9 commits · plugin search、scopes、credits 及 action UI

擴展 plugin-facing admin 能力:加入 advanced page search、wildcard page-type scopes、 custom update actions、user credit visibility、分頁 credit history,以及更清晰的 plugin action menu。

2026‑07‑05

4 commits · 插件 quota、credit billing 及品牌

為插件加入第一層 credit 及 quota control:可配置的 quota limits、credit billing、較安全的原子 credit updates, 以及登入頁的品牌 app icon。

2026‑07‑04

2 commits · admin home、purge controls 及已批准資產

加強後台操作控制:admin home 現可配置,破壞性 purge paths 加入更明確 gating, 而已批准的 plugin assets 亦可在 plugin-rendered edit views 中使用。

2026‑07‑03

15 commits · plugin create views、taxonomies、settings 及 page history

Plugin-owned admin surfaces 大幅推進:create 及 read-only page views 落地, plugin taxonomies 成為後台一等功能,tags 轉向 weighted taxonomy slugs, system branding/sidebar settings 加入,page version maintenance 亦更安全。

2026‑07‑02

7 commits · 插件資產、cache-busting 及 mobile admin

收緊 plugin-admin 存取權,擴展已批准資產 pipeline,為 admin 及 plugin assets 加入 revision-aware cache busting,並改善 mobile admin header。

2026‑07‑01

5 commits · live pages 及多語搜尋

改善 live content 的編輯 dashboard:live-only pages 可拉回 draft,列表直接查詢 live pages,搜尋亦理解中文異體字。

2026‑06‑30

6 commits · 插件 jobs、欄位及 trash restore

完善插件驅動的後台 workflow:queueable jobs、更完整的 form-field rendering、修正 pagefield snippet resolution,並為 trash 加入 filtered bulk restore。

2026‑06‑29

16 commits · 表格工具、私隱及批量操作

後台大幅打磨的一天:collection-aware bulk actions、page duplication、table filtering、privacy masking、color labels,以及補回 CMS shell 所需的 utility classes。

2026‑06‑28

9 commits · Profile、users 及 OAuth

加入 admin profile 介面,並完善 account-linking controls、Microsoft OAuth、user deletion safeguards 及 identity-provider visibility。

2026‑06‑27

7 commits · OAuth、actions 及插件加固

集中擴展 authentication 及加固 plugin-admin,包括 multi-provider identity linking、統一 icon actions、清理 plugin HTML,以及 iframe isolation 實驗。

2026‑06‑26

16 commits · client rendering、permissions 及 responsive admin

把核心 views 轉向 client rendering,外置 SVG sprite,加強 plugin permissions,並改善 cache behavior、mobile navigation、table layout 及 page-store utilities。

2026‑06‑25

16 commits · 批量操作、trash 及 UI

後台效率大幅提升:加入 page weight 及刪除的批量操作,重整 trash 系統並加入分頁及細緻 purge 選項,同時為 admin UI 加入完整 light theme。

16fc14f

批量 page weight 更新

加入 POST /admin/pages/batch-weight,以 DB batch commits 套用批量 weight updates。包含嚴格 input validation 及優化 prepared statements,減少 round-trips。

69927c5

拖放 row reordering

加入 client-side logic,讓任何帶 data-reorder 的 table 支援拖放排序,並自動以 fetch 把新排序送回 backend。

09ec980

強化 trash 管理

Trash view 現在支援按 type 篩選、item counts 及細緻 purge options(例如只 purge 過去一小時 trashed 的 items)。

f1c154c

頁面批量 soft-delete

加入 DELETE /pages/batch,以單一 D1 transaction 把多個 draft pages 移到 trash,大幅降低 bulk cleanup 的 API overhead。

ca5b6c8

Admin light theme

以 CSS custom properties 加入完整 light theme stylesheet,作為預設 dark mode 以外的高對比、傳統 Tailwind 風格選項。

44b43cc

批量頁面建立

以 bulk D1 inserts 及單批 unique slug allocation 優化頁面建立,並為穩定性限制每次 request 最多 100 items。

其他 2026‑06‑25 commits

  • 915f714加入 batch page-weight endpoint 及 tests。
  • 991d77c更新 admin.css
  • 57ae3f3為 trash 加入 pagination 及 empty-all action。
  • 1a17419更新 cms-api.ts
  • 623a270更新 cms-api.ts
  • 6b740d8保留 plugin redirects 並清理 empty pointers。
  • 589aefd加入 blockNamesFor 及 boolean field snippet。
  • 13a08fe更新 routes.test.ts
  • d34d691顯示 plugin block types 及 settings nav。
  • a6dcd7f在 editor previews 顯示 Lect JSON diff。

2026‑06‑24

7 commits · 插件編輯及 APIs

較早期改動:native-editor escape hatch、插件 opt-in same-origin framing、更完整 pages API,以及 plugin edit-view support。

2026‑06‑23

16 commits · plugins、schemas 及 trash history

Plugin system 變成可管理的平台:加入 DB-backed registration、per-plugin secrets、 plugin-contributed page types、navigation、read APIs、write-back support,以及更完整的 timezone/schema 基礎。

2026‑06‑22

14 commits · permissions、layout helpers 及 editor scope

加入 roles/users admin,讓 admin UI 具備 permission awareness,減少 route rendering boilerplate, 並打磨 editor language scope、taxonomy fallback 及 structured editor controls。

2026‑06‑21

5 commits · database-defined content model

更多 content configuration 移入資料庫:page types、block types、taxonomies rename、 unique draft slugs、cache fixes,以及重新產生 admin utility styles。

2026‑06‑20

2 commits · publish adapter merge

將 publish-adapter branch 合入主線,並加入 example plugin publish targets 及 tests。

2026‑06‑12

2 commits · pluggable publish targets

加入 publish-target architecture,包含 D1、R2 及 plugin fan-out paths。

2026‑06‑11

2 commits · editor metadata 及 presence cleanup

改善 editor metadata 顯示、安全解析 lect,並簡化 presence storage behavior。

2026‑06‑10

11 commits · security hardening

以安全加固為主:更嚴格 CSP/JWT claims、fail-closed CSRF、hardened cookies、 upload protections、rate limiting、registration controls、audit logging 及 plugin proxy safeguards。

2026‑06‑09

9 commits · CRDT collaboration、presence 及 plugins

建立 collaborative editing 基礎:PageSync、CRDT operations、WebSocket attachment、 presence tracking、multi-user tests、plugin integration 及 modular admin routes。

2026‑06‑08

1 commit · published DB isolation

將 published content 拆到獨立 D1 database,讓 public readers 與 draft/admin data 隔離。

2026‑06‑07

6 commits · CSV import/export 及 dashboard scale

擴展 content operations:localized CSV import/export、draft exports、lect-derived fields、 dashboard pagination、import shortcuts 及 batched lookups。

2026‑06‑06

6 commits · CSV workflows 及 editor references

加入 CSV import modes、preview/confirmation flow、import/export foundations、parent-page APIs、 dynamic editor comboboxes 及 advanced-search blueprint options。

2026‑06‑05

5 commits · advanced search

建立 advanced-search 介面:multi-type criteria、locked page-type routes、dashboard search, 以及 admin searches 的 redirect behavior。

2026‑06‑04

11 commits · media、structured editor 及 initial schema

加入 private R2 media uploads、Cloudflare image previews、error response cleanup、 draft metadata、initial schema consolidation、item weights 及 structured-editor improvements。

2026‑06‑03

23 commits · admin views、lect migration 及 mobile UI

大型 admin build-out:responsive templates、Liquid/JSON view experiments、editor/tag parity、 lect migration、version-table unification、CSP/referer fixes 及 package updates。

2026‑06‑02

4 commits · database bindings 及 roles

Consolidate content database bindings,支援 comma-separated roles,並擴展 origin checks。

2026‑06‑01

1 commit · OAuth and headers

加入 multi-provider OAuth support 及 security headers。

2026‑05‑30

9 commits · auth、trash 及 dependencies

建立早期 auth/data split:AUTH_DB、trash workflow、Eventuai OAuth integration、 dependency upgrades、config updates,以及 repository root commit。

2026‑05‑29

2 commits · first CMS plan and Worker implementation

以 initial implementation plan 及第一個 Cloudflare Worker CMS scaffold 開始: OAuth 2.1、dual JWTs,以及 live/draft database workflow。

由 0xCMS Worker commit log 產生 · 最後更新 2026‑07‑14