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

Release v15.0.0 #525

Merged
merged 50 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a31311b
add support for checkout captures endpoint
soarecostin Apr 5, 2022
8fdd11d
Merge pull request #1 from smartbnb/feature/add-support-for-checkout-…
soarecostin Apr 5, 2022
32eba64
support for checkout cancels
soarecostin Apr 6, 2022
b4fdd3b
Merge pull request #2 from smartbnb/feature/add-support-for-checkout-…
soarecostin Apr 6, 2022
85a70c2
Merge branch 'Adyen:develop' into develop
soarecostin Apr 27, 2022
35b84f5
set ssl verify option
soarecostin Apr 27, 2022
ca39133
proxy url schema
soarecostin Apr 27, 2022
6ab9c8d
typo
soarecostin Apr 27, 2022
2d0ded3
Change signature of AdyenException Constructor
jewome62 Dec 13, 2022
3e5c983
Added ach to ManualCapture.php to allow for manual Invoicing (#458)
carlosperales95 Apr 25, 2023
9de79cf
Added other missing varians as per #438
May 1, 2023
5d4c818
[ITT-517] Fix automation pipeline (#501)
jillingk May 4, 2023
676e95e
Merge branch 'develop' into develop
jillingk May 5, 2023
f0bcd3d
Merge pull request #499 from carlosperales95/develop
wboereboom May 5, 2023
ac4d024
Add feedback section to README
wboereboom May 10, 2023
4536e7e
Merge pull request #503 from Adyen/ITT-511/add_feedback_section_to_re…
wboereboom May 10, 2023
4f23bc2
[ITT-546] Generate capital service (#506)
antolo-arch May 24, 2023
7c9a0a9
docs: replace old api-explorer links
wilsonpinto Jun 8, 2023
989c17a
docs: fix api-explorer link
wilsonpinto Jun 8, 2023
7c02d4c
fix paymentMethod oneOf adapter class rename
wboereboom Jun 27, 2023
79f215e
Merge pull request #509 from wilsonpinto/develop
wboereboom Jun 27, 2023
2472fac
Merge branch 'develop' into ITT-605/fix_checkout_model_rename
jillingk Jun 28, 2023
9b0e884
Merge pull request #512 from Adyen/ITT-605/fix_checkout_model_rename
wboereboom Jun 28, 2023
0f97c66
Update list of required PHP extensions in README.md
dirkjf Jul 4, 2023
5ca588b
Merge pull request #515 from dirkjf/develop
wboereboom Jul 10, 2023
8c54df3
Merge branch 'develop' into feature/Change-signature-exception
wboereboom Jul 10, 2023
3146822
Merge pull request #428 from jewome62/feature/Change-signature-exception
wboereboom Jul 10, 2023
66c9fac
Remove Capital from Makefile (#517)
wboereboom Jul 10, 2023
172a35c
chore(deps): update dependency dms/phpunit-arraysubset-asserts to v0.…
renovate[bot] Jul 10, 2023
efc2ec6
chore(deps): update dependency phpunit/phpunit to v9.6.10 (#504)
renovate[bot] Jul 10, 2023
d493fc3
Merge branch 'develop' into pr/358
jillingk Jul 10, 2023
b5bffda
Fix multiple calls (#514)
Korbeil Jul 12, 2023
61f5e51
Change the order of the condition
candemiralp Jul 13, 2023
265e710
Merge pull request #521 from Adyen/fix-pos-application-data
wboereboom Jul 14, 2023
689b548
unit test for double path param substitution (#518)
jillingk Jul 14, 2023
9533d2a
ITT-537: Add release automation (#524)
michaelpaul Jul 21, 2023
47b1dd9
Update CODEOWNERS (#526)
Aleffio Jul 25, 2023
1519ea7
Update CODEOWNERS
leandromagnabosco Jul 25, 2023
36603d8
Moving to Node (#528)
michaelpaul Jul 28, 2023
c3f6b4c
Pre-release input flag (#529)
michaelpaul Aug 2, 2023
fc5ecf3
move deprecation annotations to class level (#534)
wboereboom Aug 4, 2023
f6cb7c2
Remove deprecated features (#532)
michaelpaul Aug 4, 2023
03b4276
Update main.yml (#535)
jillingk Aug 4, 2023
53a11a5
Add banking webhooks (#533)
jillingk Aug 7, 2023
61d830b
Delete dependabot.yml (#519)
jillingk Aug 7, 2023
54c92e9
Regenerate all services + models and fix unit tests (#538)
jillingk Aug 7, 2023
514c30e
chore(deps): update dependency php-coveralls/php-coveralls to v2.6.0 …
renovate[bot] Aug 7, 2023
81d0159
Add vagrantfile to the gitignore (#537)
jillingk Aug 7, 2023
e9a96bb
chore(release): bump to 15.0.0
AdyenAutomationBot Aug 7, 2023
967277f
Merge branch 'main' into automation/release
jillingk Aug 7, 2023
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @AlexandrosMor @acampos1916 @peterojo @rikterbeek @morerice @michaelpaul @candemiralp @RokPopov
* @Adyen/integration-tools-testing
8 changes: 0 additions & 8 deletions .github/dependabot.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/gh_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Github Release

on:
workflow_dispatch:
push:
branches:
- main

jobs:
gh_release:
permissions:
contents: write
uses: Adyen/adyen-node-api-library/.github/workflows/lib-gh-release.yml@develop
with:
project-name: PHP
secrets: inherit
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
on: ["push", "pull_request"]
name: Main Workflow

on: ["pull_request"]

jobs:
run:
name: Run
runs-on: ubuntu-latest

strategy:
matrix:
php-version: [ 7.3, 7.4, 8.0, 8.1, 8.2 ]
php-version: [ 7.3, 8.2 ]

steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v1
tools: composer:v2

- name: Checkout
uses: actions/checkout@v3
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release request

on:
workflow_dispatch:
inputs:
prerelease:
required: false
type: boolean
default: false
description: "This release will be labeled as non-production ready"
push:
branches:
- develop

jobs:
release:
permissions:
contents: write
pull-requests: write
uses: Adyen/adyen-node-api-library/.github/workflows/lib-release.yml@develop
with:
prerelease: ${{ inputs.prerelease || false }}
secrets: inherit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Thumbs.db
/.vscode/
/.vagrant/
/.idea/
Vagrantfile

# Packages
/vendor/
Expand Down
24 changes: 18 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ openapi-generator-jar:=target/openapi-generator-cli.jar
openapi-generator-cli:=java -jar $(openapi-generator-jar)

generator:=php
modelGen:=BalanceControl BalancePlatform Checkout StoredValue Payments Payout Management LegalEntityManagement Transfers BinLookup StoredValue POSTerminalManagement Recurring
modelGen:=BalanceControl BalancePlatform Checkout ConfigurationWebhooks StoredValue Payments Payout Management LegalEntityManagement TransferWebhooks Transfers BinLookup StoredValue POSTerminalManagement Recurring ReportWebhooks
models:=src/Adyen/Model
output:=target/out

Expand All @@ -24,6 +24,10 @@ Payout: spec=PayoutService-v68
Management: spec=ManagementService-v1
LegalEntityManagement: spec=LegalEntityService-v3
Transfers: spec=TransferService-v3
# BalanceWebhooks
ConfigurationWebhooks: spec=BalancePlatformConfigurationNotification-v1
ReportWebhooks: spec=BalancePlatformReportNotification-v1
TransferWebhooks: spec=BalancePlatformTransferNotification-v3

# Classic Platforms
marketpay/account: spec=AccountService-v6
Expand All @@ -39,7 +43,7 @@ $(modelGen): target/spec $(openapi-generator-jar)
-g $(generator) \
-o $(output) \
-t ./templates \
--inline-schema-name-mappings PaymentDonationRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=CheckoutPaymentMethod \
--model-package Model\\$@ \
--api-package Service\\$@ \
--reserved-words-mappings configuration=configuration \
Expand All @@ -65,7 +69,7 @@ $(Services): target/spec $(openapi-generator-jar)
-g $(generator) \
-o $(output) \
-t ./templates \
--inline-schema-name-mappings PaymentDonationRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=CheckoutPaymentMethod \
--model-package Model\\$@ \
--api-package Service\\$@ \
--inline-schema-name-mappings BankAccountInfo_accountIdentification=BankAccount \
Expand All @@ -89,7 +93,7 @@ $(SingleFileServices): target/spec $(openapi-generator-jar)
-c templates/config.yaml \
--model-package Model\\$@ \
--api-package Service\\$@ \
--inline-schema-name-mappings PaymentDonationRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=CheckoutPaymentMethod \
--reserved-words-mappings configuration=configuration \
--skip-validate-spec \
--additional-properties variableNamingConvention=camelCase \
Expand All @@ -99,7 +103,7 @@ $(SingleFileServices): target/spec $(openapi-generator-jar)
rm -rf src/Adyen/Service/$@Api src/Adyen/Model/$@
mv $(output)/lib/Model/$@ $(models)/$@
mv $(output)/lib/ObjectSerializer.php $(models)/$@
mv $(output)/lib/Service/$@/GeneralApiSingle.php src/Adyen/Service/[email protected]
mv $(output)/lib/Service/$@/*ApiSingle.php src/Adyen/Service/[email protected]

# Checkout spec (and patch version)
target/spec:
Expand All @@ -124,4 +128,12 @@ clean:
git clean -f -d $(models)


.PHONY: templates models $(services)
## Releases

version:
perl -lne 'print "currentVersion=$$1" if /LIB_VERSION = "(.+)";/' < src/Adyen/Client.php >> "$$GITHUB_OUTPUT"

bump:
perl -i -pe 's/$$ENV{"CURRENT_VERSION"}/$$ENV{"NEXT_VERSION"}/' src/Adyen/Client.php

.PHONY: templates models $(services) version bump
Loading