Skip to content

Releases: JetBrains/skiko

Version 0.8.14

18 Sep 18:06
896ee8d
Compare
Choose a tag to compare
Use actual openURL method on iOS (#990)

Fixes the following error when calling `URIHandler_openUri` on iOS 18:

```
The caller of UIApplication.openURL(_:) needs to migrate to the non-deprecated UIApplication.open(_:options:completionHandler:). Force returning false (NO).
```

Fixes: https://youtrack.jetbrains.com/issue/CMP-6699

Version 0.8.13

18 Sep 00:45
1ca83c1
Compare
Choose a tag to compare
Fix bounds of ComposePanel in IntelliJ on macOs (#988)

Fixes
https://youtrack.jetbrains.com/issue/CMP-5856/Desktop-ComposePanel-size-breaks-with-.fillMax-modifiers#focus=Comments-27-10632441.0-0

Fixes
https://youtrack.jetbrains.com/issue/CMP-5968/Compose-content-is-rendered-in-the-wrong-place-in-IJ-when-using-AWT-compositing

Regression after
https://github.com/JetBrains/skiko/pull/661/files#diff-910a6e28fda20a00bc98c6a8a04f74ab701d79e841b9baddf146b810e610572fR363
(`setBounds` is called more often, but not enough as `ancestorMoved`)

When a panel changes its position without changing its size, `doLayout`
isn't called because the content itself wasn't changed. But we still
need to update the bounds of the underlying layer.

## Testing
-
https://youtrack.jetbrains.com/issue/CMP-5856/Desktop-ComposePanel-size-breaks-with-.fillMax-modifiers#focus=Comments-27-10632441.0-0
isn't reproducible after the fix
- there are no resize glitches

## Release Notes
### Fixes
- Fix bounds of ComposePanel in IntelliJ on macOs

Version 0.8.12

16 Aug 17:24
c479fc9
Compare
Choose a tag to compare
 Run invalidUnicode for js target, introduce additional test for Paraโ€ฆ

โ€ฆgraph (#981)

Version 0.8.11

09 Aug 18:41
Compare
Choose a tag to compare
  • Updated to skia m126

Version 0.8.10.1

05 Aug 10:37
Compare
Choose a tag to compare
v0.8.10.1

update to skia m126

Version 0.8.10

10 Jul 09:00
c4db278
Compare
Choose a tag to compare
Add Windows Jump Lists support in AWT (#943)

This PR adds Windows Jump Lists support to AWT and fixes compilation on
Visual Studio 2022.

Version 0.8.9

19 Jun 12:49
45c1a7d
Compare
Choose a tag to compare
Add API to configure the fallback fonts provider when all default metโ€ฆ

โ€ฆhods return null  (#935)

New API:

```kotlin
fun TypefaceFontProvider.createAsFallbackProvider(): TypefaceFontProvider
fun FontMgr.defaultWithFallbackFontProvider(fallback: TypefaceFontProvider): FontMgr
```

Usage:

```kotlin
val fontCollection = FontCollection()

val notoEmojiTypeface = Typeface.makeFromData(Data.makeFromBytes(notoEmojisBytes))
val fallbackProvider = TypefaceFontProvider.createAsFallbackProvider().apply {
    registerTypeface(notoEmojiTypeface)
}

fontCollection.setDefaultFontManager(FontMgr.defaultWithFallbackFontProvider(fallbackProvider))
```

<img width="400" alt="Screenshot 2024-06-07 at 14 48 28"
src="https://github.com/JetBrains/skiko/assets/7372778/76dc1330-d8e2-4be7-ad92-68214b058b4f">

Version 0.8.8

14 Jun 09:03
a03d0a5
Compare
Choose a tag to compare
Allow paint before showing (#941)

Fix compose tests after #923

Version 0.8.7

12 Jun 13:24
3e41541
Compare
Choose a tag to compare
v0.8.7

Make getAccessibleContext return nullable AccessibleContext (#940)

Version 0.8.6

12 Jun 10:04
5ed970f
Compare
Choose a tag to compare
v0.8.6

Expose SkiaLayerProperties (#938)