Skip to content

Latest commit

 

History

History
614 lines (374 loc) · 58.9 KB

File metadata and controls

614 lines (374 loc) · 58.9 KB

Changelog

2.8.1 (2025-07-31)

🐛 Bug Fixes

  • expose ValueJsonConverter for generator support and add JsonSourceGenerator test cases (#537) (e03aeba)

2.8.0 (2025-07-30)

🐛 Bug Fixes

  • update DI lifecycle to use container instead of static instance (#534) (1a3846d)

✨ New Features

  • Add Hook Dependency Injection extension method with Hook instance (#513) (12396b7)
  • Add TraceEnricherHookOptions Custom Attributes (#526) (5a91005)
  • Add Track method to IFeatureClient (#519) (2e70072)
  • Support JSON Serialize for Value (#529) (6e521d2)
  • Add Metric Hook Custom Attributes (#512) (8c05d1d)

🧹 Chore

  • Add comparison to Value (#523) (883f4f3)
  • deps: update github/codeql-action digest to 181d5ee (#520) (40bec0d)
  • deps: update github/codeql-action digest to 4e828ff (#532) (20d1f37)
  • deps: update github/codeql-action digest to d6bbdef (#527) (03d3b9e)
  • deps: update spec digest to 224b26e (#521) (fbc2645)
  • deps: update spec digest to baec39b (#528) (a0ae014)
  • remove redundant rule (now in parent) (929fa74)

📚 Documentation

🔄 Refactoring

2.7.0 (2025-07-03)

🐛 Bug Fixes

  • Add generic to evaluation event builder (#500) (68af649)
  • ArgumentNullException when creating a client with optional name (#508) (9151dcd)

✨ New Features

🧹 Chore

  • deps: update actions/attest-build-provenance action to v2.4.0 (#495) (349c073)
  • deps: update actions/attest-sbom action to v2.4.0 (#496) (f7ca416)
  • deps: update dependency benchmarkdotnet to 0.15.0 (#481) (714425d)
  • deps: update dependency benchmarkdotnet to 0.15.2 (#494) (cab3807)
  • deps: update dependency microsoft.net.test.sdk to 17.14.0 (#482) (520d383)
  • deps: update dependency microsoft.net.test.sdk to 17.14.1 (#485) (78bfdbf)
  • deps: update dependency opentelemetry.instrumentation.aspnetcore to 1.12.0 (#505) (241d880)
  • deps: update dependency reqnroll.xunit to 2.4.1 (#483) (99f7584)
  • deps: update dependency system.valuetuple to 4.6.1 (#503) (39f884d)
  • deps: update github/codeql-action digest to 39edc49 (#504) (08ff43c)
  • deps: update github/codeql-action digest to ce28f5b (#492) (cce224f)
  • deps: update github/codeql-action digest to fca7ace (#486) (e18ad50)
  • deps: update opentelemetry-dotnet monorepo to 1.12.0 (#506) (69dc186)
  • deps: update spec digest to 1965aae (#499) (2e3dffd)
  • deps: update spec digest to 42340bb (#493) (909c51d)
  • deps: update spec digest to c37ac17 (#502) (38f63fc)
  • deps: update spec digest to f014806 (#479) (dbe8b08)
  • fix sample build warning (#498) (08a00e1)

📚 Documentation

  • add XML comment on FeatureClient (#507) (f923cea)
  • updated contributing link on the README (8435bf7)

2.6.0 (2025-05-23)

✨ New Features

  • add AddHandler extension method to Dependency Injection package (#462) (ff414b8)
  • Add Extension Method for adding global Hook via DependencyInjection (#459) (9b04485)
  • Add OTEL compatible telemetry object builder (#397) (6c44db9)

🧹 Chore

  • Cleanup .props file (#476) (6d7a535)
  • deps: update actions/attest-build-provenance action to v2.3.0 (#464) (0a5ab0c)
  • deps: update codecov/codecov-action action to v5.4.3 (#475) (fbcf3a4)
  • deps: update github/codeql-action digest to 60168ef (#463) (ea76351)
  • deps: update github/codeql-action digest to ff0a06e (#473) (af1b20f)
  • deps: update spec digest to edf0deb (#474) (fc3bdfe)

📚 Documentation

2.5.0 (2025-04-25)

✨ New Features

🧹 Chore

  • add NuGet auditing (#454) (42ab536)
  • Change file scoped namespaces and cleanup job (#453) (1e74a04)
  • deps: update codecov/codecov-action action to v5.4.2 (#432) (c692ec2)
  • deps: update github/codeql-action digest to 28deaed (#446) (dfecd0c)
  • deps: update spec digest to 18cde17 (#395) (5608dfb)
  • deps: update spec digest to 2ba05d8 (#452) (eb688c4)
  • deps: update spec digest to 36944c6 (#450) (e162169)
  • deps: update spec digest to d27e000 (#455) (e0ec8ca)
  • packages read in release please (1acc00f)
  • update release permissions (d0bf40b)
  • workflows: Add permissions for contents and pull-requests (#439) (568722a)

📚 Documentation

🔄 Refactoring

  • InMemoryProvider throwing when types mismatched (#442) (8ecf50d)

2.4.0 (2025-04-14)

🐛 Bug Fixes

  • Refactor error handling and improve documentation (#417) (b0b168f)

✨ New Features

  • update FeatureLifecycleStateOptions.StopState default to Stopped (#414) (6c23f21)

🧹 Chore

  • deps: update github/codeql-action digest to 45775bd (#419) (2bed467)
  • restrict publish to environment (#431) (0c222cb)

📚 Documentation

🔄 Refactoring

  • simplify the InternalsVisibleTo usage (#408) (4043d3d)

2.3.2 (2025-03-24)

🐛 Bug Fixes

  • Address issue with newline characters when running Logging Hook Unit Tests on linux (#374) (a98334e)
  • Remove virtual GetEventChannel from FeatureProvider (#401) (00a4e4a)
  • Update project name in solution file (#380) (1f13258)

🧹 Chore

  • Correct LoggingHookTest timestamp handling. (#386) (c69a6e5)
  • deps: update actions/setup-dotnet digest to 67a3573 (#402) (2e2c489)
  • deps: update actions/upload-artifact action to v4.6.1 (#385) (accf571)
  • deps: update actions/upload-artifact action to v4.6.2 (#406) (16c92b7)
  • deps: update codecov/codecov-action action to v5.4.0 (#392) (06e4e3a)
  • deps: update dependency dotnet-sdk to v9.0.202 (#405) (a4beaae)
  • deps: update dependency microsoft.net.test.sdk to 17.13.0 (#375) (7a735f8)
  • deps: update dependency reqnroll.xunit to 2.3.0 (#378) (96ba568)
  • deps: update dependency reqnroll.xunit to 2.4.0 (#396) (b30350b)
  • deps: update dependency system.valuetuple to 4.6.0 (#403) (75468d2)
  • deps: update dotnet monorepo (#379) (53ced91)
  • deps: update dotnet monorepo to 9.0.2 (#377) (3bdc79b)
  • deps: update github/codeql-action digest to 1b549b9 (#407) (ae9fc79)
  • deps: update github/codeql-action digest to 5f8171a (#404) (73a5040)
  • deps: update github/codeql-action digest to 6bb031a (#398) (9b6feab)
  • deps: update github/codeql-action digest to 9e8d078 (#371) (e74e8e7)
  • deps: update github/codeql-action digest to b56ba49 (#384) (cc2990f)
  • deps: update spec digest to 0cd553d (#389) (85075ac)
  • deps: update spec digest to 54952f3 (#373) (1e8b230)
  • deps: update spec digest to a69f748 (#382) (4977542)
  • remove FluentAssertions (#361) (4ecfd24)
  • Replace SpecFlow with Reqnroll for testing framework (#368) (ed6ee2c), closes #354
  • update release please repo, specify action permissions (#369) (63846ad)

🔄 Refactoring

2.3.1 (2025-02-04)

🐛 Bug Fixes

🧹 Chore

  • deps: pin dependencies (#365) (3160cd2)
  • deps: update actions/upload-artifact action to v4.6.0 (#341) (cb7105b)
  • deps: update dependency autofixture to 5.0.0-preview0012 (#351) (9b0b319)
  • deps: update dependency coverlet.collector to 6.0.4 (#347) (e59034d)
  • deps: update dependency coverlet.msbuild to 6.0.4 (#348) (5ebe4f6)
  • deps: update dependency xunit to 2.9.3 (#340) (fb8e5aa)
  • deps: update dotnet monorepo (#343) (32dab9b)
  • deps: update spec digest to 8d6eeb3 (#366) (0cb58db)
  • update renovate config to extend the shared config (#364) (e3965db)

2.3.0 (2025-01-31)

Hook Changes

The signature of the finally hook stage has been changed. The signature now includes the evaluation details, as per the OpenFeature specification. Note that since hooks are still experimental, this does not constitute a change requiring a new major version. To migrate, update any hook that implements the finally stage to accept evaluation details as the second argument.

  • Add evaluation details to finally hook stage (#335) (2ef9955)

.NET 6

Removed support for .NET 6.

🐛 Bug Fixes

  • Adding Async Lifetime method to fix flaky unit tests (#333) (e14ab39)
  • Fix issue with DI documentation (#350) (728ae47)

✨ New Features

🧹 Chore

  • deps: update actions/upload-artifact action to v4.5.0 (#332) (fd68cb0)
  • deps: update codecov/codecov-action action to v5 (#316) (6c4cd02)
  • deps: update codecov/codecov-action action to v5.1.2 (#334) (b9ebddf)
  • deps: update codecov/codecov-action action to v5.3.1 (#355) (1e8ebc4)
  • deps: update dependency coverlet.collector to 6.0.3 (#336) (8527b03)
  • deps: update dependency coverlet.msbuild to 6.0.3 (#337) (26fd235)
  • deps: update dependency dotnet-sdk to v9.0.101 (#339) (dd26ad6)
  • deps: update dependency fluentassertions to 7.1.0 (#346) (dd1c8e4)
  • deps: update dependency microsoft.net.test.sdk to 17.12.0 (#322) (6f5b049)

📚 Documentation

  • disable space in link text lint rule (#329) (583b2a9)

2.2.0 (2024-12-12)

✨ New Features

🧹 Chore

  • deps: update dependency fluentassertions to v7 (#325) (35cd77b)

2.1.0 (2024-11-18)

🐛 Bug Fixes

✨ New Features

  • Add Dependency Injection and Hosting support for OpenFeature (#310) (1aaa0ec)

🧹 Chore

  • deps: update actions/upload-artifact action to v4.4.3 (#292) (9b693f7)
  • deps: update codecov/codecov-action action to v4.6.0 (#306) (4b92528)
  • deps: update dependency dotnet-sdk to v8.0.401 (#296) (0bae29d)
  • deps: update dependency fluentassertions to 6.12.2 (#302) (bc7e187)
  • deps: update dependency microsoft.net.test.sdk to 17.11.0 (#297) (5593e19)
  • deps: update dependency microsoft.net.test.sdk to 17.11.1 (#301) (5b979d2)
  • deps: update dependency nsubstitute to 5.3.0 (#311) (87f9cfa)
  • deps: update dependency xunit to 2.9.2 (#303) (2273948)
  • deps: update dotnet monorepo (#305) (3955b16)
  • deps: update dotnet monorepo to 8.0.2 (#319) (94681f3)
  • update release please config (#304) (c471c06)

2.0.0 (2024-08-21)

Today we're announcing the release of the OpenFeature SDK for .NET, v2.0! This release contains several ergonomic improvements to the SDK, which .NET developers will appreciate. It also includes some performance optimizations brought to you by the latest .NET primitives.

For details and migration tips, check out: https://openfeature.dev/blog/dotnet-sdk-v2

⚠ BREAKING CHANGES

  • domain instead of client name (#294)
  • internally maintain provider status (#276)
  • add CancellationTokens, ValueTasks hooks (#268)
  • Use same type for flag metadata and event metadata (#241)
  • Enable nullable reference types (#253)

🐛 Bug Fixes

  • Add missing error message when an error occurred (#256) (949d53c)
  • Should map metadata when converting from ResolutionDetails to FlagEvaluationDetails (#282) (2f8bd21)

✨ New Features

🧹 Chore

  • cleanup code (#277) (44cf586)
  • deps: Project file cleanup and remove unnecessary dependencies (#251) (79def47)
  • deps: update actions/upload-artifact action to v4.3.3 (#263) (7718649)
  • deps: update actions/upload-artifact action to v4.3.4 (#278) (15189f1)
  • deps: update actions/upload-artifact action to v4.3.5 (#291) (00e99d6)
  • deps: update codecov/codecov-action action to v4 (#227) (11a0333)
  • deps: update codecov/codecov-action action to v4.3.1 (#267) (ff9df59)
  • deps: update codecov/codecov-action action to v4.5.0 (#272) (281295d)
  • deps: update dependency benchmarkdotnet to v0.14.0 (#293) (aec222f)
  • deps: update dependency coverlet.collector to v6.0.2 (#247) (ab34c16)
  • deps: update dependency coverlet.msbuild to v6.0.2 (#239) (e654222)
  • deps: update dependency dotnet-sdk to v8.0.204 (#261) (8f82645)
  • deps: update dependency dotnet-sdk to v8.0.301 (#271) (acd0385)
  • deps: update dependency dotnet-sdk to v8.0.303 (#275) (871dcac)
  • deps: update dependency dotnet-sdk to v8.0.400 (#295) (bb4f352)
  • deps: update dependency githubactionstestlogger to v2.4.1 (#274) (46c2b15)
  • deps: update dependency microsoft.net.test.sdk to v17.10.0 (#273) (581ff81)
  • deps: update dotnet monorepo (#218) (bc8301d)
  • deps: update xunit-dotnet monorepo (#262) (43f14cc)
  • deps: update xunit-dotnet monorepo (#279) (fb1cc66)
  • deps: update xunit-dotnet monorepo to v2.8.1 (#266) (a7b6d85)
  • Enable nullable reference types (#253) (5a5312c)
  • in-memory UpdateFlags to UpdateFlagsAsync (#298) (390205a)
  • prompt 2.0 (9b9c3fd)
  • Support for determining spec support for the repo (#270) (67a1a0a)

1.5.0 (2024-03-12)

🐛 Bug Fixes

✨ New Features

🧹 Chore

  • bump spec version badge (#246) (ebf5552)
  • cleanup unused usings 🧹 (#240) (cdc1bee)
  • deps: update actions/upload-artifact action to v4.3.0 (#203) (0a7e98d)
  • deps: update actions/upload-artifact action to v4.3.1 (#233) (cfaf1c8)
  • deps: update codecov/codecov-action action to v3.1.5 (#209) (a509b1f)
  • deps: update codecov/codecov-action action to v3.1.6 (#226) (a577a80)
  • deps: update dependency coverlet.collector to v6.0.1 (#238) (f2cb67b)
  • deps: update dependency fluentassertions to v6.12.0 (#215) (2c237df)
  • deps: update dependency microsoft.net.test.sdk to v17.8.0 (#216) (4cb3ae0)
  • deps: update dependency nsubstitute to v5.1.0 (#217) (3be76cd)
  • deps: update dependency openfeature.contrib.providers.flagd to v0.1.8 (#211) (c1aece3)
  • deps: update xunit-dotnet monorepo (#236) (fa25ece)
  • Enable Central Package Management (CPM) (#178) (249a0a8)
  • Enforce coding styles on build (#242) (64699c8)
  • More sln cleanup (#206) (bac3d94)
  • SourceLink is built-in for .NET SDK 8.0.100+ (#198) (45e2c86)
  • Sync ci.yml with contrib repo (#196) (130654b)
  • Sync release.yml with ci.yml following #173 (#195) (eba8848)

📚 Documentation

1.4.1 (2024-01-23)

📚 Documentation

1.4.0 (2024-01-23)

🐛 Bug Fixes

  • Fix ArgumentOutOfRangeException for empty hooks (#187) (950775b)
  • More robust shutdown/cleanup/reset (#188) (a790f78)
  • Remove upper-bound version constraint from SCI (#171) (8f8b661)

✨ New Features

🧹 Chore

  • Add GitHub Actions logger for CI (#174) (c1a189a)
  • add placeholder eventing and shutdown sections (#156) (5dfea29)
  • Add support for GitHub Packages (#173) (26cd5cd)
  • Adding sealed keyword to classes (#191) (1a14f6c)
  • deps: update actions/checkout action to v4 (#144) (90d9d02)
  • deps: update actions/setup-dotnet action to v4 (#162) (0b0bb10)
  • deps: update dependency dotnet-sdk to v7.0.404 (#148) (e8ca1da)
  • deps: update github/codeql-action action to v3 (#163) (c85e93e)
  • fix alt text for NuGet on the readme (2cbdba8)
  • Fix FieldCanBeMadeReadOnly (#183) (18a092a)
  • Fix props to support more than one project (#177) (f47cf07)
  • minor formatting cleanup (#168) (d0c25af)
  • Reduce dependency on MEL -> MELA (#176) (a6062fe)
  • remove duplicate eventing section in readme (1efe09d)
  • remove test sleeps, fix flaky test (#194) (f2b9b03)
  • revert breaking setProvider (#190) (2919c2f)
  • update spec release link (a2f70eb)
  • updated readme for inclusion in the docs (6516866)

📚 Documentation

🔄 Refactoring

1.3.1 (2023-09-19)

🐛 Bug Fixes

🧹 Chore

  • deps: update dependency dotnet-sdk to v7.0.306 (#135) (15473b6)
  • deps: update dependency dotnet-sdk to v7.0.400 (#139) (ecc9707)
  • update rp config (emoji) (f921dc6)

📚 Documentation

1.3.0 (2023-07-14)

Features

  • Support for name client to given provider (#129) (3f765c6)

Bug Fixes

  • max System.Collections.Immutable version ++ (#137) (55c5e8e)

1.2.0 (2023-02-14)

Features

1.1.0 (2023-01-18)

Features

1.0.1 (2022-10-28)

Bug Fixes

  • correct version range on logging (#89) (9443239)

1.0.0 (2022-10-21)

Miscellaneous Chores

0.5.0 (2022-10-16)

⚠ BREAKING CHANGES

  • rename OpenFeature class to API and ns to OpenFeature (#82)

Features

  • rename OpenFeature class to API and ns to OpenFeature (#82) (6090bd9)

0.4.0 (2022-10-12)

⚠ BREAKING CHANGES

  • Thread safe hooks, provider, and context (#79)
  • Implement builders and immutable contexts. (#77)

Features

  • Implement builders and immutable contexts. (#77) (d980a94)
  • Thread safe hooks, provider, and context (#79) (609016f)

0.3.0 (2022-09-28)

⚠ BREAKING CHANGES

  • ErrorType as enum, add ErrorMessage string (#72)

Features

  • ErrorType as enum, add ErrorMessage string (#72) (e7ab498)

0.2.3 (2022-09-22)

Bug Fixes

0.2.2 (2022-09-22)

Bug Fixes

  • change NUGET_API_KEY -> NUGET_TOKEN (#67) (87c99b2)

0.2.1 (2022-09-22)

Bug Fixes

  • substitute version number into filename when pushing package (#65) (8c8500c)

0.2.0 (2022-09-22)

⚠ BREAKING CHANGES

  • use correct path to extra file (#63)
  • Rename namespace from OpenFeature.SDK to OpenFeatureSDK (#62)

Bug Fixes

  • Rename namespace from OpenFeature.SDK to OpenFeatureSDK (#62) (430ffc0)
  • use correct path to extra file (#63) (ee39839)