Open sandboxFocusImprove this doc

Metalama 2025.1

Metalama 2025.1 is the first open-source version of Metalama. Some components remain proprietary and commercial. To complete this release, we had to split the some packages and namespaces, resulting in breaking changes in namespace and package names.

You might need to add new packages to your project and to perform a find-and-replace-all to cope with the renamed namespaces.

Breaking changes

  • The namespace Metalama.Extensions.CodeFixes has been renamed Metalama.Extensions.CodeFixes and moved to a package of the same name.

  • The namespace Metalama.Extensions.Validation has been renamed Metalama.Extensions.Validation and moved to a package of the same name.

  • The interfaces IAspectReceiver and IValidatorReceiver have been refactored into a single interface and more abstract IQuery interface with several extension methods in QueryExtensions, AspectQueryExtensions or ValidationQueryExtensions. Refactoring interface methods into extension methods has some impact:

    • The namespace of extension methods must be explicitly imported through using.
    • Generic arguments, when provided explicitly, must be rewritten.
  • The AfterAllAspects and BeforeAnyAspect methods are obsolete. They are replaced by an options parameter on the Validate method.

  • The already obsolete Metalama.Extensions.Architecture.Fabrics namespace has been removed.

  • Metalama Free licenses are not supported in Metalama 2025.1. If you want to continue using proprietary features, you will have to choose another license.

  • The ReferenceKinds type has moved to the Metalama.Framework.Code namespace.

  • The IClassIntroductionAdviceResult interface has been removed and replaced by its ancestor IIntroductionAdviceResult<T>.