Repository navigation
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Every app and
packages/meshpinned"@offline-protocol/mesh-sdk": "^0.28.0". Under 0.x semver,^0.28.0means>=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:peerDependenciesanddevDependenciesboth^0.28.0→^0.34.0.pnpm-lock.yaml: regenerated withpnpm install(pnpm 11.27.0, the pinned version). It now resolves 0.34.0 everywhere. pnpm also re-sorted theapps/saferollandapps/stocksyncimporter blocks, which were out of order; their contents are unchanged.pnpm-workspace.yaml:minimumReleaseAgeExcludemoved from@offline-protocol/mesh-sdk@0.28.0to@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.App.tsxfor agrimesh, chargecatch, eventfloor and saferoll. The Cowrite README link to the SDK'sdocs/data.mdnow points at thev0.34.0tag, which still has that file.Code fixes
None were needed. Every app and
packages/meshtypechecks 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 datepnpm exec turbo typecheck: 13/13 successfulpnpm exec turbo lint: 11/11 successful, 0 errors. The existingno-voidwarnings are unchanged.pnpm exec turbo test: 12/12 successful (73 tests)npx react-native bundle --dev falsefor all 11 apps on iOS and Android: 22/22 bundles builtCI runs the Android and iOS native builds for every app, because every app's
package.jsonand 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.