Skip to content

Fix live update versioning and prepare 1.11.2 release#168

Merged
wizzomafizzo merged 1 commit into
mainfrom
fix/versioned-live-update-1.11.2
Jun 4, 2026
Merged

Fix live update versioning and prepare 1.11.2 release#168
wizzomafizzo merged 1 commit into
mainfrom
fix/versioned-live-update-1.11.2

Conversation

@wizzomafizzo

@wizzomafizzo wizzomafizzo commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

  • prepare 1.11.2 / build 27 and align Android/iOS build numbers
  • move Live Update to Capawesome versioned channels (production-)
  • require LIVE_UPDATE_CHANNEL for live update uploads to avoid shared production deployments
  • add a release-config validation test for version/channel invariants
  • document failed v1.11.0/v1.11.1 tags and the corrected release process

Validation passed: npm run format:check, npm run typecheck, npm run lint, npm run test -- --run, npm run build:web

Note: v1.11.0 and v1.11.1 are abandoned failed tags. Do not submit or promote builds from those tags.

Summary by CodeRabbit

  • Chores

    • Bumped app version to 1.11.2 across all platforms
    • Updated live update delivery configuration with versioned channel behavior
  • Documentation

    • Enhanced deployment documentation with revised release procedures and live update channel guidelines

@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a2605bd1-3f02-43f7-9194-147960c6ecd6

📥 Commits

Reviewing files that changed from the base of the PR and between 6d109c1 and 5294f32.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (10)
  • AGENTS.md
  • android/app/build.gradle
  • capacitor.config.ts
  • docs/deployment.md
  • ios/App/App.xcodeproj/project.pbxproj
  • ios/App/App/Info.plist
  • package.json
  • src/__tests__/unit/lib/whatsNew.test.ts
  • src/__tests__/validation/release-config.test.ts
  • src/lib/whatsNew.ts
💤 Files with no reviewable changes (1)
  • capacitor.config.ts

📝 Walkthrough

Walkthrough

This PR releases version 1.11.2 and transitions live update distribution from a shared production channel to versioned per-build channels (e.g., production-27). Version numbers are synchronized across package.json, Android, iOS, and release announcements. The live update infrastructure is reconfigured to use dynamic, build-specific channels instead of hardcoded shared channels. A new validation test enforces version consistency rules across all config files to prevent future misalignment. Release procedures are documented and clarified.

Changes

Version 1.11.2 Release

Layer / File(s) Summary
Version bump across package and platform configs
package.json, android/app/build.gradle, ios/App/App.xcodeproj/project.pbxproj
App version incremented to 1.11.2; Android versionCode to 27 and versionName to 1.11.2; iOS MARKETING_VERSION to 1.11.2 and CURRENT_PROJECT_VERSION to 27 in both Debug and Release configurations.
Live update channel versioning configuration
ios/App/App/Info.plist, capacitor.config.ts, package.json
iOS Info.plist adds CapawesomeLiveUpdateDefaultChannel using version-specific identifier; Capacitor config removes hardcoded defaultChannel; npm live-update script uses LIVE_UPDATE_CHANNEL environment variable instead of hardcoded production channel.
Release announcement for version 1.11.2
src/lib/whatsNew.ts, src/__tests__/unit/lib/whatsNew.test.ts
WHATS_NEW_ANNOUNCEMENTS updated with release-1.11.2 entry (native:1.11.2+27 key); unit test updated to assert announcement resolution for the new versioned native key.
Release configuration validation test suite
src/__tests__/validation/release-config.test.ts
New test file validates that package.json, Android versionCode/versionName, iOS MARKETING_VERSION and CURRENT_PROJECT_VERSION, live update channels (versioned in Android, iOS Info.plist, no hardcoded Capacitor defaultChannel, dynamic npm script), and What's New native release keys are synchronized and follow versioned channel conventions.
Release process documentation and agent guidance
AGENTS.md, docs/deployment.md
AGENTS.md expanded to clarify live-update environment variable requirements and lockstep version-bumping across package, platforms, and announcements. docs/deployment.md clarifies OTA update scope, introduces versioned channels section, updates live-update push instructions with LIVE_UPDATE_CHANNEL and revised VITE_RELEASE_KEY, expands store release checklist with version matching and test validation steps, marks v1.11.0 and v1.11.1 as abandoned, and updates CI/CD examples to v1.11.2.

🎯 3 (Moderate) | ⏱️ ~20 minutes

🐰 A version bump hops into view,
Channels versioned, synced anew,
Tests ensure no skipped cue,
One-point-two, we're ready—who knew? 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and specifically summarizes the two main changes: fixing live update versioning (moving to versioned channels) and preparing the 1.11.2 release with coordinated version bumps.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/versioned-live-update-1.11.2

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wizzomafizzo
wizzomafizzo merged commit cb6c00e into main Jun 4, 2026
6 checks passed
@wizzomafizzo
wizzomafizzo deleted the fix/versioned-live-update-1.11.2 branch June 4, 2026 21:59
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