Fixed
Status Update
Comments
go...@jakewharton.com <go...@jakewharton.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
https://android-review.googlesource.com/1123258
https://goto.google.com/android-sha1/b90079595f33f58fece04026a97faa0d243acdb1
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
ap...@google.com <ap...@google.com> #3
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-master-dev
commit bdde5a1a970ddc9007b28de4aa29d60ffa588f08
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 16 16:47:05 2020
Re-factor how errors are dismissed when query is re-written
This CL changes how we handle errors/warnings if query is
re-written.
There was a bug in expandProjection where we would report warnings
for things that Room already fixes automatically ( b/140759491 ).
The solution to that problem (I7659002e5e0d1ef60fc1af2a625c0c36da0664d8)
solved it by deferring validating of columns until after re-write
decision is made. Unfortunately, this required changing PojoRowAdapter
to have a dummy mapping until it is validating, make it hard to use
as it does have a non-null mapping which is not useful.
This CL partially reverts that change and instead rely on the log
deferring logic we have in Context. This way, we don't need to break
the stability of PojoRowAdapter while still having the ability to
drop warnings that room fixes. This will also play nicer when we
have different query re-writing options that can use more information
about the query results.
Bug: 153387066
Bug: 140759491
Test: existing tests pass
Change-Id: I2ec967c763d33d7a3ff02c1a13c6953b460d1e5f
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
https://android-review.googlesource.com/1288456
Branch: androidx-master-dev
commit bdde5a1a970ddc9007b28de4aa29d60ffa588f08
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 16 16:47:05 2020
Re-factor how errors are dismissed when query is re-written
This CL changes how we handle errors/warnings if query is
re-written.
There was a bug in expandProjection where we would report warnings
for things that Room already fixes automatically (
The solution to that problem (I7659002e5e0d1ef60fc1af2a625c0c36da0664d8)
solved it by deferring validating of columns until after re-write
decision is made. Unfortunately, this required changing PojoRowAdapter
to have a dummy mapping until it is validating, make it hard to use
as it does have a non-null mapping which is not useful.
This CL partially reverts that change and instead rely on the log
deferring logic we have in Context. This way, we don't need to break
the stability of PojoRowAdapter while still having the ability to
drop warnings that room fixes. This will also play nicer when we
have different query re-writing options that can use more information
about the query results.
Bug: 153387066
Bug: 140759491
Test: existing tests pass
Change-Id: I2ec967c763d33d7a3ff02c1a13c6953b460d1e5f
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
fs...@google.com <fs...@google.com>
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit 7e7e75abb166ee86c0eb85ee1eb8573b18acd428
Author: Jake Wharton <jw@squareup.com>
Date: Thu May 02 14:09:54 2024
Enable linuxArm64 for annotation
Other multiplatform libraries with linux targets will be updated once annotation releases a stable artifact.
Bug: 338268719
Test: gw createArchive + manual validation of artifacts
Change-Id: If2f5847a739ad32d9bcc71458aa2e93e18ebbca2
M annotation/annotation/build.gradle
M buildSrc/private/src/main/kotlin/androidx/build/AndroidXMultiplatformExtension.kt
M buildSrc/public/src/main/kotlin/androidx/build/KmpPlatforms.kt
https://android-review.googlesource.com/3072744
Branch: androidx-main
commit 7e7e75abb166ee86c0eb85ee1eb8573b18acd428
Author: Jake Wharton <jw@squareup.com>
Date: Thu May 02 14:09:54 2024
Enable linuxArm64 for annotation
Other multiplatform libraries with linux targets will be updated once annotation releases a stable artifact.
Bug: 338268719
Test: gw createArchive + manual validation of artifacts
Change-Id: If2f5847a739ad32d9bcc71458aa2e93e18ebbca2
M annotation/annotation/build.gradle
M buildSrc/private/src/main/kotlin/androidx/build/AndroidXMultiplatformExtension.kt
M buildSrc/public/src/main/kotlin/androidx/build/KmpPlatforms.kt
au...@google.com <au...@google.com> #6
Added linuxarm64 for all projects that target linux.
We'll be releasing bugfix releases of annotation 1.8.1 (
ap...@google.com <ap...@google.com> #7
Project: platform/frameworks/support
Branch: androidx-main
commit 010f5f7fdda5e2ab7bda5c269c385ff45233a2ac
Author: Aurimas Liutikas <aurimas@google.com>
Date: Thu Jul 11 11:33:22 2024
Enable to build linux ARM64 KMP target when targeting linux
Prior to this change adding linux() target to a KMP project was only
adding linuxX64 and it required adding linuxArm64 explicitly. This
change changes the default to also include ARM64 to match all the other
platforms
This change also updates all of the dependencies from prebuilts to
project for places that require the new target to be available
Bug: 338268719
Relnote: Add support for linuxArm64 kotlin multiplatform target
Test: ./gradlew createArchive
Change-Id: I139d36226a3d06d9768bd63302de98b576a12a48
M annotation/annotation/build.gradle
M buildSrc/private/src/main/kotlin/androidx/build/AndroidXMultiplatformExtension.kt
M collection/collection/build.gradle
M datastore/datastore-core-okio/bcv/native/current.txt
M datastore/datastore-core/bcv/native/current.txt
M datastore/datastore-core/build.gradle
M datastore/datastore-preferences-core/bcv/native/current.txt
M datastore/datastore-preferences/bcv/native/current.txt
M datastore/datastore/bcv/native/current.txt
M datastore/datastore/build.gradle
M gradle/libs.versions.toml
M lifecycle/lifecycle-common/bcv/native/current.txt
M lifecycle/lifecycle-common/build.gradle
M lifecycle/lifecycle-runtime/bcv/native/current.txt
M lifecycle/lifecycle-viewmodel/bcv/native/current.txt
M lifecycle/lifecycle-viewmodel/build.gradle
M paging/paging-common/bcv/native/current.txt
M paging/paging-common/build.gradle
M paging/paging-testing/bcv/native/current.txt
M room/integration-tests/kotlintestapp/build.gradle
M room/integration-tests/noappcompattestapp/build.gradle
M room/room-common/bcv/native/current.txt
M room/room-common/build.gradle
M room/room-migration/bcv/native/current.txt
M room/room-paging/build.gradle
M room/room-runtime/bcv/native/current.txt
M room/room-runtime/build.gradle
M room/room-testing/bcv/native/current.txt
M sqlite/sqlite-bundled/bcv/native/current.txt
M sqlite/sqlite-framework/bcv/native/current.txt
M sqlite/sqlite-framework/build.gradle
M sqlite/sqlite/bcv/native/current.txt
M sqlite/sqlite/build.gradle
https://android-review.googlesource.com/3167698
Branch: androidx-main
commit 010f5f7fdda5e2ab7bda5c269c385ff45233a2ac
Author: Aurimas Liutikas <aurimas@google.com>
Date: Thu Jul 11 11:33:22 2024
Enable to build linux ARM64 KMP target when targeting linux
Prior to this change adding linux() target to a KMP project was only
adding linuxX64 and it required adding linuxArm64 explicitly. This
change changes the default to also include ARM64 to match all the other
platforms
This change also updates all of the dependencies from prebuilts to
project for places that require the new target to be available
Bug: 338268719
Relnote: Add support for linuxArm64 kotlin multiplatform target
Test: ./gradlew createArchive
Change-Id: I139d36226a3d06d9768bd63302de98b576a12a48
M annotation/annotation/build.gradle
M buildSrc/private/src/main/kotlin/androidx/build/AndroidXMultiplatformExtension.kt
M collection/collection/build.gradle
M datastore/datastore-core-okio/bcv/native/current.txt
M datastore/datastore-core/bcv/native/current.txt
M datastore/datastore-core/build.gradle
M datastore/datastore-preferences-core/bcv/native/current.txt
M datastore/datastore-preferences/bcv/native/current.txt
M datastore/datastore/bcv/native/current.txt
M datastore/datastore/build.gradle
M gradle/libs.versions.toml
M lifecycle/lifecycle-common/bcv/native/current.txt
M lifecycle/lifecycle-common/build.gradle
M lifecycle/lifecycle-runtime/bcv/native/current.txt
M lifecycle/lifecycle-viewmodel/bcv/native/current.txt
M lifecycle/lifecycle-viewmodel/build.gradle
M paging/paging-common/bcv/native/current.txt
M paging/paging-common/build.gradle
M paging/paging-testing/bcv/native/current.txt
M room/integration-tests/kotlintestapp/build.gradle
M room/integration-tests/noappcompattestapp/build.gradle
M room/room-common/bcv/native/current.txt
M room/room-common/build.gradle
M room/room-migration/bcv/native/current.txt
M room/room-paging/build.gradle
M room/room-runtime/bcv/native/current.txt
M room/room-runtime/build.gradle
M room/room-testing/bcv/native/current.txt
M sqlite/sqlite-bundled/bcv/native/current.txt
M sqlite/sqlite-framework/bcv/native/current.txt
M sqlite/sqlite-framework/build.gradle
M sqlite/sqlite/bcv/native/current.txt
M sqlite/sqlite/build.gradle
au...@google.com <au...@google.com>
pr...@google.com <pr...@google.com> #8
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.lifecycle:lifecycle-common:2.9.0-alpha01
androidx.lifecycle:lifecycle-common-iosarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-common-iossimulatorarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-common-iosx64:2.9.0-alpha01
androidx.lifecycle:lifecycle-common-jvm:2.9.0-alpha01
androidx.lifecycle:lifecycle-common-linuxx64:2.9.0-alpha01
androidx.lifecycle:lifecycle-common-macosarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-common-macosx64:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime-desktop:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime-iosarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime-iossimulatorarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime-iosx64:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime-linuxx64:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime-macosarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-runtime-macosx64:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel-android:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel-desktop:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel-iosarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel-iossimulatorarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel-iosx64:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel-linuxx64:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel-macosarm64:2.9.0-alpha01
androidx.lifecycle:lifecycle-viewmodel-macosx64:2.9.0-alpha01
androidx.paging:paging-common:3.3.2
androidx.paging:paging-common-android:3.3.2
androidx.paging:paging-common-iosarm64:3.3.2
androidx.paging:paging-common-iossimulatorarm64:3.3.2
androidx.paging:paging-common-iosx64:3.3.2
androidx.paging:paging-common-jvm:3.3.2
androidx.paging:paging-common-linuxx64:3.3.2
androidx.paging:paging-common-macosarm64:3.3.2
androidx.paging:paging-common-macosx64:3.3.2
androidx.paging:paging-testing:3.3.2
androidx.paging:paging-testing-android:3.3.2
androidx.paging:paging-testing-iosarm64:3.3.2
androidx.paging:paging-testing-iossimulatorarm64:3.3.2
androidx.paging:paging-testing-iosx64:3.3.2
androidx.paging:paging-testing-jvm:3.3.2
androidx.paging:paging-testing-linuxx64:3.3.2
androidx.paging:paging-testing-macosarm64:3.3.2
androidx.paging:paging-testing-macosx64:3.3.2
androidx.room:room-common:2.7.0-alpha06
androidx.room:room-common-iosarm64:2.7.0-alpha06
androidx.room:room-common-iossimulatorarm64:2.7.0-alpha06
androidx.room:room-common-iosx64:2.7.0-alpha06
androidx.room:room-common-jvm:2.7.0-alpha06
androidx.room:room-common-linuxx64:2.7.0-alpha06
androidx.room:room-common-macosarm64:2.7.0-alpha06
androidx.room:room-common-macosx64:2.7.0-alpha06
androidx.room:room-migration:2.7.0-alpha06
androidx.room:room-migration-iosarm64:2.7.0-alpha06
androidx.room:room-migration-iossimulatorarm64:2.7.0-alpha06
androidx.room:room-migration-iosx64:2.7.0-alpha06
androidx.room:room-migration-jvm:2.7.0-alpha06
androidx.room:room-migration-linuxx64:2.7.0-alpha06
androidx.room:room-migration-macosarm64:2.7.0-alpha06
androidx.room:room-migration-macosx64:2.7.0-alpha06
androidx.room:room-paging:2.7.0-alpha06
androidx.room:room-paging-android:2.7.0-alpha06
androidx.room:room-paging-iosarm64:2.7.0-alpha06
androidx.room:room-paging-iossimulatorarm64:2.7.0-alpha06
androidx.room:room-paging-iosx64:2.7.0-alpha06
androidx.room:room-paging-jvm:2.7.0-alpha06
androidx.room:room-paging-linuxx64:2.7.0-alpha06
androidx.room:room-paging-macosarm64:2.7.0-alpha06
androidx.room:room-paging-macosx64:2.7.0-alpha06
androidx.room:room-runtime:2.7.0-alpha06
androidx.room:room-runtime-android:2.7.0-alpha06
androidx.room:room-runtime-iosarm64:2.7.0-alpha06
androidx.room:room-runtime-iossimulatorarm64:2.7.0-alpha06
androidx.room:room-runtime-iosx64:2.7.0-alpha06
androidx.room:room-runtime-jvm:2.7.0-alpha06
androidx.room:room-runtime-linuxx64:2.7.0-alpha06
androidx.room:room-runtime-macosarm64:2.7.0-alpha06
androidx.room:room-runtime-macosx64:2.7.0-alpha06
androidx.room:room-testing:2.7.0-alpha06
androidx.room:room-testing-android:2.7.0-alpha06
androidx.room:room-testing-iosarm64:2.7.0-alpha06
androidx.room:room-testing-iossimulatorarm64:2.7.0-alpha06
androidx.room:room-testing-iosx64:2.7.0-alpha06
androidx.room:room-testing-jvm:2.7.0-alpha06
androidx.room:room-testing-linuxx64:2.7.0-alpha06
androidx.room:room-testing-macosarm64:2.7.0-alpha06
androidx.room:room-testing-macosx64:2.7.0-alpha06
androidx.sqlite:sqlite:2.5.0-alpha06
androidx.sqlite:sqlite-android:2.5.0-alpha06
androidx.sqlite:sqlite-bundled:2.5.0-alpha06
androidx.sqlite:sqlite-bundled-android:2.5.0-alpha06
androidx.sqlite:sqlite-bundled-iosarm64:2.5.0-alpha06
androidx.sqlite:sqlite-bundled-iossimulatorarm64:2.5.0-alpha06
androidx.sqlite:sqlite-bundled-iosx64:2.5.0-alpha06
androidx.sqlite:sqlite-bundled-jvm:2.5.0-alpha06
androidx.sqlite:sqlite-bundled-linuxx64:2.5.0-alpha06
androidx.sqlite:sqlite-bundled-macosarm64:2.5.0-alpha06
androidx.sqlite:sqlite-bundled-macosx64:2.5.0-alpha06
androidx.sqlite:sqlite-framework:2.5.0-alpha06
androidx.sqlite:sqlite-framework-android:2.5.0-alpha06
androidx.sqlite:sqlite-framework-iosarm64:2.5.0-alpha06
androidx.sqlite:sqlite-framework-iossimulatorarm64:2.5.0-alpha06
androidx.sqlite:sqlite-framework-iosx64:2.5.0-alpha06
androidx.sqlite:sqlite-framework-linuxx64:2.5.0-alpha06
androidx.sqlite:sqlite-framework-macosarm64:2.5.0-alpha06
androidx.sqlite:sqlite-framework-macosx64:2.5.0-alpha06
androidx.sqlite:sqlite-iosarm64:2.5.0-alpha06
androidx.sqlite:sqlite-iossimulatorarm64:2.5.0-alpha06
androidx.sqlite:sqlite-iosx64:2.5.0-alpha06
androidx.sqlite:sqlite-jvm:2.5.0-alpha06
androidx.sqlite:sqlite-linuxx64:2.5.0-alpha06
androidx.sqlite:sqlite-macosarm64:2.5.0-alpha06
androidx.sqlite:sqlite-macosx64:2.5.0-alpha06
na...@google.com <na...@google.com> #9
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.annotation:annotation:1.9.0-alpha02
androidx.annotation:annotation-androidnativearm32:1.9.0-alpha02
androidx.annotation:annotation-androidnativearm64:1.9.0-alpha02
androidx.annotation:annotation-androidnativex64:1.9.0-alpha02
androidx.annotation:annotation-androidnativex86:1.9.0-alpha02
androidx.annotation:annotation-iosarm64:1.9.0-alpha02
androidx.annotation:annotation-iossimulatorarm64:1.9.0-alpha02
androidx.annotation:annotation-iosx64:1.9.0-alpha02
androidx.annotation:annotation-jvm:1.9.0-alpha02
androidx.annotation:annotation-linuxarm64:1.9.0-alpha02
androidx.annotation:annotation-linuxx64:1.9.0-alpha02
androidx.annotation:annotation-macosarm64:1.9.0-alpha02
androidx.annotation:annotation-macosx64:1.9.0-alpha02
androidx.annotation:annotation-tvosarm64:1.9.0-alpha02
androidx.annotation:annotation-tvossimulatorarm64:1.9.0-alpha02
androidx.annotation:annotation-tvosx64:1.9.0-alpha02
androidx.annotation:annotation-watchosarm32:1.9.0-alpha02
androidx.annotation:annotation-watchosarm64:1.9.0-alpha02
androidx.annotation:annotation-watchossimulatorarm64:1.9.0-alpha02
androidx.annotation:annotation-watchosx64:1.9.0-alpha02
pr...@google.com <pr...@google.com> #10
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.collection:collection:1.5.0-alpha01
androidx.collection:collection-iosarm64:1.5.0-alpha01
androidx.collection:collection-iossimulatorarm64:1.5.0-alpha01
androidx.collection:collection-iosx64:1.5.0-alpha01
androidx.collection:collection-jvm:1.5.0-alpha01
androidx.collection:collection-linuxarm64:1.5.0-alpha01
androidx.collection:collection-linuxx64:1.5.0-alpha01
androidx.collection:collection-macosarm64:1.5.0-alpha01
androidx.collection:collection-macosx64:1.5.0-alpha01
androidx.collection:collection-tvosarm64:1.5.0-alpha01
androidx.collection:collection-tvossimulatorarm64:1.5.0-alpha01
androidx.collection:collection-tvosx64:1.5.0-alpha01
androidx.collection:collection-watchosarm32:1.5.0-alpha01
androidx.collection:collection-watchosarm64:1.5.0-alpha01
androidx.collection:collection-watchossimulatorarm64:1.5.0-alpha01
androidx.collection:collection-watchosx64:1.5.0-alpha01
Description