Skip to content

fix(device): drop Android API 29-31 from the --android-api-level help - #227

Merged
finalerock44 merged 1 commit into
devfrom
fix/drop-api-29-31
Oct 16, 2026
Merged

finalerock44 merged 1 commit into
devfrom
fix/drop-api-29-31

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

The API stops accepting API levels 29, 30 and 31 on 19 October 2026 (they were only ever offered on pixel-6, which keeps 32-37). Validation already comes from the compatibility endpoint at run time, so this enum only feeds the flag's help text; it no longer advertises levels that are rejected.

src/types/generated/schema.types.ts is left for the next full regeneration: regenerating now would also pull in unrelated API drift, including a device slug that is still gated to dev.

What & why

Type of change

  • fix — bug fix
  • feat — new feature
  • perf — performance improvement
  • refactor — code change that's neither a fix nor a feature
  • docs — documentation only
  • chore / ci / build / test — tooling, no user-facing change
  • Breaking change (title has ! or PR notes a BREAKING CHANGE:)

Checklist

  • PR title follows the Conventional Commits format (see comment above)
  • pnpm lint passes
  • pnpm typecheck passes
  • pnpm build passes
  • I have not bumped the version or edited CHANGELOG.md (release-please handles this)
  • I have signed the CLA (the bot will prompt on first contribution)
  • Docs / README.md / STYLE_GUIDE.md updated if behaviour or output changed

How to test

The API stops accepting API levels 29, 30 and 31 on 19 October 2026 (they
were only ever offered on pixel-6, which keeps 32-37). Validation already
comes from the compatibility endpoint at run time, so this enum only feeds
the flag's help text; it no longer advertises levels that are rejected.

src/types/generated/schema.types.ts is left for the next full regeneration:
regenerating now would also pull in unrelated API drift, including a device
slug that is still gated to dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@finalerock44 finalerock44 self-assigned this Oct 16, 2026
@claude

claude Bot commented Oct 16, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

(EAndroidApiLevels is only consumed by src/config/flags/device.flags.ts to build the --android-api-level help text, so removing 29/30/31 has no other references to update.)

@finalerock44
finalerock44 merged commit 05ea2dc into dev Oct 16, 2026
9 checks passed
@finalerock44
finalerock44 deleted the fix/drop-api-29-31 branch October 16, 2026 14:20
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