Skip to content

Move every app to mesh-sdk 0.34.0 - #41

Open
kivtxs wants to merge 1 commit into
mainfrom
chore/mesh-sdk-0.34.0
Open

kivtxs wants to merge 1 commit into
mainfrom
chore/mesh-sdk-0.34.0

Conversation

@kivtxs

@kivtxs kivtxs commented Nov 19, 2026

Copy link
Copy Markdown
Member

Why

Every app and packages/mesh pinned "@offline-protocol/mesh-sdk": "^0.28.0". Under 0.x semver, ^0.28.0 means >=0.28.0 <0.29.0, so a fresh clone installed 0.28.x, six minor versions behind the live 0.34.0.

What changed

  • apps/*/package.json (11 apps): ^0.28.0 → ^0.34.0.
  • packages/mesh/package.json: peerDependencies and devDependencies both ^0.28.0 → ^0.34.0.
  • pnpm-lock.yaml: regenerated with pnpm install (pnpm 11.27.0, the pinned version). It now resolves 0.34.0 everywhere. pnpm also re-sorted the apps/saferoll and apps/stocksync importer blocks, which were out of order; their contents are unchanged.
  • pnpm-workspace.yaml: minimumReleaseAgeExclude moved from @offline-protocol/mesh-sdk@0.28.0 to @offline-protocol/mesh-sdk@0.34.0. 0.34.0 was published today, so without this pnpm's minimum release age would refuse it. This follows the same pattern used for the 0.28.0 bump (chore(deps): bump mesh-sdk to 0.28.0 #17).
  • apps/*/ios/Podfile.lock (11 files): MeshSdk (0.28.0) → MeshSdk (0.34.0) and its spec checksum → 5df3fc95558217c33c09d257272327fc689c3c93. The checksum is the SHA-1 of the 0.34.0 podspec's JSON as CocoaPods computes it. The same method reproduces the old 0.28.0 checksum (d4a40ad6…) exactly. The podspec's dependencies (React-Core) and platform (iOS 13.0) are unchanged, so no other Podfile.lock lines move.
  • SDK version text: "0.28" → "0.34" in the READMEs for chargecatch, cowrite, dockhand, eventfloor, orderup, outagenet, saferoll, stocksync, tictactogether and yardgate, and in the intro copy in App.tsx for agrimesh, chargecatch, eventfloor and saferoll. The Cowrite README link to the SDK's docs/data.md now points at the v0.34.0 tag, which still has that file.

Code fixes

None were needed. Every app and packages/mesh typechecks against the 0.34.0 type definitions without changes, and the SDK release notes for 0.29 through 0.34 list no breaking changes to the React Native API these apps use.

Checks run locally (Node 24, pnpm 11.27.0, same commands as CI check)

  • pnpm install --frozen-lockfile: up to date
  • pnpm exec turbo typecheck: 13/13 successful
  • pnpm exec turbo lint: 11/11 successful, 0 errors. The existing no-void warnings are unchanged.
  • pnpm exec turbo test: 12/12 successful (73 tests)
  • npx react-native bundle --dev false for all 11 apps on iOS and Android: 22/22 bundles built

CI runs the Android and iOS native builds for every app, because every app's package.json and the lockfile changed.

Not tested on phones. This PR only moves the version. Bluetooth discovery, joining and sync on two physical phones are still worth checking before release.

Under 0.x semver ^0.28.0 never resolves past 0.28.x, so a fresh clone
installed an SDK six minor versions old. Pin ^0.34.0 in every app and in
packages/mesh (peer and dev), refresh the pnpm lockfile, move the
minimumReleaseAge exclusion to 0.34.0, update the MeshSdk entry in each
Podfile.lock, and update the SDK version stated in READMEs and app copy.
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