From ad6289006f65887fa2b0a78e68f15c3a893926a5 Mon Sep 17 00:00:00 2001 From: shanmite Date: Fri, 29 May 2026 14:09:19 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0CHANGELOG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- script/build/changelog.sh | 24 ++++++++++++------------ 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abffe21..f91de1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # CHANGELOG +## 主要变化(2.11.0) +* 1c36941 fix: origin is null +* 2f4734c chore: 不再推送至npm +* 8e63e07 fix: @信息未获取导致转发错误标蓝 +* d879c63 fix: 转发类型动态获取不到rid无法评论 (#466) +* a1a0474 fix: 监控uid模式获取不到动态内容 +* 3af17e5 feat: 可在设置接入AI判断动态是否是抽奖动态 +* d3cc24c feat: debug日志输出网络请求 + +_如果之前版本小于上一版本,请查看[CHANGELOG](https://github.com/shanmiteko/LotteryAutoScript/blob/main/CHANGELOG.md)变更说明_ + ## 主要变化(2.10.3) * a2c461b fix: clear异常循环 (#484) * abe660b fix: prevent is_repost_then_chat from overriding AI-generated comments (#485) diff --git a/package.json b/package.json index 33244d8..206f0d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lottery-auto-script", - "version": "2.10.3", + "version": "2.11.0", "description": "自动参与B站动态抽奖", "main": "main.js", "scripts": { diff --git a/script/build/changelog.sh b/script/build/changelog.sh index b2a6ec6..d77541d 100644 --- a/script/build/changelog.sh +++ b/script/build/changelog.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash # version: -level=patch +level=minor npm version $level \ - --no-commit-hooks \ - --no-git-tag-version + --no-commit-hooks \ + --no-git-tag-version OLD_VERSION_ARRAY=($(npm view lottery-auto-script version | tr '.' ' ')) major=${OLD_VERSION_ARRAY[0]} @@ -14,17 +14,17 @@ patch=${OLD_VERSION_ARRAY[2]} case "${level}" in "major") - ((major += 1)) - minor=0 - patch=0 - ;; + ((major += 1)) + minor=0 + patch=0 + ;; "minor") - ((minor += 1)) - patch=0 - ;; + ((minor += 1)) + patch=0 + ;; *) - ((patch += 1)) - ;; + ((patch += 1)) + ;; esac NEW_VERSION="$major.$minor.$patch"