ABP.IO Platform v4.1 RC Has Been Released!

User Avatar
3 years ago, 5651 views, 9 comments
Cover Image

We have released the ABP Framework (and the ABP Commercial) 4.1.0 RC. This blog post introduces the new features and important changes in this new version.

Notice: 4.1.0 final version has been released at January 6, 2021.

Get Started with the 4.1 RC

If you want to try the version 4.1.0 today, follow the steps below;

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

or install if you haven't installed before:

dotnet tool install Volo.Abp.Cli -g --version 4.1.0-rc.2
  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 Direct Download tab on the Get Started page by selecting the Preview checkbox.

Breaking Changes

This version has a minor breaking change if you'd injected a repository by class. This is not a problem for 99% of the applications. However, see #6677 for the solution if that's a breaking change for you.

What's new with the ABP Framework 4.1

abp-fr-note-41rc.png

Module Entity Extensions

Module Entity Extension system provides a simple way of adding new properties to an existing entity defined by a module that is used by your application. This feature is now available also for the open source modules (identity and tenant-management). The documentation has been moved into the ABP Framework's documentation.

Example: Add "SocialSecurityNumber" property to the IdentityUser entity

ObjectExtensionManager.Instance.Modules()
    .ConfigureIdentity(identity =>
    {
        identity.ConfigureUser(user =>
        {
            user.AddOrUpdateProperty<string>( //property type: string
                "SocialSecurityNumber", //property name
                property =>
                {
                    //validation rules
                    property.Attributes.Add(new RequiredAttribute());
                    property.Attributes.Add(
                        new StringLengthAttribute(64) {
                            MinimumLength = 4
                        }
                    );

                    //...other configurations for this property
                }
            );
        });
    });

The new property becomes available on the UI, API and the database. You can even define navigation properties. This provides an easy way to extend existing modules while using them as NuGet packages. See the document for details.

Blazor UI Improvements

Since the Blazor UI is relatively new in the ABP Framework, we continue to add features and make enhancements to fill the gap between other supported UI types.

Bundling & Minification

In the version 4.1, we had introduced the abp bundle command for the Blazor UI to add global script and style files of the depended modules into the index.html. It was a preparation for a real bundling & minification system. With the version 4.2, this command has been completed.

Whenever you add a new module to your Blazor application, just type the abp bundle command in a command line terminal;

  • It finds all the global script/style files in your application and the modules your application directly or indirectly depends on, ordered by the module dependencies.
  • Bundles all the scripts into a single file and minified the file (same for the styles).
  • Add the single bundle file to the index.html file.

Added a configuration into the appsettings.json file in the Blazor application in the application startup template to control the bundling mode:

{
  "AbpCli": {
    "Bundle": {
      "Mode": "BundleAndMinify"
    }
  }
}

Possible values are;

  • BundleAndMinify: Bundle all the files into a single file and minify the content.
  • Bundle: Bundle all files into a single file, but not minify.
  • None: Add files individually, do not bundle.

See the Global Scripts & Styles document for details.

SubmitButton

SubmitButton is a new component that simplifies to save a form:

<SubmitButton Clicked="UpdateEntityAsync" />

The main advantages of using this component instead of a standard Button with submit type is; It automatically blocks the submit button until the save operation has fully completed. This prevents multiple clicks by user. And it is shorter than doing all manually. See the document.

Other Blazor UI highlights

  • Implemented some animations (like opening/closing modals and dropdowns).
  • Automatically focus to the first input when you open a modal form.

Module extensibility system (mentioned above) for the Blazor UI is under development and not available yet.

What's new with the ABP Commercial 4.1

abp-co-note-41rc.png

Blazor UI Improvements

We continue to complete missing modules and functionalities for the Blazor UI.

Organization Unit Management

Organization Management UI has been implemented for the Blazor UI. Example screenshot:

blazor-organization-units.png

IdentityServer UI

IdentityServer Management UI is also available for the Blazor UI now:

blazor-identityserver-ui.png

Suite: Navigation Property Selection with Typeahead

We had introduced auto-complete select style navigation property selection. With this release, it is fully supported by all the UI options. So, when you create an CRUD page with ABP Suite for entity that has 1 to Many relation to another entity, you can simply select the target entity with a typeahead style select component. Example screenshot:

type-ahead.png

Spanish Language Translation

We continue to add new language supports for the UI. In this version, translated the UI to Spanish language.

spanish-commercial-translation.png

Coming: Public Website with Integrated CMS Features

In the next version, the application startup template will come with a public website application option. CMS Kit module will be installed in the website by default, that means newsletter, contact form, comments and some other new features will be directly usable in your applications.

An early screenshot from the public website application home page:

abp-commercial-public-website.png

Other News

ABP Community Contents

A lot of new contents have been published in the ABP Community Web Site in the last two weeks:

Thanks to all of the contributors. We are waiting for your contributions too. If you want to create content for the ABP Community, please visit community.abp.io website and submit your article.

Be a Superhero on Day 1 with ABP.IO

Thanks to @lprichar prepared an awesome introduction video for the ABP.IO Platform: "Be a Superhero on Day 1 with ABP.IO".

New Sample Application: Event Organizer

This is a new example application developed using the ABP Framework and the Blazor UI. See this article for a step by step implementation guide.

event-list-ui.png

Github Discussions

We enabled the GitHub Discussions for the abp repository as another place to discuss ideas or get help for the ABP Framework. The ABP core team is spending time participating in discussions and answering to questions as much as possible.

About the Next Release(s)

Beginning from the next version (4.2.0), we are starting to spend more effort on the CMS Kit module. The purpose of this module is to provide CMS primitives (e.g. comments, tags, reactions, contents...) and features (e.g. blog, pages, surveys) as pre-built and reusable components. Current blog module will be a part of the CMS Kit module.

We will continue to prepare documents, guides, tutorials and examples. And surely, we will continue to make enhancements and optimizations on the current features.

The planned preview release date for the version 4.2.0 is January 14, 2021 and the final (stable) version release date is January 28, 2021.

Follow the GitHub milestones for all the planned ABP Framework version release dates.

Feedback

Please check out the ABP Framework 4.1.0 RC and provide feedback to help us to release a more stable version. The planned release date for the 4.1.0 final version is January 4, 2021.

9 comments

Leave Comment
User Avatar
liangliuwork@gmail.com 3 years ago

it looks the newest abp(4.2.2) still has no cms-kit embbed?

User Avatar
nowayja 3 years ago

Highly recommend ABP.io - good job team, the rate of additional features and improvements is very impressive

User Avatar
hikalkan 3 years ago

Thanks a lot!

User Avatar
pvaz 3 years ago

Amazing improvments ! CMS public website is already available on 4.1 RC ?

User Avatar
hikalkan 3 years ago

It will be available with v4.2 RC.

User Avatar
cbogner85 3 years ago

Great, looking forward to the CMS features. :-)

User Avatar
hikalkan 3 years ago

Thanks :)

User Avatar
ukocabicak 3 years ago

No matter how troublesome tools are at the beginning for a software developer, they all come ready. All your energy is only business oriented. It's even more great to use .net 5.0 and the Blazor, whose official version was released on 10 November 2020. Thanks Volosoft.

User Avatar
hikalkan 3 years ago

Thanks :)

More From Hikalkan

Announcing ABP Studio (beta) General Availability

ABP Studio (beta) is generally available to everyone and ready for download. Continue Reading

hikalkan July 2024

Unifying the ABP Platform

Some big changes and improvements are coming to the ABP.IO Platform soon Continue Reading

hikalkan April 2024

ABP.IO Platform 7.1 Final Has Been Released

Introducing the ABP.IO Platform version 7.1! Continue Reading

hikalkan March 2023

ABP.IO Platform 5.2 Final Has Been Released

Introducing the ABP.IO Platform version 5.2.0! Continue Reading

hikalkan April 2022

ABP.IO Platform 5.2 RC Has Been Published

Introducing the new features and changes coming with ABP Framework and ABP Commercial version 5.2. Continue Reading

hikalkan March 2022

ABP.IO Platform v5.1 Has Been Released

Introducing the new features and changes coming with ABP Framework and ABP Commercial version 5.1. Continue Reading

hikalkan January 2022

ABP.IO Platform 5.0 RC.1 Has Been Released

Introducing the ABP v5.0 RC and the new features coming with this version. Continue Reading

hikalkan November 2021

ABP.IO Platform 4.4 Final Has Been Released!

ABP Framework and ABP Commercial 4.4 versions have been released. Continue Reading

hikalkan August 2021

ABP Platform 4.4 RC Has Been Released

This post covers the new features and changes coming with the ABP.IO platform version 4.4. Continue Reading

hikalkan June 2021

ABP.IO Platform v4.3 Has Been Released!

Introducing the ABP.IO Platform version 4.3.0! Continue Reading

hikalkan April 2021

ABP Commercial 4.3 RC Has Been Published

Introducing the ABP Commercial v4.3 RC and the new features coming with this version Continue Reading

hikalkan April 2021

ABP Framework 4.3 RC Has Been Published

Introducing the ABP v4.3 RC and the new features coming with this version Continue Reading

hikalkan April 2021

ABP.IO Platform 4.2 Final Has Been Released!

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

hikalkan January 2021

ABP.IO Platform v4.2 RC Has Been Released!

This post covers the new features and changes coming with the ABP.IO platform 4.2 version. Continue Reading

hikalkan January 2021

ABP.IO Platform v4.1 Final Has Been Released!

ABP Framework and ABP Commercial 4.1 versions have been released. Continue Reading

hikalkan January 2021

ABP.IO Platform 4.0 with .NET 5.0 in the 4th Year!

Released ABP.IO Platform v4.0 Final. Some new features: Migrated to .NET 5.0, Stable Blazor UI, Identity Server 4 Upgrade, Moved to System.Text.Jso... Continue Reading

hikalkan December 2020

ABP.IO Platform v4.0 RC Has Been Released based on .NET 5.0!

Released ABP.IO Platform v4.0 RC. Some new features: Migrated to .NET 5.0, Stable Blazor UI, Identity Server 4 Upgrade, Moved to System.Text.Json, ... Continue Reading

hikalkan November 2020

ABP Framework & ABP Commercial 3.3 Final Have Been Released

Released ABP v3.3. Some new features: New modules & features for the Blazor UI, Automatic Validation for AntiForgery Token for HTTP APIs, Rebus Int... Continue Reading

hikalkan October 2020

ABP Framework & ABP Commercial v3.3 RC Have Been Released

Released ABP v3.3 RC. Some new features: New modules & features for the Blazor UI, Automatic Validation for AntiForgery Token for HTTP APIs, Rebus ... Continue Reading

hikalkan October 2020

ABP Framework v3.2 Final Has Been Released

Released ABP v3.2 final. Some new features: The Blazor UI, MongoDB ACID Transactions, Kafka Integration for the Distributed Event Bus etc. Learn mo... Continue Reading

hikalkan October 2020

ABP Framework & ABP Commercial 3.2 RC With The New Blazor UI 🚀

Released ABP v3.2 RC. Some new features: The Blazor UI, MongoDB ACID Transactions, Kafka Integration for the Distributed Event Bus etc. Learn more ... Continue Reading

hikalkan September 2020

Introducing the Angular Service Proxy Generation

ABP Framework has introduced the new Angular Service Proxy Generation system with the version 3.1. This post introduces the service proxy generatio... Continue Reading

hikalkan September 2020

ABP Framework v3.1 Final Has Been Released

Released ABP v3.1 final. Some new features: Angular Service Proxies, Authorization Code Flow for the Angular UI, Global Feature System etc. Learn m... Continue Reading

hikalkan September 2020

ABP Framework v3.1 RC Has Been Released

Released ABP v3.1 RC. Some new features: Angular Service Proxies, Authorization Code Flow for the Angular UI, Global Feature System etc. Learn more... Continue Reading

hikalkan August 2020

ABP Framework v3.0 Has Been Released

Released ABP v3.0. Some new features: Angular 10, The Oracle Integration Package, Azure BLOB Storage Provider etc. Learn more about what's new with... Continue Reading

hikalkan July 2020

ABP Framework v2.9.0 Has Been Released

Released ABP v2.9.0. Some new features: Organization Units System, Blob Storing Package, EF Core Oracle Integration Package, Chat Module Angular UI... Continue Reading

hikalkan June 2020

ABP v2.8.0 Releases & Road Map

Released ABP Framework and ABP Commercial v2.8. Some new features: SignalR Integration Package, RTL Support for the MVC UI, New Lepton Theme Styles... Continue Reading

hikalkan May 2020

ABP Framework v2.7.0 Has Been Released!

Released ABP Framework v2.7. Some new features: Object Extending System, Text Templating Package, Subscribing to the Exceptions etc. Learn more abo... Continue Reading

hikalkan May 2020

ABP Framework v2.3.0 Has Been Released!

Released ABP Framework v2.3. Some new features: React Native Mobile App, Angular TypeScript Proxy Generator, CRUD app service etc. See the GitHub m... Continue Reading

hikalkan March 2020

ABP Framework v2.0 and the ABP Commercial

Released ABP Framework v2.0 and ABP Commercial. See the release notes for changes. Create a demo to see application startup template of ABP Commerc... Continue Reading

hikalkan January 2020

ABP v1.0 Has Been Finally Released

Released the first stable ABP v1.0, after ~3 years of continuous development! Start playing with the new ABP framework now. See the GitHub mileston... Continue Reading

hikalkan October 2019

ABP v0.21 Has Been Released based on the ASP.NET Core 3.0

Released ABP v0.21 with no new feature. The release is just upgrade to the stable AspNet Core 3.0. Check v0.20 release notes for new features, and ... Continue Reading

hikalkan September 2019

ABP v0.19 Release With New Angular UI

Released ABP v0.19 with 90+ issues resolved and 650+ commits pushed. Some new features: Angular UI, Widget System. See the roadmap for all upcomings. Continue Reading

hikalkan August 2019

ABP CLI, New Templates & Features v0.18 Release

Released ABP v0.18 with 80+ issues resolved and 550+ commits pushed. Changes: ABP CLI command line tool, and new startup templates. See the roadmap... Continue Reading

hikalkan June 2019

Microservice Demo, Projects Status and Road Map

See microservice solution demo documentation for a detailed explanation of the solution. It aims to demonstrate a simple yet complete microservice ... Continue Reading

hikalkan February 2019