Skip to content

Releases: ivandotv/pumpit

v4.0.1

30 May 22:18
f276241
Compare
Choose a tag to compare

Patch Changes

v4.0.0

27 May 11:47
ffbece1
Compare
Choose a tag to compare

Major Changes

  • 5eef060: Change method name

  • a20b69b: Implement clearSingleton method.

    It enables clearing a single singleton by key.

  • 1d024dc: Rename methods.
    clearAllSingletons is renamed to clearAllInstances
    clearSingleton is renamed to clearInstance

  • 42309c6: Introduce new scope: SCOPE.CONTAINER_SINGLETON. This is similar to regular singleton scope, but if a child container is made, that child container will resolve an instance unique to it.

    Remove "shareSingletons" option from child method. This is no longer needed since the new SCOPE.CONTAINER_SINGLETON replaces this functionality.

v3.0.0

24 May 19:09
dbe7399
Compare
Choose a tag to compare

Major Changes

  • 3e372cb: Change function signature for "beforeResolve function"
  • ec70e5a: Change function signature for "onBefore"

v2.0.0

21 May 21:25
8968e56
Compare
Choose a tag to compare

Major Changes

  • 84c44d2: Implement object value registration for class and factory binding.

v1.0.0

13 May 20:38
75f835c
Compare
Choose a tag to compare

Major Changes

  • bbb3f6b: Rename all the files and code from "Pumpa" to "PumpIt", since NPM doesn't allow
    me to use "Pumpa" as it is too similar to "pump" package.

v0.1.0

13 May 20:13
e80963d
Compare
Choose a tag to compare

Minor Changes

  • 2af26f2: Add option for custom data to be passed to the beforeResolve and afterResolve callbacks.