Skip to content

Aspid.MVVM.Unity.Generators 1.1.0#2

Merged
VPDPersonal merged 6 commits into
mainfrom
Version/Aspid.MVVM-1.1.0
Jun 7, 2026
Merged

Aspid.MVVM.Unity.Generators 1.1.0#2
VPDPersonal merged 6 commits into
mainfrom
Version/Aspid.MVVM-1.1.0

Conversation

@VPDPersonal

@VPDPersonal VPDPersonal commented Jan 11, 2026

Copy link
Copy Markdown
Owner

Summary

Aspid.MVVM.Unity.Generators для релиза Aspid.MVVM 1.1.0: апгрейд генератора context menu биндеров до AddBinderContextMenuAttribute / AddBinderContextMenuByTypeAttribute и поддержка subPath.

Changes

  • Upgrade context menu generator — переименован ContextMenuGeneratorAddBinderContextMenuGenerator; обновлён под новые атрибуты AddBinderContextMenuAttribute / AddBinderContextMenuByTypeAttribute с именованным свойством Path = "...". Обновлены Classes.Aspid.cs-дескрипторы.
  • Add support for subPath — генератор учитывает дополнительный SubPath-сегмент при формировании пути пункта меню.
  • Directory.Build.targets — добавлен общий CopyToUnity-таргет (копирование сгенерированной DLL в Unity-проект).
  • Update Unity copy path — путь обновлён под перенос Unity-проекта в Aspid.MVVM/ (Assets/Plugins/Aspid/MVVM/Unity/Assets/Aspid/MVVM/Unity/).

Breaking changes

  • В коде потребителей AddComponentContextMenuAttribute и AddPropertyContextMenuAttribute удалены — заменяются AddBinderContextMenuAttribute / AddBinderContextMenuByTypeAttribute (см. главный PR Aspid.MVVM#25).

Linked PRs

Test plan

  • dotnet build Aspid.MVVM.Unity.Generators.sln собирается без ошибок.
  • Перебилд → Aspid.MVVM.Unity.Generators.dll обновляется в Unity-пакете по новому пути (Aspid.MVVM/Assets/Aspid/MVVM/Unity/).
  • В Unity пункты Add Binder / Add Binder By Type появляются в context menu для биндеров с AddBinderContextMenuAttribute / AddBinderContextMenuByTypeAttribute.
  • SubPath корректно вставляет дополнительный сегмент в пути пунктов меню.

@VPDPersonal VPDPersonal added needs-changelog README/CHANGELOG update required before release type: feature New feature or capability labels Jan 18, 2026
@VPDPersonal VPDPersonal changed the title Upgrade Context Menu Generator Aspid.MVVM.Unity.Generators 1.1.0 May 22, 2026
@VPDPersonal VPDPersonal added type: refactor Internal restructuring without behavior change breaking-change Backwards-incompatible change requiring major version bump area: generator Roslyn source generator status: work-in-progress Draft / not ready for review labels May 22, 2026
@VPDPersonal VPDPersonal merged commit 01e41cf into main Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: generator Roslyn source generator breaking-change Backwards-incompatible change requiring major version bump needs-changelog README/CHANGELOG update required before release status: work-in-progress Draft / not ready for review type: feature New feature or capability type: refactor Internal restructuring without behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant