Skip to content

Commit f78c536

Browse files
committed
Register MatrixStorage for shared updater and bump 1.0.2
1 parent c765eb7 commit f78c536

6 files changed

Lines changed: 44 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ All notable changes to MatrixStorage will be documented in this file.
44

55
The format is based on Keep a Changelog, and this project follows Semantic Versioning for release tags.
66

7+
## [1.0.2] - 2026-04-05
8+
9+
### Added
10+
11+
- Added MatrixStorage registration into the shared MatrixLib GitHub Releases updater.
12+
13+
### Changed
14+
15+
- Updated MatrixStorage to depend on `MatrixLib 1.4.0`.
16+
- Documented MatrixLib-managed approval-based auto update flow.
17+
18+
### Validated
19+
20+
- Verified `bash ./gradlew build`.
21+
722
## [1.0.1] - 2026-04-05
823

924
### Added

README.md

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

55
| 文档 | Release Notes | Releases | 依赖 |
66
| --- | --- | --- | --- |
7-
| [Docs](https://54895y.github.io/docs/matrixstorage) | [1.0.1](https://54895y.github.io/docs/matrixstorage/release-notes-1-0-1) | [GitHub Releases](https://github.com/54895y/MatrixStorage/releases) | [MatrixLib 1.3.0](https://github.com/54895y/MatrixLib) |
7+
| [Docs](https://54895y.github.io/docs/matrixstorage) | [1.0.2](https://54895y.github.io/docs/matrixstorage/release-notes-1-0-2) | [GitHub Releases](https://github.com/54895y/MatrixStorage/releases) | [MatrixLib 1.4.0](https://github.com/54895y/MatrixLib) |
88

99
## 当前发布
1010

11-
- 当前版本:`1.0.1`
12-
- 必需前置:`MatrixLib 1.3.0`
11+
- 当前版本:`1.0.2`
12+
- 必需前置:`MatrixLib 1.4.0`
1313
- 后端支持:`sqlite / mysql / redis / yaml`
1414
- 可选集成:`MatrixShop / Vault / CraftEngine / ItemsAdder / Nexo`
1515

@@ -46,9 +46,17 @@
4646
| `placement_mode_distribution` | 统计 terminal / location 模式分布 |
4747
| `pending_delivery_target` | 统计待收区 / 邮箱投递分布 |
4848

49+
## 自动更新
50+
51+
MatrixStorage 当前接入 `MatrixLib` 的共享更新器。
52+
53+
- 检查:`/matrixlib update check MatrixStorage`
54+
- 审批下载:`/matrixlib update approve MatrixStorage`
55+
- 更新包下载到 `plugins/update/`
56+
4957
## 文档入口
5058

5159
- [概览](https://54895y.github.io/docs/matrixstorage)
52-
- [1.0.1 发布说明](https://54895y.github.io/docs/matrixstorage/release-notes-1-0-1)
60+
- [1.0.2 发布说明](https://54895y.github.io/docs/matrixstorage/release-notes-1-0-2)
5361
- [bStats 与遥测](https://54895y.github.io/docs/matrixstorage/bstats-and-telemetry)
5462
- [Matrix 插件总文档入口](https://54895y.github.io/docs/plugins)

RELEASE_POST_BBCODE.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[center][size=6][b]MatrixStorage[/b][/size][/center]
22
[center][size=4]Matrix 系列统一仓储插件 / 储存库插件[/size][/center]
3-
[center][size=3]当前发布版本:1.0.1[/size][/center]
3+
[center][size=3]当前发布版本:1.0.2[/size][/center]
44

55
[hr]
66

@@ -61,9 +61,10 @@ MatrixStorage 是 Matrix 系列的统一仓储插件,围绕玩家邮箱、个
6161
当前代码基线重点如下:
6262

6363
[list]
64-
[*]当前发布版本已升级到 1.0.1
64+
[*]当前发布版本已升级到 1.0.2
6565
[*]共享货币定义已统一来自 MatrixLib
6666
[*]新增通过 MatrixLib 共享 API 注册的 bStats 遥测
67+
[*]新增通过 MatrixLib 共享更新器参与 GitHub Releases 更新检查与审批下载
6768
[*]MatrixLib / MatrixShop / MatrixStorage 三端会同步 Economy/currency.yml
6869
[*]仓库与邮箱支持多条件、多价格、多货币解锁格子
6970
[*]玩家总览页可直接执行容量扩容

RELEASE_POST_MINEBBS_BBCODE.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[center][size=7][b]MatrixStorage[/b][/size][/center]
22
[center][size=4][color=#3D8BFF]Matrix 系列统一仓储插件 / 储存库插件[/color][/size][/center]
33
[center][color=#999999]邮箱 / 仓库 / 待收区 / 实体仓库 / MatrixShop 外部投递[/color][/center]
4-
[center][color=#999999]当前发布版本:1.0.1[/color][/center]
4+
[center][color=#999999]当前发布版本:1.0.2[/color][/center]
55

66
[hr]
77

@@ -88,9 +88,10 @@ MatrixStorage 围绕玩家邮箱、个人仓库、待收区、位置型实体仓
8888
[b]当前代码基线重点:[/b]
8989

9090
[list]
91-
[*]当前发布版本已升级到 1.0.1
91+
[*]当前发布版本已升级到 1.0.2
9292
[*]共享货币定义已统一来自 MatrixLib
9393
[*]新增通过 MatrixLib 共享 API 注册的 bStats 遥测
94+
[*]新增通过 MatrixLib 共享更新器参与 GitHub Releases 更新检查与审批下载
9495
[*]MatrixLib / MatrixShop / MatrixStorage 三端会同步 Economy/currency.yml
9596
[*]仓库与邮箱支持多条件、多价格、多货币解锁格子
9697
[*]玩家总览页可直接执行容量扩容

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
group=com.y54895.matrixstorage
2-
version=1.0.1
3-
matrixlibApiVersion=1.3.0
2+
version=1.0.2
3+
matrixlibApiVersion=1.4.0
44
kotlin.incremental=true
55
kotlin.incremental.java=true
66
kotlin.caching.enabled=true

src/main/kotlin/com/y54895/matrixstorage/MatrixStorage.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package com.y54895.matrixstorage
22

33
import com.y54895.matrixlib.api.console.MatrixConsoleFact
44
import com.y54895.matrixlib.api.console.MatrixConsoleVisuals
5+
import com.y54895.matrixlib.api.update.MatrixPluginUpdates
56
import com.y54895.matrixstorage.bridge.MatrixShopBridge
67
import com.y54895.matrixstorage.command.MatrixStorageCommands
78
import com.y54895.matrixstorage.integration.ExternalPlacementSupport
@@ -42,6 +43,14 @@ object MatrixStorage : Plugin() {
4243
WarehouseService.reload()
4344
ExternalPlacementSupport.reload()
4445
MatrixShopBridge.reload()
46+
MatrixPluginUpdates.register(
47+
plugin = MatrixStoragePlatform.plugin(),
48+
displayName = "MatrixStorage",
49+
repoOwner = "54895y",
50+
repoName = "MatrixStorage",
51+
assetNamePattern = "MatrixStorage-.*-all\\.jar",
52+
commandHint = "/matrixstorage"
53+
)
4554
runCatching { BStatsMetrics.initialize() }
4655
.onFailure {
4756
warning("Failed to initialize bStats metrics: ${it.message ?: it.javaClass.simpleName}")

0 commit comments

Comments
 (0)