New features
- ComScore page view tracking has been removed, as asked by the GD.
- Support time API. See Player#getUnixTimeMs(Long, Window) and Player#seekToUnixTimeMs(Long, Window).
- Support for sprite sheets. See SRGAssetLoaderConfig#spriteSheetLoader(SpriteSheetLoader).
- Support for playlist's preload configuration.
Breaking changes
- Remove Ktor dependency.
SRGAnalytics.sendPageView
no longer sendsComScorePageView
.SRGAssetLoader
no longer supports custom URL to load a media composition.MetricsCollector
no longer implementsPillarboxAnalyticsListener
andPlaybackSessionManager.Listener
.MonitoringConfigFactory
's constructor is no longer public.PillarboxBuilder.create()
is no longer public.PillarboxPreloadManager
constructor has changed:- The
rendererCapabilitiesListFactory: RendererCapabilitiesList.Factory
argument was removed. - The
allocator: DefaultAllocator
argument was removed. - The
renderersFactory: RenderersFactory
argument was added. - The
loadControl: LoadControl
argument was added.
- The
- Remove the following from
pillarbox-ui
:ToggleableBox()
.DelayedVisibilityState
.rememberDelayedVisibilityState(Boolean, Boolean, Duration)
.rememberDelayedVisibilityState(Player, Boolean, Boolean, Duration)
.Modifier.toggleable(Boolean, Role?, DelayedVisibilityState)
.Modifier.toggleable(Boolean, Role?, Indication?, MutableInteractionSource?, DelayedVisibilityState)
.Modifier.maintainVisibleOnFocus(DelayedVisibilityState)
.
What's Changed
- Update
pillarbox-player
module documentation by @MGaetan89 in #792 - Move config files to the
config
folder by @MGaetan89 in #795 - Bump the androidx group with 6 updates by @dependabot in #796
- Update to Gradle 8.11 by @MGaetan89 in #788
- Make some symbols
internal
/private
by @MGaetan89 in #800 - Sprite sheet by @StaehliJ in #777
- Upgrade to Coil 3.0.3 by @MGaetan89 in #801
- Bump robolectric from 4.14 to 4.14.1 by @dependabot in #806
- Bump com.autonomousapps.dependency-analysis from 2.4.2 to 2.5.0 by @dependabot in #807
- Move lint.xml to the root of the project by @StaehliJ in #809
- Update to AndroidX Media3 1.5.0 by @MGaetan89 in #794
- Bump coil from 3.0.3 to 3.0.4 by @dependabot in #813
- Downgrade Ktor to 2.3.13 by @MGaetan89 in #811
- Update GitHub Actions workflows by @MGaetan89 in #818
- Update documentation for the
pillarbox-player
module by @MGaetan89 in #817 - Bump kotlin from 2.0.21 to 2.1.0 by @dependabot in #816
- 802 player time api by @StaehliJ in #814
- Bump com.autonomousapps.dependency-analysis from 2.5.0 to 2.6.0 by @dependabot in #827
- Bump android-gradle-plugin from 8.7.2 to 8.7.3 by @dependabot in #826
- Improve accessibility in the demo app by @MGaetan89 in #820
- Improve accessibility in "Showcases" and on the player by @MGaetan89 in #821
- Remove Ktor dependency by @MGaetan89 in #829
- Bump com.autonomousapps.dependency-analysis from 2.6.0 to 2.6.1 by @dependabot in #838
- Bump kotlinx-kover from 0.8.3 to 0.9.0 by @dependabot in #836
- 822 remove toggleablebox by @StaehliJ in #828
- 824 enforce official supported integration hostname by @StaehliJ in #833
- Bump dokka from 2.0.0-Beta to 2.0.0 by @dependabot in #837
- Add emoji for debug and nigthly build by @StaehliJ in #839
- Bump the srgssr group with 3 updates by @dependabot in #835
- Bump the androidx group with 6 updates by @dependabot in #834
- Improve Gradle scripts by @MGaetan89 in #840
- Bump mockk from 1.13.13 to 1.13.14 by @dependabot in #843
- Update Tataki media URL by @MGaetan89 in #844
- 830 reduce flakiness of some tests by @MGaetan89 in #846
- Bump the androidx group with 12 updates by @dependabot in #841
- Bump Gradle from 8.11.1 to 8.12 by @MGaetan89 in #845
- Bump kotlinx-coroutines from 1.9.0 to 1.10.1 by @dependabot in #842
- Bump org.json:json from 20240303 to 20241224 by @dependabot in #851
- Fix bad substitution when printing by @StaehliJ in #852
- Bump kotlinx-kover from 0.9.0 to 0.9.1 by @dependabot in #854
- Bump org.json:json from 20241224 to 20250107 by @dependabot in #855
- Bump mockk from 1.13.14 to 1.13.16 by @dependabot in #857
- Bump com.autonomousapps.dependency-analysis from 2.6.1 to 2.7.0 by @dependabot in #858
- Fix failing test by @StaehliJ in #862
- Bump kotlinx-serialization from 1.7.3 to 1.8.0 by @dependabot in #850
- Bump android-gradle-plugin from 8.7.3 to 8.8.0 by @dependabot in #853
- Correctly forward MediaPeriod.Callback with PillarboxMediaPeriod. by @StaehliJ in #861
- Bump com.squareup.okio:okio from 3.9.1 to 3.10.2 by @dependabot in #856
- Bump the srgssr group with 3 updates by @dependabot in #865
- Bump the androidx group with 6 updates by @dependabot in #864
- Remove comscore pageview tracking by @StaehliJ in #863
Full Changelog: 3.0.0...4.0.0