Repository navigation
Comparing changes
Open a pull request
base repository: googlemaps/android-maps-compose
base: v8.4.0
head repository: googlemaps/android-maps-compose
compare: v8.5.0
- 8 commits
- 32 files changed
- 3 contributors
Commits on Aug 5, 2026
-
fix: rename InvalidatingComposeView getRotation param to avoid View s…
…hadowing (#952) InvalidatingComposeView extends View, which already declares getRotation(): Float. The constructor property of the same name was silently shadowed by the inherited View method, so calling getRotation() inside Content() never invoked the injected lambda and the rotation LaunchedEffect key never reflected cluster/item rotation state changes.
Configuration menu - View commit details
-
Copy full SHA for 1d971cd - Browse repository at this point
Copy the full SHA 1d971cdView commit details
Commits on Aug 6, 2026
-
build(deps): update dependencies, fix zizmor findings, and restore Ja…
…CoCo coverage (#954) * build(deps): update dependency versions and Gradle wrapper Bump AGP, Material, ConstraintLayout, and the Maven Publish plugin to their latest stable releases. AGP 9.3.1 requires Gradle >= 9.5.0, so the wrapper is regenerated (via `gradlew wrapper`) to 9.6.1. The `screenshot` version (com.android.compose.screenshot / screenshot-validation-api) is left pinned at 0.0.1-alpha14: bumping to the latest 0.0.1-alpha16 breaks the `screenshotTests {}` DSL in maps-app/build.gradle.kts (unresolved reference), since this is an experimental, alpha-only AGP feature with an unstable API across alpha releases. Reproduced and isolated locally - reverting this one version while keeping AGP 9.3.1 fixes the build. Needs a dedicated migration, tracked separately. * fix(ci): resolve zizmor findings and bump stale Actions zizmor (required check) fails a workflow on two mandatory finding types plus its Medium-severity excessive-permissions check: - unpinned-uses: pin every third-party action across all 11 workflow files to a full commit SHA (trailing comment records the resolved version) instead of a mutable tag. - template-injection: release-rc.yml interpolated the workflow_dispatch `branch` input directly into a `run:` shell script (`git push origin "${{ inputs.branch }}"`), a shell injection vector. Routed it through a BRANCH env var, matching how VERSION is already handled in the same job. - excessive-permissions: docs.yml, lint-report.yml, publish.yml, test.yml, and update-skill.yml had no `permissions:` block, so they inherited the broad default GITHUB_TOKEN scope even though none of their steps need it (PR/release creation there uses a separate PAT). Added least-privilege blocks; lint-report.yml additionally needs security-events: write for its SARIF uploads. Also bumped actions/setup-java v4 -> v5 (auto-fix.yml, to match every other workflow), actions/setup-python v6 -> v7, googleapis/release-please-action v4 -> v5, and madrapps/jacoco-report v1.7.2 -> v1.8.0. * fix(build): restore real JaCoCo coverage for Kotlin sources The hand-rolled `jacocoTestReport` task in PublishingConventionPlugin pointed classDirectories at build/tmp/kotlin-classes/debug - the legacy Kotlin Gradle Plugin output path. AGP 9's built-in Kotlin compiler now outputs to intermediates/built_in_kotlinc/ instead, so that directory no longer exists and every jacocoTestReport was silently producing an empty report (only a <sessioninfo>, zero <package>/<class> entries), for every module using this convention plugin (maps-compose, maps-compose-utils, maps-compose-widgets). Verified against maps-compose-utils (the only library module with unit tests): report went from 247 bytes / no classes to 87KB with 36 real classes and non-zero counters. Also included the javac output dir for parity with any future Java sources. * fix(ci): correct emulator-runner pin and fix jacoco-output injection The emulator-runner pin used a tag OBJECT sha (c9c93e6b...) instead of the commit it points to - v2 and v2.38.0 are both annotated tags that peel to the same commit (a421e4385516...), which is what the previous @v2 reference actually resolved to. zizmor's hash-pin check correctly flagged the mismatch. Also fixes a second zizmor template-injection finding: "Get the Coverage info" interpolated ${{ steps.jacoco.outputs.* }} directly into a run: echo, on two lines (hence "2 findings" from a single job). Routed both through env vars, same pattern as the other injection fixes.
Configuration menu - View commit details
-
Copy full SHA for 8076349 - Browse repository at this point
Copy the full SHA 8076349View commit details -
fix: avoid re-parenting crash for MarkerInfoWindowContent/MarkerInfoW…
…indowComposable (#953) Fixes #950 PR #931 fixed #913 (empty info window content on compose-ui 1.10+) by keeping the ComposeView permanently attached to the library's own container while the info window is shown. That works around compose-ui's attachment requirement for drawing, but it means the view handed back from getInfoContents()/getInfoWindow() already has a parent. The Maps SDK internally re-parents that view into its own default info window frame, so calling addView() on an already-parented view throws: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. This change renders the Compose content into a plain Bitmap up front (attach, measure, layout, draw, detach, the same technique already used for MarkerComposable icon bitmaps) and hands the Maps SDK a fresh, unattached ImageView wrapping that bitmap instead of the live ComposeView. This keeps the compose-ui 1.10+ fix from #931 (content is fully rendered before we let go of it) while avoiding the double parent crash, since the returned view was never attached anywhere. Verified on a physical device: reproduced the #950 crash on the previous build, confirmed it is gone after this change, and confirmed MarkerInfoWindowContent and MarkerInfoWindowComposable content still render correctly under compose-bom 2026.06.01 (compose-ui 1.10+), covering the original #913 scenario as well.
Configuration menu - View commit details
-
Copy full SHA for 12f35a4 - Browse repository at this point
Copy the full SHA 12f35a4View commit details
Commits on Aug 12, 2026
-
Configuration menu - View commit details
-
Copy full SHA for fc37801 - Browse repository at this point
Copy the full SHA fc37801View commit details
Commits on Aug 17, 2026
-
fix: avoid zero-size crash in rememberComposeBitmapDescriptor when us…
…ed inside Clustering (#963) * fix: avoid zero-size crash in rememberComposeBitmapDescriptor when used inside Clustering rememberComposeBitmapDescriptor hosted its throwaway rendering ComposeView on LocalView.current, which can itself be mid-attach with no Android layout pass performed on it yet -- notably when this is called from content composed inside Clustering's clusterItemContent, whose InvalidatingComposeView is still being attached to its own parent at that point. That caused measure() to return a 0x0 size and throw IllegalStateException. Host the throwaway view on the window's root view instead, which is already laid out by the time any marker/cluster content is composed. setParentCompositionContext keeps the composition correctly scoped to the caller regardless of which Android View it's physically parented under, so this is safe. Fixes #694 * refactor(maps-compose): improve Canvas lifecycle and view cleanup in rememberComposeBitmapDescriptor - Replace the file-level static fakeCanvas singleton with a locally scoped canvasOfHolding to prevent global memory retention and eliminate any risk of cross-call Canvas state/matrix contamination. - Wrap the measurement, layout, and bitmap drawing phases in a try/finally block to guarantee that the throwaway ComposeView is always detached from the root view hierarchy even if measurement throws an IllegalStateException or rendering fails. - Rename the Canvas instance to reflect its production role as an unbacked draw target rather than a test double. --------- Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 11a2430 - Browse repository at this point
Copy the full SHA 11a2430View commit details -
build: add .editorconfig for consistent code formatting (#966)
Adds a root .editorconfig with basic formatting conventions (UTF-8, LF line endings, trailing whitespace trimming, final newline, and indentation rules for Kotlin, Java, Gradle, XML, YAML/JSON, and Markdown) so contributors get consistent defaults across editors and IDEs. Fixes #964 Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c7b1db0 - Browse repository at this point
Copy the full SHA c7b1db0View commit details -
feat: expose info window customization for advanced markers (#965)
* feat: expose info window customization for advanced markers AdvancedMarkerImpl already supported customizing a marker's info window via infoWindow/infoContent, wiring them into MarkerNode correctly, but the public AdvancedMarker composable never exposed those parameters. Add AdvancedMarkerInfoWindow and AdvancedMarkerInfoWindowContent, mirroring the existing MarkerInfoWindow/MarkerInfoWindowContent public API for regular markers. Fixes #822 * docs: showcase AdvancedMarkerInfoWindowContent in the marker demo Demonstrates the new public API from #822 by using it for Marker 1 in AdvancedMarkersActivity. --------- Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4c65f8c - Browse repository at this point
Copy the full SHA 4c65f8cView commit details
Commits on Aug 20, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 2e817dd - Browse repository at this point
Copy the full SHA 2e817ddView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v8.4.0...v8.5.0