Skip to content

Commit

Permalink
Merge branch 'main' of github.com:juspay/hyperswitch into upgrade-cyp…
Browse files Browse the repository at this point in the history
…ress

* 'main' of github.com:juspay/hyperswitch:
  chore(version): 2025.01.30.0
  Documentation edits made through Mintlify web editor
  feat(connector): add template code for chargebee (#7036)
  chore: run clippy with default number of jobs in github workflows (#7088)
  feat(router): add accept-language from request headers into browser-info (#7074)
  refactor(euclid): update proto file for elimination routing (#7032)
  chore(version): 2025.01.29.0
  refactor(router): prioritise `connector_mandate_id` over `network_transaction_id` during MITs (#7081)
  chore: add stripe to network transaction id support (#7096)
  fix(multitenancy): add a fallback for get commands in redis (#7043)
  refactor(currency_conversion): re frame the currency_conversion crate to make api calls on background thread (#6906)
  chore: fix `toml` format to address wasm build failure (#6967)
  • Loading branch information
pixincreate committed Jan 30, 2025
2 parents b66fe04 + c333389 commit 76cf773
Show file tree
Hide file tree
Showing 82 changed files with 2,206 additions and 702 deletions.
40 changes: 26 additions & 14 deletions .github/workflows/CI-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:

env:
# Use `sccache` for caching compilation artifacts
RUSTC_WRAPPER: sccache
# RUSTC_WRAPPER: sccache
RUSTFLAGS: "-D warnings"

strategy:
Expand Down Expand Up @@ -126,11 +126,16 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install sccache
uses: taiki-e/[email protected]
with:
tool: sccache
checksum: true
# - name: Install sccache
# uses: taiki-e/[email protected]
# with:
# tool: sccache
# checksum: true

- name: Install rust cache
uses: Swatinem/[email protected]
with:
save-if: false

- name: Install cargo-hack
uses: taiki-e/[email protected]
Expand Down Expand Up @@ -181,7 +186,7 @@ jobs:

env:
# Use `sccache` for caching compilation artifacts
RUSTC_WRAPPER: sccache
# RUSTC_WRAPPER: sccache
RUSTFLAGS: "-D warnings"

strategy:
Expand Down Expand Up @@ -229,11 +234,16 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install sccache
uses: taiki-e/[email protected]
with:
tool: sccache
checksum: true
# - name: Install sccache
# uses: taiki-e/[email protected]
# with:
# tool: sccache
# checksum: true

- name: Install rust cache
uses: Swatinem/[email protected]
with:
save-if: false

- name: Install cargo-hack
uses: taiki-e/[email protected]
Expand All @@ -259,7 +269,7 @@ jobs:

- name: Run clippy
shell: bash
run: just clippy --jobs 2
run: just clippy

- name: Check Cargo.lock changed
if: ${{ (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) }}
Expand Down Expand Up @@ -315,7 +325,9 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install rust cache
uses: Swatinem/[email protected]
uses: Swatinem/[email protected]
with:
save-if: false

- name: Install just
uses: taiki-e/[email protected]
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/CI-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

env:
# Use `sccache` for caching compilation artifacts
RUSTC_WRAPPER: sccache
# RUSTC_WRAPPER: sccache
RUSTFLAGS: "-D warnings"

strategy:
Expand Down Expand Up @@ -78,15 +78,15 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install sccache
uses: taiki-e/[email protected]
with:
tool: sccache
checksum: true

# - uses: Swatinem/[email protected]
# - name: Install sccache
# uses: taiki-e/[email protected]
# with:
# save-if: ${{ github.event_name == 'push' }}
# tool: sccache
# checksum: true

- uses: Swatinem/[email protected]
with:
save-if: ${{ github.event_name == 'push' }}

- name: Install cargo-hack
uses: baptiste0928/[email protected]
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:

env:
# Use `sccache` for caching compilation artifacts
RUSTC_WRAPPER: sccache
# RUSTC_WRAPPER: sccache
RUSTFLAGS: "-D warnings"

strategy:
Expand Down Expand Up @@ -170,11 +170,11 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install sccache
uses: taiki-e/[email protected]
with:
tool: sccache
checksum: true
# - name: Install sccache
# uses: taiki-e/[email protected]
# with:
# tool: sccache
# checksum: true

- name: Install cargo-hack
uses: baptiste0928/[email protected]
Expand All @@ -196,13 +196,13 @@ jobs:
# with:
# crate: cargo-nextest

# - uses: Swatinem/[email protected].0
# with:
# save-if: ${{ github.event_name == 'push' }}
- uses: Swatinem/[email protected].7
with:
save-if: ${{ github.event_name == 'push' }}

- name: Run clippy
shell: bash
run: just clippy --jobs 2
run: just clippy

- name: Cargo hack
if: ${{ github.event_name == 'push' }}
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install rust cache
uses: Swatinem/[email protected].0
uses: Swatinem/[email protected].7

- name: Run cargo check enabling only the release and v2 features
shell: bash
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/connector-sanity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ jobs:
with:
toolchain: stable 2 weeks ago

- uses: Swatinem/[email protected]
- uses: Swatinem/[email protected]
with:
save-if: false

- name: Decrypt connector auth file
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/connector-ui-sanity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ jobs:
toolchain: stable

- name: Build and Cache Rust Dependencies
uses: Swatinem/[email protected]
uses: Swatinem/[email protected]
with:
save-if: false

- name: Install Diesel CLI with Postgres Support
uses: baptiste0928/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/postman-collection-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ jobs:

- name: Build and Cache Rust Dependencies
if: ${{ ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)) || (github.event_name == 'merge_group')}}
uses: Swatinem/[email protected]
uses: Swatinem/[email protected]
with:
save-if: false

- name: Install Protoc
if: ${{ ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)) || (github.event_name == 'merge_group')}}
Expand Down
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,45 @@ All notable changes to HyperSwitch will be documented here.

- - -

## 2025.01.30.0

### Features

- **connector:** Add template code for chargebee ([#7036](https://github.com/juspay/hyperswitch/pull/7036)) ([`ad5491f`](https://github.com/juspay/hyperswitch/commit/ad5491f15bd8f61b2a918f584fe85132986176ad))
- **router:** Add accept-language from request headers into browser-info ([#7074](https://github.com/juspay/hyperswitch/pull/7074)) ([`5381eb9`](https://github.com/juspay/hyperswitch/commit/5381eb992228164b552260c7ebb8a4cdbc1b3cb3))

### Refactors

- **euclid:** Update proto file for elimination routing ([#7032](https://github.com/juspay/hyperswitch/pull/7032)) ([`275958a`](https://github.com/juspay/hyperswitch/commit/275958af14d0eb4385c995308fbf958c6b620e4f))

### Miscellaneous Tasks

- Run clippy with default number of jobs in github workflows ([#7088](https://github.com/juspay/hyperswitch/pull/7088)) ([`337095b`](https://github.com/juspay/hyperswitch/commit/337095bce8c57be9a9a2ff8356ca9b70917b9851))

**Full Changelog:** [`2025.01.29.0...2025.01.30.0`](https://github.com/juspay/hyperswitch/compare/2025.01.29.0...2025.01.30.0)

- - -

## 2025.01.29.0

### Bug Fixes

- **multitenancy:** Add a fallback for get commands in redis ([#7043](https://github.com/juspay/hyperswitch/pull/7043)) ([`5707297`](https://github.com/juspay/hyperswitch/commit/5707297621538ccf47f7314ca564783d6f289317))

### Refactors

- **currency_conversion:** Re frame the currency_conversion crate to make api calls on background thread ([#6906](https://github.com/juspay/hyperswitch/pull/6906)) ([`858866f`](https://github.com/juspay/hyperswitch/commit/858866f9f361c16b76ed79b42814b648f2050f08))
- **router:** Prioritise `connector_mandate_id` over `network_transaction_id` during MITs ([#7081](https://github.com/juspay/hyperswitch/pull/7081)) ([`5ff57fa`](https://github.com/juspay/hyperswitch/commit/5ff57fa3374cd4bb6ff211057d7280b6fd1ea321))

### Miscellaneous Tasks

- Fix `toml` format to address wasm build failure ([#6967](https://github.com/juspay/hyperswitch/pull/6967)) ([`ecab2b1`](https://github.com/juspay/hyperswitch/commit/ecab2b1f512eb7e78ca2e75c20b3adc753b97a2f))
- Add stripe to network transaction id support ([#7096](https://github.com/juspay/hyperswitch/pull/7096)) ([`4cf011f`](https://github.com/juspay/hyperswitch/commit/4cf011f9886de419b48576f5d4ef77fdcfc2d4ad))

**Full Changelog:** [`2025.01.27.0...2025.01.29.0`](https://github.com/juspay/hyperswitch/compare/2025.01.27.0...2025.01.29.0)

- - -

## 2025.01.27.0

### Bug Fixes
Expand Down
5 changes: 5 additions & 0 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5696,6 +5696,11 @@
"type": "string",
"description": "The device model of the client",
"nullable": true
},
"accept_language": {
"type": "string",
"description": "Accept-language of the browser",
"nullable": true
}
}
},
Expand Down
Loading

0 comments on commit 76cf773

Please sign in to comment.