Skip to content

feat: adds client api endpoint v0.2#1105

Merged
kodiakhq[bot] merged 1 commit into
mainfrom
feature/cloud/messages-v0.2
Jul 29, 2024
Merged

feat: adds client api endpoint v0.2#1105
kodiakhq[bot] merged 1 commit into
mainfrom
feature/cloud/messages-v0.2

Conversation

@philprime
Copy link
Copy Markdown
Member

@philprime philprime commented Jul 29, 2024

This pull request introduces the messages endpoint v0.2 which will replace the current v0.1 used by client libraries.

The main necessity of this pull request is caused due to a DTO decoding issue in https://github.com/kula-app/OnLaunch-iOS-Client, where I forgot to implement backwards compatibility when parsing the ActionType.

The issue in the client will be fixed with kula-app/OnLaunch-iOS-Client#53 but due to apps shipped with the latest release of the iOS client, we are bumping the API endpoint version too, and filter out any newly introduced action types.

This will also require updates to the Android and Flutter clients, but as new action types require changes in the clients anyways, there won't be an issue until then.

@philprime philprime self-assigned this Jul 29, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 81 lines in your changes missing coverage. Please review.

Project coverage is 4.02%. Comparing base (1b9be38) to head (618fa50).

Files Patch % Lines
pages/api/v0.2/messages.ts 0.00% 74 Missing ⚠️
pages/api/v0.1/messages.ts 0.00% 7 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1105      +/-   ##
========================================
- Coverage   4.11%   4.02%   -0.09%     
========================================
  Files        157     158       +1     
  Lines       3623    3702      +79     
  Branches     350     367      +17     
========================================
  Hits         149     149              
- Misses      3470    3549      +79     
  Partials       4       4              
Flag Coverage Δ
unittests 4.02% <0.00%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant