Skip to content

Commit a6d8aa0

Browse files
committed
Merge branch 'develop' for WePush Next 1.0.0
2 parents 6d6dee4 + ba298a5 commit a6d8aa0

76 files changed

Lines changed: 984 additions & 199 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/next-ci.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
distribution: temurin
3030
java-version: '21'
3131
cache: maven
32+
- name: Verify beta compatibility baselines
33+
run: next/scripts/verify-compatibility.sh
3234
- name: Verify Next reactor
3335
working-directory: next
3436
run: >-
@@ -238,7 +240,9 @@ jobs:
238240
grep -Eq '^wepush-next-[^/]+/web/index.html$' <<< "$tar_listing"
239241
grep -Eq '^wepush-next-[^/]+/docs/user-guide.md$' <<< "$tar_listing"
240242
grep -Eq '^wepush-next-[^/]+/LICENSE.txt$' <<< "$tar_listing"
241-
grep -Eq '^wepush-next-[^/]+/PREVIEW-NOTICE.md$' <<< "$tar_listing"
243+
grep -Eq '^wepush-next-[^/]+/UNSIGNED-NOTICE.md$' <<< "$tar_listing"
244+
grep -Eq '^wepush-next-[^/]+/docs/compatibility-policy.md$' <<< "$tar_listing"
245+
grep -Eq '^wepush-next-[^/]+/docs/upgrade-guide.md$' <<< "$tar_listing"
242246
grep -Eq '^wepush-next-[^/]+/SECURITY.md$' <<< "$tar_listing"
243247
grep -Eq '^wepush-next-[^/]+/api/openapi.yaml$' <<< "$tar_listing"
244248
grep -Eq '^wepush-next-[^/]+/sdk/sdk-java-[^/]+\.jar$' <<< "$tar_listing"

‎.github/workflows/next-release.yml‎

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: WePush Next Public Preview Release
1+
name: WePush Next Release
22

33
on:
44
push:
@@ -95,7 +95,9 @@ jobs:
9595
set -euo pipefail
9696
sha256sum --check *.sha256
9797
tar_listing=$(tar -tzf "wepush-next-${{ steps.metadata.outputs.version }}.tar.gz")
98-
grep -Eq '^wepush-next-[^/]+/PREVIEW-NOTICE.md$' <<< "$tar_listing"
98+
grep -Eq '^wepush-next-[^/]+/UNSIGNED-NOTICE.md$' <<< "$tar_listing"
99+
grep -Eq '^wepush-next-[^/]+/docs/compatibility-policy.md$' <<< "$tar_listing"
100+
grep -Eq '^wepush-next-[^/]+/docs/upgrade-guide.md$' <<< "$tar_listing"
99101
grep -Eq '^wepush-next-[^/]+/docs/user-guide.md$' <<< "$tar_listing"
100102
grep -Eq '^wepush-next-[^/]+/sdk/embedded-java-[^/]+\.jar$' <<< "$tar_listing"
101103
grep -Eq '^wepush-next-[^/]+/sdk/provider-standard-[^/]+\.jar$' <<< "$tar_listing"
@@ -134,7 +136,7 @@ jobs:
134136
cp next/sdk/embedded-java/pom.xml "$sdk_name/embedded-java-$VERSION.pom"
135137
cp next/sdk/embedded-java/target/embedded-java-$VERSION.jar "$sdk_name/"
136138
cp next/service/service-api/src/main/resources/openapi/openapi.yaml "$sdk_name/"
137-
cp LICENSE.txt next/PREVIEW-NOTICE.md next/SECURITY.md next/THIRD-PARTY-NOTICES.md "$sdk_name/"
139+
cp LICENSE.txt next/UNSIGNED-NOTICE.md next/SECURITY.md next/THIRD-PARTY-NOTICES.md "$sdk_name/"
138140
zip -qr "release-assets/$sdk_name.zip" "$sdk_name"
139141
- name: Generate CycloneDX SBOM
140142
uses: anchore/sbom-action@e22c389904149dbc22b58101806040fa8d37a610
@@ -201,7 +203,7 @@ jobs:
201203
name="wepush-next-desktop-$VERSION-linux-$ARCH"
202204
mkdir -p "release-assets" "$name"
203205
cp -a next/ui/apps/desktop/release/linux-unpacked "$name/WePush Next"
204-
cp LICENSE.txt next/PREVIEW-NOTICE.md next/SECURITY.md next/THIRD-PARTY-NOTICES.md "$name/"
206+
cp LICENSE.txt next/UNSIGNED-NOTICE.md next/SECURITY.md next/THIRD-PARTY-NOTICES.md "$name/"
205207
tar -czf "release-assets/$name.tar.gz" "$name"
206208
- name: Verify macOS package and stage archive
207209
if: runner.os == 'macOS'
@@ -220,7 +222,7 @@ jobs:
220222
name="wepush-next-desktop-$VERSION-macos-$ARCH"
221223
mkdir -p "release-assets" "$name"
222224
cp -R 'next/ui/apps/desktop/release/WePush Next.app' "$name/"
223-
cp LICENSE.txt next/PREVIEW-NOTICE.md next/SECURITY.md next/THIRD-PARTY-NOTICES.md "$name/"
225+
cp LICENSE.txt next/UNSIGNED-NOTICE.md next/SECURITY.md next/THIRD-PARTY-NOTICES.md "$name/"
224226
ditto -c -k --sequesterRsrc --keepParent "$name" "release-assets/$name.zip"
225227
- name: Verify Windows package and stage archive
226228
if: runner.os == 'Windows'
@@ -242,7 +244,7 @@ jobs:
242244
$name = "wepush-next-desktop-$env:VERSION-windows-$env:ARCH"
243245
New-Item -ItemType Directory -Force -Path release-assets, $name | Out-Null
244246
Copy-Item next/ui/apps/desktop/release/win-unpacked "$name/WePush Next" -Recurse
245-
Copy-Item LICENSE.txt,next/PREVIEW-NOTICE.md,next/SECURITY.md,next/THIRD-PARTY-NOTICES.md $name
247+
Copy-Item LICENSE.txt,next/UNSIGNED-NOTICE.md,next/SECURITY.md,next/THIRD-PARTY-NOTICES.md $name
246248
Compress-Archive -Path $name -DestinationPath "release-assets/$name.zip"
247249
- uses: actions/upload-artifact@v4
248250
with:
@@ -318,7 +320,7 @@ jobs:
318320
retention-days: 30
319321

320322
publish:
321-
name: Publish GitHub Pre-release
323+
name: Publish GitHub Release
322324
needs: [distribution, desktop, runtime]
323325
runs-on: ubuntu-latest
324326
permissions:
@@ -338,7 +340,7 @@ jobs:
338340
find . -maxdepth 1 -type f ! -name SHA256SUMS -print0 |
339341
sort -z | xargs -0 sha256sum | sed 's# \./# #' > SHA256SUMS
340342
sha256sum --check SHA256SUMS
341-
- name: Publish unsigned public preview
343+
- name: Publish unsigned release
342344
env:
343345
GH_TOKEN: ${{ github.token }}
344346
shell: bash
@@ -347,10 +349,16 @@ jobs:
347349
version=${GITHUB_REF_NAME#next-v}
348350
notes="next/docs/releases/$version.md"
349351
test -s "$notes"
352+
title="WePush Next $version"
353+
release_flags=()
354+
if [[ "$version" == *-* ]]; then
355+
title="$title (Public Preview)"
356+
release_flags+=(--prerelease)
357+
fi
350358
gh release create "$GITHUB_REF_NAME" \
351359
--repo "$GITHUB_REPOSITORY" \
352360
--verify-tag \
353-
--prerelease \
354-
--title "WePush Next $version (Public Preview)" \
361+
"${release_flags[@]}" \
362+
--title "$title" \
355363
--notes-file "$notes" \
356364
release-assets/*

‎.github/workflows/next-soak.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
database: [sqlite, postgres]
23+
database: [sqlite, postgresql]
2424
java: ['21', '25']
2525
services:
2626
postgres:

‎next/CHANGELOG.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@
44

55
## Unreleased
66

7+
## 1.0.0 — 2026-08-29
8+
9+
### Added
10+
11+
- 发布 1.x REST/SSE、Java SDK、Provider SPI、配置、数据库迁移和 Agent 协议兼容策略。
12+
- 新增 V13(`0.1.0-beta.1`)到 V14 的 SQLite/PostgreSQL 无损迁移门禁,以及 Beta 成功升级和最低回滚版本记录。
13+
- 新增 100,000 Recipient 流式执行、三平台默认卸载/显式 Purge 和稳定版发行门禁。
14+
15+
### Changed
16+
17+
- GitHub Tag 流水线对无后缀版本发布正式 Release,不再标记为 prerelease。
18+
- macOS Upgrade 同时接受 Release 使用的 `.zip` 和已有 `.tar.gz` 归档。
19+
- 将 macOS/Windows 不使用商业代码签名确认为长期发行边界,使用 GitHub Release、统一 SHA-256 和 SBOM 验证来源与完整性;Provider 插件仍强制 Ed25519 签名。
20+
21+
### Fixed
22+
23+
- Agent Event/Completion Outbox 在磁盘写入失败时不再提前提交内存变更,避免事件序号跳跃或误删未确认 Completion。
24+
- Linux、macOS、Windows 卸载脚本遵循自定义安装/配置/数据目录;默认保留数据,只有显式 Purge 才删除。
25+
- Linux、macOS、Windows 连续备份使用唯一归档名,避免同一秒内自动升级和人工备份发生文件名碰撞。
26+
727
## 0.1.0-beta.1 — 2026-08-28
828

929
### Added

‎next/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WePush Next 是与 Classic 完全独立的新产品线。Classic 与 Next 可以
44

55
> 产品定位:WePush Next 是开源、可下载、可安装、由用户自行部署和运维的消息推送产品。项目不建设官方公共 SaaS、注册计费订阅、公共租户平台或云 KMS/Secret Manager 集成。正式范围和分版本计划见[《产品目标、边界与路线图》](docs/product-scope-and-roadmap.md)。
66
7-
> 当前版本:`0.1.0-beta.1` Public Preview。它不是稳定版,Desktop 与安装包未使用商业代码签名。下载、校验和已知边界见 [`PREVIEW-NOTICE.md`](PREVIEW-NOTICE.md) 与 [`docs/releases/0.1.0-beta.1.md`](docs/releases/0.1.0-beta.1.md)。
7+
> 当前版本:`1.0.0` Stable。Desktop 与安装包按项目约定不使用商业代码签名;下载后必须验证 `SHA256SUMS`。发行边界和升级承诺见 [`UNSIGNED-NOTICE.md`](UNSIGNED-NOTICE.md)、[《兼容性策略》](docs/compatibility-policy.md)、[《升级与回滚指南》](docs/upgrade-guide.md)与 [`docs/releases/1.0.0.md`](docs/releases/1.0.0.md)。
88
99
第一次下载和使用请从[《WePush Next 对外使用指南》](docs/user-guide.md)开始。渠道账号、模板、Recipient、SecretRef、限流和错误语义见[《内置 Provider 指南》](docs/provider-guide.md)。
1010

@@ -103,7 +103,7 @@ java -jar service/service-app/target/wepush-next-service.jar
103103

104104
Next 提供两种独立 SDK。Remote SDK 通过 HTTP 调用 Service,只依赖公开 `service-api`,不依赖 Core、Engine 或具体 Provider:
105105

106-
公开预览发行包在 `sdk/` 中附带可安装到本地 Maven Repository 的 POM/JAR,步骤见 [`sdk/README.md`](sdk/README.md)。
106+
稳定发行包在 `sdk/` 中附带可安装到本地 Maven Repository 的 POM/JAR,步骤见 [`sdk/README.md`](sdk/README.md)。
107107

108108
```java
109109
try (var client = WePushClient.builder()

‎next/SECURITY.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
| Version | Support status |
66
| --- | --- |
7-
| `0.1.0-beta.1` | 公开预览期,提供尽力而为的安全修复 |
7+
| `1.0.x` | 当前稳定线,接收安全修复 |
8+
| `0.1.0-beta.1` 及更早版本 | 不再支持,请升级到 `1.0.0` |
89
| Classic versions | 由 Classic 产品线的发布与维护策略决定 |
910

10-
公开预览版不是稳定生产版本。安全修复可能要求升级到新的预览版,并可能包含不兼容变化。
11+
`1.x` 安全修复遵守[兼容性策略](docs/compatibility-policy.md)。如修复无法在兼容边界内完成,维护者会记录风险、迁移和临时缓解措施。
1112

1213
## Reporting a vulnerability
1314

@@ -17,4 +18,4 @@
1718

1819
报告中请包含受影响版本、复现条件、影响范围、最小复现步骤或 PoC,以及可安全联系你的方式。请移除真实 Token、Secret、证书、用户数据和第三方凭据。
1920

20-
维护者会尽力确认报告、评估影响并协调披露时间;公开预览期不承诺固定 SLA。修复发布前,请给予维护者合理时间完成验证和用户通知。
21+
维护者会尽力确认报告、评估影响并协调披露时间;开源项目不承诺固定响应 SLA。修复发布前,请给予维护者合理时间完成验证和用户通知。

‎next/UNSIGNED-NOTICE.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# WePush Next 未签名发行说明
2+
3+
WePush Next `1.0.0` 是稳定的开源自部署版本,但 macOS Desktop/应用包未使用 Apple Developer ID 或 Notarization,Windows Desktop/可执行文件未使用 Authenticode。项目不购买或托管商业代码签名证书;未签名是明确的发行边界,不代表包可以跳过来源和完整性校验。
4+
5+
安装前必须:
6+
7+
1. 只从本项目 GitHub Releases 下载发行物。
8+
2. 使用同一 Release 中的 `SHA256SUMS` 校验完整性。
9+
3. 核对 Release 标签、版本号和所需平台/架构。
10+
4. 在生产升级前执行备份,并先在等价环境验证恢复。
11+
12+
操作系统可能显示“未知开发者”或类似警告。是否允许运行由部署者依据组织安全策略决定;项目不会要求关闭系统级安全机制,也不会提供绕过安全策略的自动脚本。
13+
14+
Provider 插件是另一条安全边界:正式模式仍强制校验 SHA-256 清单和 Ed25519 发布者签名。应用发行物不做商业代码签名,不会降低插件签名要求。
15+
16+
WePush 不提供官方公共 SaaS、在线控制面、注册计费订阅、云 KMS 或遥测服务。除用户显式配置的 Provider、远程 Agent、数据库和对象存储连接外,默认 Standalone 不依赖外部网络服务。

‎next/agent/agent-app/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.fangxuele.wepush.next</groupId>
88
<artifactId>wepush-next-parent</artifactId>
9-
<version>0.1.0-beta.1</version>
9+
<version>1.0.0</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212
<artifactId>agent-app</artifactId>

‎next/agent/agent-plugin-api/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.fangxuele.wepush.next</groupId>
88
<artifactId>wepush-next-parent</artifactId>
9-
<version>0.1.0-beta.1</version>
9+
<version>1.0.0</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212
<artifactId>agent-plugin-api</artifactId>

‎next/agent/agent-protocol/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.fangxuele.wepush.next</groupId>
88
<artifactId>wepush-next-parent</artifactId>
9-
<version>0.1.0-beta.1</version>
9+
<version>1.0.0</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212
<artifactId>agent-protocol</artifactId>

0 commit comments

Comments
 (0)