From 3dee0437e670c3491c8c2c2248003817ea5cd5f0 Mon Sep 17 00:00:00 2001 From: O96u Date: Fri, 28 Aug 2026 14:25:40 +0800 Subject: [PATCH] =?UTF-8?q?release:=20v1.1.5=20=E2=80=94=20gallery=20previ?= =?UTF-8?q?ew=20reliability=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump version to 1.1.5. Retry gallery thumbnails after transient failures, verify storage before serving, and stop caching image 404/403 responses. --- CHANGELOG.md | 12 ++++++++++++ README.en.md | 5 +++-- README.md | 5 +++-- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 21 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9e6993..910ed61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ 本仓库自 **v1.0.0** 起作为正式版维护;此前历史提交已归档重置。 +## [1.1.5] - 2026-08-28 + +### 修复 + +- 修复 API 上传后图库预览偶发失败、需等待刷新才显示的问题 +- 图库卡片加载失败后自动重试,刷新列表时重置预览状态 + +### 改进 + +- 出图前校验存储文件实际存在,避免索引与磁盘短暂不一致 +- 图片 404/403 与域名隔离 404 禁止 CDN 缓存,降低反代误判影响 + ## [1.1.4] - 2026-08-28 ### 新增 diff --git a/README.en.md b/README.en.md index b2edb79..f11bede 100644 --- a/README.en.md +++ b/README.en.md @@ -32,7 +32,7 @@ | Branch | Notes | | ------ | ----- | -| [**main**](https://github.com/O96u/PicHost/tree/main) (default) | **v1.1.4** — local disk + multi-backend storage, bidirectional dual-domain isolation, [`/storage`](docs/README.md) UI, hybrid URLs | +| [**main**](https://github.com/O96u/PicHost/tree/main) (default) | **v1.1.5** — local disk + multi-backend storage, bidirectional dual-domain isolation, [`/storage`](docs/README.md) UI, hybrid URLs | | [**cloudflare**](https://github.com/O96u/PicHost/tree/cloudflare) | **Cloudflare R2–only line** — streamlined for deployments that use R2 exclusively | Use **main** for the full product and multiple cloud backends. @@ -228,7 +228,8 @@ npm test # Unit tests | Version | Plan | | ---------- | -------------------------------------------------------------- | -| **v1.1.4** | Flat vs date storage paths, basename public URLs, bidirectional domain isolation (current `main`) | +| **v1.1.5** | Gallery preview reliability: auto-retry, storage verify, no-cache errors (current `main`) | +| **v1.1.4** | Flat vs date storage paths, basename public URLs, bidirectional domain isolation | | **v1.1.3** | Dual-domain separation, optional `images/` URL prefix, update check | | **v1.1.2** | Activity logs, gallery storage filter, upload rate limits | | **v1.1.1** | Session check fixes, storage placeholder cleanup, Docker logging | diff --git a/README.md b/README.md index ae83e5e..1cb9452 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ | 分支 | 说明 | | ---- | ---- | -| [**main**](https://github.com/O96u/PicHost/tree/main)(默认) | **v1.1.4** 主线:本地磁盘 + 多对象存储、双域名双向隔离、[`/storage`](docs/README.md) 存储管理、混合直链 | +| [**main**](https://github.com/O96u/PicHost/tree/main)(默认) | **v1.1.5** 主线:本地磁盘 + 多对象存储、双域名双向隔离、[`/storage`](docs/README.md) 存储管理、混合直链 | | [**cloudflare**](https://github.com/O96u/PicHost/tree/cloudflare) | **Cloudflare R2 专用线**:面向「只用 R2」的部署,预设与配置更聚焦 R2 | 日常使用、需要管理多种存储后端,请直接用 **main**。 @@ -233,7 +233,8 @@ npm test # 单元测试 | 版本 | 说明 | | ---------- | ------------------------------------------------- | -| **v1.1.4** | 存储路径扁平/分组、basename 外链、双域名双向隔离(当前 main) | +| **v1.1.5** | 图库预览可靠性:自动重试、出图前校验、错误响应禁缓存(当前 main) | +| **v1.1.4** | 存储路径扁平/分组、basename 外链、双域名双向隔离 | | **v1.1.3** | 双域名分离、隐藏 `images/` 前缀、版本更新提示 | | **v1.1.2** | 操作日志、图库存储筛选、上传限流 | | **v1.1.1** | 会话校验与存储占位修复、Docker 日志增强 | diff --git a/package-lock.json b/package-lock.json index 84c1a79..6a951f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pichost", - "version": "1.1.4", + "version": "1.1.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pichost", - "version": "1.1.4", + "version": "1.1.5", "hasInstallScript": true, "license": "GPL-3.0-only", "dependencies": { diff --git a/package.json b/package.json index 79df63d..af20cc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pichost", - "version": "1.1.4", + "version": "1.1.5", "description": "Self-hosted image hosting for your NAS / home server — Nuxt admin UI, local disk or S3-compatible storage, server-side WebP compression, referer protection, Twikoo/EasyImage compatible.", "homepage": "https://github.com/O96u/PicHost#readme", "repository": {