Skip to content

Release 5.1.0-beta01 - #763

Merged
matt-ramotar merged 1 commit into
mainfrom
matt-ramotar/release-5.1.0-beta01
Sep 8, 2026
Merged

Release 5.1.0-beta01#763
matt-ramotar merged 1 commit into
mainfrom
matt-ramotar/release-5.1.0-beta01

Conversation

@matt-ramotar

@matt-ramotar matt-ramotar commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Prepares 5.1.0-beta01 and fixes Rx2 publication versioning. The alpha12 publish job failed because it tried to upload the already-existing rx2@unspecified coordinate. The Android convention now applies the shared catalog version before publishing is configured, so Rx2 and its Store dependency both use 5.1.0-beta01.

Generated POMs and Gradle module metadata are checked against the catalog, including internal dependencies and target redirects. These checks run during ordinary builds and again on macOS before Maven Central publication. The changelog covers the MutableStore fixes from #762, and the release instructions match the current automated workflow.

Validation:

  • The new guard failed against a freshly generated alpha12 Rx2 POM with version=unspecified before the fix.
  • All 37 POMs and 37 Gradle module metadata files were freshly generated and validated across all five modules, including Apple publications.
  • Fresh tests passed with zero failures, errors, or skipped tests: 135 Store JVM, 135 iOS Simulator ARM64, and 6 Rx2 tests.
  • 10 publication-checker tests passed. Two redirect-filename regression tests failed before tightening the validator, then passed after the fix.
  • API, ktlint, Spotless, and whitespace checks passed. Public API baselines are unchanged. Independent code review found no remaining blockers.
  • Maven Central returned 404 for all five beta01 root publication coordinates, and no beta01 Git tag existed when checked.

Commands:

./gradlew -p tooling :plugins:test :plugins:ktlintCheck --console=plain
./gradlew verifyPublicationVersions :store:jvmTest :rx2:testDebugUnitTest :store:iosSimulatorArm64Test apiCheck ktlintCheck spotlessCheck --rerun-tasks --no-build-cache --console=plain

Merging this PR triggers Maven Central publication through the existing CI workflow. Swift/XCFramework publication remains a separate manual workflow.


Note

Medium Risk
Changes affect Maven Central publication and CI gates; incorrect versioning could block releases, but runtime library behavior in this diff is limited to release/docs/tooling.

Overview
Prepares 5.1.0-beta01 (catalog version, changelog, updated RELEASING.md) and hardens release publishing so Rx2 and other Android artifacts no longer ship as unspecified.

The Android convention plugin now sets project.version from the shared store catalog entry before Maven publish is configured, aligning Rx2 with KMP modules. A new verifyPublicationVersions Gradle check validates generated POMs and Gradle module metadata against that catalog—internal org.mobilenativefoundation.store dependencies, variant constraints, and available-at redirect URLs—with unit tests and hook-up to check plus configureMavenPublishing.

CI runs tooling plugin tests/ktlint ahead of the main build and runs verifyPublicationVersions on the macOS publish job before Maven Central upload.

Reviewed by Cursor Bugbot for commit a4b17cd. Bugbot is set up for automated code reviews on this repo. Configure here.

Apply the catalog version to Rx2 before configuring publication.
Reject mismatched generated POM and module metadata versions in builds
and before publishing. Update beta release notes and instructions.

Signed-off-by: Matt Ramotar <matt.ramotar@icloud.com>
@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.53%. Comparing base (3f86ddb) to head (a4b17cd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #763   +/-   ##
=======================================
  Coverage   83.53%   83.53%           
=======================================
  Files          42       42           
  Lines         899      899           
  Branches      170      170           
=======================================
  Hits          751      751           
  Misses         91       91           
  Partials       57       57           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matt-ramotar
matt-ramotar merged commit 74a5988 into main Sep 8, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from 🆕 Triage to ✅ Done in Store Roadmap Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant