alba breaking changes
alba 9.0.0 (November 11, 2026) is its newest release with breaking changes, 32 of them. The first: Alba 9.0.0 drops support for .NET 8 and 9. Every breaking API change we have recorded in alba on NuGet: 32 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 9.0.0, released November 11, 2026. Source repository
Its 9.0.0 release drops .NET 8 and 9. .NET end of life dates.
alba 9.0.0 breaking changes
- Removed
Alba now targets net10.0 and net11.0; applications under test must run on .NET 10 or later. github.com - Removed
Alba.AlbaHostExtensions.StartAlba
Use StartAlbaAsync and await it instead. nuget.org - Removed
Alba.ConfigurationOverride
Configuration values are now overridden on the builder with WithConfiguration. nuget.org - Removed
Alba.HttpContextExtensions.Write
Use ASP.NET Core's HttpResponse.WriteAsync instead. nuget.org - Removed
Alba.ScenarioExpectationsExtensions.StatusCodeShouldBeSuccess
It moved from an extension method to an instance method on Scenario and no longer registers an assertion. nuget.org - Removed
Alba.Security.AuthenticationExtensionBase.defaultClaims
Alba.Security.AuthenticationExtensionBase.defaultClaims was removed in Alba 9.0.0 nuget.org - Removed
Alba.Serialization.FormatterSerializer.Write
Alba.Serialization.FormatterSerializer.Write was removed in Alba 9.0.0 nuget.org - Removed
Alba.Serialization.IJsonStrategy.Write
Custom IJsonStrategy implementations must implement WriteAsync returning Task<Stream>. nuget.org - Removed
Alba.Serialization.SystemTextJsonSerializer.Write
Alba.Serialization.SystemTextJsonSerializer.Write was removed in Alba 9.0.0 nuget.org - Removed
new AlbaHost
Bootstrapping is now asynchronous only. Use AlbaHost.For or StartAlbaAsync with await. github.com - Renamed
Alba.AlbaJsonFormatterException
Add using Alba.Exceptions to code that catches or asserts on these exceptions. nuget.org - Renamed
Alba.EmptyResponseException
Add using Alba.Exceptions to code that catches or asserts on these exceptions. nuget.org - Renamed
Alba.ScenarioAssertionException
Add using Alba.Exceptions to code that catches or asserts on these exceptions. nuget.org - Renamed
IdentityModel
Token and discovery types now come from Duende.IdentityModel.Client; update using directives. github.com - Behavior changed
Overrides now beat appsettings.json and other application sources on the IHostBuilder path. github.com - Behavior changed
AsyncLocal values set by the test are no longer visible in configuration actions; capture them before starting the host. github.com - Behavior changed
AlbaHost.For
Code storing the result as Task<IAlbaHost> or passing it as Func<Task> must call StartAsync explicitly. github.com - Behavior changed
AlbaHost.For<T>
Startup-style applications fail through AlbaHost.For<T> on .NET 11; bootstrap them via their IHostBuilder instead. github.com - Behavior changed
AllowSynchronousIO
Alba no longer sets AllowSynchronousIO on the TestServer; opt in after starting the host if needed. github.com - Behavior changed
IAlbaHost.BeforeEachAsync
The hook now takes a Scenario instead of HttpContext and is awaited before the request. Async actions run before sync BeforeEach actions. github.com - Behavior changed
IAlbaHost.Dispose
Dispose now waits for complete teardown, equivalent to awaiting DisposeAsync. github.com - Behavior changed
IAlbaHost.DisposeAsync
Framework System.Text.Json or Newtonsoft formatters are preferred regardless of registration order; custom formatters registered first no longer win. github.com - Behavior changed
IScenarioResult.ReadAsXml
Bodies merely containing the text Error are now parsed as XML instead of returning null. github.com - Behavior changed
Scenario.StatusCodeShouldBeSuccess
Scenarios without a status expectation pass for any 2xx code; use StatusCodeShouldBeOk for exact 200. github.com - Signature changed
Alba.AlbaHost.BeforeEachAsync
Was Alba.IAlbaHost BeforeEachAsync(System.Func<Microsoft.AspNetCore.Http.HttpContext, System.Threading.Tasks.Task> beforeEach); now Alba.IAlbaHost BeforeEachAsync(System.Func<Alba.Scenario, System.Threading.Tasks.Task> beforeEach). nuget.org - Signature changed
Alba.AlbaHost.For
The overload that implicitly created a default host builder is gone. Build the IHostBuilder explicitly and pass it to AlbaHost.For. nuget.org - Signature changed
Alba.AlbaHostExtensions.StartAlbaAsync
Was static System.Threading.Tasks.Task<Alba.IAlbaHost> StartAlbaAsync(Microsoft.AspNetCore.Builder.WebApplicationBuilder builder, System.Action<Microsoft.AspNetCore.Builder.WebApplication> configureRoutes, Alba.IAlbaExtension[] extensions)... nuget.org - Signature changed
Alba.IAlbaExtension.Configure
Configure now takes IAlbaHostBuilder and returns void instead of returning IHostBuilder. nuget.org - Signature changed
Alba.IAlbaHost.BeforeEachAsync
Was Alba.IAlbaHost BeforeEachAsync(System.Func<Microsoft.AspNetCore.Http.HttpContext, System.Threading.Tasks.Task> beforeEach); now Alba.IAlbaHost BeforeEachAsync(System.Func<Alba.Scenario, System.Threading.Tasks.Task> beforeEach). nuget.org - Signature changed
Alba.Security.OpenConnectClientCredentials.FetchToken
Was System.Threading.Tasks.Task<IdentityModel.Client.TokenResponse> FetchToken(object tokenCustomization) virtual System.Threading.Tasks.Task<IdentityModel.Client.TokenResponse> FetchToken(System.Net.Http.HttpClient client... nuget.org - Signature changed
Alba.Security.OpenConnectExtension.FetchToken
Was System.Threading.Tasks.Task<IdentityModel.Client.TokenResponse> FetchToken(object tokenCustomization) abstract System.Threading.Tasks.Task<IdentityModel.Client.TokenResponse> FetchToken(System.Net.Http.HttpClient client... nuget.org - Signature changed
Alba.Security.OpenConnectUserPassword.FetchToken
Was System.Threading.Tasks.Task<IdentityModel.Client.TokenResponse> FetchToken(object tokenCustomization) virtual System.Threading.Tasks.Task<IdentityModel.Client.TokenResponse> FetchToken(System.Net.Http.HttpClient client... nuget.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.