Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Kevin B edited this page Mar 1, 2019 · 32 revisions

4.0.1

  • Fixed warning when referenced assembly path was URL encoded.
  • Fixed issue with generated C# sequence points using relative paths. #150

4.0.0

  • Breaking Change Removed Fody. The AutoDI.Fody package has been deprecated in favor of the AutoDI.Build package. See full details here.
  • Breaking Change Attemply level [SettingsAttribute] are only loaded from the current assembly. Attributes in referenced assemblies are no longer considered when parsing settings.
  • AutoDI.Generator initial release. This package is a C# code generation replacement for AutoDI.Build. It only handles generating code for the DI registrations, not resolving dependencies marked with the [DepenencyAttribute]. It expected to be used instead of the AutoDI.Build NuGet package.

3.3.1

  • Updated to Fody 3.2.x

3.3.0

  • Added support for generating debug code. This allows debugging the resolution of dependency parameters and generated AutoDI service resolution code. #116 and #103
  • Added dependency injection to all methods, not just constructors. #109
  • Added Microsoft.SourceLink.GitHub #114
  • Updated to Fody 3.1.x. Added an explicit dependency on FodyHelpers to AutoDI.Fody.
  • AutoDI will now automatically resolve array and IEnumerable parameters #127
  • Complete list here

3.2.0

  • Breaking Change Updated to Fody 3.x and Microsoft.Extensions.DependencyInjection.Abstractions 2.0.0. This requires bumping the minimum netstandard version to 2.0. This also improves netcore support. #105
  • Breaking Change Strong naming removed #97
  • The AutoDI container will automatically resolve any requested type, where all of the constructor parameters can be resolved. #106
  • Configuration errors in FodyWeavers.xml now produce compile errors #99
  • IContainer is now IEnumerable<Map> #52
  • Added settings flag for debugging exceptions in the generated <AutoDI>.AddServices() #81
  • Complete list here

3.1.0

  • Breaking Change: Regex type maps in FodyWeavers.xml will need to be prefixed with regex: this allows for a more intuitive mapping method using simple (*) wildcards. Nested classes can be mapped using either '/' (Mono.Cecil way) or '+' (.NET way). #59
  • Object lifetimes can now be directly specified as part of the <map> #59
  • Added the ability to specify which constructor AutoDI will use when generating mapping. #74
  • Added event to the ContainerMap to allow custom handling when a service type is not found #37
  • Fixed issue with nested classes caused run-time exception. #75
  • Full list

3.0.0

  • Restructured to be built on top of Microsoft.Extensions.DependencyInjection.Abstractions. This also adds support for nested containers.

2.1.4

  • Singletons are now created after the setup method is invoked. This allows for singletons to resolve dependencies that are injected at run-time within the setup method.
  • (削除) GitLink should now be working. (削除ここまで) See #60

2.1.3 (and 2.1.2)

  • AutoDI.Container has been merged into AutoDI. You no longer need to deal with multiple nuget packages. Just add one and done.
  • Property injection added. You can now apply the DependencyAttribute to properties to have them resolved.
  • internal SetupMethods are now properly invoked
  • IDependencyResolver added a non-generic Resolve method. There is also a AutoDI.BaseResolver class that you can derive from. It simply forwards the generic Resolve method to the non-generic.

2.1.1

  • Improved API for interacting with AutoDI.Container.ContainerMap. Including removing mapped types and keys.
  • Added a SetupMethodAttribute as an easy integration point for manipulating the generated container map.
  • Lazy and Func will now automatically resolve if the type of T has been mapped.
  • Added additional logging to make debugging easier.

2.1.0

  • Initial Release

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /