Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the QrCodeData methods so they use camel case and update the changelog. #125

Merged
merged 4 commits into from
Jun 14, 2024

Conversation

poljar
Copy link
Contributor

@poljar poljar commented Jun 13, 2024

No description provided.

@poljar poljar requested a review from a team as a code owner June 13, 2024 16:18
@poljar poljar requested a review from andybalaam June 13, 2024 16:18
CHANGELOG.md Outdated
@@ -11,6 +11,10 @@
- Use the server name in the `QrCodeData` instead of the homeserver URL.
([#3537](https://github.com/matrix-org/matrix-rust-sdk/pull/3537))

- Rename the `QrCodeData.homeserver_url` method to `QrCodeData.server_name`
to reflect the changed data stored in the QR code.
([#124](https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/124#discussion_r1638479911))
Copy link
Member

Choose a reason for hiding this comment

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

This seems like the wrong link? also, it's not part of the update of the rust sdk so needs outdenting.

Copy link
Member

Choose a reason for hiding this comment

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

Also, if we're breaking the API anyway, it would be nice to fix the names to be camelCase

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This seems like the wrong link? also, it's not part of the update of the rust sdk so needs outdenting.

Fixed in 9a2e0b1.

Also, if we're breaking the API anyway, it would be nice to fix the names to be camelCase

Renamed them in 0d58c68.

@poljar poljar changed the title Mention the rename of the QrCodeData::homeserver_url method in the CHANGELOG Rename the QrCodeData methods so they use camel case and update the changelog. Jun 14, 2024
@poljar poljar requested a review from richvdh June 14, 2024 10:35
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm

@poljar poljar force-pushed the poljar/update-changelog branch from c0d9fda to ef80e8f Compare June 14, 2024 16:27
@poljar
Copy link
Contributor Author

poljar commented Jun 14, 2024

Rebased to get rid of the fixup commit.

@poljar poljar merged commit 4c8dcd3 into main Jun 14, 2024
3 checks passed
@poljar poljar deleted the poljar/update-changelog branch June 14, 2024 16:31
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.

2 participants