Skip to content

Release 1.11.0 - ChallengeIndicator/SessionChallengeIndicator enum alignment - #191

Merged
david-ruiz-cko merged 1 commit into
masterfrom
release/1.11.0
Aug 6, 2026
Merged

Release 1.11.0 - ChallengeIndicator/SessionChallengeIndicator enum alignment#191
david-ruiz-cko merged 1 commit into
masterfrom
release/1.11.0

Conversation

@david-ruiz-cko

Copy link
Copy Markdown
Contributor

This release updates the Sessions API model to align with the latest Checkout.com API specification, adds missing fields, corrects value sets, and introduces comprehensive spec-conformance tests to prevent regressions. The changes improve the accuracy and maintainability of the SDK by ensuring all wire values and model fields match the API exactly, and by removing fields that are not part of the spec.

API Model Corrections and Additions

  • Added missing fields to SessionRequest, including google_spa (with new GoogleSpa model), preferred_experiences (with new Experience value module), and device_information. Removed the undocumented prior_transaction_reference field. [1] [2] [3] [4] [5]
  • Added the SessionChallengeIndicator value module to support the full set of challenge indicator values required by the Sessions API, and updated references from the shared payments challenge indicator. [1] [2] [3] [4]
  • Added missing fields to BrowserSession for Google SPA support: iframe_payment_allowed and user_agent_client_hint. [1] [2]
  • Added new schemes to SessionScheme: DISCOVER and UPI.

Value Corrections

  • Corrected wire values to match the API spec: fixed non_payment to snake_case in Category, fixed QUASI_CARD_TRANSACTION spelling in TransactionType, updated ThreeDsMethodCompletion to use uppercase codes, and replaced visa with the correct set in ShippingIndicator. [1] [2] [3] [4]

Field Removals

  • Removed the store_for_future_use field from CardSource, which is not present in the Sessions API model.

Spec-Conformance Tests

  • Added a comprehensive RSpec suite to verify that all value modules and model fields exactly match the Checkout.com API spec, catch casing errors, and prevent future regressions.

References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]

@david-ruiz-cko
david-ruiz-cko requested a review from a team August 6, 2026 08:40
@agent-wall-e

agent-wall-e Bot commented Aug 6, 2026

Copy link
Copy Markdown

🟡 Risk Classification: MINOR

Approval route: AI Review + Human Approval
Rollback controls: Staged rollout + rollback

Classification reasons

  • no_low_class_matched
  • prod_source_modified

Operational gates

  • ✅ jira_ticket
  • ✅ independent_review

Files analysed: 1


wall-e 2026.06.19-02 · policy 376219bc71e6…

@agent-wall-e

agent-wall-e Bot commented Aug 6, 2026

Copy link
Copy Markdown
🔬 Debug — why this classification?

Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.

Reason code Kind Clause Meaning
no_low_class_matched informational §2.2 (fall-through) None of the deterministic Low classes (§2.2.3, §2.2.4, §2.2.7, docs-only) applied; classifier fell through to LLM evaluation.
prod_source_modified informational §2.1 M7 (informational) At least one file is non-doc, non-test, non-IaC — i.e. application source code was modified.

Kinds:

  • classifying — this rule contributed to the chosen tier.
  • informational — context only; did not by itself decide the tier.

See issue #3 for the proposal to formalise this map as Appendix A of the standards doc.

wall-e 2026.06.19-02 · debug

@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

@david-ruiz-cko
david-ruiz-cko merged commit dc6a1e9 into master Aug 6, 2026
5 checks passed
@david-ruiz-cko
david-ruiz-cko deleted the release/1.11.0 branch August 6, 2026 10:39
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.

2 participants