mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Update CHANGELOG.md (#995)
This commit is contained in:
50
CHANGELOG.md
50
CHANGELOG.md
@@ -1,3 +1,53 @@
|
||||
# 1.0.0-alpha (Aug 2021)
|
||||
## Common
|
||||
- Desktop, Web, and Android artifacts publish at the same time with the same version
|
||||
|
||||
## Desktop
|
||||
|
||||
### Features
|
||||
- [Context menu support in selectable text](https://android-review.googlesource.com/c/platform/frameworks/support/+/1742314)
|
||||
- [Cursor change behavior in text and pointer icon API](https://android-review.googlesource.com/c/platform/frameworks/support/+/1736714/12/compose/desktop/desktop/samples/src/jvmMain/kotlin/androidx/compose/desktop/examples/example1/Main.jvm.kt#357)
|
||||
- [Mouse Clickable modifier](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Mouse_Events#mouse-rightmiddle-clicks-and-keyboard-modifiers)
|
||||
- Tab navigation between text fields by default
|
||||
- Resource packing to native distribution
|
||||
- Support @Preview annotation in desktopMain sourceSet's (when the Compose MPP plugin is installed in IDEA)
|
||||
- [New features for Composable menu (icons, shortcuts, mnemonics, radiob buttons, checkboxes](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Tray_Notifications_MenuBar_new#menubar)
|
||||
- [Adaptive window size](https://github.com/JetBrains/compose-jb/blob/master/tutorials/Window_API_new/README.md#adaptive-window-size)
|
||||
- Support Linux on ARM64
|
||||
- [Support hidpi on some Linux distros](https://github.com/JetBrains/compose-jb/issues/188#issuecomment-891614869)
|
||||
|
||||
### API changes
|
||||
- new Window API is no longer experimental
|
||||
- old Window API is deprecated
|
||||
- classes from `android.compose.desktop.*` moved to `androidx.compose.ui.awt.*` (ComposeWindow, ComposePanel, etc)
|
||||
- `svgResource`/`vectorXmlResource`/`imageResource` replaced by painterResource
|
||||
|
||||
### API breaking changes:
|
||||
- Window level keyboard API for the old Window API removed
|
||||
- Window(icon: BufferedImage) replaced by Window(icon: Painter)
|
||||
- ContextMenu renamed to CursorDropdownMenu
|
||||
|
||||
## Web
|
||||
|
||||
### API changes
|
||||
- [classes behave cumulatively](https://github.com/JetBrains/compose-jb/pull/690)
|
||||
- [removed content builder for empty elements](https://github.com/JetBrains/compose-jb/issues/744)
|
||||
- [Introduce CSS arithmetic operations](https://github.com/JetBrains/compose-jb/pull/761)
|
||||
- [Improved the types of Inputs and input events](https://github.com/JetBrains/compose-jb/pull/799)
|
||||
- [All event types expose native properties](https://github.com/JetBrains/compose-jb/pull/887)
|
||||
- [Added a complete list of HTML color aliases](https://github.com/JetBrains/compose-jb/issues/890)
|
||||
- [Introduce support for CSS Grid API](https://github.com/JetBrains/compose-jb/issues/895)
|
||||
- [Deprecate Color.RGB, Color.HSL etc. functions in favor of top-level rgb, hsl an so on](https://github.com/JetBrains/compose-jb/issues/902)
|
||||
- [negate CSSNumeric value directly](https://github.com/JetBrains/compose-jb/issues/921)
|
||||
|
||||
### API breaking changes
|
||||
- [boolean like attributes don't have any parameters anymore](https://github.com/JetBrains/compose-jb/pull/780)
|
||||
- [removed input type specific event listeners](https://github.com/JetBrains/compose-jb/pull/861)
|
||||
- [replaced maxWidth/minWidth media queries with prefixed names](https://github.com/JetBrains/compose-jb/issues/886)
|
||||
- [Remove CSSVariables context and introduce specialized methods for adding String- and Number-valued CSS variables](https://github.com/JetBrains/compose-jb/issues/894)
|
||||
- [inline style builder was moved into AttributeBuilder scope](https://github.com/JetBrains/compose-jb/pull/699)
|
||||
|
||||
|
||||
# M4 (Jun 2021)
|
||||
* New experimental [Composable Window API](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Window_API_new)
|
||||
* [Tooltips](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Desktop_Components#tooltips)
|
||||
|
||||
Reference in New Issue
Block a user