Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [1.3.3] - 2026-05-03

### Changed
- Bumped the package version from `1.3.2` to `1.3.3` for build-log stability cleanup.
- Cleared Astro's `.astro` content cache before each site build, matching the existing clean `dist/` build behavior.

### Fixed
- Removed stale-content-cache duplicate news id warnings from repeated local and configured builds.

## [1.3.2] - 2026-05-03

### Changed
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ venue: "Conference Name"
- `1.3.0`:CMS 文件管理后台,扩展到新闻、成员、论文、招生与现有项目文件
- `1.3.1`:CMS 线上启用跟进,补 Cloudflare Worker OAuth 代理部署包与生产环境变量验收说明
- `1.3.2`:CMS 稳定性补丁,补齐旧新闻 `slug`、清理后台测试残留,并收紧新闻 slug 校验
- `1.3.3`:构建日志清理,构建前清理 Astro 内容缓存,消除重复 news id warning

## License

Expand Down
1 change: 1 addition & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ venue: "Conference Name"
- `1.3.0`: CMS file management for news, members, papers, recruitment pages, and existing project files
- `1.3.1`: CMS live enablement follow-up with a Cloudflare Worker OAuth proxy package and production environment validation notes
- `1.3.2`: CMS stability patch that adds stable legacy news slugs, removes CMS test residue, and tightens news slug validation
- `1.3.3`: build-log cleanup that clears Astro content cache before builds to remove duplicate news id warnings

## License

Expand Down
8 changes: 7 additions & 1 deletion docs/roadmap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Roadmap

更新时间:2026-05-03(1.3.2 CMS stability hardening
更新时间:2026-05-03(1.3.3 build-log cleanup

## 1.0.1 基线修复

Expand Down Expand Up @@ -74,6 +74,12 @@
- 收紧新闻 `slug` 提示、校验和 smoke 检查,要求以小写字母开头,不包含日期前缀
- 文档补充 Save -> Ready -> Publish now 的后台发布流程说明

## 1.3.3 构建日志清理

已完成:
- 构建前同步清理 `dist/` 与 `.astro`,避免 stale content cache 造成重复 news id warning
- 保持 CMS 范围、公开路由和内容模型不变

## T-0015 真实上线闭环演练

已完成:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "double-duck-lab",
"type": "module",
"version": "1.3.2",
"version": "1.3.3",
"private": true,
"scripts": {
"dev": "astro dev",
Expand Down
2 changes: 2 additions & 0 deletions scripts/build-site.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import fs from 'node:fs';
import path from 'node:path';

const distDir = path.resolve('dist');
const astroCacheDir = path.resolve('.astro');
const astroEntry = path.resolve('node_modules/astro/astro.js');

fs.rmSync(distDir, { recursive: true, force: true });
fs.rmSync(astroCacheDir, { recursive: true, force: true });

if (process.env.ASTRO_TELEMETRY_DISABLED === undefined) {
process.env.ASTRO_TELEMETRY_DISABLED = '1';
Expand Down
Loading