maxisoft / Cryptodd

Save usefull crypto data into databases
GNU Affero General Public License v3.0
2 stars 1 forks source link

Bump BitFaster.Caching from 2.4.1 to 2.5.2 #383

Open dependabot[bot] opened 1 month ago

dependabot[bot] commented 1 month ago

Bumps BitFaster.Caching from 2.4.1 to 2.5.2.

Release notes

Sourced from BitFaster.Caching's releases.

v2.5.2

What's changed

  • Fix race between update and TryRemove(KeyValuePair) for both ConcurrentLru and Fix ConcurrentLfu. Prior to this fix, values may be deleted if the value is updated to no longer match the TryRemove input argument while TryRemove is executing.
  • Fix ConcurrentLfu torn writes for large structs using SeqLock.

Full changelog: https://github.com/bitfaster/BitFaster.Caching/compare/v2.5.1...v2.5.2

v2.5.1

What's changed

  • Fix ConcurrentLfu time-based expiry policy failing to update the entry's expiry on read. Prior to this fix, expiry is only updated when the read buffer is processed (following a cache write, or when the read buffer is full).
  • Fix ConcurrentLru torn writes for large structs using SeqLock.
  • Fix torn writes for 64-bit current time on 32-bit platforms for ConcurrentLru AfterAccessPolicy and DiscretePolicy.
  • P/Invoke TickCount64 to evaluate current time for .NET Standard on Windows, Duration.SinceEpoch is 5x faster resulting in lower latency lookups for ConcurrentTLru/ConcurrentTLfu.
  • Use Stopwatch.GetTimestamp to evaluate current time on MacOS, Duration.SinceEpoch is about 20% faster resulting in slightly lower latency lookups for ConcurrentTLru/ConcurrentTLfu.

Full changelog: https://github.com/bitfaster/BitFaster.Caching/compare/v2.5.0...v2.5.1

v2.5.0

What's changed

  • Provide time-based expiry for ConcurrentLfu, matching ConcurrentLru. This closely follows the implementation in Java's Caffeine, using a port of Caffeine's hierarchical timer wheel to perform all operations in O(1) time. Expire after write, expire after access and expire after using IExpiryCalculator can be configured via ConcurrentLfuBuilder extension methods.
  • Provide ICacheExt and IAsyncCacheExt to enable client code compiled against .NET Standard to use the builder APIs and cache methods added since v2.0. These new methods are excluded in the base interfaces for .NET Standard, since adding them would be a breaking change.
  • Provide the Duration convenience methods FromHours and FromDays.

Full changelog: https://github.com/bitfaster/BitFaster.Caching/compare/v2.4.1...v2.5.0

Commits
  • be68ba5 bump 2.5.2 (#625)
  • 43dcc90 Mitigate LFU struct tearing using SeqLock (#621)
  • ab5878b Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.11.1 (#624)
  • 6628a8a Bump coverlet.msbuild from 6.0.0 to 6.0.2 (#622)
  • d5849c5 Bump BenchmarkDotNet.Diagnostics.Windows from 0.13.12 to 0.14.0 (#619)
  • 652a86f Bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.0 (#620)
  • 791242a Bump BenchmarkDotNet from 0.13.12 to 0.14.0 (#617)
  • 7a9ba6d Fix race in LFU concurrent update and TryRemove(kvp) (#618)
  • e35411d Bump xunit from 2.8.1 to 2.9.0 (#613)
  • f682e88 Fix race in LRU concurrent update and TryRemove(kvp) (#616)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 10893073663

Details


Files with Coverage Reduction New Missed Lines %
Cryptodd/Http/Abstractions/HttpClientAbstraction.cs 5 55.17%
<!-- Total: 5 -->
Totals Coverage Status
Change from base Build 9819831242: -0.03%
Covered Lines: 2317
Relevant Lines: 12384

💛 - Coveralls