release: bump version to 0.80.1
ci / backend (push) Canceled after 0s
ci / frontend (push) Canceled after 0s
ci / delivery (push) Canceled after 0s

This commit is contained in:
linkong committed 2026-11-26 19:41:17 +08:00
1 parent 41059ca42a
commit 4b2004b7d8
29 files changed
+1843 -220

No files matched your search

+12
View File
@@ -8,6 +8,18 @@ This project follows the repository versioning rule:
- `improvement` -> `+0.0.1`(bugfix + 小功能混合)
- `bugfix` -> `+0.0.1`
## [0.80.1] — 2026-11-26
Released: 2026-11-26
### Highlights
- Admin supports enabling or disabling schedules for selected data sources. Changing a schedule leaves manual collection as a separate action.
- The data source list remembers filters and updates rows and counts in place. At narrow desktop widths, opening a detail panel switches views to preserve space for the table.
- Earth information, compute and regional news cards use overlay scrollbars. The AI workbench preserves the conversation scroll position while rendering updates and retries a failed turn in place.
---
## [0.80.0] — 2026-11-26
Released: 2026-11-26
+6
View File
@@ -464,6 +464,12 @@ POST /api/v1/datasources/trigger-batch
The request body may pass `source_ids` for selected rows. Without `source_ids`, the backend filters by `product`, `module`, `is_active`, `run_status`, `collected`, `credential_status`, and `q`. The endpoint skips disabled sources, sources already running without `force`, and sources still inside their frequency window, then returns `triggered`, `skipped`, and `failed` groups.
### Scheduling switch
`POST /api/v1/datasources/{id}/enable` and `/disable` change only whether the scheduler runs a source; they never start a collection. `POST /api/v1/datasources/batch-status` takes `{source_ids, is_active}` and returns `updated` rows, `unchanged` and `not_found` IDs, `sync_failed` scheduler IDs, and global `counts`. All three require admin or super_admin. Only rows whose state actually changes are committed and resynchronized with the scheduler; running tasks continue after a disable. The list endpoint also returns `counts: {all, active, inactive}`, unaffected by filters.
Admin applies these responses to the affected rows without reloading the list. Rows that stop matching the current filter stay dimmed until the next reload. Collection Management uses the same switch in the scheduling panel heading, while draft saves only change frequency, priority, and storage policy.
**Core file**: `backend/app/api/v1/datasources.py`
## Compute source contracts and topic APIs
+6
View File
@@ -494,6 +494,12 @@ POST /api/v1/datasources/trigger-batch
请求体可以传 `source_ids` 精确触发选中项;如果不传 `source_ids`,后端按 `product`、`module`、`is_active`、`run_status`、`collected`、`credential_status` 和 `q` 过滤后触发。接口会跳过禁用源、正在运行且未 `force` 的源,以及未到频率窗口的源,并返回 `triggered`、`skipped`、`failed` 三组结果。
### 调度开关
`POST /api/v1/datasources/{id}/enable` 与 `/disable` 只改变数据源是否参与定时调度,不会立即发起采集。`POST /api/v1/datasources/batch-status` 接收 `{source_ids, is_active}`,返回 `updated`(最新行数据)、`unchanged`、`not_found`、`sync_failed`(调度同步失败的 ID)以及全局 `counts`。三个接口都需要 admin 或 super_admin。只有状态确实变化的数据源会提交并重新同步调度器;停用不会中断运行中的任务。列表接口同时返回不受筛选影响的 `counts: {all, active, inactive}`。
控制台用这些响应原地更新受影响的行,不重新加载列表;不再符合当前筛选的行变暗保留,下次刷新时移出。采集管理的“采集调度”在面板标题处使用同一开关,草稿保存只修改频率、优先级和存储策略。
**核心文件**: `backend/app/api/v1/datasources.py`
## 算力来源合同与专题接口
+2 -1
View File
@@ -16,12 +16,13 @@
## Current Version
- `main` 当前主线历史推导到:`0.16.5`
- `dev` 当前开发分支历史推导到:`0.80.0`
- `dev` 当前开发分支历史推导到:`0.80.1`
## Timeline
| Version | Type | Branch | Commit | Summary |
| --- | --- | --- | --- | --- |
| `0.80.1` | improvement | `dev` | `v0.80.1` | 数据源支持批量启停调度、保留筛选和就地更新,优化 Earth 卡片与 AI 对话滚动 |
| `0.80.0` | feature | `dev` | `v0.80.0` | Earth AI 工作台支持流式多轮对话和本地会话,新增单摄手势控制与公共模型目录批量刷新 |
| `0.79.2` | improvement | `dev` | `v0.79.2` | 卫星目录支持紧凑传输、本地缓存和后台校验,改进桌面客户端启动时的窗口尺寸恢复 |
| `0.79.1` | improvement | `dev` | `v0.79.1` | Windows 根据显存与帧率自动切换显卡,保留 45 秒切换冷却与窗口状态,统一 IMI 英文名称 |