ABP.IO Platform 7.2 RC Has Been Published

User Avatar
1 year ago, 3913 views, 0 comments
Cover Image

Today, we are happy to release the ABP Framework and ABP Commercial version 7.2 RC (Release Candidate). This blog post introduces the new features and important changes in this new version.

Try this version and provide feedback for a more stable version of ABP v7.2! Thanks to all of you.

Get Started with the 7.2 RC

Follow the steps below to try version 7.2.0 RC today:

  1. Upgrade the ABP CLI to version 7.2.0-rc.1 using a command line terminal:
dotnet tool update Volo.Abp.Cli -g --version 7.2.0-rc.1

or install it if you haven't before:

dotnet tool install Volo.Abp.Cli -g --version 7.2.0-rc.1
  1. Create a new application with the --preview option:
abp new BookStore --preview

See the ABP CLI documentation for all the available options.

You can also use the Get Started page to generate a CLI command to create a new application.

You can use any IDE that supports .NET 7.x, like Visual Studio 2022.

Migration Guides

There are breaking changes in this version that may affect your application. Please see the following migration documents, if you are upgrading from v7.1:

What's New with ABP Framework 7.2?

In this section, I will introduce some major features released in this version. Here is a brief list of the titles that will be explained in the next sections:

  • Grouping of Navigation Menu Items
  • Introducing the BlazorWebAssemblyCurrentApplicationConfigurationCacheResetService
  • CMS Kit Comments: Don't Allow External URLs
  • Angular UI New Components
  • Others

Grouping of Navigation Menu Items

Some applications may need to group their main menus to tidy up their menu structure. For example, you may want to group ABP's menu items, which came from modules in a group named Admin.

In this version, you can allow to define groups and associate menu items with a group. Then your theme can render your menu items within the specified groups.

Example:

private async Task ConfigureMainMenuAsync(MenuConfigurationContext context)
{
    //Creating a new group
    context.Menu.AddGroup("Dashboards", l["Dashboards"]);

    //Setting the group name for menu items
    context.Menu
        .AddItem(new ApplicationMenuItem("Home", l["Menu:Home"], groupName: "Dashboards")
        .AddItem(new ApplicationMenuItem("Home", l["Menu:Dashboard"], groupName: "Dashboards");
}

Note: Currently, only the LeptonX Theme renders groups for menu items. See the "LeptonX - Render Groups for Menu Items" section below for a demonstration.

Introducing the BlazorWebAssemblyCurrentApplicationConfigurationCacheResetService

In this version, we have introduced the BlazorWebAssemblyCurrentApplicationConfigurationCacheResetService service to re-initialize application configurations. This service can be helpful, if you want to reset the application configurations after changing some configurations through your code. For example, you might have changed the values of some settings and might want to be able to get the new settings without the need to refresh the page. For this purpose, the BlazorWebAssemblyCurrentApplicationConfigurationCacheResetService.ResetAsync() method can be used to re-initialize the application configurations and cache the updated configurations for further usages.

For more information, please see https://github.com/abpframework/abp/issues/15887.

CMS Kit Comments: Disallowing External URLs

CMS Kit provides a comment system to add the comment feature to any kind of resource, like blog posts for an example. The CMS Kit comment section is good for visitor comments and can improve your interaction with your application users.

Sometimes, malicious users (or bots) can submit advertisement links into the comment sections. With this version, you can specify allowed external URLs for a specific comment section and disallow any other external URLs. You just need to configure the CmsKitCommentOptions as follows:

Configure<CmsKitCommentOptions>(options =>
{
    options.AllowedExternalUrls = new Dictionary<string, List<string>>
    {
      {
        "Product",
        new List<string>
        {
          "https://abp.io/"
        }
      }
    };
});

If you don't specify any allowed external URLs for a specific comment section, all external URLs are allowed to be used in comments. For more information, please refer to the CMS Kit: Comments documentation.

New Components for Angular UI

In this version, we have created some useful UI components for Angular UI, which are abp-checkbox, abp-form-input, and abp-card. Instead of using the related HTML elements and specifying bootstrap classes, from this version on, you can use these components.

You can see the following examples for the usage of the abp-card component:

<abp-card cardClass="mt-4 mb-5">
    <abp-card-body>
        <div>...</div>    
    </abp-card-body>
</abp-card>        

See the Card Component documentation for more information.

Others

  • OpenIddict registered custom scopes have been added to the openid-configuration endpoint (/.well-known/openid-configuration) automatically. See #16141 for more information.
  • Two new tag-helpers have been added to MVC UI, which are abp-date-picker and abp-date-range-picker. See #15806 for more information.
  • Filtering/searching has been improved in the Docs Module and unified under a single Search section. See #15787 for more information.

What's New with ABP Commercial 7.2?

We've also worked on ABP Commercial to align the features and changes made in the ABP Framework. The following sections introduce a few new features coming with ABP Commercial 7.2.

Authority Delegation

Authority Delegation is a way of delegating the responsibility of the current user to a different user(s) for a limited time. Thus, a user can be switched to the delegated users' account and perform actions on their behalf.

This version introduces support for the Authority Delegation in the Account Module. You can check the following gif for a demonstration:

authority delegation

You can check the Authority Delegation in ABP Commercial post for an overview of this feature.

Force Password Change at Next Logon

It's a typical need to force users to change their password after their first successful login. Especially, if you as admin create a new user (from the Users page of the Identity Pro module, for example) with an easy initial password or a randomly generated password. The user should change his/her password with a more secure password that only they know.

In this version, the "Forcing Password Change at Next Logon" feature has been added for this kind of purpose. Now, it's possible to force a user to change their password on the next login.

The admin only needs to check the Should change password on next login option, while creating a new user:

force-password-change.png

After the first successful login, a password change page will open and force the user to change their password:

password-change-form.png

Then, the user starts using their account with a secure password that only they know.

Periodic Password Changes (Password Aging)

Password aging is a mechanism to force users to periodically change their passwords. It allows you to specify a max number of days that a password can be used before it has to be changed.

password-aging.png

You can force this behavior in the "Password renewing settings" section of the Settings page as can be seen in the image above. Then, after the specified time has passed, users will have to renew their passwords.

LeptonX - Render Groups for Menu Items

As mentioned in the Grouping of Navigation Menu Items section above, the LeptonX Theme renders groups for menu items:

leptonx-group-render.png

Suite: Show Properties on Create/Update/List Pages

In this version, ABP Suite allows you to choose whether a property is visible/invisible on the create/update modals and list page. It also allows you to set specific properties to readonly on the update modals.

suite-property.png

Community News

ABP - DOTNET CONF'23

abp-conf.png

As the ABP team, we've organized 10+ online events and gained a good experience with software talks. We are organizing ABP Dotnet Conference 2023, a full-featured software conference, in May. You can visit https://abp.io/conference to see speakers, talks, schedules, and other details.

Less than a month left until the event! Don't forget to take your seat and buy an early bird ticket from https://kommunity.com/volosoft/events/1st-abp-conference-96db1a54!

New ABP Community Posts

There are exciting articles contributed by the ABP community as always. I will highlight some of them here:

Thanks to the ABP Community for all the content they have published. You can also post your ABP-related (text or video) content to the ABP Community.

New ABP Blog Posts

There are also some exciting blog posts written by the ABP team. You can see the following list for some of those articles:

Conclusion

This version comes with some new features and a lot of enhancements to the existing features. You can see the Road Map documentation to learn about the release schedule and planned features for the next releases. Please try ABP v7.2 RC and provide feedback to help us release a more stable version.

Thanks for being a part of this community!

More From Engincanv

ABP.IO Platform 9.0 RC Has Been Published

ABP 9.0 release candidate has been released today. Read the blog post to learn all new features in details. Continue Reading

EngincanV October 2024

ABP.IO Platform 8.3 Final Has Been Released

ABP 8.3 stable version has been released today. Read the blog post to learn all new features in details. Continue Reading

EngincanV September 2024

New ABP Documentation System: Everything You Need In One Place 📣

We have combined the ABP (open-source) and ABP Commercial (paid) documents into a single, comprehensive resource. This unification brings you a bet... Continue Reading

EngincanV August 2024

ABP.IO Platform 8.3 RC Has Been Published

Today, we are happy to release ABP version 8.3 RC (Release Candidate). This blog post introduces the new features and important changes in this new... Continue Reading

EngincanV August 2024

Introducing the New ABP CLI

📢 We're excited to introduce the new ABP CLI after the announcement of the new unified ABP Platform. Continue Reading

EngincanV July 2024

ABP.IO Platform 8.2 Final Has Been Released

ABP Framework and ABP Commercial 8.2 versions have been released today. Continue Reading

EngincanV June 2024

ABP.IO Platform 8.2 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 8.2 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV May 2024

ABP.IO Platform 8.1 Final Has Been Released

ABP Framework and ABP Commercial 8.1 versions have been released today. Continue Reading

EngincanV April 2024

ABP.IO Platform 8.1 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 8.1 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV February 2024

ABP.IO Platform 8.0 Has Been Released Based on .NET 8.0

Today, ABP Framework and ABP Commercial 8.0 versions have been released based on .NET 8.0. Continue Reading

EngincanV December 2023

ABP.IO Platform 8.0 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 8.0 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV November 2023

ABP.IO Platform 7.4 Final Has Been Released

ABP Framework and ABP Commercial 7.4 versions have been released today. Continue Reading

EngincanV October 2023

Unleash the Power of ABP CMS Kit: A Dynamic Content Showcase

We're excited to introduce to you ABP's CMS Kit Module – a versatile module that empowers you to build your own dynamic content website with ease. ... Continue Reading

EngincanV September 2023

ABP.IO Platform 7.4 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 7.4 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV August 2023

ABP.IO Platform 7.3 Final Has Been Released

ABP Framework and ABP Commercial 7.3 versions have been released today. Continue Reading

EngincanV July 2023

ABP.IO Platform 7.3 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 7.3 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV June 2023

ABP.IO Platform 7.2 Final Has Been Released

ABP Framework and ABP Commercial 7.2 versions have been released today. Continue Reading

EngincanV May 2023

ABP.IO Platform 7.1 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 7.1 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV February 2023

ABP.IO Platform 7.0 Final Has Been Released

ABP Framework and ABP Commercial 7.0 versions have been released today. Continue Reading

EngincanV January 2023

ABP.IO Platform 7.0 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 7.0 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV November 2022

ABP.IO Platform 6.0 Final Has Been Released

ABP Framework and ABP Commercial 6.0 versions have been released today. Continue Reading

EngincanV October 2022

ABP.IO Platform 6.0 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 6.0 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV July 2022

ABP.IO Platform 5.3 Final Has Been Released

ABP Framework and ABP Commercial 5.3 versions have been released today. Continue Reading

EngincanV June 2022

ABP.IO Platform 5.3 RC Has Been Published

Today, we are happy to release the ABP Framework and ABP Commercial version 5.3 RC (Release Candidate). This blog post introduces the new features ... Continue Reading

EngincanV May 2022