Skip to content

Releases: DFE-Digital/dfe-analytics-dotnet

v0.2.6

20 Dec 14:56
80c4dec
Compare
Choose a tag to compare

Update dependency versions to work with .NET 9

v0.2.5

13 Nov 18:21
dd88e85
Compare
Choose a tag to compare

Fixed populating GenerateAccessTokenUrl from CredentialsJson.

v0.2.4

07 Nov 18:41
83cc235
Compare
Choose a tag to compare

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

10 Sep 13:49
476f741
Compare
Choose a tag to compare

Fixed ProjectNumber option to read from ProjectNumber configuration key instead of ProjectId.

v0.2.2

10 Sep 13:49
e573f39
Compare
Choose a tag to compare

Adds RestoreOriginalPathAndQueryString and RestoreOriginalStatusCode properties to DfeAnalyticsAspNetCoreOptions.

v0.2.1

24 May 11:40
93d5428
Compare
Choose a tag to compare

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

23 May 15:09
41820ee
Compare
Choose a tag to compare

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

01 Dec 15:02
ad46eb4
Compare
Choose a tag to compare

Initial release