docs/en/release-info/migration-guides/abp-10-5.md
//[doc-seo]
{
"Description": "Upgrade your ABP solutions from v10.4 to v10.5 with this migration guide covering important behavior and integration changes."
}
This document is a guide for upgrading ABP v10.4 solutions to ABP v10.5. There are no explicitly marked breaking changes in this release scope, but there are some important changes that may require action in specific application scenarios.
Package Version Changes: Before upgrading, review the Package Version Changes document to see version changes on dependent NuGet and NPM packages and align your project with ABP's internal package versions.
This version contains the following changes on the open-source side:
Who is affected
What changed
LinkUserTokenProvider now derives from ABP's single-active token infrastructure.DataProtectorTokenProvider registered under TokenOptions.DefaultProvider with AbpDefaultTokenProvider.What to do
Configure<AbpDefaultTokenProviderOptions>(options =>
{
options.TokenLifespan = TimeSpan.FromMinutes(10);
});
Configure<AbpLinkUserTokenProviderOptions>(options =>
{
options.TokenLifespan = TimeSpan.FromMinutes(10);
});
See #25450, #25525, and the Identity Token Providers document for details.
Who is affected
client_credentials, password, or token-exchange grants.scope parameter.What changed
AbpOpenIddictAspNetCoreOptions.What to do
No action is required if you do not enable the new options.
If you want the fallback behavior, configure the options explicitly:
Configure<AbpOpenIddictAspNetCoreOptions>(options =>
{
options.UseDefaultScopesForClientCredentials = true;
options.UseDefaultScopesForPassword = true;
options.UseDefaultScopesForTokenExchange = true;
});
After enabling the options, re-test token issuance for the affected grant types and confirm the resulting scopes/resources match your authorization expectations.
See #25356 for details.
Who is affected
IDynamicBackgroundWorkerManager directly.What changed
ISupportsRuntimeRegistrationISupportsCronSchedulingWhat to do
IDynamicBackgroundWorkerManager, check provider capabilities before showing or accepting runtime registration and cron scheduling options.CronExpression.See #25397 for details.
Who is affected
Volo.Abp.BlobStoring.Aws.What changed
ServiceURL for custom S3-compatible endpoints.DisablePayloadSigning for providers that do not support AWS SDK v4 streaming payload signing.What to do
No action is required for existing AWS S3 configurations.
If you use an S3-compatible provider, configure the provider-specific endpoint and payload-signing behavior:
Configure<AbpBlobStoringOptions>(options =>
{
options.Containers.ConfigureDefault(container =>
{
container.UseAws(aws =>
{
aws.ServiceURL = "https://<account-id>.r2.cloudflarestorage.com";
aws.DisablePayloadSigning = true;
});
});
});
Keep DisablePayloadSigning disabled for providers that support the default AWS SDK signing behavior.
See #22962 for details.
Who is affected
ResourcePermissionGrant model.What changed
ResourcePermissionGrant.ResourceName and ResourcePermissionGrant.ResourceKey max lengths to avoid exceeding MySQL's utf8mb4 index key length limit.What to do
ResourcePermissionGrant, compare it with the updated model and adjust the affected column lengths for MySQL if needed.See #25495 for details.
Who is affected
What changed
@abp/codemirror was updated to CodeMirror 6.0.2.What to do
There are no explicitly marked breaking changes on the PRO side in this release scope. However, check the following if they apply to your application.
Who is affected
What changed
What to do
Who is affected
What changed
IRemoteStreamContent.What to do
Who is affected
What changed
What to do