Skip to content

Upgrading Volo.Abp.AspNetCore.Mvc 7 to 8

Breaking7.4.5 → 8.3.4Breaking2New5Changed43Fixed12Other21

Fetching 37 releases from GitHub…4 / 37
BreakingUpgrade verdict

2 breaking changes.

  • Remove Theme Limitation warning of BrandingProvider.
  • Remove OnDisconnectedAsync method from AbpAuthenticationHubFilter.
2 items need code or config changes

Target frameworks requirement changed in 8.0.0-rc.1: net7.0 → net8.0.

Breaking2
Remove Theme Limitation warning of BrandingProvider.
Remove OnDisconnectedAsync method from AbpAuthenticationHubFilter.
OnDisconnectedAsyncAbpAuthenticationHubFilter

Generated by DepDelta from published .NET assemblies. Not mixed with prose notes.

  • changed: static method AbpApiVersioningExtensions.AddAbpApiVersioning(IServiceCollection services, Action<ApiVersioningOptions> setupAction): IServiceCollection → static method AbpApiVersioningExtensions.AddAbpApiVersioning(IServiceCollection services, Action<ApiVersioningOptions> apiVersioningOptionsSetupAction = …, Action<MvcApiVersioningOptions> mvcApiVersioningOptionsSetupAction = …): IApiVersioningBuilder
  • changed: static method AbpApiVersioningExtensions.ConfigureAbp(ApiVersioningOptions options, AbpAspNetCoreMvcOptions mvcOptions): void → static method AbpApiVersioningExtensions.ConfigureAbp(MvcApiVersioningOptions options, AbpAspNetCoreMvcOptions mvcOptions): void
  • removed: protected method AbpController.GetAppHomeUrl(): string
  • removed: protected method AbpController.GetRedirectUrl(string returnUrl, string returnUrlHash = …): string
  • removed: protected method AbpController.NormalizeReturnUrl(string returnUrl): string
  • removed: protected method AbpController.RedirectSafely(string returnUrl, string returnUrlHash = …): RedirectResult
  • added: protected method AbpController.GetAppHomeUrlAsync(): Task<string>
  • added: protected method AbpController.GetRedirectUrlAsync(string returnUrl, string returnUrlHash = …): Task<string>
  • added: protected method AbpController.NormalizeReturnUrlAsync(string returnUrl): Task<string>
  • added: protected method AbpController.RedirectSafelyAsync(string returnUrl, string returnUrlHash = …): Task<RedirectResult>
  • added: class AbpMvcActionDescriptorProvider implements IActionDescriptorProvider
  • added: ctor AbpMvcActionDescriptorProvider()
  • added: method AbpMvcActionDescriptorProvider.OnProvidersExecuted(ActionDescriptorProviderContext context): void
  • added: method AbpMvcActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context): void
  • added: property AbpMvcActionDescriptorProvider.Order: int { get; }
  • changed: class AbpAuditActionFilter implements IAsyncActionFilter, IFilterMetadata, ITransientDependency → class AbpAuditActionFilter implements IAbpFilter, IAsyncActionFilter, IFilterMetadata, ITransientDependency
  • changed: class AbpAuditPageFilter implements IAsyncPageFilter, IFilterMetadata, ITransientDependency → class AbpAuditPageFilter implements IAbpFilter, IAsyncPageFilter, IFilterMetadata, ITransientDependency
  • removed: method ChallengeAccountController.AccessDenied(string returnUrl = …, string returnUrlHash = …): Task<IActionResult>
  • removed: method ChallengeAccountController.Challenge(string returnUrl = …, string returnUrlHash = …): Task<ActionResult>
  • removed: method ChallengeAccountController.FrontChannelLogout(string sid): Task<IActionResult>
  • removed: method ChallengeAccountController.Login(string returnUrl = …, string returnUrlHash = …): ActionResult
  • removed: method ChallengeAccountController.Logout(string returnUrl = …, string returnUrlHash = …): Task<ActionResult>
  • added: method ChallengeAccountController.AccessDeniedAsync(): Task<IActionResult>
  • added: method ChallengeAccountController.ChallengeAsync(string returnUrl = …, string returnUrlHash = …): Task<ActionResult>
  • added: method ChallengeAccountController.FrontChannelLogoutAsync(string sid): Task<IActionResult>
  • added: method ChallengeAccountController.LoginAsync(string returnUrl = …, string returnUrlHash = …): Task<ActionResult>
  • added: method ChallengeAccountController.LogoutAsync(string returnUrl = …, string returnUrlHash = …): Task<ActionResult>
  • removed: property ConventionalControllerSetting.ApiVersionConfigurer: Action<ApiVersioningOptions> { get; set; }
  • added: property AbpConventionalControllerOptions.IgnoredUrlSuffixesInControllerNames: string[] { get; set; }
  • added: property ConventionalControllerSetting.MvcApiVersioningConfigurer: Action<MvcApiVersioningOptions> { get; set; }
  • changed: class AbpExceptionFilter implements IAsyncExceptionFilter, IFilterMetadata, ITransientDependency → class AbpExceptionFilter implements IAbpFilter, IAsyncExceptionFilter, IFilterMetadata, ITransientDependency
  • changed: class AbpExceptionPageFilter implements IAsyncPageFilter, IFilterMetadata, ITransientDependency → class AbpExceptionPageFilter implements IAbpFilter, IAsyncPageFilter, IFilterMetadata, ITransientDependency
  • changed: class AbpFeatureActionFilter implements IAsyncActionFilter, IFilterMetadata, ITransientDependency → class AbpFeatureActionFilter implements IAbpFilter, IAsyncActionFilter, IFilterMetadata, ITransientDependency
  • changed: class AbpFeaturePageFilter implements IAsyncPageFilter, IFilterMetadata, ITransientDependency → class AbpFeaturePageFilter implements IAbpFilter, IAsyncPageFilter, IFilterMetadata, ITransientDependency
  • changed: class GlobalFeatureActionFilter implements IAsyncActionFilter, IFilterMetadata, ITransientDependency → class GlobalFeatureActionFilter implements IAbpFilter, IAsyncActionFilter, IFilterMetadata, ITransientDependency
  • changed: class GlobalFeaturePageFilter implements IAsyncPageFilter, IFilterMetadata, ITransientDependency → class GlobalFeaturePageFilter implements IAbpFilter, IAsyncPageFilter, IFilterMetadata, ITransientDependency
  • added: class AbpMvcLibsOptions
  • added: class AbpMvcLibsService implements IAbpMvcLibsService, ITransientDependency
  • added: ctor AbpMvcLibsOptions()
  • added: ctor AbpMvcLibsService()
  • added: interface IAbpMvcLibsService
  • added: method AbpMvcLibsService.CheckLibs(ApplicationInitializationContext context): void
  • added: method IAbpMvcLibsService.CheckLibs(ApplicationInitializationContext context): void
  • added: property AbpMvcLibsOptions.CheckLibs: bool { get; set; }
  • added: protected method AbpMvcLibsService.CheckLibsAsync(HttpContext httpContext): Task<bool>
  • added: protected method AbpMvcLibsService.CheckLibsAsyncOnceAsync(HttpContext httpContext): Task<bool>
  • removed: protected method AbpModelMetadataProvider.NormalizeValidationAttrbute(ValidationAttribute validationAttribute): void
  • added: protected method AbpModelMetadataProvider.NormalizeValidationAttribute(ValidationAttribute validationAttribute): void
  • changed: class AbpNoContentActionFilter implements IAsyncActionFilter, IFilterMetadata, ITransientDependency → class AbpNoContentActionFilter implements IAbpFilter, IAsyncActionFilter, IFilterMetadata, ITransientDependency
  • changed: class AbpUowActionFilter implements IAsyncActionFilter, IFilterMetadata, ITransientDependency → class AbpUowActionFilter implements IAbpFilter, IAsyncActionFilter, IFilterMetadata, ITransientDependency
  • changed: class AbpUowPageFilter implements IAsyncPageFilter, IFilterMetadata, ITransientDependency → class AbpUowPageFilter implements IAbpFilter, IAsyncPageFilter, IFilterMetadata, ITransientDependency
  • changed: class AbpValidationActionFilter implements IAsyncActionFilter, IFilterMetadata, ITransientDependency → class AbpValidationActionFilter implements IAbpFilter, IAsyncActionFilter, IFilterMetadata, ITransientDependency