Skip to content

Releases: autofac/Autofac.Extras.AttributeMetadata

v6.0.0

06 Oct 20:38
Compare
Choose a tag to compare

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

31 Jan 18:55
Compare
Choose a tag to compare

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

10 Sep 14:50
Compare
Choose a tag to compare
  • Updated to .NET Standard 2.0
  • Updated Autofac.Mef dependency to 4.1.0

v4.0.2

26 Aug 16:48
Compare
Choose a tag to compare

Fix #4: Updated to work with later versions of Autofac where modules can detect nested lifetime scope registrations.

v4.0.1

18 Jan 11:48
Compare
Choose a tag to compare

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

03 Jan 20:30
Compare
Choose a tag to compare
  • Renamed to Autofac.Extras.AttributeMetadata.
  • Updated to .NET 4.5.
  • Added support for Autofac 4.0.

v3.3.0

03 Jan 20:29
Compare
Choose a tag to compare

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 and WithMetadataFilter 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.