Bunch of compose updates today! :party-parrot: Co...
# compose
c
Bunch of compose updates today! 🦜 Compose supports kotlin 1.7.0 in compiler 1.2.0 https://twitter.com/JimSproch/status/1542193552326680577 (kinda weird I think for it to be in 1.2.0? maybe just me?) Version 1.2.0-rc03 out today β€’ Pretty minor bump Version 1.3.0-alpha01 β€’ New
LookaheadLayout
that supports a lookahead pass before the actual measure/layout. β€’ Introduced the
UrlAnnotation
annotation type and associated methods to support
TalkBack
link support in `AnnotatedString`s. β€’ Add optional alpha parameter to Brush flavor of
TextStyle
and
SpanStyle
to modify opacity of the whole
Text
β€’ Added a new API
WindowInfo.keyboardModifiers
to observe its state within composable functions or via snapshotFlow Version 1.0.0-alpha14 β€’ Nothing too major. See here if curious
πŸŽ‰ 22
i
that would be great if Electric Eel has Kotlin 1.7.0 plugins
j
kinda weird I think for it to be in 1.2.0? maybe just me?
I called it "fucking ridiculous" in our internal chat.
πŸ˜‚ 13
c
I'm still working on my english. Noted! πŸ˜‚
🀣 9
Wonder what surprises are in store when upgrading to kotlin 1.7.0!
Compose devs: "Give us Kotlin 1.7! Give us Kotlin 1.7! Give us Kotlin 1.7!" Gets 1.7 "No no. not like this"
πŸ’― 5
πŸ˜‚ 15
a
After updating Compose to the new versions I got this error:
j
πŸ™Œ 2
πŸ‘πŸ½ 1
πŸ‘ 2
e
What am I missing that's weird about 1.7.0 support coming in 1.2.0? Is it just the version naming, or that the rest of 1.2.0 isn't stable yet?
j
rc02 only supported 1.6.21. They merged what is effectively a major version bump into the compiler and released it as stable without any testing and now forcing anyone who had adopted the RCs to upgrade their Kotlin version.
they should have released 1.2.0 stable supporting Kotlin 1.6.21 to complete the RC->stable journey and released 1.3.0 stable supporting Kotlin 1.7.0 at the same time
☝️ 8
πŸ‘πŸΎ 1
πŸ‘ 4
☝🏾 2
e
Ah I didn't pick up on that because I treat most androidx releases (alpha, beta, rc, and stable) as untested, throw it into production releases 😬
i
I would love to see AS EE has Kotlin 1.7.0 plugins
d
@Zoltan Demant If you have a chance to try it, I would love to hear what you think, and maybe get some feedback on
LookaheadLayout
. πŸ™‚
πŸ‘πŸ½ 1