- 4cfbc46: Implement using special "INJECT_KEY" symbol instead of "inject" key property
- 61a361f: instances created via "child" method can also have a name
- c470983: Optionally give instances custom names.
- c7e4157: ts config import issue
- 516e684: run biome check on all source files
-
e2c941d: refactor package export fields to include separate require statements.
closes Support --moduleResolution node16 in typescript #38
more info on the problem: https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseESM.md
- 27f4119: update readme
- fd2f690: add class inheritance documentation
- 0a3e663: mark package side effects free
- 073c0b8: remove circular dependency functionality
- e92fde3: remove the possibility to inject dependency as array of dependencies
- 4324109: switch to vite build process
- af829ec: update readme
- 6fb62fa: Remove bind key check. This will not check if the bind keys passed to the
bindFactory
are correct. - 5669230: Implement
postConstruct
method that will be automatically called if it exists on the class.
- cb7c7b7: fix unbind falsy values
- 0bbcf2c: fix: Singleton values are not properly resolved on multiple resolve calls.
- fef839d: update docs
- 0e346fb: chore: update README
-
5eef060: Change method name
-
a20b69b: Implement
clearSingleton
method.It enables clearing a single singleton by key.
-
1d024dc: Rename methods.
clearAllSingletons
is renamed toclearAllInstances
clearSingleton
is renamed toclearInstance
-
42309c6: Introduce new scope:
SCOPE.CONTAINER_SINGLETON
. This is similar to regularsingleton
scope, but if a child container is made, that child container will resolve an instance unique to it.Remove "
shareSingletons
" option fromchild
method. This is no longer needed since the newSCOPE.CONTAINER_SINGLETON
replaces this functionality.
- 3e372cb: Change function signature for "beforeResolve function"
- ec70e5a: Change function signature for "onBefore"
- 84c44d2: Implement object value registration for class and factory binding.
- 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.
- 2af26f2: Add option for custom data to be passed to the
beforeResolve
andafterResolve
callbacks.