Skip to content

Commit

Permalink
FusionCache v2. Yes, really.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodydonetti committed Jan 19, 2025
1 parent f2a1e83 commit 114ee96
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 38 deletions.
7 changes: 0 additions & 7 deletions ZiggyCreatures.FusionCache.sln
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ZiggyCreatures.FusionCache.
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ZiggyCreatures.FusionCache.OpenTelemetry", "src\ZiggyCreatures.FusionCache.OpenTelemetry\ZiggyCreatures.FusionCache.OpenTelemetry.csproj", "{DA78EB72-93B1-4A77-8525-79AF3EEC4C8D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZiggyCreatures.FusionCache.MicrosoftHybridCache", "src\ZiggyCreatures.FusionCache.MicrosoftHybridCache\ZiggyCreatures.FusionCache.MicrosoftHybridCache.csproj", "{1D99DBC8-5ADD-4D0A-B32F-FBD10452C1A9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -119,10 +117,6 @@ Global
{DA78EB72-93B1-4A77-8525-79AF3EEC4C8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DA78EB72-93B1-4A77-8525-79AF3EEC4C8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DA78EB72-93B1-4A77-8525-79AF3EEC4C8D}.Release|Any CPU.Build.0 = Release|Any CPU
{1D99DBC8-5ADD-4D0A-B32F-FBD10452C1A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1D99DBC8-5ADD-4D0A-B32F-FBD10452C1A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1D99DBC8-5ADD-4D0A-B32F-FBD10452C1A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1D99DBC8-5ADD-4D0A-B32F-FBD10452C1A9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -144,7 +138,6 @@ Global
{5B1AF24E-90FC-4C21-AF9C-090FE32027E3} = {C6F3C570-C68C-4A95-960E-82778306BDBA}
{BDB46997-84D1-4CB5-B967-7F820820CB8E} = {C6F3C570-C68C-4A95-960E-82778306BDBA}
{DA78EB72-93B1-4A77-8525-79AF3EEC4C8D} = {34B53F49-F5C5-4850-B79E-59AD130379C6}
{1D99DBC8-5ADD-4D0A-B32F-FBD10452C1A9} = {34B53F49-F5C5-4850-B79E-59AD130379C6}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {92916FA2-FCAC-406E-BF3F-0A2CE9512EF0}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Backplane.Memory</PackageId>
<Description>FusionCache in memory backplane, used for testing</Description>
<PackageTags>backplane;memory;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy</PackageTags>
<RootNamespace>ZiggyCreatures.Caching.Fusion.Backplane.Memory</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Add: Tagging support
- Add: Clear support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis</PackageId>
<Description>FusionCache backplane for Redis based on the StackExchange.Redis library</Description>
<PackageTags>backplane;redis;stackexchange;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy</PackageTags>
<RootNamespace>ZiggyCreatures.Caching.Fusion.Backplane.StackExchangeRedis</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Add: Tagging support
- Add: Clear support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Chaos</PackageId>
<Description>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.</Description>
<PackageTags>chaos;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy</PackageTags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.OpenTelemetry</PackageId>
<Description>Add native OpenTelemetry support to FusionCache.</Description>
<PackageTags>telemetry;observability;opentelemetry;open-telemetry;chaos;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy</PackageTags>
<RootNamespace>ZiggyCreatures.Caching.Fusion.OpenTelemetry</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Add: Tagging support
- Add: Clear support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.1;net7.0</TargetFrameworks>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Serialization.CysharpMemoryPack</PackageId>
<Description>FusionCache serializer based on Cysharp's MemoryPack serializer</Description>
<PackageTags>memorypack;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy;cache-stampede</PackageTags>
Expand All @@ -11,7 +11,7 @@
<PackageReleaseNotes>
- Perf: better perf thanks to native array buffers/array pools
- Change: removed RecyclableMemoryStreamManager support (not needed anymore)
- Add: Tagging support (preview)
- Add: Tagging support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Serialization.NeueccMessagePack</PackageId>
<Description>FusionCache serializer based on Neuecc's MessagePack serializer</Description>
<PackageTags>messagepack;msgpack;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy;cache-stampede</PackageTags>
Expand All @@ -11,7 +11,7 @@
<PackageReleaseNotes>
- Perf: better perf thanks to native array buffers/array pools
- Change: removed RecyclableMemoryStreamManager support (not needed anymore)
- Add: Tagging support (preview)
- Add: Tagging support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Serialization.NewtonsoftJson</PackageId>
<Description>FusionCache serializer based on Newtonsoft Json.NET</Description>
<PackageTags>json;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy;cache-stampede</PackageTags>
Expand All @@ -11,7 +11,7 @@
<PackageReleaseNotes>
- Perf: better perf thanks to native array buffers/array pools
- Change: removed RecyclableMemoryStreamManager support (not needed anymore)
- Add: Tagging support (preview)
- Add: Tagging support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Serialization.ProtoBufNet</PackageId>
<Description>FusionCache serializer based on protobuf-net</Description>
<PackageTags>protobuf;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy</PackageTags>
Expand All @@ -11,7 +11,7 @@
<PackageReleaseNotes>
- Perf: better perf thanks to native array buffers/array pools
- Change: removed RecyclableMemoryStreamManager support (not needed anymore)
- Add: Tagging support (preview)
- Add: Tagging support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Serialization.ServiceStackJson</PackageId>
<Description>FusionCache serializer based on ServiceStack's Json serializer</Description>
<PackageTags>json;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy;cache-stampede</PackageTags>
Expand All @@ -11,7 +11,7 @@
<PackageReleaseNotes>
- Perf: better perf thanks to native array buffers/array pools
- Change: removed RecyclableMemoryStreamManager support (not needed anymore)
- Add: Tagging support (preview)
- Add: Tagging support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache.Serialization.SystemTextJson</PackageId>
<Description>FusionCache serializer based on System.Text.Json</Description>
<PackageTags>json;caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy</PackageTags>
Expand All @@ -11,7 +11,7 @@
<PackageReleaseNotes>
- Perf: better perf thanks to native array buffers/array pools
- Change: removed RecyclableMemoryStreamManager support (not needed anymore)
- Add: Tagging support (preview)
- Add: Tagging support
- Update: package dependencies
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/ZiggyCreatures.FusionCache/FusionCacheDiagnostics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public static class FusionCacheDiagnostics
/// <summary>
/// The current version of FusionCache.
/// </summary>
public const string FusionCacheVersion = "2.0.0-preview-4";
public const string FusionCacheVersion = "2.0.0";

/// <summary>
/// The activity source name for FusionCache.
Expand Down
4 changes: 2 additions & 2 deletions src/ZiggyCreatures.FusionCache/FusionCacheOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class FusionCacheOptions
/// <br/><br/>
/// <strong>DOCS:</strong> <see href="https://github.com/ZiggyCreatures/FusionCache/blob/main/docs/CacheLevels.md"/>
/// </summary>
public const string DistributedCacheWireFormatVersion = "v2p4";
public const string DistributedCacheWireFormatVersion = "v2";

/// <summary>
/// The wire format version separator for the distributed cache wire format, used in the cache key processing.
Expand All @@ -44,7 +44,7 @@ public class FusionCacheOptions
/// <br/><br/>
/// <strong>DOCS:</strong> <see href="https://github.com/ZiggyCreatures/FusionCache/blob/main/docs/Backplane.md"/>
/// </summary>
public const string BackplaneWireFormatVersion = "v2p4";
public const string BackplaneWireFormatVersion = "v2";

/// <summary>
/// The wire format version separator for the backplane wire format, used in the channel name.
Expand Down
21 changes: 9 additions & 12 deletions src/ZiggyCreatures.FusionCache/ZiggyCreatures.FusionCache.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
<Version>2.0.0-preview-4</Version>
<Version>2.0.0</Version>
<PackageId>ZiggyCreatures.FusionCache</PackageId>
<Description>FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.</Description>
<PackageTags>caching;cache;hybrid;hybrid-cache;hybridcache;multi-level;multilevel;fusion;fusioncache;fusion-cache;performance;async;ziggy</PackageTags>
Expand All @@ -11,20 +11,17 @@
<PackageReleaseNotes>
- Add: Tagging support
- Add: Clear support
- 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
- Add: Microsoft HybridCache support
- 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: ReThrowSerializationExceptions does not affect serialization, only deserialization
- Perf: better metadata handling, with metadata-less support
- Add: support for immutable objects when using Auto-Clone
- Add: better Observability with tagging support for logs, traces and metrics
- Fix: soft-fails in a factory (eg: ctx.Fail("Oops")) is now supported for with background factory completion
- Change: better, more predictable Expire
- Change: better eager refresh handling
- 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
Expand Down

0 comments on commit 114ee96

Please sign in to comment.