-
Notifications
You must be signed in to change notification settings - Fork 79
FeatureManagement 4.0.0-preview2 release notes update #896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
d8db18e
b6ba993
3b4e079
58909ea
3ea7fdc
ca2320f
18793bc
42acbce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Microsoft.FeatureManagement.AspNetCore | ||
|
|
||
| [Source code][source_code] | [Package (NuGet)][package] | [Samples][samples] | [Product documentation][docs] | ||
|
|
||
| ## 4.0.0-preview2 - March 7, 2024 | ||
|
|
||
| ### Enhancements | ||
|
|
||
| * Added `TargetingHttpContextMiddleware`, which ensures TargetingContext is available for syncronous functions, like `TargetingTelemetryInitializer` in the `Microsoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCore` package. ([#409](https://github.com/microsoft/FeatureManagement-Dotnet/issues/409)) | ||
| * Added support for .NET 8 target framework. ([#364](https://github.com/microsoft/FeatureManagement-Dotnet/issues/364)) | ||
|
|
||
| ### Breaking Changes | ||
|
|
||
| No breaking changes in this release. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How strongly do we feel the necessity of adding this no-breaking-change disclaimer? We don't do this in other release notes. Even if we put this, there is no guarantee of no breaking changes. There are just no known breaking changes.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll remove it for now- seeing as the guidelines don't suggest we have it. |
||
|
|
||
| <!-- LINKS --> | ||
| [docs]: https://github.com/microsoft/FeatureManagement-Dotnet | ||
| [package]: https://www.nuget.org/packages/Microsoft.FeatureManagement.AspNetCore | ||
| [samples]: https://github.com/microsoft/FeatureManagement-Dotnet/tree/master/examples/FeatureFlagDemo | ||
| [source_code]: https://github.com/microsoft/FeatureManagement-Dotnet/tree/master/src/Microsoft.FeatureManagement.AspNetCore | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Microsoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCore | ||
|
|
||
| [Source code][source_code] | [Package (NuGet)][package] | [Samples][samples] | [Product documentation][docs] | ||
|
|
||
| ## 4.0.0-preview2 - March 7, 2024 | ||
|
|
||
| ### Enhancements | ||
|
|
||
| * Added `TargetingTelemetryInitializer`, which appends targeting information to all outgoing telemetry to Application Insights. ([#409](https://github.com/microsoft/FeatureManagement-Dotnet/issues/409)) | ||
|
rossgrambo marked this conversation as resolved.
Outdated
|
||
|
|
||
| ### Breaking Changes | ||
|
|
||
| No breaking changes in this release. | ||
|
|
||
| <!-- LINKS --> | ||
| [docs]: https://github.com/microsoft/FeatureManagement-Dotnet | ||
| [package]: https://www.nuget.org/packages/Microsoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCore | ||
| [samples]: https://github.com/microsoft/FeatureManagement-Dotnet/tree/preview/examples/EvaluationDataToApplicationInsights | ||
| [source_code]: https://github.com/microsoft/FeatureManagement-Dotnet/tree/preview/src/Microsoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCore | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Microsoft.FeatureManagement.Telemetry.ApplicationInsights | ||
|
|
||
| [Source code][source_code] | [Package (NuGet)][package] | [Samples][samples] | [Product documentation][docs] | ||
|
|
||
| ## 4.0.0-preview2 - March 7, 2024 | ||
|
|
||
| ### Enhancements | ||
|
|
||
| * Added a property to published telemetry named `TargetingId`. This is a more reliable way to connect evaluated feature flags to other telemetry events for a given target. ([#409](https://github.com/microsoft/FeatureManagement-Dotnet/issues/409)) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I hope this explains why a change can benefit a customer. Added a
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That can work- but the nuance to me is
Correlating events was already possible in the previous version using one of Application Insights user id fields. I think this change is more about decoupling the id from Application Insights / not locking ourselves to users / ensuring we emit whatever the value of "Targeting.UserId" was instead of relying on an ambient field that might not correlate with the Targeting value.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we could call out that it's explicitly the targeting information from evaluation. Like:
Which says that it's no longer some ambient field- but the actual targeting information used during evaluation.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Sounds like a breaking change.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't be, correlating via user id is still possible.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If we did this (add userid to "one of Application Insights user id fields") before and not anymore in the new release. It sounds like a breaking change to me.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah that would be, but we don't add it. App Insights package automatically generates and adds user id. In our early examples, we were adding AuthenticatedUserId, but it was added/managed in the customer code and not in the library. That approach would still work today.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Got it. This means we didn't provide a solution out of the box before and now we do. Customers must do it in their application code before this release. Yes, correlating via user id was already possible, but for the sake of the argument :), the whole feature management was possible by user code completely. The release notes are about what we provide out-of-the box regardless of whether something was possible or not by the user code.
This is true from our perspective. From the customer perspective, it's all about correlating events. How to do it? It's an implementation detail.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. True, but just to note again. Application Insights generates A customer today who wants to run experiments with anonymous data from users would likely still use the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated to your original suggestion:
|
||
|
|
||
| ### Breaking Changes | ||
|
|
||
| No breaking changes in this release. | ||
|
|
||
| <!-- LINKS --> | ||
| [docs]: https://github.com/microsoft/FeatureManagement-Dotnet | ||
| [package]: https://www.nuget.org/packages/Microsoft.FeatureManagement.Telemetry.ApplicationInsights | ||
| [samples]: https://github.com/microsoft/FeatureManagement-Dotnet/tree/preview/examples/EvaluationDataToApplicationInsights | ||
| [source_code]: https://github.com/microsoft/FeatureManagement-Dotnet/tree/preview/src/Microsoft.FeatureManagement.Telemetry.ApplicationInsights | ||
Uh oh!
There was an error while loading. Please reload this page.