Skip to content

Releases: ezzabuzaid/tiny-injector

Release 0.2.0

01 Oct 10:39
Compare
Choose a tag to compare

0.2.0 (2024-10-01)

Features

  • use esbuild to compile to esm (dc7c273)

Release 0.1.2

07 Jun 18:21
Compare
Choose a tag to compare

0.1.2 (2024-06-07)

Release 0.1.1

07 Feb 19:27
Compare
Choose a tag to compare

0.1.1 (2022-02-07)

Bug Fixes

  • ServiceProviderServiceExtensions: add context parameter to GetServices with injectionToken (36b1c76)

Release 0.1.0

27 Jan 21:21
Compare
Choose a tag to compare

0.1.0 (2022-01-27)

Bug Fixes

  • Context: remove get method from context and only rely on Injector as service locator (25164ea)
  • escape mdx variable ServiceLifetime (4708b05)
  • Injectable: use root as default providedIn (02be573)
  • InjectionToken: add private field to prevent collision with empty classes (26f93d7)
  • Injector: cache implementationFactory result based on ServiceLifetime (6e13a08)
  • Injector: move InjectionToken overrides after plain class orderrides (be10cf0)

Features

  • add AbstractServiceCollection to make it replacable (ead6608)
  • add support for abstract class (0dbf3e7)
  • add TryAddService functionality (870a698)
  • add tryAddService option to Injectable (0dc3799)
  • AppendExtensions: add support for InjectionToken (e3a7df8)
  • create concrete class of AbstractServiceCollection (e3fe2f3)
  • export RootServiceCollection as public API (0d48d32)
  • implement abstract Extensions system with RootInjector (e9f0f7f)
  • Injector: add replace service extensions (75e0b51)
  • Injector: throw ServiceExistException from AddService if a service already exist (078103a)
  • ServiceProviderServiceExtensions: add support for InjectionToken (da25744)
  • ServiceProvider: throw ArgumentException if GetRequiredService or GetServices received null or undefined as service type (e7227ed)
  • split context binding to seperate class (ContextRegistry) (a69fe63)
  • throw ServiceNotFoundException if service not added (4a37bba)