Releases: StormCommerce/Storm.Public
v2.3.0
BREAKING CHANGE: Removed AddCache from CacheManager. Added constructor to handle additions of caches.
This is due to the fact that Unity now does not support making multiple calls to methods when resolving components from configuration.
You will get a message similar to this "System.InvalidOperationException: Configuration is incorrect, the type CacheManager does not have a method named AddCache that takes parameters named cache."
Just remove the method entries under register and add a constructor instead.
Change:
<register type="ICacheManager" mapTo="CacheManager">
<lifetime type="singleton" />
<method name="AddCache">
<param name="cache" dependencyName="EnfernoData" />
</method>
</register>To:
<register type="ICacheManager" mapTo="CacheManager">
<lifetime type="singleton" />
<constructor>
<param name="caches">
<array>
<dependency name="EnfernoData"/>
</array>
</param>
</constructor>
</register>Just add more entries under <array> if you are using multiple caches.
See release notes for 2.0.0 when upgrading from earlier versions.
v2.2.0
Updated references to Unity. Unity.Abstractions changed publicKeyToken going from 3.3.1 to 4.0.0.
Removed dependencies to unused stuff and sub dependencies. CommonServiceLocator and Unity.Interception are removed.
See release notes for 2.0.0 when upgrading from earlier versions.
Ignore previous 2.1.x releases.
v2.1.4
Updated references to Unity. Unity.Abstractions changed publicKeyToken going from 3.3.1 to 4.0.0.
Removed dependencies to unused stuff and sub dependencies. CommonServiceLocator and Unity.Interception are removed.
Now targeting framework 4.7.
See release notes for 2.0.0 when upgrading from earlier versions.
v2.1.1
Fixed wrong dependency in previous release.
Do not use Unity-package directly. Use Unity.Container.
v2.1.0
Updated references to Unity. Unity.Abstractions changed publicKeyToken going from 3.3.1 to 4.0.0.
Removed dependencies to unused stuff and sub dependencies. CommonServiceLocator and Unity.Interception are removed.
See release notes for 2.0.0 when upgrading from earlier versions.
v2.0.0
Updated references for dependent packages: CommonServiceLocator, Unity and Unity.Interception.
Breaking changes that requires some changes due to renamed namespace.
Microsoft.Practices.Unity.Configuration is now located in Unity.Configuration.
Change "using Microsoft.Practices.Unity;" to "using Unity;" in code.
Under the configSections in the config file change:
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" />
to:
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Unity.Configuration" />
Release 1.0.17.0
Whats new?
Enterprise Library was updated to version 6.