ZeroOne 繁體中文技術部落格

Cloudflare Agents 要升級 AI SDK 7 嗎?先對齊 ai 與 @ai-sdk/react 版本
Cloudflare Agents SDK 已同時支援 AI SDK 6 與 7。本文整理 ai、@ai-sdk/react 的配對、套件升級指令與 Think、Code Mode 的回歸檢查,避免 peer dependency 與串流行為不一致。
1589 字
|
8 分鐘
Cover Image of the Post
Coolify 4.2 升級要改什麼?先處理 Member 唯讀與 API GET→POST
Coolify 4.2 讓 team Member 角色改成唯讀,狀態變更 API 也要求 POST。本文整理升級前的腳本盤點、GET 轉 POST、token 權限與安全回歸,避免部署自動化在升級後失效。
1784 字
|
9 分鐘
Cover Image of the Post
CSS transition-behavior 怎麼用?用 allow-discrete 做 display 的進出場轉場
CSS transition-behavior 的 allow-discrete 可以讓 display、content-visibility 等離散屬性參與轉場。本文用 Popover 與一般卡片示範進出場、@starting-style、瀏覽器退路與可及性檢查,避免元素直接消失。
1487 字
|
7 分鐘
Cover Image of the Post
Astro 7 升級前要檢查什麼?從 Astro 5/6 到 Vite 8 的建置清單
Astro 7 把 Vite 8、Rust compiler、新 Markdown pipeline 與 src/fetch.ts 帶進升級路徑。本文整理 Astro 5/6 專案的版本順序、設定檔盤點、Markdown 外掛、建置與網址回歸檢查。
1719 字
|
9 分鐘
Cover Image of the Post
Cloudflare 1.1.1.1 DoH JSON 變了怎麼辦?先避免硬編碼 data 格式
Cloudflare 1.1.1.1 的 DoH JSON API 正在調整 additional record 的 data 格式,可能同時收到新舊回應。本文用 curl、record type 與 wireformat 分流,整理解析與遷移方式,適合處理 CAA、SVCB、HTTPS 與 DNSSEC。
1294 字
|
6 分鐘
Cover Image of the Post
CSS interpolate-size 怎麼用?讓 height: auto 動畫保留 fallback
CSS interpolate-size: allow-keywords 可讓元素在固定尺寸與 auto、max-content 等 intrinsic size 之間過渡。本文用可展開面板說明 fallback、calc-size()、overflow、可存取性與瀏覽器支援邊界。
1421 字
|
7 分鐘
Cover Image of the Post
Docker Compose Watch 怎麼用?用 sync、rebuild 分開本機開發流程
Docker Compose Watch 會根據檔案變更同步、重啟或重建服務。本文用 develop.watch 拆分原始碼、設定檔與依賴檔,並說明 Docker Compose 版本、權限、ignore 與 node_modules 的排錯重點。
1361 字
|
7 分鐘
Cover Image of the Post
Dependabot 分支名稱怎麼改?用 pull-request-branch-name 對齊 CI
Dependabot 現在能在 dependabot.yml 自訂 pull request 分支的前綴、分隔符號、大小寫與長度。本文整理基本設定、template、截斷雜湊與 CI 分支規則的驗證方式。
1350 字
|
7 分鐘
Cover Image of the Post