Skip to content

Conversation

faogustavo
Copy link
Collaborator

  • Some methods got new params, but kept the source compatible
  • Those methods had their visibility changed to Hidden, so they still exist
  • But if the users recompile, they will use the new method

Release notes

⚠️ Important Changes

  • A few methods/composable functions that received new parameters, but kept the source compatibility, had their deprecation level changed to Hidden
    • Methods that got hidden are:
      • JewelComposeNoThemePanel (method without focusOnClickInside)
      • JewelComposePanel (method without focusOnClickInside)
      • compose (methods without focusOnClickInside)

… level

- Some methods got new params, but kept the source compatible
- Those methods had the visibility changed to Hidden, so they still exists
- But if the users recompile, they will use the new method
@faogustavo
Copy link
Collaborator Author

Breaking changes in the dump file are expected as we changed them to deprecated level hidden

@faogustavo
Copy link
Collaborator Author

faogustavo commented Oct 1, 2025

Adding more context on the dump changes.

The level = Hidden from the deprecation annotation adds the synthetic modifier to hide the function from the users when compiling against a new version of the code.

For older versions, the method will still be there and accessible with the same signature. It will just be a synthetic method now.

In other words, new compilations will point to the non-deprecated method. Old compilations, which now reference the (now) deprecated method, will still function as intended, since the method was not removed and its signature has not changed.

More details on synthetic change can be found in the JvmSynthetic annotation:

Marking target as synthetic is a binary compatible change, already compiled Java code will be able to access such target.
- JvmSynthetic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants