Skip to content
This repository was archived by the owner on Apr 21, 2024. It is now read-only.

Releases: Coder-Spirit/lambda-ioc

1.0.0

Choose a tag to compare

@castarco castarco released this 09 Apr 16:34
f22d727

Breaking changes

  • Removed constructor combinator. This was done because after introducing registerConstructor and registerAsyncConstructor (which are much more powerful), it became completely redundant. Removing it will help to make the library more lightweight, and to have a simpler API.

0.8.0

Choose a tag to compare

@castarco castarco released this 09 Apr 09:54
568554b

New Features

This release introduces a new function cc2ic that helps dealing with the injection of concrete class constructors, allowing us to "interpret" them as "interface constructors".

This can be very helpful, as we depend on abstract interfaces, but we inject concrete implementations, and it is very difficult to encode this information into the complex types we use in Lambda-IOC.

0.7.1

Choose a tag to compare

@castarco castarco released this 26 Feb 17:06
8408706

Fixes

  • Remove problematic readonly qualifier

0.7.0

Choose a tag to compare

@castarco castarco released this 20 Feb 13:27
90d6627

New Features / Fixes

  • Implemented new method registerConstructor, that allows to register constructors without having to rely on the constructor combinator.
  • Implemented indirect self resolution for the methods:
    • registerConstructor
    • registerAsyncConstructor

0.6.0

Choose a tag to compare

@castarco castarco released this 20 Feb 08:27
965f1b6

New Features

  • Self resolution, via .resolve('$').

0.5.1

Choose a tag to compare

@castarco castarco released this 19 Feb 19:13
8ede2d7

Fixes

  • correct typo on interface name (ReadableGroupContainer)
  • export ReadableGroupContainer

0.5.0

Choose a tag to compare

@castarco castarco released this 17 Feb 21:36
793e533

New Features

  • Implement asyncSingleton combinator
  • Implement registerAsyncConstructor container method.

Other Improvements

  • Expose more refined types

Development

  • Upgrade development dependencies

0.4.0

Choose a tag to compare

@castarco castarco released this 07 Feb 23:29
77c3a43

New features

  • resolveGroup: Now we can resolve a group of dependencies in just one single call.
  • resolveGroupAsync

Dependencies belong to a group if their name is of the form:

`${groupName}:${string}` // Examples: 'controllers:login', 'controllers:logout'

0.3.0

Choose a tag to compare

@castarco castarco released this 06 Feb 11:54
116c674

Improvements

  • Stricter type checks for dependencies re-registration
  • Performance improvement: avoid internal clone operations when possible

Development

  • Increased testing coverage: it was already maxed at 100%, but the value is misleading, certain aspects of the library (mostly typing) were not covered. This is still true, even if "real" coverage is now higher.

0.2.0

Choose a tag to compare

@castarco castarco released this 05 Feb 00:07
7765406

(Breaking) Changes

  • Separate synchronous & asynchronous dependencies resolution. Now it's possible to avoid relying on async features for purely synchronous dependencies.
  • Improved documentation.