Releases: paypay/paypayopa-sdk-node
2.1.0
What's Changed
This version includes a new way to configure the PayPay SDK's target environment. The previous method of specifying prodMode
and perfMode
is still supported.
Full Changelog: 2.0.1...2.1.0
Features
Dependency Upgrades
- Bump @typescript-eslint/parser from 5.16.0 to 5.18.0 by @dependabot in #461
- Bump @typescript-eslint/eslint-plugin from 5.16.0 to 5.18.0 by @dependabot in #460
- Bump eslint from 8.11.0 to 8.12.0 by @dependabot in #456
- Bump ts-jest from 27.1.3 to 27.1.4 by @dependabot in #455
- Bump typescript from 4.6.2 to 4.6.3 by @dependabot in #454
- Bump eslint from 8.12.0 to 8.13.0 by @dependabot in #462
- Bump @typescript-eslint/eslint-plugin from 5.18.0 to 5.19.0 by @dependabot in #463
- Bump @types/node from 17.0.23 to 17.0.24 by @dependabot in #465
- Bump @typescript-eslint/parser from 5.18.0 to 5.19.0 by @dependabot in #464
- Bump @typescript-eslint/parser from 5.19.0 to 5.20.0 by @dependabot in #468
- Bump @typescript-eslint/eslint-plugin from 5.19.0 to 5.20.0 by @dependabot in #466
- Bump eslint from 8.13.0 to 8.14.0 by @dependabot in #469
- Bump typescript from 4.6.3 to 4.6.4 by @dependabot in #475
- Bump @types/node from 17.0.24 to 17.0.35 by @dependabot in #491
- Bump @types/node from 17.0.35 to 17.0.43 by @dependabot in #511
- Bump @typescript-eslint/eslint-plugin from 5.20.0 to 5.28.0 by @dependabot in #510
- Bump @typescript-eslint/parser from 5.20.0 to 5.28.0 by @dependabot in #509
- Bump typescript from 4.6.4 to 4.7.3 by @dependabot in #503
- Bump eslint from 8.14.0 to 8.17.0 by @dependabot in #502
Continuous Integration & Testing
- CI: Remove coveralls dev-dependency in #457
2.0.1
What's Changed
Dependency Upgrades
- Bump eslint-config-prettier from 8.4.0 to 8.5.0 by @dependabot in #443
- Bump @typescript-eslint/parser from 5.13.0 to 5.14.0 by @dependabot in #445
- Bump @typescript-eslint/eslint-plugin from 5.13.0 to 5.14.0 by @dependabot in #444
- Bump eslint from 8.10.0 to 8.11.0 by @dependabot in #446
- Bump @typescript-eslint/parser from 5.14.0 to 5.15.0 by @dependabot in #447
- Bump @typescript-eslint/eslint-plugin from 5.14.0 to 5.15.0 by @dependabot in #448
- Bump @typescript-eslint/parser from 5.15.0 to 5.16.0 by @dependabot in #449
- Bump @typescript-eslint/eslint-plugin from 5.15.0 to 5.16.0 by @dependabot in #451
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #453
- Bump @types/node from 17.0.21 to 17.0.23 by @dependabot in #452
Full Changelog: 2.0.0...2.0.1
2.0.0
This version includes breaking changes, so it has been released as a major upgrade.
Full Changelog: 1.1.0...2.0.0
Features
Support for Promise
and await
Starting in version version 1.1.0, SDK methods like PAYPAY.QRCodeCreate
return a Promise
.
Methods continue to accept an optional callback parameter.
The JavaScript Promise
type enables simpler asynchronous code, particularly when using ECMAScript 2017's await
keyword.
Breaking Changes
- Parse JSON responses into object in SDK in #375
SDK methods like PAYPAY.QRCodeCreate
now return an object, rather than a raw JSON string, making the API easier to use.
This is a breaking change and is reflected in the new TypeScript type signature.
This means that it is no longer necessary to invoke JSON.parse
on the results of API calls.
In order to reduce friction, these API response objects have a custom toString()
.
This ensures that code that calls JSON.parse
on an API response will still continue to function. However, other uses of the respones as a string will not.
Dependency Upgrades
- Bump jest from 27.4.3 to 27.4.4 in #370
- Bump typescript from 4.5.3 to 4.5.4 in #373
- Bump jest from 27.4.4 to 27.4.7 in #398
- Bump ts-jest from 27.1.1 to 27.1.2 in #378
- Bump @typescript-eslint/parser from 5.6.0 to 5.9.1 in #401
- Bump @typescript-eslint/eslint-plugin from 5.6.0 to 5.9.1 in #400
- Bump @types/uuid from 8.3.3 to 8.3.4 in #399
- Bump @types/node from 16.11.12 to 17.0.8 in #396
- Bump @types/crypto-js from 4.0.2 to 4.1.0 in #389
- Bump eslint from 8.4.1 to 8.6.0 in #391
- Bump @types/jest from 27.0.3 to 27.4.0 in #390
- Bump @types/jsonwebtoken from 8.5.6 to 8.5.7 in #403
- Bump eslint from 8.6.0 to 8.7.0 in #405
- Bump ts-jest from 27.1.2 to 27.1.3 in #404
- Bump @types/node from 17.0.8 to 17.0.10 in #410
- Bump typescript from 4.5.4 to 4.5.5 in #411
- Bump @types/node from 17.0.10 to 17.0.14 in #420
- Bump @typescript-eslint/parser from 5.9.1 to 5.10.2 in #419
- Bump @types/jsonwebtoken from 8.5.7 to 8.5.8 in #408
- Bump @typescript-eslint/eslint-plugin from 5.9.1 to 5.10.2 in #418
- Bump jest from 27.4.7 to 27.5.1 in #426
- Bump @types/crypto-js from 4.1.0 to 4.1.1 in #431
- Bump eslint from 8.7.0 to 8.9.0 in #428
- Bump eslint-config-prettier from 8.3.0 to 8.4.0 in #433
- Bump @typescript-eslint/parser from 5.10.2 to 5.12.1 in #435
- Bump @typescript-eslint/eslint-plugin from 5.10.2 to 5.12.1 in #434
- Bump @types/jest from 27.4.0 to 27.4.1 in #437
- Bump eslint from 8.9.0 to 8.10.0 in #439
- Bump @types/node from 17.0.14 to 17.0.21 in #438
- Bump @typescript-eslint/eslint-plugin from 5.12.1 to 5.13.0 in #440
- Bump typescript from 4.5.5 to 4.6.2 in #441
- Bump @typescript-eslint/parser from 5.12.1 to 5.13.0 in #442
Continuous Integration & Testing
- Use single build-ci.yml in #402
1.1.0
Features / 新商品のご紹介 :
-- API calls now return promises, making callbacks optional.
-- TypeScript typings of some members have been corrected
-- The agreeSimilarTransaction
parameter has been added to the CreatePayment
and PaymentPreauthorize
APIs
Security Updates / セキュリティアップデート:
-- Dependency updates
1.0.4
Merge pull request #237 from paypay/dependabot/npm_and_yarn/hosted-gi…
1.0.3
Features / 新商品のご紹介 :
-- Refactor host name configurations and remove duplicates
Security Updates / セキュリティアップデート:
-- Dev Dependency updates
1.0.2
Features / 新商品のご紹介 :
-- Added Cashback APIs
-- Added PerfMode Implementation
Security Updates / セキュリティアップデート:
-- Dev Dependency updates
1.0.1
Features / 新商品のご紹介 :
-- Enable instance creation of PayPayRestSDK
Security Updates / セキュリティアップデート:
-- Dev Dependency updates
1.0.0
Features / 新商品のご紹介 :
-- Update endpoint for refunds for pending payment
Security Updates / セキュリティアップデート:
-- Dev Dependency updates
0.9.1
Features / 新商品のご紹介:
-- Added "create payment" method
-- Guthub CI implemented