ABP Version 5.2 Migration Guide
This document is a guide for upgrading ABP v5.x solutions to ABP v5.2. Please read them all since v5.2 has some changes you should take care.
MongoDB
- IMongoDbRepositoryFilterer.AddGlobalFilters()method is replaced with async one- IMongoDbRepositoryFilterer.AddGlobalFiltersAsync()
Blazor UI
If you use Blazor WASM or Blazor Server UI, you should follow this section.
Blazorise 1.0
We've upgraded to Blazorise 1.0 stable version. So there is some breaking changes that you have to apply in your project.
Also You can review that pull request #11649 - Blazorise 1.0 Migration
- NumericEditis now made around the native- input type="number"so a lot of its formating features are moved to the new- NumericPickercomponent. Replace NumericEdit with NumericPicker.
- Rename DecimalsSeparatortoDecimalSeparatoron theDataGridColumnandNumericPicker.
- Rename MaxMessageSizetoMaxChunkSize.
- Remove Fullscreenparameter on<ModalContent>and replace it withSize="ModalSize.Fullscreen"parameter.
- Remove NotificationType,Message, andTitleparameter from<NotificationAlert>component.
- Move RightAlignedparameter from<BarDropdownMenu>to<BarDropdown>component.
- Rename any usage of the ChangeTextOnKeyPressparameter intoImmediate.
- Rename any usage of DelayTextOnKeyPressparameter intoDebounceandDelayTextOnKeyPressIntervalinto DebounceInterval.
- Replace all LeftandRightenums withStartandEndfor the following enum types:Direction,Float,Placement,NotificationLocation,Side,SnackbarLocation,SnackbarStackLocation,TabPosition, andTextAlignment.
- Replace all FromLeft,FromRight,RoundedLeft, andRoundedRightenums withFromStart,FromEnd,RoundedStart, andRoundedEndfor theBorderutilities.
- Replace all FromLeftandFromRightwithFromStart,FromEndfor the Margin andPaddingutilities.
- Replace all AddLabelwithAddLabelsmethod on chart instance.
- Change enum value from NonetoDefaultfor the following enum types:Color,Background,TextColor,Alignment,BorderRadius,BorderSize,Direction,DisplayDirection,FigureSize,IconSize,JustifyContent,OverflowType,SnackbarColor,Target,TextAlignment,TextOverflow,TextTransform,TextWeight,VerticalAlignment,Visibility,Size, andSnackbarLocation.
- Obsolete typography parameters Alignment,Color,Transform, andWeightare removed in favor ofTextAlignment,TextColor,TextTransform, andTextWeight.
- Remove any use of an obsolete component <InlineField>.
- The Datagrid's obsolete Directionparameter has now been removed. Instead, please use theSortDirectionparameter if you weren't already..
- Rename <Tabs>Modeparameter intoRenderMode.
Check out Blazorise Release Notes for more information.
MVC - Razor Pages UI
If you use MVC Razor Pages UI, you should follow this section.
Client libraries
The libs folder no longer exists in templates after v5.2. That change greatly reduced the size of templates and brought some other advantages.
You can use abp install-libs command for installing or updating client libraries. You should run this command after updating v5.2.
If you're creating a new project, you don't have to be concerned about it, ABP CLI installs client libraries after automatically.
 
                                             
                                    