Skip to content

6.2.1

Choose a tag to compare

@github-actions github-actions released this 16 Sep 07:47
e6a2200

Release 6.2.1 (#377)

This release updates the OAuthScope class to align with the latest API specification, removing deprecated scopes, adding new ones, and ensuring accuracy and maintainability. It also updates related integration tests to use the correct scopes and introduces a comprehensive unit test suite for OAuthScope.

OAuthScope class updates:

  • Removed deprecated scopes issuing:card-mgmt and issuing:client, as well as marketplace, and replaced them with the appropriate card-management scopes. Added new scopes: compliance-requests, flow:reflow, issuing-disputes, and vault:tokens-metadata. Properties are now consistently ordered alphabetically, and documentation was improved. [1] [2] [3] [4]

Test updates:

  • Updated all integration tests (AbstractIssuingIntegrationTest.php, TransactionsIntegrationTest.php, and SandboxTestFixture.php) to use the new card-management scope properties instead of the retired ones, with clarifying comments. [1] [2] [3]

New unit tests for OAuthScope:

  • Added OAuthScopeTest.php to verify that all documented scopes are present, that no wire value is blank or duplicated, and that properties are declared in alphabetical order. Also includes tests to distinguish similar-looking scopes and to check for spec sync correctness.