Skip to content

Releases: JetBrains/compose-multiplatform

1.6.10-dev1559

03 Apr 16:50
5d9dfde
Compare
Choose a tag to compare
1.6.10-dev1559 Pre-release
Pre-release
XML resource optimizations (#4559)

Users noticed if an app has big a `string.xml` file it affects the app
startup time:
https://github.com/JetBrains/compose-multiplatform/issues/4537

The problem is slow XML parsing.

Possible ways for optimization:
 1) inject text resources direct to the source code
 2) convert XMLs to an optimized format to read it faster

We selected the second way because texts injected to source code have
several problems:
 - strict limitations on text size
 - increase compilation and analysation time
 - affects a class loader and GC

> Note: android resources do the same and converts xml values to own
`resources.arsc` file

Things was done in the PR:
 1) added support any XML files in the `values` directory
2) **[BREAKING CHANGE]** added `Res.array` accessor for string-array
resources
3) in a final app there won't be original `values*/*.xml` files. There
will be converted `values*/*.cvr` files.
 4) generated code points on string resources as file -> offset+size
5) string resource cache is by item now (it was by the full xml file
before)
 6) implemented random access to read CVR files
7) tasks for syncing ios resources to a final app were seriously
refactored to support generated resources (CVR files)
 8) restriction for 3-party resources plugin were deleted
9) Gradle property `compose.resources.always.generate.accessors` was
deleted. It was for internal needs only.

Fixes https://github.com/JetBrains/compose-multiplatform/issues/4537

1.6.10-dev1557

02 Apr 05:18
04edeed
Compare
Choose a tag to compare
1.6.10-dev1557 Pre-release
Pre-release
Handle special characters for quantity strings (#4543)

A follow-up PR for #4519, which handles special characters for quantity
strings.

1.6.10-dev1551

26 Mar 13:50
04edeed
Compare
Choose a tag to compare
1.6.10-dev1551 Pre-release
Pre-release
Handle special characters for quantity strings (#4543)

A follow-up PR for #4519, which handles special characters for quantity
strings.

1.6.10-dev1549

25 Mar 21:40
68dc610
Compare
Choose a tag to compare
1.6.10-dev1549 Pre-release
Pre-release
v1.6.10-dev1549

[gradle] Update gradle and AGP in test runs. (#4542)

1.6.10-dev1523

20 Mar 15:07
Compare
Choose a tag to compare
1.6.10-dev1523 Pre-release
Pre-release
v1.6.10-dev1523

[gradle] Use @InputFiles instead of @InputDirectory to avoid crash wh…

1.6.10-dev1520

19 Mar 05:07
ad9c898
Compare
Choose a tag to compare
1.6.10-dev1520 Pre-release
Pre-release
v1.6.10-dev1520

[resources] Use first of preferred locales instead of a current on iO…

1.6.10-dev1514

14 Mar 16:02
8d17f4e
Compare
Choose a tag to compare
1.6.10-dev1514 Pre-release
Pre-release
Update CHANGELOG.md (1.6.1) (#4477)

Co-authored-by: Ivan Matkov <[email protected]>

1.6.1

14 Mar 11:13
Compare
Choose a tag to compare

1.6.10-dev1509

12 Mar 05:13
59e37e3
Compare
Choose a tag to compare
1.6.10-dev1509 Pre-release
Pre-release
Imageviewer. Fix compilation of Android target (#4467)

Fix regression after
https://github.com/JetBrains/compose-multiplatform/pull/4433

`./gradlew compileReleaseKotlinAndroid` in `imageviewer` fails with:
```
* What went wrong:
Execution failed for task ':shared:compileReleaseKotlinAndroid'.
> Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (1.8) and 'compileReleaseKotlinAndroid' (17).
```
(JAVA_HOME points to JDK 17)

1.6.10-dev1498

08 Mar 15:14
52c4bf3
Compare
Choose a tag to compare
1.6.10-dev1498 Pre-release
Pre-release
v1.6.10-dev1498

[example] Migrate the image viewer on the new compose resources (#4433)