Skip to content

feat: cmp 1.10.3 - #559

Merged
programadorthi merged 20 commits into
mainfrom
feat/cmp-1.10.3
Jun 6, 2026
Merged

programadorthi merged 20 commits into
mainfrom
feat/cmp-1.10.3

Conversation

@programadorthi

@programadorthi programadorthi commented Mar 21, 2026 •

Copy link
Copy Markdown
Collaborator
  • Kotlin 2.2.21
  • Compose Multiplatform 1.10.3
  • Other third-party libraries upgrades
  • Kodein breaking changes
  • KTLint 1.0.1 did a lot of format changes related to trailing comma

#556

@programadorthi programadorthi self-assigned this Mar 21, 2026
@programadorthi programadorthi added the enhancement New feature or request label Mar 21, 2026
navigatorSaver.saver(screens, key, stateHolder, disposeBehavior, parent)
}

return rememberSaveable(saver = saver, key = key) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this change the behaviour?

@programadorthi programadorthi Mar 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main reason was deprecation. Previous saver hasn't a key in the remember arguments so we were reusing the same saver to different keys. Maybe remove from rememberSaveable and put to remember above.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved key to remember. Instead of creating Navigators changing the key now create a saver. Changing the saver creates a new Navigator too.

@programadorthi
programadorthi merged commit 74d2e45 into main Jun 6, 2026
1 check passed
@programadorthi
programadorthi deleted the feat/cmp-1.10.3 branch June 6, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants