Skip to content

Update dependencies - #1111

Open
JingMatrix wants to merge 1 commit into
masterfrom
update-dependencies
Open

JingMatrix wants to merge 1 commit into
masterfrom
update-dependencies

Conversation

@JingMatrix

@JingMatrix JingMatrix commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Updates dependencies to latest and clears the compile warnings the bump surfaces.

Issue references below are qualified with LSPosed/LSPlant so they point at the upstream tracker, not this repo.

Submodules:

Compile SDK:

  • compileSdk 37 → 37.2 (via compileSdkMinor) — material3 1.5.0, the stable Expressive line, requires API 37.1 or newer.

Compose:

  • compose-bom → 2026.11.01, which now ships material3 1.5.0 and compose-ui 1.13.0. Dropped the explicit material3 pin; the BOM supersedes it, so material3 is BOM-governed again.

Other:

  • kotlinx-serialization-json → 1.13.0, ktfmt → 0.28.0.

Toolchain:

  • Gradle 9.9.2, AGP 9.5.2, lifecycle 2.11.1, navigation3 1.2.2.
  • actions/setup-java → v6, crowdin/github-action → v3.

Native build on CMake 4.x:

  • A newer CMake (seen on 4.5) enables import std for C++23 targets, but its probe resolves the std module to the host's libstdc++ and cross-compiles it for Android, which the NDK sysroot cannot satisfy. We point the synthesised std target at the NDK's own libc++ module via CMAKE_CXX_STDLIB_MODULES_JSON, so it builds against libc++ — harmless on CMake versions that skip the synthesis, no version pin needed. fmt stays header-only (fmt-module's source does import std).

Warning-free build:

  • SearchField moves to the BasicTextField(TextFieldState) overload (the value/onValueChange one is now deprecated), keeping its hoisted-String contract through two guarded one-way syncs so no caller changes.
  • VectorApp uses currentWindowAdaptiveInfoV2.
  • StoreSettings.setUpdateChannel names its parameter channel, matching the override.

Validated with ./gradlew zipAll (the CI task) under JDK 21 on both CMake 3.31.6 and 4.5.1: builds clean across all ABIs, zero Kotlin warnings.

@JingMatrix
JingMatrix force-pushed the update-dependencies branch 8 times, most recently from bc9bdd8 to 0edf725 Compare November 24, 2026 22:16
Submodules:
- external/lsplant onto upstream LSPosed/LSPlant master, rebased over our
  NDK-libc++ and public-build patches, bringing the internal-hook init
  fixes: the Class::SetStatus inline hook published its entry patch before
  the backup pointer, so a concurrent VerifyClass -> SetStatus during class
  loading could branch through an unpublished backup and crash
  (LSPosed/LSPlant#194, LSPosed/LSPlant#195), plus LSPosed/LSPlant#197 and
  LSPosed/LSPlant#201. dex_builder pinned to JingMatrix/DexBuilder HEAD.
- fmt 12.2.1, commons-lang 3.22.0.

Compile SDK:
- compileSdk 37 -> 37.2 (via compileSdkMinor). material3 1.5.0, the stable
  Expressive line, requires API 37.1 or newer.

Compose:
- compose-bom 2026.11.01, which now ships material3 1.5.0 and compose-ui
  1.13.0. Dropped the explicit material3 pin: the BOM supersedes it, so
  material3 is BOM-governed again.

Other:
- kotlinx-serialization-json 1.13.0, ktfmt 0.28.0.

Toolchain:
- Gradle wrapper 9.9.2, AGP 9.5.2, androidx lifecycle 2.11.1, navigation3 1.2.2.
- actions/setup-java v6, crowdin/github-action v3.

Native build on CMake 4.x: a newer CMake (seen on 4.5) enables `import std` for
C++23 targets, but its probe resolves the std module to the host's libstdc++ and
cross-compiles it for Android, which the NDK sysroot cannot satisfy. Point the
synthesised std target at the NDK's own libc++ module (CMAKE_CXX_STDLIB_MODULES_JSON),
so it builds against libc++; this is harmless on CMake versions that skip the
synthesis. No pin needed. fmt is kept header-only (fmt-module's source imports std).

Clear the compile warnings the bump surfaces, so the build is warning-free:
- SearchField moves to the BasicTextField(TextFieldState) overload, keeping
  its hoisted-String contract via two guarded one-way syncs so callers stay
  unchanged. The value/onValueChange overload is deprecated in the Compose
  that material3 1.5.0 pulls in.
- VectorApp uses currentWindowAdaptiveInfoV2.
- StoreSettings.setUpdateChannel names its parameter channel, matching the
  override, so the named-argument warning goes away.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant