karin-plugin-kkk 2.45.0-rc.1 → 2.45.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [2.45.0-rc.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.45.0-rc.1...v2.45.0-rc.2) (2026-10-07)
6
+
7
+
8
+ ### ✨ 新功能
9
+
10
+ * 更新日志推送图按渠道裁剪引导,预发布角标区分测试版与预览版 ([16920a8](https://github.com/ikenxuan/karin-plugin-kkk/commit/16920a8dbfd720235bd1fa2de143a996b2808d65))
11
+
12
+
13
+ ### 🐛 错误修复
14
+
15
+ * 发布脚本添加版本倒挂检查,确保版本号单调递增并更新渲染逻辑 ([64198f2](https://github.com/ikenxuan/karin-plugin-kkk/commit/64198f22db9a9c06bba38fbcf6f500e9071b0a71))
16
+
17
+
18
+ ### 💄 UI 优化
19
+
20
+ * 更新面板金丝雀行改为直接展示构建 SHA ([121572a](https://github.com/ikenxuan/karin-plugin-kkk/commit/121572a16f8350242de0cdcd0b80b9ad366f1597))
21
+
5
22
  ## [2.45.0-rc.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.45.0-beta.6...v2.45.0-rc.1) (2026-10-06)
6
23
 
7
24
 
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "2.45.0-rc.1",
3
- "buildTime": "2026-10-06T12:03:48.998Z",
4
- "buildTimestamp": 1791288228998,
2
+ "version": "2.45.0-rc.2",
3
+ "buildTime": "2026-10-06T19:57:57.895Z",
4
+ "buildTimestamp": 1791316677895,
5
5
  "name": "karin-plugin-kkk",
6
6
  "description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
7
7
  "homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
8
- "commitHash": "1132cadb858d61c5162b56104602b5d2d8879300",
9
- "shortCommitHash": "1132cadb"
8
+ "commitHash": "ac21a641944aa6f597b147d788fcbf4ccb16a8c1",
9
+ "shortCommitHash": "ac21a641"
10
10
  }
@@ -20765,7 +20765,7 @@ var Changelog = import_react.memo((props) => {
20765
20765
  className: "flex flex-col gap-6 text-[2.8em] leading-relaxed text-foreground/80",
20766
20766
  children: [
20767
20767
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
20768
- className: "flex items-center gap-5",
20768
+ className: "flex flex-wrap items-center gap-x-5 gap-y-4",
20769
20769
  children: [
20770
20770
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
20771
20771
  className: "text-muted text-[1.2em]",
@@ -20776,10 +20776,14 @@ var Changelog = import_react.memo((props) => {
20776
20776
  className: "inline-block text-[1.15em] font-bold text-foreground",
20777
20777
  children: "更新"
20778
20778
  }),
20779
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "立刻开始" })
20779
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "立刻开始更新到" }),
20780
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
20781
+ className: "whitespace-nowrap font-bold text-foreground",
20782
+ children: ["v", props.data.remoteVersion]
20783
+ })
20780
20784
  ]
20781
20785
  }),
20782
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
20786
+ props.data.channel === "Stable" && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
20783
20787
  className: "flex flex-wrap items-center gap-x-5 gap-y-4",
20784
20788
  children: [
20785
20789
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
@@ -24804,20 +24808,13 @@ var updateHelp_default = defineTemplate({
24804
24808
  },
24805
24809
  children: channel.tag
24806
24810
  })]
24807
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
24811
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
24808
24812
  className: "flex items-center gap-6",
24809
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
24813
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
24810
24814
  className: "whitespace-nowrap font-mono text-[46px] font-bold leading-none",
24811
24815
  style: { color: status.active ? palette.ink : palette.faint },
24812
- children: channel.version
24813
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
24814
- className: "flex items-center gap-3 whitespace-nowrap text-[24px] font-semibold",
24815
- style: { color: status.dot },
24816
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
24817
- className: "h-2.5 w-2.5 rounded-full",
24818
- style: { background: status.dot }
24819
- }), status.text]
24820
- })]
24816
+ children: ["SHA: ", channel.version]
24817
+ })
24821
24818
  })]
24822
24819
  }),
24823
24820
  channel.installCommand && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
@@ -40481,16 +40478,18 @@ var getChangelogImage = async (ctx, props) => {
40481
40478
  const localMeta = getBuildMetadata();
40482
40479
  if (localMeta?.buildTime) buildTime = formatBuildTime(localMeta.buildTime);
40483
40480
  }
40484
- changelog = changelog.replace(/^(## \[\d+\.\d+\.\d+-[^\]]+\][^\r\n]*)/gm, "$1 「测试版」");
40481
+ changelog = changelog.replace(/^(## \[\d+\.\d+\.\d+-(beta|rc)\.[^\]]+\][^\r\n]*)/gm, (_match, head, preid) => `${head} 「${preid === "rc" ? "预览版" : "测试版"}」`);
40482
+ const targetChannel = parseReleaseChannel(props.remoteVersion);
40485
40483
  return await Render(event, "other/changelog", {
40486
40484
  markdown: changelog,
40487
40485
  Tip: props.Tip,
40488
40486
  localVersion: props.localVersion,
40489
40487
  remoteVersion: props.remoteVersion,
40490
- channelLabel: RELEASE_CHANNEL_LABEL[parseReleaseChannel(props.remoteVersion)],
40488
+ channelLabel: RELEASE_CHANNEL_LABEL[targetChannel],
40489
+ channel: targetChannel,
40491
40490
  lagVersionCount,
40492
40491
  buildTime,
40493
- share_url: `https://karin-plugin-kkk-docs.vercel.app/diff?old=${props.localVersion}&new=latest`
40492
+ share_url: targetChannel === "Canary" ? void 0 : `https://karin-plugin-kkk-docs.vercel.app/diff?old=${props.localVersion}&new=latest`
40494
40493
  }) || null;
40495
40494
  };
40496
40495
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "karin-plugin-kkk",
3
- "version": "2.45.0-rc.1",
3
+ "version": "2.45.0-rc.2",
4
4
  "description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
5
5
  "keywords": [
6
6
  "karin",
@@ -83,7 +83,7 @@
83
83
  "@lobehub/webfont-harmony-sans-sc": "^1.0.0",
84
84
  "emoji-datasource-apple": "16.0.0"
85
85
  },
86
- "timestamp": "2026-10-06T12:02:24.634Z",
86
+ "timestamp": "2026-10-06T19:56:29.308Z",
87
87
  "engines": {
88
88
  "node": ">=18.0.0"
89
89
  }