From 58f2168d2bb2e614b95f04d4fec0211302bcb394 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Wed, 21 Feb 2024 17:14:33 +0100 Subject: [PATCH] Update CHANGELOG.md (reword the resource breaking change) (#4340) --- CHANGELOG.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ed77c7d81..61dd2afb0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,15 +3,17 @@ _Changes since 1.6.0-rc01_ ## Breaking changes _since 1.6.0-beta01_ -- When the resource library is used, resources should be imported explicitly. Replace this: -``` -import .generated.resources.Res -``` -by this: -``` -import .generated.resources.Res -import .generated.resources.* -``` +- When the resource library is used, resources should be imported explicitly. + +> To quickly change your code to a new state, replace this: +> ``` +> import .generated.resources.Res +> ``` +> by this: +> ``` +> import .generated.resources.* +> ``` +> and perform "Code - Optimize Imports" to apply the project code style. If code style doesn't allow wildcrads, `import .generated.resources.*` will be replaced by explicit imports. ## iOS/desktop/web