Update dependency com.jakewharton.mosaic:mosaic-runtime to v0.17.0 #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.16.0
->0.17.0
Release Notes
JakeWharton/mosaic (com.jakewharton.mosaic:mosaic-runtime)
v0.17.0
Compare Source
New:
Terminal
andLocalTerminal
are now renamed toTerminalState
andLocalTerminalState
, respectively, along with some new capabilities:focused
boolean which defaults to true. If the terminal supports sending focus changes, this will be updated in real time.theme
property which defaults to 'unknown'. If the terminal supports querying theme state, this will be 'light' or 'dark' and be updated in real time. Note: this is not the OS theme, but instead reflects the theme of the terminal color scheme.TerminalState.focused
to aLifecycle
and expose into the composition asLocalLifecycleOwner
. This allows using Compose lifecycle helpers such asLifecycleResumeEffect
and others.LocalStaticLogger
composition local provides access toStaticLogger
which allows logging plain strings at arbitrary points for inclusion in the next frame. This can be used from effects, callback, state classes, etc. Support for loggingAnnotatedString
s will come in a future release.runMosaicMain
function replaces the existingrunMosaicBlocking
for use specifically infun main()
or main-like scenarios.Changed:
Static
function is now calledStaticEffect
to better indicate that it only renders its content once.runMosaic
andrunMosaicBlocking
now accept aNonInteractivePolicy
argument which dictates the behavior when Mosaic cannot connect directly to the TTY.Fixed:
Removed:
renderMosaic
was removed without replacement. As the capabilities of the library grow, supporting a string as a render target was increasingly difficult.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.