Releases: DFE-Digital/dfe-analytics-dotnet
v0.2.6
v0.2.5
v0.2.4
Amended FederatedAksAuthenticationOptions
to reduce the number of options required; Audience
and GenerateAccessTokenUrl
are now the only keys required. For backwards compatibility these will be derived from the old configuration keys if they're provided.
If CredentialsJson
is available in configuration then Audience
and GenerateAccessTokenUrl
will be sourced from there.
v0.2.3
v0.2.2
v0.2.1
A IWebRequestEventEnricher
interface has been added so that applications can modify web request events before they are sent to BigQuery.
A RateLimiter
property has been added to DfeAnalyticsAspNetCoreOptions
to limit the rate of web request events sent to BigQuery.
v0.2.0
Changed the library design to have a single Dfe.Analytics
package to cover both web events and database events.
Configuration has been split over two Options types - DfeAnalyticsOptions
and DfeAnalyticsAspNetCore
options and there are two separate methods for configuration:
services.AddDfeAnalytics(options => ...)
.AddAspNetCoreIntegration(options => ...);
ASP.NET Core integration options are pulled from a subkey in configuration - DfeAnalytics:AspNetCore
.
A PseudonymizeUserId
property has been added to DfeAnalyticsAspNetCoreOptions
to control whether the user ID is pseudonymized.
The DfEAnalytics.Event.Anonymize()
has been renamed to Pseudonymize()
to align with the Ruby gem.
The GetWebRequestEvent()
extension method over Microsoft.AspNetCore.Http.HttpContext
has been amended to return null
if the WebRequestEventFeature
is missing instead of throwing.
A UseFederatedAksBigQueryClientProvider()
method has been added for using Workload Managed Identity in AKS for authentication:
services.AddDfeAnalytics(...)
.UseFederatedAksBigQueryClientProvider(options => ...);
An option has been added to filter out any requests that should not generate a web request event:
services.AddDfeAnalytics(...)
.AddAspNetCoreIntegration(options => options.RequestFilter = ctx => /* filter condition */);
v0.1.0
Initial release