Skip to content

1.6.1

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Oct 12:04
· 97 commits to main since this release

Changes

Description

This release fixes a long-standing issue where in net48 the Gen2 GC callback and queued cache eviction attached to it were not performing correctly potentially causing issues/deadlocks on application shutdown, specifically, when there is special instrumentation around it e.g. dotnet test. Since net48/netstandard2.0 is not a primary target and having finalizer resurrection may also be undesirable for platforms like Unity, cache eviction on Gen2 GC callback has been disabled for netstandard2.0 TFM. This does not affect netstandard2.1 and netcoreapp3.1+ TFMs.

🐛 Bug Fixes

  • Fix net48 target by disabling Gen2 GC callback which was not working correctly (b493e0a)
  • Fix flaky tests that were sensitive to sub-millisecond latency variations in Environment.TickCount64 (dc24be0)

🧰 Misc

  • Make Cached<K, V> implicitly convertible to V (b88a278)

Full Changelog: 1.6.0...1.6.1

Published with dotnet-releaser