You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have just released Metalama 2024.2.14-rc, with all changes from 2024.2.13-rc, plus the following:
Improved
Caching: By default, the Redis back-end will use the CommandFlags.PreferReplica for read operations and CommandFlags.PreferMaster for write operations. These default values can be modified thanks to the ReadCommandFlags and WriteCommandFlags properties of the RedisCachingBackendConfiguration class.
Caching: StackExchange.Redis was updated to 2.8.
Caching: CancellationToken parameters are automatically ignored.
Caching: The Redis caching backend now consumes IConnectionMultiplexer from the IServiceProvider by default.
Breaking Changes
CachingBackend.Clear() no longer raises the ItemRemoved event.
The CacheValue class has been replaced by the existing CacheItem class.
The ICachingSerializerinterface has been refactored to work with BinaryReader and BinaryWriter.
Fixed
Observable: child dependencies on non-mutable field or property are not subscribed to.
Caching: ObjectDisposedException when disposing of the backend after the Redis connection.
Caching: JSON deserialization is incorrect when an in-memory L1 cache is used in front of a Redis cache.
Caching: SlidingExpiration caused errors in Redis.
Caching: Invalid serialization of non-primitive values on Redis when SlidingExpiration is specified.
The Visual Studio Tools for Metalama and PostSharp are available here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have just released Metalama 2024.2.14-rc, with all changes from 2024.2.13-rc, plus the following:
Improved
CommandFlags.PreferReplica
for read operations andCommandFlags.PreferMaster
for write operations. These default values can be modified thanks to theReadCommandFlags
andWriteCommandFlags
properties of theRedisCachingBackendConfiguration
class.StackExchange.Redis
was updated to 2.8.CancellationToken
parameters are automatically ignored.IConnectionMultiplexer
from theIServiceProvider
by default.Breaking Changes
CachingBackend.Clear()
no longer raises theItemRemoved
event.CacheValue
class has been replaced by the existingCacheItem
class.ICachingSerializer
interface has been refactored to work withBinaryReader
andBinaryWriter
.Fixed
SlidingExpiration
caused errors in Redis.SlidingExpiration
is specified.The Visual Studio Tools for Metalama and PostSharp are available here.
Beta Was this translation helpful? Give feedback.
All reactions