Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sahkal #5207

Closed
wants to merge 45 commits into from
Closed

sahkal #5207

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
b08ce22
refactor(connector): added amount framework to paypal, payouts and ro…
sahkal Jun 28, 2024
6d9b37e
fix(users): clear cookie and alter parsing for sso (#5147)
apoorvdixit88 Jun 28, 2024
a172cba
fix(connector): [ADYEN] send `browser_info` for all the card and goog…
sai-harsha-vardhan Jun 28, 2024
bb9a971
feat(core): customer_details storage in payment_intent (#5007)
prajjwalkumar17 Jun 28, 2024
6df8f06
refactor(hyperswitch_constraint_graph): Removal of lifetime from the …
prajjwalkumar17 Jun 28, 2024
d2626fa
chore(cards): add configuration option to change the decryption schem…
NishantJoshi00 Jun 28, 2024
760fd3b
chore: fix ui-test configs (#5152)
pixincreate Jun 28, 2024
f03dc7a
feat(cypress): add iatapay connector (#5093)
pixincreate Jun 28, 2024
f55cae2
Docs: Api reference docs update for Payments - Create (#4955)
gorakhnathy7 Jun 28, 2024
910fcc8
chore(euclid_wasm): make field domain optional wasm (#5154)
JeevaRamu0104 Jun 28, 2024
61d31dc
ci(postman): log request id for user tests (#5159)
apoorvdixit88 Jun 28, 2024
b4351f5
chore(postman): update Postman collection files
github-actions[bot] Jul 1, 2024
57ac450
chore(version): 2024.07.01.0
github-actions[bot] Jul 1, 2024
4fbff39
chore(ci): fix ci tests failing by removing them (#5167)
pixincreate Jul 1, 2024
2688d24
feat(tls): add support for https in actix web (#5089)
noagbmn Jul 1, 2024
1b89463
feat(connector): [Bambora Apac] Template for integration (#5062)
Sakilmostak Jul 1, 2024
ecc6c00
feat(payment_link): add multiple custom css support in business level…
sahkal Jul 1, 2024
8a33bd5
refactor(connector): Add amount conversion framework to iatapay along…
sahkal Jul 1, 2024
4314fcd
feat(globalsearch): Implement tag-based filters in global search (#5151)
tsdk02 Jul 1, 2024
9fc525d
feat(analytics): Add v2 payment analytics (payment-intents analytics)…
tsdk02 Jul 1, 2024
af2497b
fix(connector): [Paypal] dispute webhook deserialization failure (#5111)
KiranKBR Jul 1, 2024
ecb8caf
fix(router): mark retry payment as failure if `connector_tokenization…
ShankarSinghC Jul 1, 2024
ff14e79
fix(router): rename the browser name header to `x-browser-name` (#5162)
ShankarSinghC Jul 1, 2024
7004a80
chore(version): 2024.07.02.0
github-actions[bot] Jul 2, 2024
045e974
fix(auth_methods): Add checks for duplicate `auth_method` in create A…
ThisIsMani Jul 2, 2024
ee9190b
feat(router): collect billing details from wallet connector based on …
ShankarSinghC Jul 2, 2024
3bbdfb5
refactor(router): changed payment method token TTL to api contract ba…
sahkal Jul 2, 2024
a343f69
refactor: use hashmap deserializer for generic_link options (#5157)
kashif-m Jul 2, 2024
5d86002
fix: realtime user analytics (#5129)
vsrivatsa-edinburgh Jul 2, 2024
e3470a2
fix(router): [CYBS] make payment status optional (#5165)
AkshayaFoiger Jul 2, 2024
b2e0caf
fix(router): update last used when the customer acceptance is passed …
ShankarSinghC Jul 2, 2024
618ec41
refactor(payment_link): logs payment links logs coverage (#4918)
sahkal Jul 2, 2024
9bc7801
feat(router): add refunds manual-update api (#5094)
sai-harsha-vardhan Jul 2, 2024
1bb2ae8
fix(event): Updated the ApiEventMetric (#5126)
tanbirali Jul 2, 2024
f3fb59c
chore(version): 2024.07.03.0
github-actions[bot] Jul 3, 2024
ff23e2f
refactor(migrations): add commands to make file to run migrations for…
Narayanbhat166 Jul 3, 2024
e85407f
refactor(payment_methods): add appropriate missing logs (#5190)
Chethan-rao Jul 3, 2024
f513c8e
feat(pm_auth): Added balance check for PM auth bank account (#5054)
Sarthak1799 Jul 3, 2024
7a1651d
chore(version): 2024.07.04.0
github-actions[bot] Jul 4, 2024
cc88c07
feat(analytics): FRM Analytics (#4880)
tsdk02 Jul 4, 2024
ddfdc35
refactor(cypress): error handling and add sync refunds in places wher…
pixincreate Jul 4, 2024
0796bb3
ci(cypress): Update card number for adyen and status for paypal (#5192)
likhinbopanna Jul 4, 2024
c8c0cb7
feat(core): Added integrity framework for Authorize and Sync flow wit…
sahkal Jul 4, 2024
bf9893e
feat(cypress): make tests forcefully skippable (#5176)
pixincreate Jul 4, 2024
52abda9
fix(router): `override setup_future_usage` filed to on_session based …
ShankarSinghC Jul 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
114 changes: 57 additions & 57 deletions .github/testcases/ui_tests.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/migration-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
shell: bash
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
run: diesel migration run --locked-schema
run: make migrate locked-schema=yes

- name: Verify `diesel migration redo`
shell: bash
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
run: diesel migration redo -a --locked-schema
run: make redo_migrate locked-schema=yes
2 changes: 1 addition & 1 deletion .github/workflows/postman-collection-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
shell: bash
env:
DATABASE_URL: postgres://db_user:db_pass@localhost:5432/hyperswitch_db
run: diesel migration run
run: make migrate locked-schema=yes

- name: Install newman from fork
run: npm ci
Expand Down
103 changes: 103 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,109 @@ All notable changes to HyperSwitch will be documented here.

- - -

## 2024.07.04.0

### Features

- **pm_auth:** Added balance check for PM auth bank account ([#5054](https://github.com/juspay/hyperswitch/pull/5054)) ([`f513c8e`](https://github.com/juspay/hyperswitch/commit/f513c8e4daa95a6ceb89ce616e3d55058708fb2a))

### Refactors

- **migrations:** Add commands to make file to run migrations for api v2 ([#5169](https://github.com/juspay/hyperswitch/pull/5169)) ([`ff23e2f`](https://github.com/juspay/hyperswitch/commit/ff23e2f7d3de77cbb03a837de20e1435d1632d68))
- **payment_methods:** Add appropriate missing logs ([#5190](https://github.com/juspay/hyperswitch/pull/5190)) ([`e85407f`](https://github.com/juspay/hyperswitch/commit/e85407fc5344e983732077d4fdcae85ad59bfd10))

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

- - -

## 2024.07.03.0

### Features

- **router:**
- Collect billing details from wallet connector based on the `collect_billing_details_from_wallet_connector` field ([#5065](https://github.com/juspay/hyperswitch/pull/5065)) ([`ee9190b`](https://github.com/juspay/hyperswitch/commit/ee9190bf4f29699a2878bc89d7a83cd77a3ce472))
- Add refunds manual-update api ([#5094](https://github.com/juspay/hyperswitch/pull/5094)) ([`9bc7801`](https://github.com/juspay/hyperswitch/commit/9bc780151c8ff1874d971bf8c79ae53cb6c477d8))

### Bug Fixes

- **auth_methods:** Add checks for duplicate `auth_method` in create API ([#5161](https://github.com/juspay/hyperswitch/pull/5161)) ([`045e974`](https://github.com/juspay/hyperswitch/commit/045e9742bd1d8985847eab47f6a38e1f750c09de))
- **event:** Updated the ApiEventMetric ([#5126](https://github.com/juspay/hyperswitch/pull/5126)) ([`1bb2ae8`](https://github.com/juspay/hyperswitch/commit/1bb2ae8423786449e4d53ace08aa94f872cc73f2))
- **router:**
- [CYBS] make payment status optional ([#5165](https://github.com/juspay/hyperswitch/pull/5165)) ([`e3470a2`](https://github.com/juspay/hyperswitch/commit/e3470a240d84e2971c5194f0aa2022eae04c0943))
- Update last used when the customer acceptance is passed in the recurring payment ([#5116](https://github.com/juspay/hyperswitch/pull/5116)) ([`b2e0caf`](https://github.com/juspay/hyperswitch/commit/b2e0caf6d9a33239f9819b077d3cd7dd444e60bd))
- Realtime user analytics ([#5129](https://github.com/juspay/hyperswitch/pull/5129)) ([`5d86002`](https://github.com/juspay/hyperswitch/commit/5d86002ce7f182c9c3d478cd5eb6a43ce63f1398))

### Refactors

- **payment_link:** Logs payment links logs coverage ([#4918](https://github.com/juspay/hyperswitch/pull/4918)) ([`618ec41`](https://github.com/juspay/hyperswitch/commit/618ec41aff0470347ab9818066b210c458cc2d43))
- **router:** Changed payment method token TTL to api contract based config from const value ([#5115](https://github.com/juspay/hyperswitch/pull/5115)) ([`3bbdfb5`](https://github.com/juspay/hyperswitch/commit/3bbdfb5a1c76b9b0a1139e739a5e13867b98ca27))
- Use hashmap deserializer for generic_link options ([#5157](https://github.com/juspay/hyperswitch/pull/5157)) ([`a343f69`](https://github.com/juspay/hyperswitch/commit/a343f69dc4889c37857d41cb7da1f23445ea7ccf))

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

- - -

## 2024.07.02.0

### Features

- **analytics:** Add v2 payment analytics (payment-intents analytics) ([#5150](https://github.com/juspay/hyperswitch/pull/5150)) ([`9fc525d`](https://github.com/juspay/hyperswitch/commit/9fc525d49849e160345902beecac01d3a2f4c70f))
- **connector:** [Bambora Apac] Template for integration ([#5062](https://github.com/juspay/hyperswitch/pull/5062)) ([`1b89463`](https://github.com/juspay/hyperswitch/commit/1b8946321befb3a3a79c5fe2acf6b255b8930940))
- **globalsearch:** Implement tag-based filters in global search ([#5151](https://github.com/juspay/hyperswitch/pull/5151)) ([`4314fcd`](https://github.com/juspay/hyperswitch/commit/4314fcd17309a1c0d82b1b65eb867f913b72fbd7))
- **payment_link:** Add multiple custom css support in business level ([#5137](https://github.com/juspay/hyperswitch/pull/5137)) ([`ecc6c00`](https://github.com/juspay/hyperswitch/commit/ecc6c00d4aaa034f96eae76c64024d56bb5fa173))
- **tls:** Add support for https in actix web ([#5089](https://github.com/juspay/hyperswitch/pull/5089)) ([`2688d24`](https://github.com/juspay/hyperswitch/commit/2688d24d4963550ff3efee363194446a3c75cc59))

### Bug Fixes

- **connector:** [Paypal] dispute webhook deserialization failure ([#5111](https://github.com/juspay/hyperswitch/pull/5111)) ([`af2497b`](https://github.com/juspay/hyperswitch/commit/af2497b5012f048a4cf72b61712812bca534c17c))
- **router:**
- Mark retry payment as failure if `connector_tokenization` fails ([#5114](https://github.com/juspay/hyperswitch/pull/5114)) ([`ecb8caf`](https://github.com/juspay/hyperswitch/commit/ecb8cafaed5a29e8ab204992a2f35102d2add09f))
- Rename the browser name header to `x-browser-name` ([#5162](https://github.com/juspay/hyperswitch/pull/5162)) ([`ff14e79`](https://github.com/juspay/hyperswitch/commit/ff14e79adf48a983855cf7abcc282bf556ecf2f9))

### Refactors

- **connector:** Add amount conversion framework to iatapay along with amount conversion code to connector template ([#4866](https://github.com/juspay/hyperswitch/pull/4866)) ([`8a33bd5`](https://github.com/juspay/hyperswitch/commit/8a33bd5e7368b4e863cbc58c73702f48567d39dc))

### Miscellaneous Tasks

- **ci:** Fix ci tests failing by removing them ([#5167](https://github.com/juspay/hyperswitch/pull/5167)) ([`4fbff39`](https://github.com/juspay/hyperswitch/commit/4fbff39906a57420cf5b8b4e1084bff1f82c070b))

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

- - -

## 2024.07.01.0

### Features

- **core:** Customer_details storage in payment_intent ([#5007](https://github.com/juspay/hyperswitch/pull/5007)) ([`bb9a971`](https://github.com/juspay/hyperswitch/commit/bb9a97154c19eeadfdf17428c18d2facebe1dd3a))
- **cypress:** Add iatapay connector ([#5093](https://github.com/juspay/hyperswitch/pull/5093)) ([`f03dc7a`](https://github.com/juspay/hyperswitch/commit/f03dc7a1c9bc72f402a0e7be9830329c95a2338b))

### Bug Fixes

- **connector:** [ADYEN] send `browser_info` for all the card and googlepay payments ([#5153](https://github.com/juspay/hyperswitch/pull/5153)) ([`a172cba`](https://github.com/juspay/hyperswitch/commit/a172cba5d3575e0648be65bae988f001408d671f))
- **users:** Clear cookie and alter parsing for sso ([#5147](https://github.com/juspay/hyperswitch/pull/5147)) ([`6d9b37e`](https://github.com/juspay/hyperswitch/commit/6d9b37e8a2e91a0cf2e493dd48100bfeebadd926))

### Refactors

- **connector:** Added amount framework to paypal, payouts and routing ([#4865](https://github.com/juspay/hyperswitch/pull/4865)) ([`b08ce22`](https://github.com/juspay/hyperswitch/commit/b08ce22108a5f64d33430806a8bea034c5ccb44a))
- **hyperswitch_constraint_graph:** Removal of lifetime from the Constraint Graph framework ([#5132](https://github.com/juspay/hyperswitch/pull/5132)) ([`6df8f06`](https://github.com/juspay/hyperswitch/commit/6df8f0646bd05c689071d8e02a3cf993fe8912f5))

### Documentation

- Api reference docs update for Payments - Create ([#4955](https://github.com/juspay/hyperswitch/pull/4955)) ([`f55cae2`](https://github.com/juspay/hyperswitch/commit/f55cae20af6977680b86275cd3de500079d274ee))

### Miscellaneous Tasks

- **cards:** Add configuration option to change the decryption scheme locker ([#5140](https://github.com/juspay/hyperswitch/pull/5140)) ([`d2626fa`](https://github.com/juspay/hyperswitch/commit/d2626fa3fe4216504fd0df216eea8462c87cce07))
- **euclid_wasm:** Make field domain optional wasm ([#5154](https://github.com/juspay/hyperswitch/pull/5154)) ([`910fcc8`](https://github.com/juspay/hyperswitch/commit/910fcc89e24b8accd59a5a30021837222f803fa9))
- **postman:** Update Postman collection files ([`b4351f5`](https://github.com/juspay/hyperswitch/commit/b4351f50d6b59c190bbd4ae7d1d28097a14148e0))
- Fix ui-test configs ([#5152](https://github.com/juspay/hyperswitch/pull/5152)) ([`760fd3b`](https://github.com/juspay/hyperswitch/commit/760fd3b566f7a898cf79d50e5bdb4629ed3eca5f))

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

- - -

## 2024.06.28.0

### Features
Expand Down
82 changes: 70 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion INSTALL_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ fi

# run migrations
print_info "Running migrations"
MIGRATION_CMD="diesel migration --database-url postgres://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME} run"
MIGRATION_CMD="make migrate database-url=postgres://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME}"

if [[ -d "migrations" ]]; then
$MIGRATION_CMD
Expand Down
34 changes: 34 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,37 @@ precommit : fmt clippy test

hack:
cargo hack check --workspace --each-feature --all-targets

# Run database migrations using `diesel_cli`.
# Assumes `diesel_cli` is already installed.
#
# Usage :
# make migrate [database-url=<PSQL connection string>] [locked-schema=<yes|no>]

# This proceeds as follows:
# Creates a temporary migrations directory, cleans it up if it already exists
# Copies all migrations to the temporary migrations directory and runs migrations
# Cleans up migrations, removing tmp directory if empty, ignoring otherwise
migrate:
mkdir -p $(ROOT_DIR)/tmp/migrations
find $(ROOT_DIR)/tmp/migrations/ -mindepth 1 -delete

cp -r $(ROOT_DIR)/migrations/. $(ROOT_DIR)/v2_migrations/. $(ROOT_DIR)/tmp/migrations/
diesel migration run --migration-dir=$(ROOT_DIR)/tmp/migrations \
$(if $(strip $(database-url)),--database-url="$(database-url)",) \
$(if $(strip $(call eq,$(locked-schema),yes)),--locked-schema,)

rm -r $(ROOT_DIR)/tmp/migrations
rmdir $(ROOT_DIR)/tmp 2>/dev/null || true

redo_migrate:
mkdir -p $(ROOT_DIR)/tmp/migrations
find $(ROOT_DIR)/tmp/migrations/ -mindepth 1 -delete

cp -r $(ROOT_DIR)/migrations/. $(ROOT_DIR)/v2_migrations/. $(ROOT_DIR)/tmp/migrations/
diesel migration redo --all --migration-dir=$(ROOT_DIR)/tmp/migrations \
$(if $(strip $(database-url)),--database-url="$(database-url)",) \
$(if $(strip $(call eq,$(locked-schema),yes)),--locked-schema,)

rm -r $(ROOT_DIR)/tmp/migrations
rmdir $(ROOT_DIR)/tmp 2>/dev/null || true
Loading
Loading