Skip to content

chore(protos): follow flipcash2 0.14.0 - #925

Merged
bmc08gt merged 2 commits into
mainfrom
chore/flipcash2-df1cb04e
Sep 30, 2026
Merged

bmc08gt merged 2 commits into
mainfrom
chore/flipcash2-df1cb04e

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Follows the flipcash2 0.14.0 contract (upstream df1cb04e) and bumps the pin.

Blocked on code-payments/flipcash2-client-protocol#20: 0.14.0 isn't published yet, so CI can't resolve the pin. This stays a draft until the release is on Maven Central / tagged.

  • Proto renames followed at every generated-code call site: UpdateFlipcard RPC and its request/response, FlipcardCustomization, SendPresets.
  • New isUsernameAutoAssigned on the own-profile model, default false, carried through the own-profile cache. Nothing in the UI reads it yet.
  • App-owned names (tipCard*, TipPresets, TipOrigin, tip card UI) are unchanged; only generated names had to move.
  • Profile decodes the flag with decodeIfPresent ?? false, so stored profiles written before it still load and no schema bump is needed.

./Scripts/build.sh passes, and ProfileTests, UserFlagsTipPresetsTests, TransportClassificationTests and TipFloorTests (98 tests) pass against the local client checkout.

…AutoAssigned

Rename the proto call sites: UpdateTipCard -> UpdateFlipcard (request, RPC
method, ErrorUpdateFlipcard), TipCardCustomization -> FlipcardCustomization,
UserFlags tip_presets -> send_presets.

Profile gains isUsernameAutoAssigned (default false). It decodes with a
default, so persisted profile rows still load and Database.schemaVersion is
unchanged.
@bmc08gt bmc08gt self-assigned this Sep 30, 2026
@bmc08gt
bmc08gt marked this pull request as ready for review September 30, 2026 17:48
@bmc08gt
bmc08gt merged commit d75875a into main Sep 30, 2026
1 check failed
bmc08gt added a commit that referenced this pull request Oct 1, 2026
…938)

FlipcashAPI requires flipcash2 exactly 0.14.1 since #925/#926, but the
workspace Package.resolved still pinned 0.12.0. Xcode Cloud resolves from
the committed file without updating it, so Deploy Flipcash has failed at
package resolution since 5e1fd73.
@bmc08gt
bmc08gt deleted the chore/flipcash2-df1cb04e branch October 5, 2026 15:13
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