ABP.IO Platform 8.1 RC Has Been Published

User Avatar
8 months ago, 4838 views, 0 comments
Cover Image

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 and important changes in this new version.

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

Get Started with the 8.1 RC

Follow the steps below to try version 8.1.0 RC today:

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

or install it if you haven't before:

dotnet tool install Volo.Abp.Cli -g --version 8.1.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 8.x, like Visual Studio 2022.

Migration Guides

There are a few breaking changes in this version that may affect your application. Please see the following migration documents, if you are upgrading from v8.x or earlier:

What's New with ABP Framework 8.1?

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

  • Introducing the ExposeKeyedServiceAttribute
  • Custom Menu Component Support for MVC UI
  • Introducing the DisableAbpFeaturesAttribute

Introducing the ExposeKeyedServiceAttribute

Keyed dependency injection (DI) services were added to the built-in DI container as a new feature with .NET 8.0. This is an important feature, which allows for registering and retrieving DI services using keys/names.

In this version, we have introduced the ExposeKeyedServiceAttribute to allow you to automatically register keyed services by conventions:

[ExposeKeyedService<ITaxCalculator>("taxCalculator")]
[ExposeKeyedService<ICalculator>("calculator")]
public class TaxCalculator: ICalculator, ITaxCalculator, ICanCalculate, ITransientDependency
{
}

In the example above, the TaxCalculator class exposes the ITaxCalculator interface with the key taxCalculator and the ICalculator interface with the key calculator.

Thanks to that, then you can use the FromKeyedServicesAttribute to resolve a certain keyed service in the constructor:

public class MyClass
{
    //...
    public MyClass([FromKeyedServices("taxCalculator")] ITaxCalculator taxCalculator)
    {
        TaxCalculator = taxCalculator;
    }
}

Notice that the ExposeKeyedServiceAttribute only exposes the keyed services. So, you can not inject the ITaxCalculator or ICalculator interfaces in your application without using the FromKeyedServicesAttribute as shown in the example above.

If you want to learn more about the keyed dependency injection services, please refer to Microsoft's documentation and ABP Framework's Dependency Injection document.

Custom Menu Component Support for MVC UI

In this version, we have introduced the custom menu component support, which allows you to use a custom component for a certain menu item.

You can use the UseComponent extension method while defining menu items to use your custom component for the related menu item:

context.Menu.Items.Add(
  new ApplicationMenuItem("Custom.1", "My Custom Menu", "#")
    .UseComponent(typeof(MyMenuComponent)));

Then, for the related menu item, your custom component will be rendered on the UI.

Introducing the DisableAbpFeaturesAttribute

In this version, we have introduced the DisableAbpFeaturesAttribute to allow you to disable interceptors, middlewares, and MVC filters for a specific controller.

For example, you may want to disable interceptors for a certain controller, but you may also don't want to disable middlewares and mvc filters, in that case, you can use the DisableAbpFeaturesAttribute as follows:

[Route("api/my-endpoint")]
[DisableAbpFeatures(DisableInterceptors = true, DisableMiddleware = false, DisableMvcFilters = false)]
public class MyController : AbpController
{

}

This can be useful if you have some APIs that are used frequently but you don't need all the features of ABP Framework.

Note: If you want to disable all interceptors, middlewares, and filters for a certain controller, then you can use the [DisableAbpFeatures] without the need to specify the parameters, they are disabled by default.

What's New with ABP Commercial 8.1?

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 8.1.

Suite: New Features

In this version, we mostly worked on ABP Suite and implemented some wanted features, such as bulk delete, filterable properties, customizable page title, allowing establishing relationships with installed ABP modules' entities and supporting the BasicAggregateRoot as the base class.

Bulk Delete

From this version on, ABP Suite allows you to perform bulk deletion of records based on specified criteria.

bulk-delete.png

To enable bulk delete support, you should enable the Bulk delete option in the CRUD page generation page, along with the Create user interface option (they are enabled by default). When you enable the bulk delete support, you will see the checkboxes for each line in the datatable:

bulk-delete-datatable.png

By selecting these checkboxes, you can delete all records in the current datatable (10 records by default), or delete all records in the database (by selecting select all xx items selection), or delete any records you want by selecting them one by one.

Note: This feature has already been implemented for MVC & Blazor UIs, but not implemented for Angular UI yet. We aim to implement it for Angular UI with v8.1.0-rc.2.

Filterable Properties

ABP Suite has been generating advanced filters for entities for a while and before this version, if you enabled the create user interface option, then all of the properties that you specified were included in the advanced filter section automatically.

In this version, we have introduced the filterable properties feature to allow you to select which properties should be filterable and which are not:

filterable-properties.png

Now, you have full control to select which properties should be included as filter inputs and shown on the advanced filters section on your generated pages.

In other words, once, you select a property as not filterable, then the property will not be included in the filter inputs and in the advanced filter section. Also, if there are not any filterable properties for an entity, then the advanced filters section will not be generated.

Customizable Page Title

In this version on, ABP Suite allows you to specify the page title for the current entity.

page-title.png

You just need to specify the page title on the CRUD page generation page for a specific entity and then it will be used as a localization key in the application (and also will be localized - for example, if you specify it as 'MyPageTitle', then it will be localized in English as 'My Page Title'), so you can localize it for different languages later on.

Allowing Establishing Relationships with Installed ABP Modules' Entities

In this version, ABP Suite allows you to establish one-to-many relationship with pre-installed ABP Modules. You can add any entity from pre-installed ABP modules as a navigation property, by checking the Include entities from ABP modules checkbox in the navigation property model and choosing the related module entity as in the following figure:

suite-include-entities-from-abp-modules.png

In the example above, the IdentityUser entity is selected as the navigation property but you can also choose any entity from the installed ABP modules in the navigation property model.

Note: Ensure that your solution is built properly before establishing relationship between your own entity and a module entity because ABP Suite scans assemblies and finds which ABP modules you are using and lists their entities in the navigation property model if you have checked the Include entities from ABP modules checkbox.

Support BasicAggregateRoot Base Class

In this version on, ABP Suite allows you to choose the BasicAggregateRoot as the base class while generating an entity:

basic-aggregate-root.png

You can choose the BasicAggregateRoot if you want to create an aggregate root without the IHasExtraProperties and IHasConcurrencyStamp interfaces implemented (extra properties & concurrency check).

ABP Studio v0.6.5 Has Been Released!

We have just released v0.6.5 for ABP Studio and with this version, we fixed many minor bugs reported by you, started supporting running multiple ABP Studio instances, and added important features, such as adding a public website to the new microservice template, and so on...

In addition to all of this, we continue to enrich ABP Studio's documentation as always and you can read them at https://docs.abp.io/en/commercial/latest/studio/overview.

Please try ABP Studio v0.6.5 and provide feedback to help us release more stable versions. Thanks in advance!

Community News

.NET Conf China 2023 Watch Party

dotnet-conf-china-2023-watch-party.jpg

ABP.IO was thrilled to sponsor the first .NET Community event in 2024 held in Shenzen on January 14, 2024.

The event included four wonderful technical lectures to reveal big data and AI's potential opportunities and innovations. It was a transfer of knowledge and a platform for communication and cooperation among technology enthusiasts and we are happy to be attended.

If you want to learn more about the .NET Conf China 2023 Watch Party event, please check the blog post.

Volosoft Attended NDC London 2024

ndc-london-2024.png

Core team members of the ABP Framework, Halil Ibrahim Kalkan, Alper Ebicoglu, Engincan Veske, and Bige Beşikci Yaman attended NDC London 2024 from the 31st of January to the 2nd of February.

It was the 5th time in a row we were a proud sponsor of NDC London. It, now, basically feels like home spending 3 days in Queen Elizabeth Centre II with NDC London for the ABP.IO team to be there.

These 3 days with the team were all about chatting and having fun with amazing attendees and speakers. We met with talented and passionate software developers and introduced the open source ABP Framework - web application framework built on ASP.NET Core and ABP Commercial - the complete web application development platform built on open source ABP Framework - to them.

We shared our insights and key highlights from the NDC London 2024 event, which you can find at https://blog.abp.io/abp/NDC-London-2024-ABP.IO-Key-Highlights.

New ABP Community Articles

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.

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 v8.1 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.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.2 RC Has Been Published

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 ... Continue Reading

EngincanV April 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