v2.4.0
💥 BREAKING CHANGES
-
due to
41f3e45- enforce strict RESTful route conventions (commit by @saltbo):all listed API endpoints have changed paths or methods
-
due to
88e65b0- replace /dl/:token with /r/:token unified redirect (v2.4.0 T3) (PR #318 by @saltbo):replace /dl/:token with /r/:token unified redirect (v2.4.0 T3) (#318)
✨ New Features
2dca9d9- db: image hosting schema, apiKey plugin, migration 0011 (v2.4.0 T1) (PR #315 by @saltbo)88e65b0- ihost: replace /dl/:token with /r/:token unified redirect (v2.4.0 T3) (PR #318 by @saltbo)3e6d3ee- v2.4.0 T5 — /api/ihost/config + Cloudflare for SaaS integration (PR #316 by @saltbo)b8f45f9- ui: v2.4.0 T6 — Image Host sidebar entry + /image-host route + i18n (PR #319 by @saltbo)71fe485- ihost: add host-based custom-domain middleware + path URL resolver (v2.4.0 T4) (PR #320 by @saltbo)fcfb3ab- add Image Hosting settings page (T8) (PR #321 by @saltbo)cb893eb- tool integration config generators — PicGo / uPic / ShareX / Flameshot (v2.4.0 T9) (PR #322 by @saltbo)28c16eb- Images API /api/ihost/images — two-stage + stream-proxy upload + CRUD (PR #317 by @saltbo)0137f00- docker: add deploy variants and auto-generate auth secret (commit by @saltbo)9dbece4- v2.4.0 T7 — Image Host gallery page (PR #324 by @saltbo)964d7dd- ihost: remove Flameshot tool integration (commit by @saltbo)a61bb73- ihost: support JSON base64 upload for uPic compatibility (commit by @saltbo)
🐛 Bug Fixes
8e079ab- auth: create personal org during sign-up and set activeOrganizationId (commit by @saltbo)6e14fd6- multipart upload 500, presign 413, API key permissions, and org slug check (commit by @saltbo)9188953- test: add missing action field in CF objects PATCH test (commit by @saltbo)31fc067- ihost: add getPreviewFile to image host data source (commit by @saltbo)2c36c2c- ihost: filter draft images from listing and bypass referer check for same-origin (commit by @saltbo)6580eaa- ihost: include origin in copied image URLs (commit by @saltbo)a21f850- ihost: fix broken tool integration configs for PicGo, uPic, ShareX (commit by @saltbo)8edd9dd- ihost: redesign PicGo and uPic tool configs for GUI field entry (commit by @saltbo)34a2e83- ihost: handle uPic validate and infer MIME from file extension (commit by @saltbo)d4be0d0- ihost: allow empty referer, add JSON path field, set rate limits (commit by @saltbo)01b4a22- ihost: update CF test for JSON upload support (commit by @saltbo)c41dd20- ihost: move enable button from image-host page to settings (commit by @saltbo)2aa6ab4- ci: use --json flag for wrangler d1/secret list commands (commit by @saltbo)ed1bebe- ci: add build step before wrangler deploy (commit by @saltbo)93c5e77- ci: use --format json for wrangler secret list (commit by @saltbo)
♻️ Refactors
👷 Build System
3d8f51f- add fork-based deploy workflow for Cloudflare Workers (commit by @saltbo)cdc7a72- skip CI and release workflows on fork repositories (commit by @saltbo)e5555b2- simplify fork guards to root jobs only (commit by @saltbo)71bded2- deploy: auto-disable CI and Release workflows on fork (commit by @saltbo)
Docker
docker pull ghcr.io/saltbo/zpan:v2.4.0