Changelog
note
This changelog covers the public SDK surface. Internal API changes that do not affect the public surface are not listed.
Versioning policy
AccruPay SDKs follow Semantic Versioning:
| Increment | Meaning |
|---|---|
Patch (x.x.N) | Bug fix — behavior corrected, no new fields or signature changes |
Minor (x.N.0) | Additive change — new fields, new methods, new options; fully backward compatible |
Major (N.0.0) | Breaking change — removed or renamed fields, changed method signatures, removed exports |
Breaking changes are marked with ⚠️ BREAKING in the entry below.
Pin to a minor version range (^0.17.1) to receive patches automatically while guarding against breaking changes.
@accrupay/node
Current version: 0.17.1
v0.17.1 — 2025-Q4 (current)
- Patch: corrected TypeScript types for
baseConfigon Stripe sessions to accurately reflect the{ publicKey: string }shape. - Patch: fixed an edge case where
merchantInternalTransactionCodeuniqueness validation returned a genericINTERNAL_SERVER_ERRORinstead ofVALIDATION_ERROR.
v0.17.0
- Minor: added
customersservice (sdk.customers) withcreate,get,list, andupdatemethods. - Minor: added
merchantInternalCustomerCodeas an optional field on all session start inputs.
v0.16.0
- Minor: added
sdk.transactions.paymentMethods.ach.start()for ACH session creation via Nuvei. - Minor:
TRANSACTION_PROVIDERenum now exported from the top-level package entry point.
v0.15.0
- Minor: added
sdk.transactions.clientSessions.authorizations.start()for auth-only sessions. - Minor: added
sdk.transactions.operations.capture()andsdk.transactions.operations.void().
v0.14.0
- ⚠️ BREAKING:
sdk.sessionsrenamed tosdk.transactions.clientSessions. Update all call sites. - ⚠️ BREAKING:
sdk.paymentMethodsmoved tosdk.transactions.paymentMethods. Update all call sites. - Minor: added
sdk.transactions.paymentPlansservice. - Minor: added
sdk.transactions.paymentPlanTemplatesservice.
v0.13.0
- Minor: added
sdk.transactions.providersservice for listing and managing transaction providers. - Minor: added
sdk.merchantsservice for merchant profile reads.
v0.12.0
- Patch: improved error message detail for
VALIDATION_ERROR— each field failure now includes the field name and reason. - Minor:
AccruPayValidationErrornow exposes afieldsproperty containing per-field error details.
@accrupay/react
Current version: 0.1.0
v0.1.0 — 2025-Q4 (current, initial release)
Initial public release of the AccruPay React SDK.
Included in this release:
<AccruPay>provider component — wraps a payment form and manages session state.<CardNumber>,<CardExpiry>,<CardCVC>— hosted field components for PCI-compliant card entry.<SubmitButton>— submit control with built-in loading and disabled state.useAccruPay()hook — access to session state, submit handler, and error details from any child component.- Imperative ref API via
AccruPayReftype andrefprop on<AccruPay>— programmatic submit trigger for custom button implementations. - Automatic provider routing — loads SafeCharge.js (Nuvei) or Stripe.js based on the resolved session provider.
environmentprop — pass'sandbox'to run in test mode without code changes across providers.- TypeScript-first: full type definitions bundled.