diff --git a/CHANGELOG.md b/CHANGELOG.md index 73218dc..d9e6993 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ 本仓库自 **v1.0.0** 起作为正式版维护;此前历史提交已归档重置。 +## [1.1.4] - 2026-08-28 + +### 新增 + +- 上传目录可按年/月分组或扁平保存(`storage_use_date_path` / `STORAGE_USE_DATE_PATH`),设置页可切换 +- 双域名分离下网站域禁止直链出图,仅图片域可访问图片路径 + +### 改进 + +- 隐藏 `images/` 前缀时外链改为仅文件名(如 `xxx.webp`);图片域仍兼容旧版 `/2026/08/xxx.webp` 短链 +- 设置页重构:功能开关、域名配置、存储路径分组展示 +- 本地磁盘索引扫描支持扁平路径;文件夹列表 `images` 置顶 + ## [1.1.3] - 2026-08-27 ### 新增 diff --git a/README.en.md b/README.en.md index cfad7bd..b2edb79 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.3** — local disk + multi-backend storage, dual-domain separation, [`/storage`](docs/README.md) UI, hybrid URLs | +| [**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 | | [**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.3** | Dual-domain separation, optional `images/` URL prefix, update check (current `main`) | +| **v1.1.4** | Flat vs date storage paths, basename public URLs, bidirectional domain isolation (current `main`) | +| **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 | | **v1.1.0** | Multi-backend object storage, hybrid URLs, storage UI | diff --git a/README.md b/README.md index 458017b..ae83e5e 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ | 分支 | 说明 | | ---- | ---- | -| [**main**](https://github.com/O96u/PicHost/tree/main)(默认) | **v1.1.3** 主线:本地磁盘 + 多对象存储、双域名分离、[`/storage`](docs/README.md) 存储管理、混合直链 | +| [**main**](https://github.com/O96u/PicHost/tree/main)(默认) | **v1.1.4** 主线:本地磁盘 + 多对象存储、双域名双向隔离、[`/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.3** | 双域名分离、隐藏 `images/` 前缀、版本更新提示(当前 main) | +| **v1.1.4** | 存储路径扁平/分组、basename 外链、双域名双向隔离(当前 main) | +| **v1.1.3** | 双域名分离、隐藏 `images/` 前缀、版本更新提示 | | **v1.1.2** | 操作日志、图库存储筛选、上传限流 | | **v1.1.1** | 会话校验与存储占位修复、Docker 日志增强 | | **v1.1.0** | S3 / R2 多后端对象存储、混合直链、存储管理页 | diff --git a/package-lock.json b/package-lock.json index 8074c75..84c1a79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pichost", - "version": "1.1.3", + "version": "1.1.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pichost", - "version": "1.1.3", + "version": "1.1.4", "hasInstallScript": true, "license": "GPL-3.0-only", "dependencies": { diff --git a/package.json b/package.json index 00f6040..79df63d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pichost", - "version": "1.1.3", + "version": "1.1.4", "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": {