You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just realized we forgot to publish the changelog for 2025.0.8, the first stable version of Metalama 2025.0, which became available on the 4th of January.
It is based on Metalama 2025.0.7-rc, plus the following changes:
Fixes
Aspect framework:
Fixed: Local function inside compile-time block doesn't work.
Fixed: Using SkipAspect disables [IntroduceDependency] even when other aspects instances are not skipped.
Fixed: Auxiliary templates: scope mismatch when passing the args.
Fixed: Template compiler: InvalidCastException when casting a template parameter to IExpression.
Fixed: Template compiler: aspect classes are classified as compile-time-only instead of run-time-or-compile-time.
Fixed: WithTemplateProvider does not work when the template is another aspect -- assumes a non-aspect template provider
Caching:
Fixed: [CacheKey] does not correctly implement IFormattable in derived type.
Code fixes and live templates
Fixed: DesignTime refactorings: adding an assembly-level attribute does not work
Fixed: Live templates: exception with inherited or child aspects
Fixed: SyntaxNode.FindNode exception in CodeRefactoringDiscoveryService for Razor code
Design-time experience (not VSX):
Fixed: Design-time: assigning values to non-nullable members
Fixed: Design-time build cannot find aspect type while normal build passes, no error details shown.
Fixed: PostSharp+Metalama extension prevents VS from showing mouse-over tooltips in a Unity generated solution.
Fixed: DesignTime: wrong usage of SuppressDiagnostic results in multiple exception report.
Fixed: Design-time: Invalid state of compile-time directory results in exception.
Fixed: InvalidOperationException in ClientEndpoint`1.GetServerApiAsync
Fixed: Null reference in ProjectReferencesResolver.AddUnloadedReference
Fixed: Compilation mismatch in a non-structural comparison
VSX
Fixed: Aspect Explorer: contract aspects don't produce enhancements.
Fixed: VSIX: Main Thread Blocked exception is reported even when progress dialog is displayed during Diff
Fixed: DebuggingServerException thrown while stepping in Metalama.Extensions
Fixed: CodeLens: "add annotation" transformations should be hidden
Enhancements
Dependency Injection: refactoring using IAdviser
Breaking changes
The extensibility API of Metalama.Extensions.DependencyInjection has been refactored to use IAdviser instead of IAspectBuilder.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've just realized we forgot to publish the changelog for 2025.0.8, the first stable version of Metalama 2025.0, which became available on the 4th of January.
It is based on Metalama 2025.0.7-rc, plus the following changes:
Fixes
Aspect framework:
args
.Caching:
Code fixes and live templates
Design-time experience (not VSX):
VSX
Enhancements
Breaking changes
Metalama.Extensions.DependencyInjection
has been refactored to useIAdviser
instead ofIAspectBuilder
.Beta Was this translation helpful? Give feedback.
All reactions