Releases: MarsArmories/AmbientContext
Releases · MarsArmories/AmbientContext
Release list
v2.0.0
Added
- Added optional
AmbientContextRegistrationAttributefor collision-resistant, assembly-specific aggregate registration methods. - Added generated
I{Name}Contextinterfaces and synchronousExecuteAs{Name}overloads. - Added generator diagnostics for invalid namespaces, open generic values, duplicate or invalid aggregate registration declarations, and generated name collisions.
- Added approved public API snapshots and NuGet package validation.
- Added integration guidance and buildable ASP.NET Core and message-processing samples.
Changed
- Consolidated the public core runtime into
AmbientContextRuntime<TContext, TValue>. - Generated markers, accessors, context implementations, constructors, and registration helpers are now internal.
- Generated dependency injection registration is idempotent.
- Analyzer matching now identifies generated AmbientContext methods semantically.
Removed
- Removed public
ValueTaskexecution overloads in favor of unambiguous Task-based delegates. - Removed the collision-prone parameterless
AddAmbientContext()aggregate methods. - Removed the unused
MAAC0001analyzer rule. - Removed the previous public accessor, runner, state, and options infrastructure types.
Fixed
- Updated Forgejo package publishing to use a dedicated package-scoped personal access token and support retrying an existing release tag manually.
- Enabled automatic NuGet.org trusted publishing for release tag pushes while retaining safe manual retries for existing tags.
- Publishing workflows now create idempotent GitHub and Forgejo releases from the matching changelog section after packages are published.