v1.48.0
juspay/hyperswitchv1.48.0Sep 27, 2023by SanchithHegde
AI Summary
This release introduces a new `surcharge_metadata` field for payment attempts and enhances the router's key-value flow and customer address handling. It also includes database cache improvements and refactors currency mappings for several connectors.
Key Highlights
- Create `surcharge_metadata` field in payment attempt
- Router KV flow improvements
- Merchant account cache invalidation
- Connector currency mapping refactor
New Features
- Create surcharge_metadata field in payment attempt
- Append payment_id to secondary key for payment_intent in kv flow
- Pass customers address in retrieve customer
Full Release Notes
## 1.48.0 (2023-09-27) ### Features - **core:** Create surcharge_metadata field in payment attempt ([#2371](https://github.com/juspay/hyperswitch/pull/2371)) ([`934542e`](https://github.com/juspay/hyperswitch/commit/934542e92625620d71b940e99d4ae58239a60ce4)) by @hrithikesh026 - **router:** - Append payment_id to secondary key for payment_intent in kv flow ([#2378](https://github.com/juspay/hyperswitch/pull/2378)) ([`ee91552`](https://github.com/juspay/hyperswitch/commit/ee9155208d6c0a3d5d5422b469bfa7a80671cd86)) by @sai-harsha-vardhan - Pass customers address in retrieve customer ([#2376](https://github.com/juspay/hyperswitch/pull/2376)) ([`f6cfb05`](https://github.com/juspay/hyperswitch/commit/f6cfb05fa042b5f68a5cb6fa17090d2beb91303b)) by @ShankarSinghC ### Bug Fixes - **db:** Merchant_account cache invalidation based on publishable_key ([#2365](https://github.com/juspay/hyperswitch/pull/2365)) ([`22a8291`](https://github.com/juspay/hyperswitch/commit/22a8291ea66bc564218af0a4a2695eef70ce6790)) by @Abhicodes-crypto - **router:** Allow address updates in payments update flow ([#2375](https://github.com/juspay/hyperswitch/pull/2375)) ([`0d3dd00`](https://github.com/juspay/hyperswitch/commit/0d3dd0033c5ec9eabc967cb1872f0699546aba89)) by @sai-harsha-vardhan ### Refactors - **connector:** - [Payme]Enhance currency Mapping with ConnectorCurrencyCommon Trait ([#2194](https://github.com/juspay/hyperswitch/pull/2194)) ([`77b51d5`](https://github.com/juspay/hyperswitch/commit/77b51d5cbe531526f2f20a0ee4a78e95b00d87de)) by @srujanchikke - [bluesnap] add refund status and webhooks ([#2374](https://github.com/juspay/hyperswitch/pull/2374)) ([`fe43458`](https://github.com/juspay/hyperswitch/commit/fe43458ddc0fa1cc31f2b326056baea54af57136)) by @SamraatBansal - Insert requires cvv config to configs table if not found in db ([#2208](https://github.com/juspay/hyperswitch/pull/2208)) ([`68b3310`](https://github.com/juspay/hyperswitch/commit/68b3310993c5196f9f9038f27c5cd7dad82b24d1)) by @Chethan-rao **Full Changelog:** [`v1.47.0...v1.48.0`](https://github.com/juspay/hyperswitch/compare/v1.47.0...v1.48.0)