Skip to content

Update login API to v3, use DeriveGeneric, remove aeson-casing dependency#50

Merged
TristanCacqueray merged 1 commit intosoftwarefactory-project:masterfrom
nvmd:login-api-aeson
Mar 11, 2026
Merged

Update login API to v3, use DeriveGeneric, remove aeson-casing dependency#50
TristanCacqueray merged 1 commit intosoftwarefactory-project:masterfrom
nvmd:login-api-aeson

Conversation

@nvmd
Copy link
Contributor

@nvmd nvmd commented Mar 11, 2026

Hello,

This PR was primarily intended to bring login/logout API (https://spec.matrix.org/v1.17/client-server-api/#post_matrixclientv3login) up-to-date to v3.
As I was going to use GHC generics for FromJson/ToJson instances I’ve also made the relevant fixes in the codebase to keep the usage of it consistent throughout the project.

Full list of changes:

@nvmd nvmd changed the title Update login API to v3, use DeriveGeneric, remove aeson-casing dependency Update login API to v3, use DeriveGeneric, remove aeson-casing dependency Mar 11, 2026
@nvmd nvmd changed the title Update login API to v3, use DeriveGeneric, remove aeson-casing dependency Update login API to v3, use DeriveGeneric, remove aeson-casing dependency Mar 11, 2026
@TristanCacqueray TristanCacqueray merged commit 1a09dc7 into softwarefactory-project:master Mar 11, 2026
1 check passed
@TristanCacqueray
Copy link
Contributor

Thanks, nice refactor too!

@nvmd nvmd deleted the login-api-aeson branch March 12, 2026 01:07
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