Releases: autofac/Autofac.Extras.AttributeMetadata
v6.0.0
This is a compatibility release for Autofac 6.0.
Breaking change: Starting with Autofac 6.0, we now only target netstandard2.0
and netstandard2.1
; we have removed the explicit target for net461
. While this package was only targeting netstandard2.0
before, upgrading to this version will bring in Autofac v6 and the associated TFM change for that transitive dependency.
v5.0.0
This release is an update for compatibility with Autofac 5.0.0 and requires that new version. Autofac 5.0.0 does have some breaking changes - see the Autofac release notes for more information.
Dependencies updated to Autofac 5.0.0 and Autofac.Mef 5.0.0.
v4.1.0
v4.0.2
v4.0.1
The attribute filtering related types and registration extension method have been marked as obsolete as the feature has been moved into the core Autofac package.
This will make the feature available on .NET Core as Autofac.Extras.AttributeMetadata
cannot be converted due to its MEF dependency.
The relevant types can be found in the Autofac.Features.AttributeFilters
namespace in the Autofac package.
Note the following renames when migrating to the types in Autofac core:
WithKeyAttribute
->KeyFilterAttribute
WithMetadataAttribute
->MetadataFilterAttribute
WithAttributeFilter
->WithAttributeFiltering
The Obsolete
attributes applied include the above rename information and are set at the Warning
level to prevent build failures.
v4.0.0
v3.3.0
This release occurred prior to switching Autofac components to separate repositories.
3.3.0
Updated for .NET 4.0.
3.2.1
- Fixed the NuGet package requirements so the core Autofac version and NuGet minimum requirement version line up.
3.2.0
- Added support for generating custom metadata structures based on attributes to augment the existing simple name/value pair property mechanism. (Issue autofac/Autofac#519)
3.1.1
- Updated versioning scheme so assembly version changes with each release. (Issue autofac/Autofac#502)
3.1.0
- Added
WithMetadataAttribute
andWithMetadataFilter
registration extensions. - Added ability to filter constructor dependencies by key using attributes. Refactored attribute filtering mechanism so attribute implementations can define their own resolution criteria, enabling a single filter extension to be applied during registration but with any number of actual filters that can be used.
- Allowing the
MetadataAttribute
to be inherited so it doesn't need to be manually re-applied to custom metadata attributes.