From 2934ead9586fa9faf7b97b1ad54f24360f976d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20Rodr=C3=ADguez?= <127134616+armando-rodriguez-cko@users.noreply.github.com> Date: Thu, 19 Nov 2026 11:27:45 +0100 Subject: [PATCH] Release 5.9.0 - Tamara risk assessment and security hardening This release types and documents Tamara in payment setups, including its risk assessment, and brings security hardening across the client. Path identifiers and query values are now percent-encoded by the SDK, so pass them unencoded. A `ValueError` is thrown before any request is sent when an identifier is `undefined`, `null`, empty, `.` or `..`, is not valid text, or contains `/`, `\` or an ASCII control character. With the axios client, OAuth credential errors now raise `AuthenticationError` with the API error body, as they already did with the default client. - Payment setups: `payment_methods.tamara` documented and typed on create, update and get: initialization, risk_assessment (premium_customer, risk_score, order_count_last24h, linked_device_count) and the read-only status and flags. - Security hardening of the HTTP client and access token handling. - Security hardening of request path and query string building. --- README.md | 3 ++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 606ea499..3294ebd4 100644 --- a/README.md +++ b/README.md @@ -504,7 +504,8 @@ Identifiers passed to client methods (for example a payment id) are sent as sing segments: pass them unencoded. A `ValueError` is thrown before any request is sent when an identifier is `undefined`, `null`, empty, `.` or `..`, contains text that is not valid (an unpaired surrogate), or contains `/`, `\` or an ASCII control character (U+0000 to U+001F, U+007F). To retrieve a customer whose email contains -`/` or `\`, use the customer's ID. +`/` or `\`, use the customer's ID. Query parameters (for example filters on list and report methods) are +percent-encoded by the SDK as well, so pass them unencoded. # :white_check_mark: Testing diff --git a/package-lock.json b/package-lock.json index b407bcb4..0f4674cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "checkout-sdk-node", - "version": "5.7.0", + "version": "5.9.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "checkout-sdk-node", - "version": "5.7.0", + "version": "5.9.0", "license": "MIT", "dependencies": { "axios": "^1.20.0", diff --git a/package.json b/package.json index 693c6845..ce74c8da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "checkout-sdk-node", - "version": "5.8.0", + "version": "5.9.0", "description": "Official Node.js SDK for Checkout.com payment gateway - SDK with full API coverage with TypeScript support", "type": "module", "engines": {