You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/docs/en/Blog-Posts/2022-05-09 v5_3_Preview/POST.md

13 KiB

ABP.IO Platform 5.3 RC Has Been Released

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

The planned release date for the 5.3.0 Stable version is May 31, 2022.

Please try this version and provide feedback for a more stable ABP version 5.3! Thank you all.

Get Started with the 5.3 RC

Follow the steps below to try the version 5.3.0 RC today:

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

or install it if you haven't before:

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

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

Migration Notes & Breaking Changes

There is only one breaking changes in this version upgrade and it's explained below.

  • Upgraded the AutoMapper library to v11.0.1. So, you need to upgrade your projects that uses AutoMapper library (probably your *.Application project) to netstandard2.1 or net6 if it's netstandard2.0. See #12189.

What's New with ABP Framework 5.3?

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

  • Single-layer option added to the Get Started page
  • PWA Support for Blazor WASM & Angular UIs
  • Introduce the Volo.Abp.Gdpr.Abstractions package
  • Batch Publish Events from Outbox to the Event Bus
  • Improvements on eShopOnAbp project
  • LeptonX Lite Documentations & Project Status & Roadmap
  • OpenIddict Module
  • Deployment Documentations
  • Other news...

Single-layer Option on Get Started Page

We've created a new startup template named app-nolayers and announced it in the previous version. In this version, we've added this startup template option to the Get Started page.

You can examine the screenshot below to see how to create an app-nolayers template from the "Get Started" page.

Get Started Page / app-nolayers

PWA Support for Blazor WASM & Angular UIs

With v5.3 ABP supports PWA for Blazor WASM & Angular UIs. To create a startup template with the PWA support, you can use the --pwa parameter. Example:

abp new MyProgressiveWebApp -u blazor --pwa

Introduce the Volo.Abp.Gdpr.Abstractions package

A new Volo.Abp.Gdpr.Abstractions package is added to the framework.

Anyone can use this package to use the pre-defined ETOs and implement GDPR-related operations for their own applications.

In that point, we are introducing the GDPR Module for the ABP Commercial customers and this module does the GDPR-related operations on behalf of you, such as "Download/Delete Personal Data". I'll describe the GDPR Module later in this blog post.

Batch Publish Events from Outbox to the Event Bus

We've introduced the "Transactional Outbox & Inbox Patterns" in v5.0, it was one of the most awaited features by distributed software developers.

We've made some optimizations for the Batch Event Publishing in this version, you can examine the related development from here. After the optimization, the results are impressive.

Before After
RabbitMQ 50080ms 547ms
Kafka 15303ms 475ms
Azure (Remote Service) 116157ms 1534ms
Rebus (RabbitMQ transport) 26094ms 560ms

You can see the optimization results above for "Batch Publishing (1000 Events)"

Improvements on eShopOnAbp project

LeptonX Lite Documentations & Project Status & Roadmap

It is finally here, we've released the 1.0.0-beta.1 version for the LeptonX Lite.

Lepton X Lite documents have been written for the three UI types within this version. You can see the related documentation from the screenshot above. You can follow these documentations and try the new LeptonX Lite Theme.

We don't suggest using the beta.1 version on production but we highly demand you to test the LeptonX Lite and provide feedback to us. It's really important for us to be able to release a more stable version. Thanks in advance.

For the following versions (beta.2 and RC versions), we will focus on;

  • Fixing the reported bugs from the community
  • Providing documentations as much as possible
  • Adding new custom pages to demo

OpenIddict Module

Deployment Documentations

Deploying an ABP based application is not so different than deploying any .NET or ASP.NET Core application. You can deploy it to a cloud provider (e.g. Azure, AWS, Google Could) or on-premise server, IIS or any other web server. However, we wanted to prepare a "Deployment Guide" to mention the important points and considerations.

We've created two new deployment documentations, you can find them under the "Deployment" section of our documentation website.

In the Deploying to a Clustered Environment documentation, we've documented the topics that you should consider when you are developing your application to a clustered environment and explains how you can deal with these topics in your ABP based application.

Other News

  • Upgraded the AutoMapper library to v11.0.1. See #12189.
  • Global Features was only accessible from C# code. From this version Global Features can be provided from application configurations. See #12043.
  • Get the user's detailed informations (name, surname and phone number) from external login. See #12085.
  • Date Pipes for Angular. See #11909.

If you want to see more details, you can check the release on GitHub, that contains a list of all issues and pull requests closed with this version.

What's New with ABP Commercial 5.3?

GDPR Module

GDPR (General Data Protection Regulation) is a regulation in EU law on data protection and known as the toughest privacy and security law in the world. GDPR applies to any organisation operating within the EU, as well as any organisations outside of the EU which offer goods or services to customers or businesses in the EU.

With this version we are introducing the new GDPR Module. This was one of the most awaited features, so we've prioritized it and implemented it in this version.

GDPR Module is pre-installed in the startup templates for MVC. So, no need to manually install it. When you create a new startup template, you can directly use this module. We'll also implement this module for the other UI types as soon as possible and also add extra functionality such as "Cookie Consent" and more. Currently, there are two main functionality of this module and they are "Download Personal Data" and "Delete Personal Data".

There is a "Personal Data" section in the user menu like in the screenshot above and when you click to this section, you'll be redirected to the "Personal Data" page. On that page, you can either request to "Download Personal Data" or "Delete Personal Data".

CMS Kit Pro - Polling Feature

We've added the new Polling feature to the CMS Kit Pro module. This feature allows you to use a voting system in your application easily.

OAuth Resource Owner Password as External Login Provider

The Resource Owner Password flow allows for the exchanging of the user name and password of a user for an access token. When using the resource owner password credentials grant, the user provides the credentials (user name and password) directly to the application.

You can login by providing a username and password from an External Login Provider.

Example: Use OAuth external login provider with Keycloak

Suite New Features & Enhancements

In this version, there are couple of enhancements and new features in Suite and they are listed briefly below:

  • It's now possible to create a app-nolayers (Application - single layer) template via Suite and also code-generation is supported for app-nolayers template with this version.
  • Suite allows users to see and download their Suite logs.
  • Suite allows to generate code via CLI. If you have JSON file that contains a code block, like your entity, you can use the abp suite generate command to generate CRUD pages.

Example:

abp suite generate -e C:\Users\.suite\entities\Country.json -s C:\Users\my-proj\SuiteProj\SuiteProj.sln

Suite Webinar (Take a closer look at the code generation: ABP Suite)

We've organized a webinar for Suite and in this webinar, we've talked about ABP Suite's capabilities, important features and more...

You can watch the event from here, if you haven't watched yet.

Docker Compose Configurations for Single Layer Startup Template

Microservice Solution Enhancements

Community News

New ABP Community Posts

ABP Community Talks 2022.4 - "How can you contribute to the open source ABP Framework?" (May 10, 2022 - 17:00 UTC)

We've asked you to pick the topic of the next Community Talks and you've chosen the "How to contribute to open source ABP Framework?" for the next talk topic. So, in this Community Talk, we will be talking about "How to contribute to ABP Framework" with one of the top contributors Ismail Yılmaz. The event will be on May 10, 2022, at 17:00 (UTC) on YouTube.

You can register for the event from here, if you haven't registered yet.

You can also subscribe to the Volosoft channel to inform about further ABP events and videos.

Discord Server

We've created an official ABP Discord server so the ABP Community can interact with each other.

Thanks to the ABP Community, 700+ people joined our Discord Server so far and it grows every day.

You can read the ABP Discord Server announcement post to learn more about ABP Discord Server.

You can join our Discord Server from here, if you haven't yet.