This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
pumpit@4.0.0
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 clearAllInstancesclearSingleton 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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
pumpit@4.0.0
Major Changes
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.