Skip to content

Bump Meziantou.Analyzer from 2.0.298 to 2.0.302#8

Closed
dependabot[bot] wants to merge 233 commits into
mainfrom
dependabot/nuget/Meziantou.Analyzer-2.0.302
Closed

Bump Meziantou.Analyzer from 2.0.298 to 2.0.302#8
dependabot[bot] wants to merge 233 commits into
mainfrom
dependabot/nuget/Meziantou.Analyzer-2.0.302

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 21, 2026

Copy link
Copy Markdown
Contributor

Updated Meziantou.Analyzer from 2.0.298 to 2.0.302.

Release notes

Sourced from Meziantou.Analyzer's releases.

2.0.302

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.302

Full Changelog: meziantou/Meziantou.Analyzer@2.0.301...2.0.302

2.0.301

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.301

What's Changed

New Contributors

Full Changelog: meziantou/Meziantou.Analyzer@2.0.300...2.0.301

2.0.300

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.300

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@2.0.299...2.0.300

2.0.299

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.299

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@2.0.298...2.0.299

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Yumei1010 and others added 23 commits May 17, 2026 18:59
annotation_tool、calculator、deck、mode_bar、selector、time_bar
从 scripts/component/ 和 scenes/component/ 迁入对应 entities/ 子目录,
命名空间同步更新。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
optionButton→option_button, stateMachine→state_machine,
annotationTool→annotation_tool, calculateMenu→calculate_menu,
mainMenu→main_menu, modeButton→mode_button, timeBar→time_bar
涵盖 scripts/ 下 component/cqrs/data/model/enums/menu 共 13 个目录

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- system/Poker → system/poker(蛇形命名统一)
- InputPhase.cs 移入 enums/input/ 子目录
- IAnnotationTool 移除多余 partial 修饰符
- Pile 合并 3 个空 partial 文件为 1 个
- 删除孤立 Selector.Events.cs.uid
- 删除空目录 cqrs/pile/event、entities/poker/animation

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- VolumeContainer 命名空间补齐 volume_container 段
- OptionsMenu 移除冗余全限定名 options_menu.OptionsMenu._log
- resetPosition/targetPosition 属性改为 PascalCase
- 6 处 [Log]/[ContextAware] 标注顺序修正

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 5 个命令类添加 sealed 修饰符
- 36 个命令/事件属性添加 required 关键字
- 5 个命令输入 init 改为 set
- 2 处 struct 事件改为 sealed class

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
PokerView、GetSuitQuery、AnnotationToolView 等 5 个文件
补全残缺的命名空间前缀,修正 copy-paste 残留的 poker 命名空间

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- PokerManager: global → scripts/system/poker(ISystem 应归入 system)
- GameUtil: core/utils → scripts/utility(通用工具不属架构核心)
- 删除废弃 ITheme.cs(零引用)
- 删除废弃 IStateMachine.cs(零引用)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
ISelector 空接口体标注方法补充计划
Pile 空类体标注实现计划

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
32 个命令类的 { get; init; } 全部改为 { get; set; },
确保命令属性符合可变(mutable)约定。
事件和查询类保持 { get; init; } 不变。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 新增 scripts/system/ 目录映射与说明
- 新增目录命名规范(snake_case 硬约束)
- 更新目录分类表(移除废弃项,新增 Pile/GameUtil/PokerManager)
- 新增带属性命令示例与 { get; set; } 强制约束
- 修正过时的 using 示例路径
- 附录新增命令属性清单项与禁止项

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
删除已不反映当前项目状态的 Plan.md、策划案.xlsx、需求池.md

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 新建 DeckModel 存储牌桌状态(扑克 ID 列表、排序模式)
- 新建 4 个命令:DeckAddPoker/DeckRemovePoker/DeckSortBySuit/DeckSortByValue
- 新建 3 个事件:DeckPokerAdded/DeckPokerRemoved/DeckSortStarted
- 提取 DeckSortMode 枚举到 enums/deck/
- 新建 DeckSystem 作为牌桌系统入口
- Deck.Properties 移除内嵌 SortMode 枚举,引用新的 DeckSortMode
- 注册 DeckModel 和 DeckSystem
- 移除 PokerManager 自动加载(已由 SystemModule 注册为 ISystem)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Deck 实体 Add/Remove/Sort 方法改为私有,仅通过 CQRS 事件驱动视觉
- IDeck 接口精简为仅 Pokers 属性,增删改业务由命令/系统接管
- Deck.Events 接入 DeckPokerAdded/DeckPokerRemoved/DeckSortStarted 事件
- DeckSystem 填充 DealCard/DiscardCard 跨系统编排逻辑
- CalculateMenu 改为 SendCommand<DeckAddPokerCommand> 替代直接调用
- 新增 DeckSortCommand + DeckSortSystem 骨架
- PokerManager 全面更名为 PokerSystem(类名、文件、引用、场景节点、文档)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 新增 PokerUpdateViewScaleCommand / PokerResetViewScaleCommand
- PokerAnimationSystem 扩展 SurfaceRect/NumLabel/TweenScale,添加 UpdateViewScale/ResetViewScale
- IdleState 改为 partial 并标注 [Log]/[ContextAware],MouseEnter/Exit 发送缩放命令
- PokerInitAnimationBundleCommand 增加 SurfaceRect/NumLabel 参数
- poker.tscn SurfaceRect 添加 pivot_offset 居中缩放锚点

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- DeckModel 移除 Mapping 字典(视觉映射不应在模型中)
- DeckSortSystem 新增 MappingBundle/Panel/IPokerView 映射 + Bundles 字典
- 新增 DeckInitMappingBundleCommand / DeckRemoveMappingBundleCommand
- .csproj 清理过期 Compile/EmbeddedResource Remove + 修正 Folder Include 蛇形命名

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- DeckSortSystem.Sort() 填充实现,按 CurrentSortMode 对 DeckModel.Pokers 排序
- DeckSortSystem.Comparer 统一管理比较逻辑(原 DeckComparer 删除)
- Deck.cs 移除 SortBySuit/SortByValue/SuitComparer/RankComparer/ReorderChildren
- 新增 ReorderChildrenToMatchModel()——读取已排序模型镜像视觉顺序
- 排序命令移除重复事件发送(DeckSortSystem.Sort() 已发送 DeckSortStartedEvent)
- DeckSortCommand 命名空间修正为文件范围声明

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Deck.Properties 移除 CurrentSortMode(与 DeckModel 重复),读写统一走模型
- Deck.Add/Remove 内部同步 DeckSortSystem.InitMapping/RemoveBundle
- 移除 DeckSortFinishedEvent 空订阅

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Deck.Add 中扑克加入 PokerContainer 后调用 SetAnchorsPreset(TopLeft)
- 根因是扑克节点 anchor_right=0.1 / anchor_bottom=0.267 导致相对父容器等比缩放

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 删除 Deck.Mapping (Panel→IPokerView),Bundles (Guid→{Poker,Holder}) 已含全部信息
- DeckSortSystem 新增 FindHolder/FindPoker/AllBundles 查询接口
- Remove() 从 O(n) 遍历改为 O(1) 直接查找
- ReorderChildrenToMatchModel 不再构建中间字典
- ReLayout 改为遍历 Bundles 直接操作 holder/poker 对

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- InsertPokerAtNearestSlot 改用 DeckChangeSortModeCommand 替代直接写模型
- ReLayout 中 PokerUpdateViewPositionCommand 增加 Animated 参数
- DeckSortSystem FindHolder/FindPoker 改为块体实现
- Deck.Events Add/Remove 事件处理简化为走 System

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
移除所有 Twenty-four 游戏特定代码与美术资源,保留 GFramework + Godot
通用框架骨架(DI 引导、UI/场景路由、状态机、CQRS 示例、编码模板),
作为未来 Godot + GFramework 项目的起手模板。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---
updated-dependencies:
- dependency-name: Meziantou.Analyzer
  dependency-version: 2.0.302
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels May 21, 2026
@Yumei1010 Yumei1010 closed this May 21, 2026
@dependabot @github

dependabot Bot commented on behalf of github May 21, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/nuget/Meziantou.Analyzer-2.0.302 branch May 21, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant