From 00207fc59acce2503614182dbf1b7fcc78a536f3 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Tue, 11 Oct 2022 17:01:58 +0200 Subject: [PATCH] Update CHANGELOG.md (#2374) Co-authored-by: Oleksandr Karpovich --- CHANGELOG.md | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 99 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05e0571420..cfe50545de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,84 @@ +# 1.2.0 (October 2022) +## Common + +### Features +* [Allow to use Compose on multiple Kotlin versions](https://github.com/JetBrains/compose-jb/pull/2366) +* [`import org.jetbrains.compose.compose` is no longer needed in build.gradle.kts](https://github.com/JetBrains/compose-jb/pull/2215) +* [Allow to use a custom Compose Compiler](https://github.com/JetBrains/compose-jb/pull/2347) + +## Desktop + +### Features +* [Support Kotlin 1.7.20](https://github.com/JetBrains/compose-jb/pull/2357) +* [ProGuard integration for packaging](https://github.com/JetBrains/compose-jb/pull/2313) +* [New experimental event API (onClick, onDrag, WindowInfo.keyboardModifiers)](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Mouse_Events#new-experimental-onclick-handlers-only-for-desktop-jvm-platform) +* Focus + * [Make clickable, mouseClickable, toggleable request focus onClick](https://github.com/JetBrains/androidx/pull/257) + * [Toggle a toggleable component on Space key](https://github.com/JetBrains/androidx/pull/262) + * [Make Slider change the value with onKeyEvent for: all arrows, PgDn, PdUp, Home, End buttons](https://github.com/JetBrains/androidx/pull/254) + * [Navigate drop down menu items using up and down arrows](https://github.com/JetBrains/androidx/pull/259) +* [Ability to override text context menu globally](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Context_Menu#custom-text-context-menu) +* [Context menu implementation for integrating into Swing applications](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Context_Menu#swing-interoperability) +* [Animated image component](https://github.com/JetBrains/compose-jb/pull/2015) +* [Show a new window/dialog on the same display](https://github.com/JetBrains/androidx/pull/312) +* [Change default Font on MacOs to San Francisco](https://github.com/JetBrains/androidx/pull/296) +* Support [performKeyInput](https://github.com/JetBrains/androidx/pull/278), [performMouseInput, performTextInput](https://github.com/JetBrains/androidx/pull/260) in tests. +* Focus switches seamlessly between Swing and Compose components using [SwingPanel](https://github.com/JetBrains/androidx/pull/229) or [ComposePanel](https://github.com/JetBrains/androidx/pull/228) +* [Documentation for how to package apps using Conveyor](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Native_distributions_and_local_execution#available-tools) + +### Fixes +* [Fix IDEA plugin compatability](https://github.com/JetBrains/compose-jb/pull/2318) +* Fixes for Right-to-Left languages support + * [LayoutDirection is detected from the system settings](https://github.com/JetBrains/androidx/pull/264) + * [Fix RTL selection in a multiline text](https://github.com/JetBrains/androidx/pull/285) + * [Fix cursor visual position at BiDi transition](https://github.com/JetBrains/androidx/pull/286) + * [Fix the cursor position after the '\n' character in RTL](https://github.com/JetBrains/androidx/pull/268) + * [In placeAutoMirrored for RTL, calculate the placement position using the placeable width respecting the constraints](https://github.com/JetBrains/androidx/pull/267) + * [Placing the root content properly for RTL layout](https://github.com/JetBrains/androidx/pull/265) +* TextField + * [Fix the cursor position when clicking at a position after a line-break](https://github.com/JetBrains/androidx/pull/284) + * [Fix selection with End, Home](https://github.com/JetBrains/androidx/pull/279) + * [Fix the cursor height on a new empty line](https://github.com/JetBrains/androidx/pull/277) +* [Fix DesktopMenu and DesktopAlertDialog to invoke dismiss callback once](https://github.com/JetBrains/androidx/pull/256) +* [Fix a large icon in macOs menu](https://github.com/JetBrains/androidx/pull/248) +* [Fix hover in LazyColumn](https://github.com/JetBrains/androidx/pull/249) +* [Fix pointerHoverIcon: update icon when it's changed conditionally](https://github.com/JetBrains/androidx/pull/231) +* [Fix focusable parameter for Window and Dialog](https://github.com/JetBrains/androidx/pull/225) +* [Fix 2 SplitPanel minor bugs](https://github.com/JetBrains/compose-jb/pull/2175) +* [Fix `java.lang.IllegalStateException: cannot open system clipboard` crash](https://github.com/JetBrains/skiko/pull/586) +* [Fix `System.setProperty("skiko.renderApi", "SOFTWARE"` on macOS](https://github.com/JetBrains/skiko/pull/599) + +### API changes +* [Deprecate experimental pointerMoveFilter in favor of onPointerEvent](https://github.com/JetBrains/androidx/pull/247) +* [Deprecate experimental Modifier.mouseClickable in favor of Modifier.onClick](https://github.com/JetBrains/androidx/pull/243) + +## Web + +### Features +* Support Kotlin 1.7.10 +* [Add support for transition in CSS api](https://github.com/JetBrains/compose-jb/pull/2228) +* [Add missing `background-blend-mode` property](https://github.com/JetBrains/compose-jb/pull/2128) +* [SVG: Publish custom attr functions](https://github.com/JetBrains/compose-jb/pull/2127) +* [Add list overload for `classes`](https://github.com/JetBrains/compose-jb/pull/2094) +* [Add support of dl, dt and dd](https://github.com/JetBrains/compose-jb/pull/1922) + +### Fixes +* [Add pom information and license to Web artifacts](https://github.com/JetBrains/compose-jb/pull/2195) + +### API changes +* [Deprecate 3 overloads of StyleScope.borderWidth with wrong parameter names](https://github.com/JetBrains/compose-jb/pull/2297) +* [Remove deprecated compose.web.web-widgets from the source code](https://github.com/JetBrains/compose-jb/pull/2294) +* [Remove unnecessary parameter for `required` attribute](https://github.com/JetBrains/compose-jb/pull/1988) + +## Updated dependencies +This version of Compose Multiplatform is based on the next Jetpack Compose libraries: +* [Compiler 1.3.2](https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.3.2) +* [Runtime 1.2.1](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.2.1) +* [UI 1.2.1](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.1) +* [Foundation 1.2.1](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.2.1) +* [Material 1.2.1](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.1) +* [Material3 1.0.0-alpha14](https://developer.android.com/jetpack/androidx/releases/compose-material3#1.0.0-alpha14) + # 1.1.1 (Mar 2022) ## Desktop @@ -42,7 +123,6 @@ fun main() = application { - [Implement experimental accessibility support for Windows](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Accessibility) - [Implement accessibility focus tracking by Tab](https://github.com/JetBrains/compose-jb/issues/1772) - All bugfixes/features between Jetpack Compose 1.1.0-beta02 and 1.1.0 (see the release notes for each module [here](https://developer.android.com/jetpack/androidx/releases/compose)) -- Android target depends on Jetpack Compose 1.1.0. ### Fixes - Fixes for TextField ([1](https://github.com/JetBrains/compose-jb/issues/1834), [2](https://github.com/JetBrains/compose-jb/issues/1615), [3](https://github.com/JetBrains/compose-jb/issues/1781), [4](https://github.com/JetBrains/compose-jb/issues/1670)) @@ -77,6 +157,15 @@ fun main() = singleWindowApplication { ``` - [`PointerEvent.awtEvent`, `KeyEvent.awtEvent` are deprecated](https://github.com/JetBrains/androidx/pull/198), use `PointerEvent.awtEventOrNull`, `KeyEvent.awtEventOrNull` instead. The event can be null, if it isn't sent by AWT (for example, Compose can send synthetic Move events on relayout) +## Updated dependencies +This version of Compose Multiplatform is based on the next Jetpack Compose libraries: +* [Compiler 1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.1.0) +* [Runtime 1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.1.0) +* [UI 1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0) +* [Foundation 1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.1.0) +* [Material 1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.1.0) +* [Material3 1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/compose-material3#1.0.0-alpha05) + # 1.0.1 (Dec 2021) This is basically 1.0.0 that works with Kotlin 1.6.10 @@ -103,6 +192,15 @@ This is basically 1.0.0 that works with Kotlin 1.6.10 - [Some functions were made internal (either not related to compose-web or not intended for usage in apps): buildCSS , StylePropertyList.nativeEquals , variableValue , buildCSSStyleRule , buildKeyframes , jsObject , CSSKeyframesRule.appendRule](https://github.com/JetBrains/compose-jb/pull/1509/files) - CSSMediaRule: functions feature and combine were made extensions functions on GenericStyleSheetBuilder. This makes them consistent with the rest of functions which create CSSMediaQuery.MediaFeature instances +## Updated dependencies +This version of Compose Multiplatform is based on the next Jetpack Compose libraries: +* [Compiler 1.1.0-beta02](https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.1.0-beta02) +* [Runtime 1.1.0-beta02](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.1.0-beta02) +* [UI 1.1.0-beta02](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0-beta02) +* [Foundation 1.1.0-beta02](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.1.0-beta02) +* [Material 1.1.0-beta02](https://developer.android.com/jetpack/androidx/releases/compose-material#1.1.0-beta02) +* [Material3 1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/compose-material3#1.0.0-alpha03) + # 1.0.0-beta (Oct 2021) ## Common - no Android artifacts are published anymore. Google-published artifacts are referenced instead. This approach eliminates compatibility issues.