android / codelab-android-compose

Apache License 2.0
1.46k stars 668 forks source link

Update all dependencies (end) #475

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 5 months ago

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
gradle (source) minor 8.8 -> 8.10 age adoption passing confidence
com.google.dagger:hilt-compiler dependencies minor 2.51.1 -> 2.52 age adoption passing confidence
com.google.dagger:hilt-android-testing dependencies minor 2.51.1 -> 2.52 age adoption passing confidence
com.google.dagger:hilt-android dependencies minor 2.51.1 -> 2.52 age adoption passing confidence
androidx.test.ext:junit-ktx dependencies patch 1.2.0 -> 1.2.1 age adoption passing confidence
androidx.test.espresso:espresso-core dependencies patch 3.6.0 -> 3.6.1 age adoption passing confidence
androidx.test:rules dependencies patch 1.6.0 -> 1.6.1 age adoption passing confidence
androidx.test:runner dependencies patch 1.6.0 -> 1.6.2 age adoption passing confidence
androidx.test:core dependencies patch 1.6.0 -> 1.6.1 age adoption passing confidence
com.google.truth:truth dependencies patch 1.4.2 -> 1.4.4 age adoption passing confidence
io.coil-kt:coil-compose dependencies minor 2.6.0 -> 2.7.0 age adoption passing confidence
androidx.work:work-testing (source) dependencies patch 2.9.0 -> 2.9.1 age adoption passing confidence
androidx.test.ext:junit dependencies patch 1.2.0 -> 1.2.1 age adoption passing confidence
org.robolectric:robolectric (source) dependencies minor 4.12.2 -> 4.13 age adoption passing confidence
androidx.test.espresso:espresso-intents dependencies patch 3.6.0 -> 3.6.1 age adoption passing confidence
androidx.lifecycle:lifecycle-runtime-compose (source) dependencies patch 2.8.2 -> 2.8.5 age adoption passing confidence
androidx.lifecycle:lifecycle-viewmodel-ktx (source) dependencies patch 2.8.2 -> 2.8.5 age adoption passing confidence
androidx.lifecycle:lifecycle-viewmodel-compose (source) dependencies patch 2.8.2 -> 2.8.5 age adoption passing confidence
androidx.test.espresso:espresso-contrib dependencies patch 3.6.0 -> 3.6.1 age adoption passing confidence
androidx.lifecycle:lifecycle-livedata-ktx (source) dependencies patch 2.8.2 -> 2.8.5 age adoption passing confidence
androidx.navigation:navigation-compose (source) dependencies minor 2.7.7 -> 2.8.0 age adoption passing confidence
androidx.lifecycle:lifecycle-viewmodel-savedstate (source) dependencies patch 2.8.2 -> 2.8.5 age adoption passing confidence
androidx.activity:activity-compose (source) dependencies patch 1.9.0 -> 1.9.2 age adoption passing confidence
androidx.activity:activity-ktx (source) dependencies patch 1.9.0 -> 1.9.2 age adoption passing confidence
androidx.compose:compose-bom dependencies minor 2024.06.00 -> 2024.09.00 age adoption passing confidence
androidx.work:work-runtime-ktx (source) dependencies patch 2.9.0 -> 2.9.1 age adoption passing confidence
com.google.accompanist:accompanist-systemuicontroller dependencies minor 0.34.0 -> 0.36.0 age adoption passing confidence
com.google.accompanist:accompanist-swiperefresh dependencies minor 0.34.0 -> 0.36.0 age adoption passing confidence
androidx.navigation:navigation-ui-ktx (source) dependencies minor 2.7.7 -> 2.8.0 age adoption passing confidence
androidx.navigation:navigation-fragment-ktx (source) dependencies minor 2.7.7 -> 2.8.0 age adoption passing confidence
androidx.fragment:fragment-ktx (source) dependencies patch 1.8.0 -> 1.8.3 age adoption passing confidence
androidx.lifecycle:lifecycle-runtime-ktx (source) dependencies patch 2.8.2 -> 2.8.5 age adoption passing confidence
androidx.compose.material3:material3-window-size-class (source) dependencies minor 1.2.1 -> 1.3.0 age adoption passing confidence
com.android.tools.build:gradle (source) dependencies minor 8.5.0 -> 8.6.0 age adoption passing confidence
com.google.dagger:hilt-android-gradle-plugin dependencies minor 2.51.1 -> 2.52 age adoption passing confidence
androidx.navigation:navigation-safe-args-gradle-plugin (source) dependencies minor 2.7.7 -> 2.8.0 age adoption passing confidence
androidx.compose.material3:material3 (source) dependencies minor 1.2.1 -> 1.3.0 age adoption passing confidence
androidx.baselineprofile (source) plugin minor 1.2.4 -> 1.3.0 age adoption passing confidence
androidx.benchmark:benchmark-macro-junit4 (source) dependencies minor 1.2.4 -> 1.3.0 age adoption passing confidence
androidx.compose.material3:material3-adaptive-navigation-suite (source) dependencies patch 1.3.0-beta03 -> 1.3.0 age adoption passing confidence
androidx.compose.material3.adaptive:adaptive-navigation (source) dependencies patch 1.0.0-beta03 -> 1.0.0 age adoption passing confidence
androidx.compose.material3.adaptive:adaptive-layout (source) dependencies patch 1.0.0-beta03 -> 1.0.0-rc01 age adoption passing confidence
androidx.compose.material3.adaptive:adaptive (source) dependencies patch 1.0.0-beta03 -> 1.0.0 age adoption passing confidence
androidx.media3:media3-ui dependencies minor 1.3.1 -> 1.4.1 age adoption passing confidence
androidx.media3:media3-exoplayer dependencies minor 1.3.1 -> 1.4.1 age adoption passing confidence
androidx.compose.material:material-icons-core (source) dependencies minor 1.6.8 -> 1.7.0 age adoption passing confidence
com.android.tools:desugar_jdk_libs dependencies minor 2.0.4 -> 2.1.2 age adoption passing confidence
com.android.test (source) plugin minor 8.5.0 -> 8.6.0 age adoption passing confidence
com.android.application (source) plugin minor 8.5.0 -> 8.6.0 age adoption passing confidence

Release Notes

gradle/gradle (gradle) ### [`v8.10`](https://redirect.github.com/gradle/gradle/compare/v8.9.0...v8.10.0) [Compare Source](https://redirect.github.com/gradle/gradle/compare/v8.9.0...v8.10.0) ### [`v8.9`](https://redirect.github.com/gradle/gradle/compare/v8.8.0...v8.9.0) [Compare Source](https://redirect.github.com/gradle/gradle/compare/v8.8.0...v8.9.0)
google/truth (com.google.truth:truth) ### [`v1.4.4`](https://redirect.github.com/google/truth/releases/tag/v1.4.4) [Compare Source](https://redirect.github.com/google/truth/compare/v1.4.3...v1.4.4) - Annotated the rest of the main package for nullness, and moved the `@NullMarked` annotation from individual classes up to the package to avoid [a warning under `--release 8`](https://redirect.github.com/google/truth/issues/1320). ([`e107aea`](https://redirect.github.com/google/truth/commit/e107aeadc)) - Improved the failure message for `matches` to conditionally suggest using `containsMatch`. ([`7e9fc7a`](https://redirect.github.com/google/truth/commit/7e9fc7aec)) ### [`v1.4.3`](https://redirect.github.com/google/truth/releases/tag/v1.4.3): 1.4.3 - Added more nullness information to our APIs (in the form of [JSpecify](https://jspecify.dev/) annotations). This could lead to additional warnings (or even errors) for users of Kotlin and other nullness checkers. Please [report any problems](https://redirect.github.com/google/truth/issues/new). ([`ee680cb`](https://redirect.github.com/google/truth/commit/ee680cbaf)) - Deprecated `Subject.Factory` methods for Java 8 types. We won't remove them, but you can simplify your code by migrating off them: Just replace `assertAbout(foos()).that(foo)` with `assertThat(foo)` (or `about(foos()).that(foo)` with `that(foo)`). ([`59e7a50`](https://redirect.github.com/google/truth/commit/59e7a5065))
coil-kt/coil (io.coil-kt:coil-compose) ### [`v2.7.0`](https://redirect.github.com/coil-kt/coil/blob/HEAD/CHANGELOG.md#270---July-17-2024) [Compare Source](https://redirect.github.com/coil-kt/coil/compare/2.6.0...2.7.0) - Slightly optimize internal coroutines usage to improve the performance of `ImageLoader.execute`, `AsyncImage`, `SubcomposeAsyncImage`, and `rememberAsyncImagePainter`. ([#​2205](https://redirect.github.com/coil-kt/coil/pull/2205)) - Fix duplicate network calls for chunked responses. ([#​2363](https://redirect.github.com/coil-kt/coil/pull/2363)) - Update Kotlin to 2.0.0. - Update Compose UI to 1.6.8. - Update Okio to 3.9.0.
google/accompanist (com.google.accompanist:accompanist-systemuicontroller) ### [`v0.36.0`](https://redirect.github.com/google/accompanist/releases/tag/v0.36.0): 🌈 ##### What’s Changed - Upgrade to Compose 1.7 stable ([#​1790](https://redirect.github.com/google/accompanist/issues/1790)) [@​bentrengrove](https://redirect.github.com/bentrengrove) - Fix markdown layout bug in navigation-material.md ([#​1789](https://redirect.github.com/google/accompanist/issues/1789)) [@​SimonMarquis](https://redirect.github.com/SimonMarquis)
androidx/media (androidx.media3:media3-ui) ### [`v1.4.1`](https://redirect.github.com/androidx/media/blob/HEAD/RELEASENOTES.md#141-2024-08-23) [Compare Source](https://redirect.github.com/androidx/media/compare/1.4.0...1.4.1) This release includes the following changes since the [1.4.0 release](#​140-2024-07-24): - ExoPlayer: - Handle preload callbacks asynchronously in `PreloadMediaSource` ([#​1568](https://redirect.github.com/androidx/media/issues/1568)). - Allow playback regardless of buffered duration when loading fails ([#​1571](https://redirect.github.com/androidx/media/issues/1571)). - Extractors: - MP3: Fix `Searched too many bytes` error by correctly ignoring trailing non-MP3 data based on the length field in an `Info` frame ([#​1480](https://redirect.github.com/androidx/media/issues/1480)). - Text: - TTML: Fix handling of percentage `tts:fontSize` values to ensure they are correctly inherited from parent nodes with percentage `tts:fontSize` values. - Fix `IndexOutOfBoundsException` in `LegacySubtitleUtil` due to incorrectly handling the case of the requested output start time being greater than or equal to the final event time in the `Subtitle` ([#​1516](https://redirect.github.com/androidx/media/issues/1516)). - DRM: - Fix `android.media.MediaCodec$CryptoException: Operation not supported in this configuration: ERROR_DRM_CANNOT_HANDLE` error on API 31+ devices playing L1 Widevine content. This error is caused by an incomplete implementation of the framework [`MediaDrm.requiresSecureDecoder`](https://developer.android.com/reference/android/media/MediaDrm#requiresSecureDecoder\(java.lang.String\)) method ([#​1603](https://redirect.github.com/androidx/media/issues/1603)). - Effect: - Add a `release()` method to `GlObjectsProvider`. - Session: - Transform a double-tap of `KEYCODE_HEADSETHOOK` into a 'seek to next' action, as [documented](https://developer.android.com/reference/androidx/media3/session/MediaSession#media-key-events-mapping) ([#​1493](https://redirect.github.com/androidx/media/issues/1493)). - Handle `KEYCODE_HEADSETHOOK` as a 'play' command in `MediaButtonReceiver` when deciding whether to ignore it to avoid a `ForegroundServiceDidNotStartInTimeException` ([#​1581](https://redirect.github.com/androidx/media/issues/1581)). - RTSP Extension: - Skip invalid Media Descriptions in SDP parsing ([#​1087](https://redirect.github.com/androidx/media/issues/1472)). ### [`v1.4.0`](https://redirect.github.com/androidx/media/blob/HEAD/RELEASENOTES.md#140-2024-07-24) [Compare Source](https://redirect.github.com/androidx/media/compare/1.3.1...1.4.0) This release includes the following changes since the [1.3.1 release](#​131-2024-04-11): - Common Library: - Forward presumed no-op seek calls to the protected `BasePlayer.seekTo()` and `SimpleBasePlayer.handleSeek()` methods instead of ignoring them. If you are implementing these methods in a custom player, you may need to handle these additional calls with `mediaItemIndex == C.INDEX_UNSET`. - Remove compile dependency on enhanced Java 8 desugaring ([#​1312](https://redirect.github.com/androidx/media/issues/1312)). - Ensure the duration passed to `MediaItem.Builder.setImageDurationMs()` is ignored for a non-image `MediaItem` (as documented). - Add `Format.customData` to store app-provided custom information about `Format` instances. - ExoPlayer: - Add `BasePreloadManager` which coordinates the preloading for multiple sources based on the priorities defined by their `rankingData`. Customization is possible by extending this class. Add `DefaultPreloadManager` which uses `PreloadMediaSource` to preload media samples of the sources into memory, and uses an integer `rankingData` that indicates the index of an item on the UI. - Add `PlayerId` to most methods of `LoadControl` to enable `LoadControl` implementations to support multiple players. - Remove `Buffer.isDecodeOnly()` and `C.BUFFER_FLAG_DECODE_ONLY`. There is no need to set this flag as renderers and decoders will decide to skip buffers based on timestamp. Custom `Renderer` implementations should check if the buffer time is at least `BaseRenderer.getLastResetPositionUs()` to decide whether a sample should be shown. Custom `SimpleDecoder` implementations can check `isAtLeastOutputStartTimeUs()` if needed or mark other buffers with `DecoderOutputBuffer.shouldBeSkipped` to skip them. - Allow a null value to be returned by `TargetPreloadStatusControl.getTargetPreloadStatus(T)` to indicate not to preload a `MediaSource` with the given `rankingData`. - Add `remove(MediaSource)` to `BasePreloadManager`. - Add `reset()` to `BasePreloadManager` to release all the holding sources while keep the preload manager instance. - Add `ExoPlayer.setPriority()` (and `Builder.setPriority()`) to define the priority value used in `PriorityTaskManager` and for MediaCodec importance from API 35. - Fix issue with updating the last rebuffer time which resulted in incorrect `bs` (buffer starvation) key in CMCD ([#​1124](https://redirect.github.com/androidx/media/issues/1124)). - Add `PreloadMediaSource.PreloadControl.onLoadedToTheEndOfSource(PreloadMediaSource)` to indicate that the source has loaded to the end. This allows the `DefaultPreloadManager` and the custom `PreloadMediaSource.PreloadControl` implementations to preload the next source or take other actions. - Fix bug where silence skipping at the end of items can trigger a playback exception. - Add `clear` to `PreloadMediaSource` to discard the preloading period. - Add new error code `PlaybackException.ERROR_CODE_DECODING_RESOURCES_RECLAIMED` that is used when codec resources are reclaimed for higher priority tasks. - Let `AdsMediaSource` load preroll ads before initial content media preparation completes ([#​1358](https://redirect.github.com/androidx/media/issues/1358)). - Fix bug where playback moved to `STATE_ENDED` when re-preparing a multi-period DASH live stream after the original period was already removed from the manifest. - Rename `onTimelineRefreshed()` to `onSourcePrepared()` and `onPrepared()` to `onTracksSelected()` in `PreloadMediaSource.PreloadControl`. Also rename the IntDefs in `DefaultPreloadManager.Stage` accordingly. - Add experimental support for dynamic scheduling to better align work with CPU wake-cycles and delay waking up to when renderers can progress. You can enable this using `experimentalSetDynamicSchedulingEnabled()` when setting up your ExoPlayer instance. - Add `Renderer.getDurationToProgressUs()`. A `Renderer` can implement this method to return to ExoPlayer the duration that playback must advance for the renderer to progress. If `ExoPlayer` is set with `experimentalSetDynamicSchedulingEnabled()` then `ExoPlayer` will call this method when calculating the time to schedule its work task. - Add `MediaCodecAdapter#OnBufferAvailableListener` to alert when input and output buffers are available for use by `MediaCodecRenderer`. `MediaCodecRenderer` will signal `ExoPlayer` when receiving these callbacks and if `ExoPlayer` is set with `experimentalSetDynamicSchedulingEnabled()`, then `ExoPlayer` will schedule its work loop as renderers can make progress. - Use data class for `LoadControl` methods instead of individual parameters. - Add `ExoPlayer.isReleased()` to check whether `Exoplayer.release()` has been called. - Add `ExoPlayer.Builder.setMaxSeekToPreviousPositionMs()` to configure the maximum position for which `seekToPrevious()` seeks to the previous item ([#​1425](https://redirect.github.com/androidx/media/issues/1425)). - Fix some audio focus inconsistencies, e.g. not reporting full or transient focus loss while the player is paused ([#​1436](https://redirect.github.com/androidx/media/issues/1436)). - Fix potential `IndexOutOfBoundsException` caused by extractors reporting additional tracks after the initial preparation step ([#​1476](https://redirect.github.com/androidx/media/issues/1476)). - `Effects` in `ExoPlayer.setVideoEffect()` will receive the timestamps with the renderer offset removed ([#​1098](https://redirect.github.com/androidx/media/issues/1098)). - Fix potential `IllegalArgumentException` when handling player error that happened while reading ahead into another playlist item ([#​1483](https://redirect.github.com/androidx/media/issues/1483)). - Transformer: - Add `audioConversionProcess` and `videoConversionProcess` to `ExportResult` indicating how the respective track in the output file was made. - Relax trim optimization H.264 level checks. - Add support for changing between SDR and HDR input media in a sequence. - Add support for composition-level audio effects. - Add support for transcoding Ultra HDR images into HDR videos. - Fix issue where the `DefaultAudioMixer` does not output the correct amount of bytes after being reset and reused. - Work around a decoder bug where the number of audio channels was capped at stereo when handling PCM input. - When selecting tracks in `ExoPlayerAssetLoader`, ignore audio channel count constraints as they only apply for playback. - Replace `androidx.media3.transformer.Muxer` interface with `androidx.media3.muxer.Muxer` and remove `androidx.media3.transformer.Muxer`. - Fix HEIC image loading from content URI schemes. ([#​1373](https://redirect.github.com/androidx/media/issues/1373)). - Adjust audio track duration in `AudioGraphInput` to improve AV sync. - Remove `ExportResult.processedInputs` field. If you use this field for codec details, then use `DefaultDecoderFactory.listener` instead. In case of a codec exception, codec details will be available in the `ExportException.codecInfo`. - Extractors: - MPEG-TS: Roll forward the change ensuring the last frame is rendered by passing the last access unit of a stream to the sample queue ([#​7909](https://redirect.github.com/google/ExoPlayer/issues/7909)). Incorporating fixes to resolve the issues that emerged in I-frame only HLS streams([#​1150](https://redirect.github.com/androidx/media/issues/1150)) and H.262 HLS streams ([#​1126](https://redirect.github.com/androidx/media/issues/1126)). - MP3: Prefer the data size from an `Info` frame over the size reported by the underlying stream (e.g. file size, or HTTP `Content-Length` header). This helps to exclude non-playable trailer data (e.g. album artwork) from constant bitrate seeking calculations, making seeks more accurate ([#​1376](https://redirect.github.com/androidx/media/issues/1376)). - MP3: Use the frame count and other data in an `Info` frame (if present) to compute an average bitrate for constant bitrate seeking, rather than extrapolating from the bitrate of the frame after the `Info` frame, which may be artificially small, e.g. `PCUT` frame ([#​1376](https://redirect.github.com/androidx/media/issues/1376)). - Fix PCM audio format extraction in AVI containers.

Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 2 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.