Migration guide
To 2.2#
Use the new @UseCaseKey decorator#
If you are using the Archimedes cache link you will need to add this decorator for all use cases:
Also you will need to change the references of your cache invalidations.
To learn more about cache move to arch cache section.
To 2.0#
Change @EvictCache decorator to @InvalidateCache#
Links are async now#
If you have any custom link you should change your next method to return a Promise now.
BEFORE
AFTER
Options to CacheManager and NotificationCenter#
Archimedes 2.0 adds options to CacheManager and NotificationCenter, so maybe you would need change the way to instance it.
An example of Angular provider injection change:
BEFORE
AFTER
Runner is deprecated#
Now you should use Archimedes class to create the chain of responsibility: