Skip to content

Releases: juspay/hyperswitch

Hyperswitch v0.4.0

05 Mar 12:59
3bdc9b0
Compare
Choose a tag to compare

Continuous Integration

  • workflow:
    • adding build only sandbox feature to reduce build time (#664) (d1c9305)
    • run cargo hack only for code changes (#663) (f931c42)

Documentation Changes

New Features

  • session_token: create session token only if pmt is enabled (#703) (e1afeb6)
  • router:
  • list: global filter mapping for payment methods via card network (#694) (adca6bc)
  • store card network for cards (#687) (bfca26d)
  • add support for ANG currency (#681) (03096ef)
  • Add bank redirect mapping to adyen and stripe (#680) (e6f627d)
  • api contract change for wallet (#628) (ff86417)
  • Add support for a redis pubsub interface (#614) (aaf3725)
  • initial nix setup using cargo2nix (#599) (73d0538)
  • connector:
    • [Bambora] Add support for cards Authorize, psync, capture, void, refund, Rsync (#677) (0de5d44)
    • [MultiSafePay] Add support for cards Authorize, psync, capture, void, refund, Rsync (#658) (79aa8f3)
    • [Dlocal] Add support for authorize, capture, void, refund, psync, rsync (#650) (7792de5)
  • pm_list: support for sending bank names (#678) (576f8e1)
  • card_network: add additional enum variants in card network (#671) (db8bc16)
  • stripe:
    • eps, giropay and ideal using stripe (#529) (028e140)
    • get error message for failed redirect payments (#615) (12f25f0)

Bug Fixes

  • Populate amount_captured in case of success (#700) (d622b74)
  • Error Mapping for Bluensap & Card Number for Airwallex (#686) (35a74ba)
  • add currency in verify request data (#619) (32de632)
  • add zero-padded formatting for error code (#627) (63f9b61)
  • check if bank_pm exists and then send request (#679) (76a9b55)
  • connector:
    • convert cents to dollar before sending to connector (#699) (3e88319)
    • fix wordline card number validation issue (#695) (1a87534)
    • fix wordline tests and visa card issuer support (#688) (d0c9dde)
  • adyen: adyen psync fail fix (#691) (2e99152)
  • customer: populate email from customer table if not present in request (#692) (cf71d7a)
  • list:
    • remove enabled payment methods from list customer payment method (#689) (5c29f37)
    • fix card network filtering (#684) (718c8a4)
    • adding config changes for filtering pm based on countries & currencies (#669) (060c541)
  • compatibility:
    • change next_action type and customer request type (#675) (7f22c22)
    • map stripe country_code to payment_request country code (#667) (7044b80)
  • core: send metadata in payments response (#670) (b80f19e)
  • router: allow setup future usage to be updated in payment update and confirm requests (#610) (7fd8221)

Chores

  • connectors: log connector request and response at debug level (#624) (6a487b1)

Other Changes

  • stripe: send statement descriptor to stripe (#707) (641c4d6)
  • use connector error handler for 500 error messages. (#696) (9fe2093)
  • populate failed status and add bank_redirect (#674) (b1685ba)
  • refunds: skip validate refunds for card (#672) (5cdbef0)
  • router/webhooks: expose additional incoming request details to webhooks flow (#637) (1b3b7f5)
  • braintree: create basic auth for braintree (#602) (c47619b)

Refactors

  • add better log to parse struct (#621) (275155a)
  • Pass country and currency as json format in MCA (#523) (d27e6be)
  • use simple uuid instead of hyphens (#605) (c467a47)
  • add payment_issuer and payment_experience in pa (#491) (6656359)
  • router: remove foreign wrapper type (#616) (7bd2008)
  • core:
    • add payment method list route to payment_methods (#682) (5449ce4)
    • make attempt id as mandatory in router_data (#604) (626e467)
  • pm_list:
  • connector: remove peek() on PII info (#642) (46f77d0)
  • connector-template: raise errors instead of using todo!() (#620) (b1a6be5)
  • redirection: From impl for redirection data for ease of use (#613) (e8255b4)

Hyperswitch v0.3.0

26 Feb 10:27
f3224cc
Compare
Choose a tag to compare

Build System / Dependencies

  • docker-compose: increase docker health check interval for hyperswitch-server (#534) (1ba6b8c)

Chores

  • release: port release bug fixes to main branch (#612) (a8d6ce8)

Continuous Integration

Documentation Changes

New Features

  • router:
    • include eligible connectors list in list payment methods (#644) (92771b3)
    • API endpoints for managing API keys (#511) (1bdc895)
  • connector:
    • [Airwallex] add authorize, capture, void, psync, Webhooks support (#646) (6a67dd8)
    • [Bluesnap] add authorize, capture, void, refund, psync, rsync and Webhooks support (#649) (7efdc3c)
    • add authorize, capture, void, refund, psync support for Nuvei (#645) (03a9f5a)
  • Added applepay feature (#636) (1e84c07)
  • add track_caller to functions that perform change_context (#592) (8d2e573)
  • Redis cache for MCA fetch and update (#515) (963cb52)
  • api_models: add error structs (#532) (d107b44)

Bug Fixes

  • connector: update Bluesnap in routable connectors (#654) (64cb2ff)
  • allow errors with status code 200 to pass (#601) (8a8767e)
  • don't call connector if connector transaction id doesn't exist (#525) (326d6be)
  • throw 500 error when redis goes down (#531) (aafb115)
  • router:
    • allow setup future usage to be updated in payment update and confirm requests (#610) (#638) (6c128f8)
    • feature gate openssl deps for basilisk feature (#536) (e495682)
  • checkout: Error Response when wrong api key is passed (#596) (55b6d88)
  • core: use guard for access token result (#522) (903b452)

Other Changes

Refactors

  • router:
    • update payments api contract to accept a list of connectors (#643) (8f1f626)
    • api-key routes refactoring (#600) (e640827)
    • appstate as trait in authentication (#588) (eaf98e6)
  • compatibility: add additional fields to stripe payment and refund response types (#618) (2ea09e3)
  • Throw 500 error on database connection error instead of panic (#527) (f1e3bf4)
  • send full payment object for payment sync (#526) (6c2a1fe)
  • middleware: change visibility to pub (#587) (4884a24)

Hyperswitch v0.2.0

17 Feb 10:05
Compare
Choose a tag to compare

Supported Connectors

Supported Payment Methods

Supported Payment Functionalities

  • Payments (Authorize/Sync/Capture/Cancel)
  • Refunds (Execute/Sync)
  • Saved Cards
  • Mandates (No 3DS)*
  • Customers
  • Merchants
  • ConnectorAccounts

* May not be supported on all connectors