Skip to content

docs(changelog): name 0.5.0's new field on TipDmPayment, not PaymentMetadata - #11

Merged
bmc08gt merged 1 commit into
mainfrom
docs/changelog-tip-dm-payment
Sep 11, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
docs/changelog-tip-dm-payment

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

The 0.5.0 entry describes action as being added to intent.v1.ChatMetadata.PaymentMetadata. That message does not exist. proto/intent/v1/model.proto puts Action action = 2 and its nested Action enum on ChatMetadata.TipDmPayment, next to the pre-existing Location location = 1.

Everything else in the entry checks out against the proto and against the sync diff in #10: field number 2, the DEFAULT = 0 / SEND = 1 / TIP = 2 values, and the Unchanged section's claim that the message keeps location on 1 and appends 2. Only the message name is wrong, and it appears twice, once in Added and once in Unchanged. Both are fixed here.

The entry never spells out the sibling Location enum's values, so there was nothing to correct there. For the record they are TIPCARD = 0 and CHAT = 1, which is what DEFAULT infers from.

The wrong name propagated into a downstream task description, which is how it surfaced. The consumers are code-payments/code-ios-app#752 and code-payments/code-android-app#1442.

0.5.0 is already tagged and published, so the GitHub release notes generated from this section still carry PaymentMetadata. Editing that release body is a separate, manual step.

…etadata

The 0.5.0 entry puts `action` on `intent.v1.ChatMetadata.PaymentMetadata`. No
such message exists. `proto/intent/v1/model.proto` has `action = 2` and its
nested `Action` enum on `ChatMetadata.TipDmPayment`, alongside `location = 1`.

The wrong name reached a downstream task description, so a consumer looking for
`PaymentMetadata` in the generated code finds nothing. Field number, enum values
and the `Unchanged` claim about numbering were all correct; only the message
name was wrong, in both places it appears.
@bmc08gt bmc08gt self-assigned this Sep 11, 2026
@bmc08gt
bmc08gt merged commit 4814a4c into main Sep 11, 2026
3 checks passed
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