From c98b7145375af7718fa2201edb0f4c6379398cea Mon Sep 17 00:00:00 2001 From: Jody Donetti Date: Wed, 1 Jan 2025 21:11:12 +0100 Subject: [PATCH] v2.0.0-preview-4 --- .../ZiggyCreatures.FusionCache.Backplane.Memory.csproj | 2 +- ...tures.FusionCache.Backplane.StackExchangeRedis.csproj | 2 +- .../ZiggyCreatures.FusionCache.Chaos.csproj | 2 +- ...iggyCreatures.FusionCache.MicrosoftHybridCache.csproj | 2 +- .../ZiggyCreatures.FusionCache.OpenTelemetry.csproj | 2 +- ...es.FusionCache.Serialization.CysharpMemoryPack.csproj | 4 +++- ...es.FusionCache.Serialization.NeueccMessagePack.csproj | 4 +++- ...tures.FusionCache.Serialization.NewtonsoftJson.csproj | 4 +++- ...reatures.FusionCache.Serialization.ProtoBufNet.csproj | 4 +++- ...res.FusionCache.Serialization.ServiceStackJson.csproj | 4 +++- ...tures.FusionCache.Serialization.SystemTextJson.csproj | 4 +++- src/ZiggyCreatures.FusionCache/FusionCacheDiagnostics.cs | 2 +- src/ZiggyCreatures.FusionCache/FusionCacheOptions.cs | 4 ++-- .../ZiggyCreatures.FusionCache.csproj | 9 +++++++-- 14 files changed, 33 insertions(+), 16 deletions(-) diff --git a/src/ZiggyCreatures.FusionCache.Backplane.Memory/ZiggyCreatures.FusionCache.Backplane.Memory.csproj b/src/ZiggyCreatures.FusionCache.Backplane.Memory/ZiggyCreatures.FusionCache.Backplane.Memory.csproj index b4f4dbcc..f098fca6 100644 --- a/src/ZiggyCreatures.FusionCache.Backplane.Memory/ZiggyCreatures.FusionCache.Backplane.Memory.csproj +++ b/src/ZiggyCreatures.FusionCache.Backplane.Memory/ZiggyCreatures.FusionCache.Backplane.Memory.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Backplane.Memory FusionCache in memory backplane, used for testing backplane;memory;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy diff --git a/src/ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis/ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis.csproj b/src/ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis/ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis.csproj index 3a59ebfc..ddb693f0 100644 --- a/src/ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis/ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis.csproj +++ b/src/ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis/ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis FusionCache backplane for Redis based on the StackExchange.Redis library backplane;redis;stackexchange;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy diff --git a/src/ZiggyCreatures.FusionCache.Chaos/ZiggyCreatures.FusionCache.Chaos.csproj b/src/ZiggyCreatures.FusionCache.Chaos/ZiggyCreatures.FusionCache.Chaos.csproj index 69870b2d..65057d6e 100644 --- a/src/ZiggyCreatures.FusionCache.Chaos/ZiggyCreatures.FusionCache.Chaos.csproj +++ b/src/ZiggyCreatures.FusionCache.Chaos/ZiggyCreatures.FusionCache.Chaos.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Chaos Chaos-related utilities and implementations of various componenets (like a distributed cache or a backplane), useful for things like testing dependent components' behavior in a controlled failing environment. chaos;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy diff --git a/src/ZiggyCreatures.FusionCache.MicrosoftHybridCache/ZiggyCreatures.FusionCache.MicrosoftHybridCache.csproj b/src/ZiggyCreatures.FusionCache.MicrosoftHybridCache/ZiggyCreatures.FusionCache.MicrosoftHybridCache.csproj index 4b7bf1da..f79898e8 100644 --- a/src/ZiggyCreatures.FusionCache.MicrosoftHybridCache/ZiggyCreatures.FusionCache.MicrosoftHybridCache.csproj +++ b/src/ZiggyCreatures.FusionCache.MicrosoftHybridCache/ZiggyCreatures.FusionCache.MicrosoftHybridCache.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.MicrosoftHybridCache An implementation of Microsoft's HybridCache based on FusionCache, for when you need to depend on the Microsoft abstraction, but want the power of FusionCache caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy diff --git a/src/ZiggyCreatures.FusionCache.OpenTelemetry/ZiggyCreatures.FusionCache.OpenTelemetry.csproj b/src/ZiggyCreatures.FusionCache.OpenTelemetry/ZiggyCreatures.FusionCache.OpenTelemetry.csproj index 40308335..2c41e43e 100644 --- a/src/ZiggyCreatures.FusionCache.OpenTelemetry/ZiggyCreatures.FusionCache.OpenTelemetry.csproj +++ b/src/ZiggyCreatures.FusionCache.OpenTelemetry/ZiggyCreatures.FusionCache.OpenTelemetry.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.OpenTelemetry Add native OpenTelemetry support to FusionCache. telemetry;observability;opentelemetry;open-telemetry;chaos;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy diff --git a/src/ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack/ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack.csproj b/src/ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack/ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack.csproj index d40599ab..5f213ba3 100644 --- a/src/ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack/ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack.csproj +++ b/src/ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack/ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack.csproj @@ -2,13 +2,15 @@ netstandard2.1;net7.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack FusionCache serializer based on Cysharp's MemoryPack serializer memorypack;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy;cache-stampede ZiggyCreatures.Caching.Fusion.Serialization.CysharpMemoryPack true + - Perf: better perf thanks to native array buffers/array pools + - Change: removed RecyclableMemoryStreamManager support (not needed anymore) - Add: Tagging support (preview) - Update: package dependencies diff --git a/src/ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack/ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack.csproj b/src/ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack/ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack.csproj index 6c36c9f7..e1fc3721 100644 --- a/src/ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack/ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack.csproj +++ b/src/ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack/ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack.csproj @@ -2,13 +2,15 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack FusionCache serializer based on Neuecc's MessagePack serializer messagepack;msgpack;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy;cache-stampede ZiggyCreatures.Caching.Fusion.Serialization.NeueccMessagePack true + - Perf: better perf thanks to native array buffers/array pools + - Change: removed RecyclableMemoryStreamManager support (not needed anymore) - Add: Tagging support (preview) - Update: package dependencies diff --git a/src/ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson/ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson.csproj b/src/ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson/ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson.csproj index d70a95be..071292d6 100644 --- a/src/ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson/ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson.csproj +++ b/src/ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson/ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson.csproj @@ -2,13 +2,15 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson FusionCache serializer based on Newtonsoft Json.NET json;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy;cache-stampede ZiggyCreatures.Caching.Fusion.Serialization.NewtonsoftJson true + - Perf: better perf thanks to native array buffers/array pools + - Change: removed RecyclableMemoryStreamManager support (not needed anymore) - Add: Tagging support (preview) - Update: package dependencies diff --git a/src/ZiggyCreatures.FusionCache.Serialization.ProtoBufNet/ZiggyCreatures.FusionCache.Serialization.ProtoBufNet.csproj b/src/ZiggyCreatures.FusionCache.Serialization.ProtoBufNet/ZiggyCreatures.FusionCache.Serialization.ProtoBufNet.csproj index a02523d7..a8ea294f 100644 --- a/src/ZiggyCreatures.FusionCache.Serialization.ProtoBufNet/ZiggyCreatures.FusionCache.Serialization.ProtoBufNet.csproj +++ b/src/ZiggyCreatures.FusionCache.Serialization.ProtoBufNet/ZiggyCreatures.FusionCache.Serialization.ProtoBufNet.csproj @@ -2,13 +2,15 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Serialization.ProtoBufNet FusionCache serializer based on protobuf-net protobuf;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy ZiggyCreatures.Caching.Fusion.Serialization.ProtoBufNet true + - Perf: better perf thanks to native array buffers/array pools + - Change: removed RecyclableMemoryStreamManager support (not needed anymore) - Add: Tagging support (preview) - Update: package dependencies diff --git a/src/ZiggyCreatures.FusionCache.Serialization.ServiceStackJson/ZiggyCreatures.FusionCache.Serialization.ServiceStackJson.csproj b/src/ZiggyCreatures.FusionCache.Serialization.ServiceStackJson/ZiggyCreatures.FusionCache.Serialization.ServiceStackJson.csproj index e1691030..305ab8a1 100644 --- a/src/ZiggyCreatures.FusionCache.Serialization.ServiceStackJson/ZiggyCreatures.FusionCache.Serialization.ServiceStackJson.csproj +++ b/src/ZiggyCreatures.FusionCache.Serialization.ServiceStackJson/ZiggyCreatures.FusionCache.Serialization.ServiceStackJson.csproj @@ -2,13 +2,15 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Serialization.ServiceStackJson FusionCache serializer based on ServiceStack's Json serializer json;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy;cache-stampede ZiggyCreatures.Caching.Fusion.Serialization.ServiceStackJson true + - Perf: better perf thanks to native array buffers/array pools + - Change: removed RecyclableMemoryStreamManager support (not needed anymore) - Add: Tagging support (preview) - Update: package dependencies diff --git a/src/ZiggyCreatures.FusionCache.Serialization.SystemTextJson/ZiggyCreatures.FusionCache.Serialization.SystemTextJson.csproj b/src/ZiggyCreatures.FusionCache.Serialization.SystemTextJson/ZiggyCreatures.FusionCache.Serialization.SystemTextJson.csproj index 6492d190..c127b689 100644 --- a/src/ZiggyCreatures.FusionCache.Serialization.SystemTextJson/ZiggyCreatures.FusionCache.Serialization.SystemTextJson.csproj +++ b/src/ZiggyCreatures.FusionCache.Serialization.SystemTextJson/ZiggyCreatures.FusionCache.Serialization.SystemTextJson.csproj @@ -2,13 +2,15 @@ netstandard2.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache.Serialization.SystemTextJson FusionCache serializer based on System.Text.Json json;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy ZiggyCreatures.Caching.Fusion.Serialization.SystemTextJson true + - Perf: better perf thanks to native array buffers/array pools + - Change: removed RecyclableMemoryStreamManager support (not needed anymore) - Add: Tagging support (preview) - Update: package dependencies diff --git a/src/ZiggyCreatures.FusionCache/FusionCacheDiagnostics.cs b/src/ZiggyCreatures.FusionCache/FusionCacheDiagnostics.cs index d4ebb6be..c11322de 100644 --- a/src/ZiggyCreatures.FusionCache/FusionCacheDiagnostics.cs +++ b/src/ZiggyCreatures.FusionCache/FusionCacheDiagnostics.cs @@ -8,7 +8,7 @@ public static class FusionCacheDiagnostics /// /// The current version of FusionCache. /// - public const string FusionCacheVersion = "2.0.0-preview-3"; + public const string FusionCacheVersion = "2.0.0-preview-4"; /// /// The activity source name for FusionCache. diff --git a/src/ZiggyCreatures.FusionCache/FusionCacheOptions.cs b/src/ZiggyCreatures.FusionCache/FusionCacheOptions.cs index 6a51b870..5b7c6365 100644 --- a/src/ZiggyCreatures.FusionCache/FusionCacheOptions.cs +++ b/src/ZiggyCreatures.FusionCache/FusionCacheOptions.cs @@ -28,7 +28,7 @@ public class FusionCacheOptions ///

/// DOCS: ///
- public const string DistributedCacheWireFormatVersion = "v2p3"; + public const string DistributedCacheWireFormatVersion = "v2p4"; /// /// The wire format version separator for the distributed cache wire format, used in the cache key processing. @@ -42,7 +42,7 @@ public class FusionCacheOptions ///

/// DOCS: ///
- public const string BackplaneWireFormatVersion = "v2p3"; + public const string BackplaneWireFormatVersion = "v2p4"; /// /// The wire format version separator for the backplane wire format, used in the channel name. diff --git a/src/ZiggyCreatures.FusionCache/ZiggyCreatures.FusionCache.csproj b/src/ZiggyCreatures.FusionCache/ZiggyCreatures.FusionCache.csproj index 46a81d96..ecbea3f7 100644 --- a/src/ZiggyCreatures.FusionCache/ZiggyCreatures.FusionCache.csproj +++ b/src/ZiggyCreatures.FusionCache/ZiggyCreatures.FusionCache.csproj @@ -2,7 +2,7 @@ netstandard2.0;netcoreapp3.1;net6.0;net7.0;net8.0 - 2.0.0-preview-3 + 2.0.0-preview-4 ZiggyCreatures.FusionCache FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features. caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy @@ -11,15 +11,20 @@ - Add: Tagging support - Add: Clear support - - Add: native support for Microsoft's new HybridCache (via the new ZiggyCreatures.FusionCache.MicrosoftHybridCache package) + - Add: moved support for Microsoft's new HybridCache directly into the main package - Fix: soft-fails in a factory (eg: ctx.Fail("Oops")) is now supported for with background factory completion + - Change: new AllowStaleOnReadOnly entry option for more granular control - Change: better Expire, more predictable - Change: ReThrowSerializationExceptions does not affect serialization, only deserialization + - Perf: better metadata handling + - Change: better eager refresh handling - Add: support for immutable objects when using Auto-Clone - Add: support for Tagging/Clear in events - Add: new IncludeTagsInLogs option - Add: new IncludeTagsInTraces option - Add: new IncludeTagsInMetrics option + - Perf: better serializers perf thanks to native array buffers/array pools + - Change: removed RecyclableMemoryStreamManager support from serializes (not needed anymore) - Change: the auto-generated InstanceId for each cache is now shorter (saves space in logs and traces) - Update: all [Obsolete] members has been marked as errors - Update: package dependencies