From 5d986892b32437de779bb09ad3e8017cd7bb6750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 29 Mar 2021 21:51:37 +0300 Subject: [PATCH] Updated blog posts for 4.3 release. --- .../POST.md | 7 ++++ .../2021-03-31 v4_3 Preview/POST.md | 33 +++++++++++++++++-- 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 docs/en/Blog-Posts/2021-03-31 v4_3 Commercial Preview/POST.md diff --git a/docs/en/Blog-Posts/2021-03-31 v4_3 Commercial Preview/POST.md b/docs/en/Blog-Posts/2021-03-31 v4_3 Commercial Preview/POST.md new file mode 100644 index 0000000000..032f80be3d --- /dev/null +++ b/docs/en/Blog-Posts/2021-03-31 v4_3 Commercial Preview/POST.md @@ -0,0 +1,7 @@ +# ABP Commercial 4.3 RC Has Been Published + +TODO + +## Feedback + +Please check out the ABP Commercial 4.3 RC to help us to release a more stable version. **The planned release date for the 4.3.0 final version is April 15, 2021**. \ No newline at end of file diff --git a/docs/en/Blog-Posts/2021-03-31 v4_3 Preview/POST.md b/docs/en/Blog-Posts/2021-03-31 v4_3 Preview/POST.md index e943696340..4bd74d6043 100644 --- a/docs/en/Blog-Posts/2021-03-31 v4_3 Preview/POST.md +++ b/docs/en/Blog-Posts/2021-03-31 v4_3 Preview/POST.md @@ -15,10 +15,16 @@ Beside the new features above, we've done many performance improvements, enhance This version was a big development journey for us; [150+ issues](https://github.com/abpframework/abp/issues?q=is%3Aopen+is%3Aissue+milestone%3A4.3-preview) resolved, [260+ PRs](https://github.com/abpframework/abp/pulls?q=is%3Aopen+is%3Apr+milestone%3A4.3-preview) merged and 1,600+ commits done only in the [main framework repository](https://github.com/abpframework/abp). **Thanks to the ABP Framework team and all the contributors.** +> ABP Commercial 4.3 RC has also been published. We will write a separate blog post for it. + ## The Migration Guide We normally don't make breaking changes in feature versions. However, this version has some small **breaking changes** mostly related to Blazor UI WebAssembly & Server separation. **Please check the [migration guide](https://docs.abp.io/en/abp/4.3/Migration-Guides/Abp-4_3) before starting with the version 4.3**. +## Known Issues + +There are some minor issues those will be fixed in the stable release. You can see the known issues [here](https://github.com/abpframework/abp/issues?q=is%3Aopen+is%3Aissue+milestone%3A4.3-final). + ## Get Started With The 4.3 RC If you want to try the version 4.3 today, follow the steps below; @@ -60,7 +66,7 @@ CMS (Content Management System) Kit was a module we were working for the last co All features are separately usable. For example, you can create an image gallery and reuse the Comments and Tags features for the images. You can enable/disable features individually using the [Global Features System](https://docs.abp.io/en/abp/4.3/global-features). -> We will create a separate blog post for the CMS Kit module, so I keep this short for now. +> We will create a separate blog post for the CMS Kit module, so I keep it short here. ### Blazor Server Side @@ -130,11 +136,32 @@ TODO ### IInitLogger -TODO +In ASP.NET Core, logging is not possible before the dependency injection phase is completed. For example, you can't write log in `ConfigureServices` method. However, we sometimes need to write logs in this stage. + +Introducing the `IInitLogger` service, which allows to write logs inside the `ConfigureServices` method. + +**Example:** + +````csharp +public class MyModule : AbpModule +{ + public override void ConfigureServices(ServiceConfigurationContext context) + { + var logger = context.Services.GetInitLogger(); + logger.LogInformation("Some log..."); + } +} +```` + +Logs are written once the service registration phase is completed. It stores the written logs in memory, then write logs to the actual `ILogger` when it is ready. + +> Notice: Startup templates come with [Serilog](https://serilog.net/) pre-installed. So, you can write logs everywhere by directly using its static API (ex: `Log.Information("...");`). The `InitLogger` is a way to write pre-initialization logs without depending a particular logging library. So, it makes it very handy to write logs inside reusable modules. ### Multi-Lingual Entities -TODO +ABP's [localization system](https://docs.abp.io/en/abp/latest/Localization) works well when you want to localizer your application UI. However, in some applications, you may also need to localize your data. For example, if you have a *Product* entity, you may need to show Product's *Description* property in the current user's language. *Multi-Language Entities* provides a pattern to localize your entities. + +TODO: EXAMPLE ### Other News