Skip to content

chore: bump version 3.2.0 - #1531

Open
piotr-iohk wants to merge 5 commits into
masterfrom
release-3.2.0
Open

piotr-iohk wants to merge 5 commits into
masterfrom
release-3.2.0

Conversation

@piotr-iohk

@piotr-iohk piotr-iohk commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Twin: synonymdev/bitkit-android#2160

Prepares Bitkit 3.2.0 RC3 (build 207) for mainnet verification. Spark is the main change in this release.

Description

Bumps the app to 3.2.0 and folds the latest fixes into the changelog. RC3 is based on master at 06b2bb08dd with signed release commit 049285d647, tagged v3.2.0-rc3. RC1 and RC2 remain available at their candidate tags. RC3 automated verification · RC2 automated verification

Design

N/A for the version bump.

Preview

N/A for the version bump.

QA Notes

Track manual tests in the 3.2.0 mainnet QA runbook and record results in the evidence tab. Mainnet execution is pending the signed Android APK and tester availability in TestFlight. Coverage includes upgrading a funded 3.1.1 wallet and sending and receiving Lightning payments through Spark.

RC1 automated verification

Tagged commit 60e5e7e0822f on release-3.2.0. Run links show live results. Standard migration is in scope.

Suite Last checked status
Spark regtest Passed · 3/3 on first attempt (Lightning receive, Lightning send, on-chain deposit).
E2E Staging (iOS) Passed after retries · Pubky 6/6. Nightly UI attempt 1 hit an Appium startup timeout. Attempt 2 passed 27/28, with the restored receive address shown at index 2 while the test expected index 1. The targeted retry passed on the same commit. Evidence.
Validate Translations Passed
unit-tests Passed · 4,711 passed, 9 skipped, 0 failures
integration-tests Passed · 28 tests, 0 failures
Local E2E (@ios_gate) Passed · 13/13 configured @ios_gate tests on first attempt, including three Trezor emulator cases.
Standard migration from native 3.1.1 and RN baseline Passed · 4/4 scenarios. Native 3.1.1 restore passed on attempt 2 after an Appium session startup timeout.
lint Passed on GitHub rerun · SwiftFormat crashed on attempt 1

Coverage status All eight in-scope iOS RC1 workflows passed. Local E2E coverage comes from the configured @ios_gate shard.

Checked 2026-11-28 06:06 CET.

Models used

Preparation and independent diff review used GPT-6.2 Astra (reasoning effort not exposed).

@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · This version bump appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This version bump appears safe to merge.

Summary

Prepares Bitkit 3.2.0 (build 205).

  • Bitkit’s release targets now carry version 3.2.0 and build 205.
  • The 3.2.0 release notes gather changes under one dated entry.

Reviews (1) · Last reviewed commit: "chore: version 3.2.0" · Reviewed by Greptile

@talosmachina talosmachina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No findings. Bumps iOS to 3.2.0 (build 205) and folds the changelog.d/next fragments into CHANGELOG.md. Reviewed 60e5e7e, light tier, not built (iOS does not build on this reviewer's Linux host, so this is from the diff and CI).

What I checked, and 3 candidates I ruled out

Read in full: the project.pbxproj hunks, the new ## [3.2.0] section, the deleted fragments
Checked by script against the head: each of the 74 deleted fragments, the unnumbered hide-moderation-bot-import one included, appears as one bullet under the section its file suffix names; the section has exactly 74 bullets; changelog.d/next holds only .gitkeep
CI: SwiftFormat and translation validation green, unit, integration and E2E still running at review time

Ruled out

  • A target left on the old version: all six app and extension configurations move CURRENT_PROJECT_VERSION 204 to 205 and MARKETING_VERSION 3.1.1 to 3.2.0; the four still at 1 / 1.0 are untouched by the diff.
  • An entry already shipped in an earlier release: no PR number in 3.2.0 appears in any older section.
  • A fragment dropped or filed under the wrong heading: none, per the script above.

Merge confidence: 4/5, the change is a version bump and changelog, but CI had not finished.

@piotr-iohk

piotr-iohk commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

RC2 automated verification · build 206

Release branch release-3.2.0 at 027be1521a. Migration uses the standard suite.

Workflow Result
E2E Migration (iOS) Passed · 4/4. Native restore passed first. Native upgrade and React Native restore passed after Appium session timeouts. React Native upgrade passed on attempt 3 after an Appium session timeout and a Wallet Backup sheet that covered wallet home. Retry evidence.
E2E Staging (iOS) Passed on attempt 2 for both shards after Appium session startup timeouts. Pubky passed 6/6. Nightly UI passed 28 tests, including the RC1 onboarding case, with one configured skip (@settings_08). Pubky evidence · Nightly UI evidence.
Spark regtest Passed · 3/3 on attempt 1 (Lightning receive, Lightning send, on-chain deposit)
Validate Translations Passed
Local E2E (@ios_gate) Passed · 13/13 on attempt 1, including all three PR Trezor emulator cases
integration-tests Passed · 28 tests, 0 failures
lint Passed
unit-tests Passed · 4,833 passed, 9 skipped, 0 failures across unit and UI targets

All eight in-scope RC2 workflows passed. Coverage matches RC1, including the native 3.1.1 and React Native 1.1.6 migration baselines. The local @ios_gate shard passed all three PR Trezor cases.

The extra iOS Trezor AI workflow failed during runner setup. It requested Xcode 26.6, which was unavailable, and skipped its test step. PR Trezor coverage is tracked in the local @ios_gate row above.

Checked 2026-11-30 16:35 CET.

@jvsena42 jvsena42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving at 027be1521 (RC2, build 206). No HIGH or MEDIUM findings. Three LOW changelog comments are inline; each can be fixed here or moved to a follow-up issue, your choice. Please reply on each thread with which, and the issue link for a follow-up.

I reviewed this as a release against the last published tag, not just its own diff: git diff 'v3.1.1^{commit}'..027be1521 and git log --no-merges 'v3.1.0^{commit}'..027be1521 (3.1.1 is the hotfix side branch). Because the release bumps ldk-node, bitkit-core, paykit, vss and swift-secp256k1 and adds breez-sdk-spark-swift, I reviewed it as a funds/key-material change.

Checked and clean
  • Version: 206 / 3.2.0 on all six shipping configurations (app, notification, widget; Debug and Release), above 3.1.1 (204) and RC1 (205).
  • Changelog: 3.1.1 section matches the tag; compare links correct in form. Fixes to Spark code first released here (#1371, #1323, #1309, #1333, #1519) are covered by #1128/#1217; the debug-regtest-only Pubky swaps route (#1170) and Jade emulator (#1441) correctly have no entry.
  • Dependencies since 3.1.1: bitkit-core rc11→rc15 (no activity DB schema change), ldk-node rc.80→rc.84 (lightning 0.2.7→0.2.8, VSS hand-over guard, key-domain builder; no persisted-format change), vss rc2→rc3 (key domain), paykit rc8→rc9 (social v1 profiles; app migrates in PubkyAppProfileStore), breez-sdk-spark-swift 0.28.3, swift-bigint 2.4.0, swift-secp256k1 0.17.0→0.24.0 (products renamed; Crypto.swift ECDH rewritten on the C API and returns the same 33-byte compressed point). All five 3.1.1 hotfix changes are on the release branch.
  • Release config: E2E_BUILD unset; local Spark settings, Trezor bridge, Jade emulator, regtest auth, WAKE_GATEWAY_URL override and Pubky swaps are behind isDebug/isE2E; a Release build fails without BREEZ_API_KEY; no logging of mnemonic, passphrase, secret keys or the API key; entitlements add only NFC tag reading.
  • Upgrade from 3.1.1: LDK channels stay; Spark is used for sends only when channels cannot cover the amount and Spark can (LightningService.swift:1365) and for receives only when no ready channel has the inbound (:1341-1361). Spark seeds from mnemonic plus passphrase, so it restores from seed. The PIN attempt counter moved to the keychain and reads the higher of keychain and legacy UserDefaults, so an upgrade cannot loosen or newly trip the lockout.
  • Mainnet VSS / LNURL-auth host move (#1524, #1539): Env.swift:512,524 move to api.bitkit.to with key domain bitkit.to (:531-539). ldk-node rc.84 derives the linking key from that domain with the LUD-05 path, and https://api.bitkit.to/lnurl_auth/auth returns an LNURL on bitkit.to, matching what 3.1.1 used. Unauthenticated probes only.
  • Newly on by default: Spark for every mainnet wallet, Nearby payments (Bluetooth reads always go to review, never QuickPay; LNURL refused), contact payments with a Pubky profile, wake registration (see inline). All look intended.
  • Twin parity with synonymdev/bitkit-android#2160: ldk-node rc.84, bitkit-core rc15, paykit rc9, vss rc3, breez 0.28.3, VSS/LNURL-auth/wake URLs and key domain are identical. Android lists separate Spark retry fixes (#2007, #2014, #2015, #2060, #2071, #1976, #2161); I traced one on iOS (a Spark refusal releases the QuickPay reservation via QuickPayPaymentCoordinator.isHardReject), not the others.

One mainnet check CI cannot cover. Every CI job (including the 3.1.1 migration) runs regtest/staging, where lnurlAuthKeyDomain is nil and the old buildWithVssStore branch runs, so the mainnet key-domain branch is untested on an upgrade. The #1539 commit itself notes "device run pending". Please make sure the mainnet QA run includes: TestFlight 206 installed over a mainnet 3.1.1 wallet with a channel and backups; node id, channel list and spending balance unchanged; log line Building ldk-node with lnurlAuthServerUrl: 'https://api.bitkit.to/lnurl_auth/auth', keyDomain: 'bitkit.to' followed by a normal start; Backup settings show existing categories, not first-time uploads; Connected Spark wallet on 'mainnet' (Spark regtest CI needs no API key). On a physical phone, NFC and Bluetooth receive need checking too, since simulators have neither.

Device gate: no device check needed beyond CI for the PR's own diff (version bump and changelog). perf: not relevant (no code in the PR diff).
⚠️ Device gate: not run — the mainnet upgrade check above needs a TestFlight build and a funded mainnet 3.1.1 wallet with a channel, which is not available on my setup. This approval rests on the code review against v3.1.1 and CI.
Skipped — covered by CI at 027be15: unit and UI tests, integration tests, SwiftFormat, translation validation, local E2E (@ios_gate), E2E Staging, Spark regtest, migration from native 3.1.1 and RN 1.1.6 (all green).

Reviewer model: claude-fable-5-2 (release review), claude-opus-5-5 (coordination and verification)
Reasoning effort: medium (Fable, from the subagent run record); Opus not exposed

Comment thread CHANGELOG.md

## [3.2.0] - 2026-11-30

### Added

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No entry for the wake gateway.

#1277 added wake registration and #1349 (in the RC2 delta) enabled it for mainnet; neither added a fragment. In 3.2.0 a mainnet user with notifications authorised and enabled registers node id, Pubky key and APNs token with https://wake.bitkit.to (Env.swift:439) and sends a presence heartbeat every 60 s while foregrounded (WakeManager.swift:113,458). That is new user-facing behaviour and a new data flow to a server, and the notes say nothing about it. Android has the same gap (synonymdev/bitkit-android#2160).

Fix: add one line under Added, matching whatever wording Android uses, e.g. - Bitkit can be woken in the background for contact payment requests. #1277

Reproduction: grep -in wake CHANGELOG.md finds nothing in the 3.2.0 section.

@piotr-iohk piotr-iohk Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review, João. I added the background wake entry to the 3.2.0 changelog in 4ffa707 and updated the GitHub RC2 draft notes. The draft combines the user-facing wording with the deployment PR reference (#1349). If RC2 ships, we can use the existing candidate tag and build with the corrected notes. RC2 draft

Comment thread CHANGELOG.md Outdated
- Fixed each Lightning node restart leaving the previous node running in the background. #1276
- Pull-to-refresh updates the activity list without waiting on contact payment sync, and contact payment errors show a readable message. #1281
- Fixed force transfer progress offering no way to pay the emergency fees from savings after their fee rose before the payment went out. #1282
- Restoring a Pubky profile preserves its saved tags when the profile initially loads without them. #1303

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix already shipped in 3.1.1.

The profile-tag restore fix is in the v3.1.1 tag as eb94e76. #1303 is its master port, so this line tells 3.1.1 users about a fix they already have.

Fix: drop the line from 3.2.0. (Released sections stay untouched, so not moving it to 3.1.1.)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the profile-tag restore entry from the 3.2.0 changelog and the RC2 draft notes. It already shipped in 3.1.1. 4ffa707

Comment thread CHANGELOG.md Outdated
- Show the correct confirmation estimate for outgoing transactions replaced by a fee boost. #879
- Reduced redundant transaction-history reads when loading wallet activity after a cold start. #904
- Fixed payment URI validation to accept Bitcoin links in notes and reject ambiguous payment requests with localized errors instead of reopening a previous payment. #909
- Bitkit no longer offers the pubky.app moderation account as a contact when importing a Pubky profile.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing PR number.

This came from the unnumbered fragment hide-moderation-bot-import.fixed.md; the PR is #1226 (merge 1fb404d). Android's twin line carries #1794.

Fix:

Suggested change
- Bitkit no longer offers the pubky.app moderation account as a contact when importing a Pubky profile.
- Bitkit no longer offers the pubky.app moderation account as a contact when importing a Pubky profile. #1226

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added #1226 to the 3.2.0 changelog in 4ffa707 and confirmed the RC2 draft already had the correct PR link.

@ovitrif

ovitrif commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

@piotr-iohk The SwiftFormat failure at 20ba60e is swiftformat_linux crashing with a segmentation fault (exit 139), twice, not a lint finding: the commit only changes CHANGELOG.md, and the same check passed on 4ffa707 an hour earlier. Failed run.

@piotr-iohk piotr-iohk left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA review

Scope: full PR diff against its merge base, at a0e19ff.

No new actionable code findings.

No actionable findings. Shipping configurations for the app, notification extension, and widget are 3.2.0 (build 206); the test targets stay at 1.0 / 1. The changelog.d/next fragments are collected into ## [3.2.0] - 2026-11-30, and each remaining fragment's text is in that section under its original category.

Three changelog threads from the review at 027be1521 are still open, and the notes at this head match what they asked for. Background wake is the Added line for #1277. Profile-tag restore is omitted from 3.2.0 because the same patch is already in v3.1.1 as eb94e76cd; the master port 1f32d3766 adds only the fragment, and the released 3.1.1 section is unchanged. Moderation import now cites #1226. The 3.2.0 compare link points at v3.2.0-rc2, which names the same commit as the v3.2.0 tag (027be1521). This head is three changelog-only commits after that tag.

Compared with bitkit-android#2160 at ad2881b for the version and changelog contract only. Android is also 3.2.0, dated 2026-11-30, with the same rc2 compare-link shape. Its versionCode is 199 and this build is 206; both increased by 2 from the previous shipping build.

Device testing: not performed in this review. The author reports the RC2 automated workflows at 027be1521 (build 206), the version this head still has. Those runs were not re-executed here, and the mainnet QA spreadsheet was not inspected.

Reviewer model: grok-4.7
Reasoning effort: xhigh

@piotr-iohk

Copy link
Copy Markdown
Collaborator Author

@piotr-iohk please resolve conflicts.

piotr-iohk commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

RC3 automated verification · build 207

Release branch release-3.2.0 at 049285d647, tagged v3.2.0-rc3. Migration covers the standard native 3.1.1 and React Native 1.1.6 upgrade and restore cases.

Final iOS status. All eight verification workflows passed. The Pubky staging shard passed on retry, and standard migration passed with the Wallet Backup test fix.

Workflow Result
E2E Migration (iOS) Passed, 4/4 standard cases. RN 1.1.6 upgrade passed on attempt 2 after an Appium startup timeout. It tapped Later on first launch and verified the migrated wallet before and after a cold reopen. RN upgrade job · Original PR run.
E2E Staging (iOS) Passed on the same-commit retry. The Pubky shard passed after the original Appium startup timeouts. The nightly UI shard passed 28 tests with one skip.
Local E2E (@ios_gate) Passed · 13/13 on attempt 1.
integration-tests Passed.
lint Passed
Spark regtest Passed · 3/3 on attempt 1.
unit-tests Passed · 4,707 passed, 9 skipped, 0 failures across unit and UI targets.
Validate Translations Passed

The passing migration run used the RC3 app revision and the same test files now merged in E2E #324. Build 207 is available in TestFlight.

@piotr-iohk piotr-iohk left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA review

Scope: full PR at 049285d, re-reviewed after the comparison base moved from ec17a25 to 06b2bb0 and those target-branch changes touch the version project file and changelog fragments.

No new actionable code findings.

No new actionable code findings. The app, notification extension, and widget ship as 3.2.0 (build 207); the test targets stay at 1.0 / 1. Each changelog.d/next fragment at the merge base is in ## [3.2.0] - 2026-12-02 under its original category. The profile-tag restore line stays out because that fix already shipped in v3.1.1 (eb94e76cd). Move-to-Spark notes left over on the release branch were removed with that feature. The compare links use v3.2.0-rc3, which points at this commit. The git tag v3.2.0 still points at RC2, 027be152 (build 206).

Three changelog threads from the review at 027be1521 are still open. At this head the notes match what they asked for: background wake is the Added line for #1277, profile-tag restore stays out of 3.2.0, and moderation import cites #1226. The wake thread is still on the current diff; the other two are outdated.

Compared with bitkit-android#2160 at c60db829 for the version and changelog contract only. Android is also 3.2.0, dated 2026-12-02, with the same v3.2.0-rc3 compare link. Its versionCode is 200. Its wake line says Background Payments; this one says notifications are enabled, which is the iOS registration gate.

Recommended before device testing: install TestFlight build 207 (v3.2.0-rc3). The v3.2.0 tag is still RC2 build 206. On this commit, lint and Validate Translations succeeded. E2E Migration, E2E Staging, local E2E, integration tests, and unit tests were still in progress, and Local E2E Nightly was queued.

Device testing: not performed in this review. The mainnet QA spreadsheet was not inspected.

Reviewer model: grok-4.7
Reasoning effort: xhigh

@coreyphillips

Copy link
Copy Markdown
Contributor

@ovitrif @piotr-iohk heads up for 3.2.0: iOS wakes through wake.bitkit.to don't reach phones. APNs refuses the gateway's key (403 InvalidProviderToken, synonymdev/wake#2), so iOS gets no background wakes until the key is fixed. Android is fine, and no app change is needed. Your call whether iOS 3.2.0 waits for it.

@ovitrif

ovitrif commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

@coreyphillips Thanks for the heads-up. We're not holding 3.2.0 for this: the fix is on the gateway side, not in Bitkit, and no feature that matters relies on the new wake yet.

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two independent reviews.

nits

  • Seven blank lines between the 3.2.0 Security section and 3.1.1 (CHANGELOG.md:112-118)

the reviewers disagree, your call

  • Remote v3.2.0 tag points at the RC2 commit, not the RC3 candidate (CHANGELOG.md:451-452)

Comment thread CHANGELOG.md
Comment on lines +451 to +452
[Unreleased]: https://github.com/synonymdev/bitkit-ios/compare/v3.2.0-rc3...HEAD
[3.2.0]: https://github.com/synonymdev/bitkit-ios/compare/v3.1.1...v3.2.0-rc3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the reviewers disagree, your call: Remote v3.2.0 tag points at the RC2 commit, not the RC3 candidate

On origin, v3.2.0 is a signed tag on 027be15 ("Bitkit 3.2.0 RC2 (build 206)"), and that commit is not in this branch's history. RC3 (049285d, build 207) is tagged only as v3.2.0-rc3. I confirmed this with git ls-remote --tags origin 'v3.2.0*' and gh api repos/synonymdev/bitkit-ios/git/tags/f82f153e8. git rev-list shows 23 commits in RC3 that RC2 lacks. The changelog works around this by linking [3.2.0] to v3.1.1...v3.2.0-rc3 (CHANGELOG.md:452). That breaks the pattern every earlier entry follows. Docs/RELEASE.md (Patching Issues During QA, step 3) says to move the version tag on each re-cut. As it stands, anyone who checks out v3.2.0 gets build 206 code, not the build under test. The next /release run uses v{oldVersionName} (v3.2.0) for --notes-start-tag and for the new compare link, so the RC3-only fixes (#1500 to #1571) would show up as new in 3.2.1. The tag has also been moved before. This checkout's local v3.2.0 still resolves to the RC1 commit 60e5e7e, and clones that fetched earlier keep that copy. Before 3.2.0 is published, either point v3.2.0 at whatever commit ships, or delete it and document the RC tag as final.

Objection: The local tag is stale, and the release command does use v3.2.0 for future baselines. Live remote lookups failed, so I cannot independently confirm where origin's tag currently points.

Answer: I ran git ls-remote --tags origin 'v3.2.0*' and it shows refs/tags/v3.2.0^{} at 027be15, the RC2 commit and the same target as v3.2.0-rc2. RC3 is 049285d, tagged only as v3.2.0-rc3. git merge-base --is-ancestor 027be1521 HEAD fails and there are 23 commits in between. .agents/commands/release.md lines 93, 148 and 160 use v{oldVersionName} (v3.2.0) as the compare base and --notes-start-tag, so 3.2.1 notes would list RC3's fixes again unless the stray tag is moved to the shipped commit or deleted.

Comment thread CHANGELOG.md
Comment on lines +112 to +118







Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Seven blank lines between the 3.2.0 Security section and 3.1.1

CHANGELOG.md:112-118 has seven consecutive empty lines between the 3.2.0 ### Security entry and ## [3.1.1]. Every other release section has one. The markdown still renders correctly, but the extra lines will stay in the file permanently once released.

@piotr-iohk

Copy link
Copy Markdown
Collaborator Author

@piotr-iohk please resolve conflicts.

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.

5 participants