Skip to content

Release 7.7.4 - updated the handling of file purposes#601

Merged
david-ruiz-cko merged 1 commit into
masterfrom
release/7.7.4
May 21, 2026
Merged

Release 7.7.4 - updated the handling of file purposes#601
david-ruiz-cko merged 1 commit into
masterfrom
release/7.7.4

Conversation

@david-ruiz-cko
Copy link
Copy Markdown
Contributor

This release updates the handling of file purposes in the codebase to use a type-safe enum instead of raw strings, and adds support for additional file purposes. The changes improve code reliability and clarity by enforcing the use of the FilePurpose enum throughout the code and by expanding the recognized file purposes.

File Purpose Handling Improvements:

  • Changed the purpose field in FileDetailsResponse from a String to the FilePurpose enum, ensuring type safety and consistency.
  • Updated the FilePurpose enum to include new purposes: ARBITRATION_EVIDENCE and SUBMITTED_EVIDENCE, with appropriate serialization annotations for JSON mapping.

Test Adjustments:

  • Updated test assertions in DisputesTestIT.java and previous/DisputesTestIT.java to compare FilePurpose enum values directly instead of comparing strings, reflecting the new type-safe approach. [1] [2]

@david-ruiz-cko david-ruiz-cko requested review from a team and Copilot May 21, 2026 13:56
@david-ruiz-cko david-ruiz-cko changed the title Release 7.7.4 Release 7.7.4 - updated the handling of file purposes May 21, 2026
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR appears to be a release bump to 7.7.4 for the Checkout Java SDK. However, the PR description references additional code/test changes (type-safe FilePurpose enum usage and new purposes) that are not present in the provided diffs, so the release contents are currently unclear.

Changes:

  • Bump project version from 7.7.3 to 7.7.4 in gradle.properties.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gradle.properties
@david-ruiz-cko david-ruiz-cko merged commit 50c03aa into master May 21, 2026
10 checks passed
@david-ruiz-cko david-ruiz-cko deleted the release/7.7.4 branch May 21, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants