Skip to content

Commit

Permalink
v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jodydonetti committed Sep 15, 2024
1 parent 49a6f25 commit e9c4310
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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>
<RootNamespace>ZiggyCreatures.Caching.Fusion.Chaos</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Updated: package dependencies
- Add: cancellation support for async methods for serializers
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.1;net7.0</TargetFrameworks>
<Version>1.3.0</Version>
<Version>1.4.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>
<RootNamespace>ZiggyCreatures.Caching.Fusion.Serialization.CysharpMemoryPack</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Updated: package dependencies
- Add: cancellation support for async methods for serializers
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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,6 +11,7 @@
<PackageReleaseNotes>
- Updated: package dependencies
- Changed: namespace adjustments
- Add: cancellation support for async methods for serializers
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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>
<RootNamespace>ZiggyCreatures.Caching.Fusion.Serialization.NewtonsoftJson</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Updated: package dependencies
- Add: cancellation support for async methods for serializers
- Perf: added support for RecyclableMemoryStream
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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>
<RootNamespace>ZiggyCreatures.Caching.Fusion.Serialization.ProtoBufNet</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Updated: package dependencies
- Add: cancellation support for async methods for serializers
- Perf: added support for RecyclableMemoryStream
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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>
<RootNamespace>ZiggyCreatures.Caching.Fusion.Serialization.ServiceStackJson</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Updated: package dependencies
- Add: cancellation support for async methods for serializers
- Perf: added support for RecyclableMemoryStream
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.0</Version>
<Version>1.4.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>
<RootNamespace>ZiggyCreatures.Caching.Fusion.Serialization.SystemTextJson</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Updated: package dependencies
- Add: cancellation support for async methods for serializers
- Perf: added support for RecyclableMemoryStream
</PackageReleaseNotes>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
Expand Down
101 changes: 50 additions & 51 deletions src/ZiggyCreatures.FusionCache/FusionCacheDiagnostics.cs
Original file line number Diff line number Diff line change
@@ -1,54 +1,53 @@
namespace ZiggyCreatures.Caching.Fusion
namespace ZiggyCreatures.Caching.Fusion;

/// <summary>
/// A support class for FusionCache diagnostics.
/// </summary>
public static class FusionCacheDiagnostics
{
/// <summary>
/// A support class for FusionCache diagnostics.
/// </summary>
public static class FusionCacheDiagnostics
{
/// <summary>
/// The current version of FusionCache.
/// </summary>
public const string FusionCacheVersion = "1.3.0";

/// <summary>
/// The activity source name for FusionCache.
/// </summary>
public const string ActivitySourceName = "ZiggyCreatures.Caching.Fusion";

/// <summary>
/// The activity source name for the FusionCache memory level.
/// </summary>
public const string ActivitySourceNameMemoryLevel = "ZiggyCreatures.Caching.Fusion.Memory";

/// <summary>
/// The activity source name for the FusionCache distributed level.
/// </summary>
public const string ActivitySourceNameDistributedLevel = "ZiggyCreatures.Caching.Fusion.Distributed";

/// <summary>
/// The activity source name for the FusionCache backplane.
/// </summary>
public const string ActivitySourceNameBackplane = "ZiggyCreatures.Caching.Fusion.Backplane";


/// <summary>
/// The meter name for FusionCache.
/// </summary>
public const string MeterName = "ZiggyCreatures.Caching.Fusion";

/// <summary>
/// The meter name for the FusionCache memory level.
/// </summary>
public const string MeterNameMemoryLevel = "ZiggyCreatures.Caching.Fusion.Memory";

/// <summary>
/// The meter name for the FusionCache distributed level.
/// </summary>
public const string MeterNameDistributedLevel = "ZiggyCreatures.Caching.Fusion.Distributed";

/// <summary>
/// The meter name for the FusionCache backplane.
/// </summary>
public const string MeterNameBackplane = "ZiggyCreatures.Caching.Fusion.Backplane";
}
/// The current version of FusionCache.
/// </summary>
public const string FusionCacheVersion = "1.4.0";

/// <summary>
/// The activity source name for FusionCache.
/// </summary>
public const string ActivitySourceName = "ZiggyCreatures.Caching.Fusion";

/// <summary>
/// The activity source name for the FusionCache memory level.
/// </summary>
public const string ActivitySourceNameMemoryLevel = "ZiggyCreatures.Caching.Fusion.Memory";

/// <summary>
/// The activity source name for the FusionCache distributed level.
/// </summary>
public const string ActivitySourceNameDistributedLevel = "ZiggyCreatures.Caching.Fusion.Distributed";

/// <summary>
/// The activity source name for the FusionCache backplane.
/// </summary>
public const string ActivitySourceNameBackplane = "ZiggyCreatures.Caching.Fusion.Backplane";


/// <summary>
/// The meter name for FusionCache.
/// </summary>
public const string MeterName = "ZiggyCreatures.Caching.Fusion";

/// <summary>
/// The meter name for the FusionCache memory level.
/// </summary>
public const string MeterNameMemoryLevel = "ZiggyCreatures.Caching.Fusion.Memory";

/// <summary>
/// The meter name for the FusionCache distributed level.
/// </summary>
public const string MeterNameDistributedLevel = "ZiggyCreatures.Caching.Fusion.Distributed";

/// <summary>
/// The meter name for the FusionCache backplane.
/// </summary>
public const string MeterNameBackplane = "ZiggyCreatures.Caching.Fusion.Backplane";
}
15 changes: 8 additions & 7 deletions src/ZiggyCreatures.FusionCache/ZiggyCreatures.FusionCache.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
<Version>1.3.0</Version>
<Version>1.4.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>
<RootNamespace>ZiggyCreatures.Caching.Fusion</RootNamespace>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<PackageReleaseNotes>
- Add: support for auto-cloning to avoid undesired mutations
- Add: support for triggering fail-safe without involving exceptions
- Change: adaptive caching now works even on errors
- Change: added multi-targeting, with more granular dependencies to remove the unneeded ones
- Perf: more efficient FusionCacheProvider
- Change: throw specific exception when factory fails without fail-safe
- Fix: entry Size is now being correctly restored from distributed cache
- Add: new observability tags for hit/miss and stale/fresh
- Add: cancellation support for async methods for serializers
- Perf: switched to FrozenDictionary for FusionCacheProvider for better perf
- Perf: added support for RecyclableMemoryStream
</PackageReleaseNotes>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<!--
<EnablePackageValidation>true</EnablePackageValidation>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down

0 comments on commit e9c4310

Please sign in to comment.