Skip to content

Commit

Permalink
chore(release): 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjopa committed Dec 20, 2023
1 parent 3bceb9e commit 0a63370
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [8.0.0](https://github.com/paypal/paypal-js/compare/v7.1.1...v8.0.0) (2023-12-20)

### ⚠ BREAKING CHANGES

- **types:** The TypeScript types for the PayPal APIs have changed.
Now they are auto generated based on the Open API 3.0 specs.

### Features

- **types:** auto generate api types with openapi specs ([#443](https://github.com/paypal/paypal-js/issues/443)) ([efb26f8](https://github.com/paypal/paypal-js/commit/efb26f867da604a4ca043c070e51caa460cb5a26))

### Bug Fixes

- use bundler module resoluion ts strategy ([3bceb9e](https://github.com/paypal/paypal-js/commit/3bceb9e692a1fbc7c53bbcab86b6e042abcbded1))

### [7.1.1](https://github.com/paypal/paypal-js/compare/v7.1.0...v7.1.1) (2023-11-27)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ loadScript(options, PromisePonyfill).then((paypalObject) => {});
We also provide a legacy build that includes the [promise-polyfill](https://github.com/taylorhakes/promise-polyfill) library. You can reference it from the CDN here:

```html
<script src="https://unpkg.com/@paypal/paypal-js@7.1.1/dist/iife/paypal-js.legacy.min.js"></script>
<script src="https://unpkg.com/@paypal/paypal-js@8.0.0/dist/iife/paypal-js.legacy.min.js"></script>
```

### Using a CDN
Expand All @@ -232,7 +232,7 @@ The paypal-js script is also available on the [unpkg CDN](https://unpkg.com/). T
<!doctype html>
<html lang="en">
<head>
<script src="https://unpkg.com/@paypal/paypal-js@7.1.1/dist/iife/paypal-js.min.js"></script>
<script src="https://unpkg.com/@paypal/paypal-js@8.0.0/dist/iife/paypal-js.min.js"></script>
</head>
<body>
<div id="paypal-buttons"></div>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paypal/paypal-js",
"version": "7.1.1",
"version": "8.0.0",
"description": "Loading wrapper and TypeScript types for the PayPal JS SDK",
"main": "index.js",
"module": "dist/esm/paypal-js.js",
Expand Down

0 comments on commit 0a63370

Please sign in to comment.