Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
7dc0320
Distinguish moved attributes from the new AOT attribute
wallstop Nov 23, 2026
36ebfd7
Link packaged migration guidance to the documentation site
wallstop Nov 23, 2026
69cc30b
Keep documentation links usable in both package formats
wallstop Nov 23, 2026
8c78417
Report comparable MessagePipe ratios and dispatch cadence
wallstop Nov 23, 2026
5ada380
Document sample install paths for both package formats
wallstop Nov 23, 2026
da2e4b9
Document classic package replacement when upgrading to 4.0
wallstop Nov 23, 2026
bc27203
Record shared compiler save-to-verdict measurements
wallstop Nov 23, 2026
1bdc039
Record Runtime and generator shared-compiler limits
wallstop Nov 23, 2026
08b7290
Credit Unity Helpers in the Asset Store listing
wallstop Nov 23, 2026
6b727a8
Scope render pipeline compatibility claims
wallstop Nov 23, 2026
8e7b720
Keep performance report within the JavaScript budget
wallstop Nov 23, 2026
c6d884a
Distinguish the Roslyn API target from Unity compiler versions
wallstop Nov 23, 2026
37f9968
Verify Asset Store packages after publication
wallstop Nov 23, 2026
20ca2b3
Fix the benchmark methodology link in the Patterns guide
wallstop Nov 23, 2026
030de03
Support Editor-free verification on the release draft (#814)
wallstop Nov 23, 2026
8a0e929
Verify NuGet source and payload before running the consumer (#739)
wallstop Nov 23, 2026
50ced16
Observe watchdog fixture child exit before cleanup (#820)
wallstop Nov 23, 2026
6c04e9e
Filter unrelated Editor Console rows before buffering (#801)
wallstop Nov 23, 2026
0d71d9e
Record compiler warmup limits for named saves (#817)
wallstop Nov 23, 2026
3e4dc36
Run compiler tests for linked Editor analyzer changes
wallstop Nov 23, 2026
d316e12
Use public compiler events for Inspector warning feed
wallstop Nov 23, 2026
f27cadb
Diagnose macOS heartbeat startup stalls
wallstop Nov 23, 2026
68958be
Keep Flow Graph compatible with early Unity 2021.3
wallstop Nov 23, 2026
ad51cf8
Correct VContainer assembly references in the integration guide
wallstop Nov 23, 2026
24da9d6
Preserve confirmed editor exit during slow output forwarding
wallstop Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/analyzers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The pinned set is:
(`Apache-2.0`), using its Roslyn 3.8 payload. Native qualification is required when
changing this pin.
- [Microsoft.Unity.Analyzers 1.22.0](https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.22.0)
(`MIT`), the newest tested release that loads in Unity 2021's Roslyn 3.8 host.
(`MIT`), the pinned release for the Unity 2021 analyzer lane.
- [SonarAnalyzer.CSharp 10.35.0.4138](https://www.nuget.org/packages/SonarAnalyzer.CSharp/10.35.0.4138)
(`Sonar Source-Available License v1.0`).
- [Microsoft.CodeAnalysis.NetAnalyzers 7.0.4](https://www.nuget.org/packages/Microsoft.CodeAnalysis.NetAnalyzers/7.0.4)
Expand All @@ -39,7 +39,9 @@ Code-fix and Workspaces assemblies are excluded because Unity's compiler host
does not need them. `manifest.json` is the text-only lock file for package URLs,
versions, licenses, exact archive entries, hashes, and Unity metadata GUIDs.

The current package screen retains the Unity and .NET analyzer pins because their
newest binaries reference Roslyn 3.11, while Unity 2021 provides Roslyn 3.8. The
newer ErrorProne prerelease references Roslyn 4.13 and Immutable 8. These pins must
remain until supported-host qualification establishes a compatible replacement.
The newer Unity and .NET analyzer packages in the upgrade screen reference
Roslyn 3.11. The repository targets the
Roslyn 3.8 API. The Linux Unity 2021.3.45f1 archive contains a Roslyn 3.9 script
compiler and separate Roslyn 3.7 binaries for Mono/MSBuild. The newer ErrorProne
prerelease references Roslyn 4.13 and Immutable 8. Keep these pins until
supported-host qualification establishes a compatible replacement.
2 changes: 1 addition & 1 deletion .github/asset-store-listing.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schemaVersion": 2,
"locale": "en-US",
"title": "DxMessaging",
"description": "Connect gameplay systems without direct references between senders and receivers. DxMessaging provides synchronous, type-safe untargeted, targeted, and broadcast messages. Lifecycle-managed registration tokens pair subscriptions with components and dependency-injection scopes. Message Monitor, Flow Graph, Inspector overlays, and runtime diagnostics make routes visible while you develop. Optional samples cover Zenject, VContainer, and Reflex.\n\nDxMessaging is free and will remain free forever. No paid editions, paid upgrades, or feature charges.\n\nAI assistance disclosure: DxMessaging began as an original project around 2014 and remains actively developed and used today. Over the past two years, I (wallstop) have been using LLMs to help improve the library's quality and performance, expand its tests, and create user-facing documentation. There is always a human in the loop: I actively review all changes and read through all user-facing copy. I share this so you can make an informed decision about using the project.",
"description": "Connect gameplay systems without direct references between senders and receivers. DxMessaging provides synchronous, type-safe untargeted, targeted, and broadcast messages. Lifecycle-managed registration tokens pair subscriptions with components and dependency-injection scopes. Message Monitor, Flow Graph, Inspector overlays, and runtime diagnostics make routes visible while you develop. Optional samples cover Zenject, VContainer, and Reflex.\n\nDxMessaging includes collection pool code adapted from Unity Helpers under the MIT License. See Third Party Notices.md in the package.\n\nDxMessaging is free and will remain free forever. No paid editions, paid upgrades, or feature charges.\n\nAI assistance disclosure: DxMessaging began as an original project around 2014 and remains actively developed and used today. Over the past two years, I (wallstop) have been using LLMs to help improve the library's quality and performance, expand its tests, and create user-facing documentation. There is always a human in the loop: I actively review all changes and read through all user-facing copy. I share this so you can make an informed decision about using the project.",
"aiDescription": "OpenAI models starting with GPT-5, used through Codex, and Anthropic models starting with Opus 4, used through Claude Code, have assisted with substantial portions of the code, tests, and documentation. I (wallstop) review all changes for accuracy and correctness and read all user-facing copy. Artwork is minimal and includes AI-generated SVGs. Product screenshots show the actual editor tooling.",
"priceUsd": 0,
"keywords": "unity message messaging event-bus decoupling type-safe diagnostics debugging performance zero-allocation architecture gameplay",
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/attributes-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,23 @@ jobs:
NUGET_PACKAGES: ${{ runner.temp }}/dxm-attributes-live-${{ github.run_id }}-${{ github.run_attempt }}
run: |
set -euo pipefail
dotnet restore .nuget-tests/DxMessaging.Attributes.Package.Tests.csproj -p:AttributesPackageVersion="$PACKAGE_VERSION" -p:RestoreAdditionalProjectSources=https://api.nuget.org/v3/index.json
dotnet test .nuget-tests/DxMessaging.Attributes.Package.Tests.csproj \
--configuration Release --no-restore -p:AttributesPackageVersion="$PACKAGE_VERSION" \
-p:RestoreAdditionalProjectSources=https://api.nuget.org/v3/index.json \
--logger 'trx;LogFileName=live-package-consumer.trx' --results-directory .artifacts/nuget-live-tests
feed=https://api.nuget.org/v3/index.json
installed="$NUGET_PACKAGES/wallstopstudios.dxmessaging.attributes/$PACKAGE_VERSION"
dotnet restore .nuget-tests/DxMessaging.Attributes.Package.Tests.csproj \
--source "$feed" --no-http-cache -p:RestoreAdditionalProjectSources= \
-p:AttributesPackageVersion="$PACKAGE_VERSION"
if ! jq -e --arg feed "$feed" '.source == $feed' "$installed/.nupkg.metadata" > /dev/null; then
echo "::error::The restored attributes package does not record NuGet.org as its source."
exit 1
fi
package=".artifacts/nuget/WallstopStudios.DxMessaging.Attributes.${PACKAGE_VERSION}.nupkg"
payloads="$(unzip -Z1 "$package" | grep -E '^(lib/|analyzers/|README.md$)')"
while IFS= read -r payload; do
unzip -p "$package" "$payload" | cmp - "$NUGET_PACKAGES/wallstopstudios.dxmessaging.attributes/$PACKAGE_VERSION/$payload"
unzip -p "$package" "$payload" | cmp - "$installed/$payload"
done <<< "$payloads"
dotnet test .nuget-tests/DxMessaging.Attributes.Package.Tests.csproj \
--configuration Release --no-restore -p:AttributesPackageVersion="$PACKAGE_VERSION" \
--logger 'trx;LogFileName=live-package-consumer.trx' --results-directory .artifacts/nuget-live-tests

- name: Upload live package results
if: ${{ always() && inputs.mode == 'verify' }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
"(\.md$|\.markdown$|^docs/|^\.lychee\.toml$|^\.github/scripts/check-markdown-links\.ps1$|^\.github/actions/install-pinned-lychee/action\.yml$|$ci_workflow)"
# Each managed suite follows its actual inputs. Pure documentation must not run runtime retention matrices.
set_output dotnet \
"(^SourceGenerators/|^Runtime/Analyzers/|^Runtime/Attributes/|^\.net-attributes/|^\.nuget-tests/|\.csproj$|\.props$|\.targets$|(^|/)global\.json$|(^|/)\.editorconfig$|^\.config/dotnet-tools\.json$|^\.github/analyzers/|$ci_workflow)"
"(^SourceGenerators/|^Editor/Analyzers/(BaseCallIlInspector|BaseCallLogMessageParser|BaseCallReportAggregator|BaseCallTypeScannerCore)\.cs$|^Runtime/Analyzers/|^Runtime/Attributes/|^\.net-attributes/|^\.nuget-tests/|\.csproj$|\.props$|\.targets$|(^|/)global\.json$|(^|/)\.editorconfig$|^\.config/dotnet-tools\.json$|^\.github/analyzers/|$ci_workflow)"
set_output runtime_dotnet \
"(^Runtime/|^Tests/|^Editor/Analyzers/BaseCallIlInspector\.cs$|^\.net[^/]*/|^SourceGenerators/|\.props$|\.targets$|(^|/)global\.json$|(^|/)\.editorconfig$|^\.github/analyzers/|$ci_workflow)"
set_output docs_dotnet \
Expand Down Expand Up @@ -966,6 +966,14 @@ jobs:
echo "::group::Unity editor heartbeat guards"
cat "$heartbeat_log"
echo "::endgroup::"
if [ "$RUNNER_OS" = "macOS" ] && [ "$script_status" -eq 0 ] && [ "$heartbeat_status" -eq 1 ] &&
grep -Fxq "Isolated heartbeat comparison eligible." "$heartbeat_log"; then
# Keep the overlapping result as the gate. Capture an isolated comparison on the same runner.
isolated_status=0
pwsh -NoLogo -NoProfile -File ./scripts/__tests__/test-editor-provisioning-heartbeat.ps1 \
-VerboseOutput -ReportFiniteTiming || isolated_status=$?
echo "::notice::Isolated heartbeat diagnostic exited $isolated_status."
fi
if [ "$script_status" -ne 0 ] || [ "$heartbeat_status" -ne 0 ]; then
echo "::error::Script tests exited $script_status; heartbeat guards exited $heartbeat_status."
exit 1
Expand Down
22 changes: 13 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- **BREAKING:** Add a direct `WallstopStudios.DxMessaging.Attributes` reference to Unity assembly definitions that use public
DxMessaging attributes. Namespaces stay unchanged; see the [4.0 migration guide](docs/guides/migration-guide.md#reference-the-dedicated-attributes-assembly).
DxMessaging attributes. Namespaces stay unchanged; see the [4.0 migration guide](https://ambiguous-interactive.github.io/DxMessaging/guides/migration-guide/#reference-the-dedicated-attributes-assembly).
- Correct IntelliSense summaries and references, including cache enumeration, bus reset behavior,
global observer message and context parameters, empty-bus debug logging, and deregistration callback boundaries
([#503](https://github.com/Ambiguous-Interactive/DxMessaging/issues/503),
[#575](https://github.com/Ambiguous-Interactive/DxMessaging/issues/575)).
- **BREAKING:** Remove the test-only `DxMessagingRuntimeSettingsProvider.Override` API. Configure
the runtime settings resource asset for application behavior and keep fixture configuration in
test assemblies; see the [4.0 migration guide](docs/guides/migration-guide.md#migrating-to-400).
test assemblies; see the [4.0 migration guide](https://ambiguous-interactive.github.io/DxMessaging/guides/migration-guide/#migrating-to-400).
- Reduce recurring Unity correctness setup by installing only the locked Node.js runtime
dependencies used to redact and seal test artifacts ([#572](https://github.com/Ambiguous-Interactive/DxMessaging/issues/572)).
- Add disabled, missing-token, destroyed-receiver, stale-selection, and separate-bus visibility
Expand All @@ -62,7 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
materializing registrar sort keys once, and reduce package size by shipping only the optimized
analyzer payload instead of its development sources ([#576](https://github.com/Ambiguous-Interactive/DxMessaging/issues/576), [#577](https://github.com/Ambiguous-Interactive/DxMessaging/issues/577)).
- **BREAKING:** Fast handlers and post-processors now use readonly references; change callback
parameters from `ref` to `in` and follow the [4.0 migration guide](docs/guides/migration-guide.md#migrating-to-400) ([#486](https://github.com/Ambiguous-Interactive/DxMessaging/issues/486)).
parameters from `ref` to `in` and follow the [4.0 migration guide](https://ambiguous-interactive.github.io/DxMessaging/guides/migration-guide/#migrating-to-400) ([#486](https://github.com/Ambiguous-Interactive/DxMessaging/issues/486)).
- Show `DXMSG006` through `DXMSG010` in MessageAwareComponent Inspector diagnostic titles so
lifecycle failures and opt-outs remain distinguishable
([#314](https://github.com/Ambiguous-Interactive/DxMessaging/issues/314)).
Expand All @@ -74,6 +74,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fix Flow Graph compilation on early Unity 2021.3 patches
([#575](https://github.com/Ambiguous-Interactive/DxMessaging/issues/575)).
- Resolve message source links in the Flow Graph and Message Monitor against currently loaded
assemblies in Unity 6.6 ([#813](https://github.com/Ambiguous-Interactive/DxMessaging/issues/813)).
- Use Unity's loaded assembly path to verify the runtime in the 3.x upgrade preview on Unity 6.6
Expand All @@ -82,8 +84,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
([#810](https://github.com/Ambiguous-Interactive/DxMessaging/issues/810)).
- Preserve `MessagingComponent` listener ownership during callbacks and report unresolved provider
recursion during initial setup ([#805](https://github.com/Ambiguous-Interactive/DxMessaging/issues/805)).
- Reduce diagnostic scan buffering in the opt-in Editor Console bridge and release its Console
enumeration reliably ([#801](https://github.com/Ambiguous-Interactive/DxMessaging/issues/801)).
- Replace the opt-in Inspector scan of Unity's Console history with a compiler warning feed.
Existing settings carry forward, and compiler warnings keep their source locations
([#801](https://github.com/Ambiguous-Interactive/DxMessaging/issues/801),
[#575](https://github.com/Ambiguous-Interactive/DxMessaging/issues/575)).
- Preserve broken-base-chain warnings (`DXMSG010`) in the opt-in Editor compiler-message bridge
([#802](https://github.com/Ambiguous-Interactive/DxMessaging/issues/802)).
- Remove stale compiler diagnostics from the Editor bridge when assemblies report the same type
Expand All @@ -109,11 +113,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
DxMessaging namespace text ([#707](https://github.com/Ambiguous-Interactive/DxMessaging/issues/707)).
- **BREAKING:** Reject record field constructors that replace the record copy constructor and
can silently change `with` results. Choose a distinct construction API as described in the
[migration guide](docs/guides/migration-guide.md#preserve-record-copy-behavior)
[migration guide](https://ambiguous-interactive.github.io/DxMessaging/guides/migration-guide/#preserve-record-copy-behavior)
([#720](https://github.com/Ambiguous-Interactive/DxMessaging/issues/720)).
- **BREAKING:** Order generated constructor parameters by source-file compilation order, then
declaration order within each file. Check positional calls for split partial types in the
[migration guide](docs/guides/migration-guide.md#check-constructors-for-split-partial-types)
[migration guide](https://ambiguous-interactive.github.io/DxMessaging/guides/migration-guide/#check-constructors-for-split-partial-types)
([#723](https://github.com/Ambiguous-Interactive/DxMessaging/issues/723)).
- Initialize excluded struct fields and auto-properties in generated constructors while preserving
initializers and avoiding unintended constructor calls. Chain empty primary constructors and
Expand Down Expand Up @@ -382,7 +386,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
components carry each one, and mark mixed enabled states so a missing or
disabled handler stands out across a scene selection
([#297](https://github.com/Ambiguous-Interactive/DxMessaging/issues/297)).
See [Inspector Overlay](docs/guides/inspector-overlay.md#message-subscriptions).
See [Inspector Overlay](https://ambiguous-interactive.github.io/DxMessaging/guides/inspector-overlay/#message-subscriptions).

### Changed

Expand Down Expand Up @@ -1042,7 +1046,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Mutation tests now exercise every messaging kind (Untargeted/Targeted/Broadcast) via a single parameterized fixture (`[ValueSource(MessageScenarios.AllKinds)]`) across `MutationDuringEmissionTests`, `MutationInterceptorTests`, and `MutationDestructionTests`. Users get tighter cross-kind parity guarantees; no runtime API change. (~720 lines of duplication removed; test count preserved.)
- Renamed `UntargetedTests`, `TargetedTests`, `BroadcastTests` to `EmitUntargetedSpecificTests`, `EmitTargetedSpecificTests`, `EmitBroadcastSpecificTests` to clarify that kind-common tests live in `EmitTests` and kind-specific tests live in the renamed files. (Test-suite hardening is test-only; no `Runtime/` behavior was modified.)
- Documentation now warns up front that `MessageAwareComponent` subclasses must call `base.Awake()`, `base.OnEnable()`, `base.OnDisable()`, `base.OnDestroy()`, and `base.RegisterMessageHandlers()` from any override; admonitions added to the Quick Start, Getting Started Guide, Visual Guide, README, FAQ, and Troubleshooting pages all link to [`DXMSG006`](docs/reference/analyzers.md#dxmsg006-missing-base-call) (issue #195).
- Documentation now warns up front that `MessageAwareComponent` subclasses must call `base.Awake()`, `base.OnEnable()`, `base.OnDisable()`, `base.OnDestroy()`, and `base.RegisterMessageHandlers()` from any override; admonitions added to the Quick Start, Getting Started Guide, Visual Guide, README, FAQ, and Troubleshooting pages all link to [`DXMSG006`](https://ambiguous-interactive.github.io/DxMessaging/reference/analyzers/#dxmsg006-missing-base-call) (issue #195).

### Fixed

Expand Down
Loading
Loading