Skip to content

Commit

Permalink
Update CHANGELOG and bump version to 7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Aug 6, 2021
1 parent 9f30fe7 commit cc0a5fa
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 18 deletions.
74 changes: 58 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,59 @@
## Changelogs

# 7.2.0

Moved Amazon readme to the docs folder

Separated "Support us" doc to it's own file for better visibility

*Breaking Change*: removed deprecated method: `consumeAllItemsAndroid` , alternative `flushFailedPurchasesCachedAsPendingAndroid` has been available for a while. Also removed `refreshItems` from android native modules since they were only used by this deprecated method
_Breaking Change_: removed deprecated method: `consumeAllItemsAndroid` , alternative `flushFailedPurchasesCachedAsPendingAndroid` has been available for a while. Also removed `refreshItems` from android native modules since they were only used by this deprecated method

_Breaking Change_: Methods that are suffixed by `Android` or `iOS` will now fail if called in the wrong platform instead of returnning a default value.

_Breaking Change_: Removed `finishTransactionIOS` , `consumePurchaseAndroid` and `acknowledgePurchaseAndroid`. They have been replaced by ``finishTransaction` since version 4.1.0

_Breaking Change_: (Only if you were using the native iOS module directly) iOS Native Method `canMakePayments` was renamed to `initConnection` to match the other platforms.

Resolve to false when playservices not available [#1447](https://github.com/dooboolab/react-native-iap/pull/1447)

*Breaking Change*: Methods that are suffixed by `Android` or `iOS` will now fail if called in the wrong platform instead of returnning a default value.
Fix crash on android request Purchase [#1452](https://github.com/dooboolab/react-native-iap/pull/1452)

*Breaking Change*: Removed `finishTransactionIOS` , `consumePurchaseAndroid` and `acknowledgePurchaseAndroid`. They have been replaced by ``finishTransaction` since version 4.1.0
Added monolinter and fixed inconsistent dependency versions [#1444](https://github.com/dooboolab/react-native-iap/pull/1444)

*Breaking Change*: (Only if you were using the native iOS module directly) iOS Native Method `canMakePayments` was renamed to `initConnection` to match the other platforms.
# 7.1.0

*Breaking Change*: Removed oldAndroidSku from requestSubscription. This field was passed for Android only
_Breaking Change_: Removed oldAndroidSku from requestSubscription. This field was passed for Android only

## 7.0.5

Remove init on main thread as it is no longer needed in this version of the SDK [#1427](https://github.com/dooboolab/react-native-iap/pull/1427).

## 7.0.4

Move init code to initConnection method in Amazon [#1425](https://github.com/dooboolab/react-native-iap/pull/1425)
Move init code to initConnection method in Amazon [#1425](https://github.com/dooboolab/react-native-iap/pull/1425)

Fix Android subscription update [#1423](https://github.com/dooboolab/react-native-iap/pull/1423)

## 7.0.3

Hotfix on getting skus on android [#1414](https://github.com/dooboolab/react-native-iap/pull/1414)

## 7.0.2

Update gradle plugin to 4.2.2 [#1410](https://github.com/dooboolab/react-native-iap/pull/1410)

Fix `getPurchaseHistory` for android [#1411](https://github.com/dooboolab/react-native-iap/pull/1411)

## 7.0.1

Revert strict check for Amazon module [#1407](https://github.com/dooboolab/react-native-iap/pull/1407).

## 7.0.0

Migrate `Android`to [billing client 4.0.0](https://developer.android.google.cn/google/play/billing/release-notes?hl=en).

- TODO
- [ ] Include `getQuantityAndroid` function to add [getQuantity](https://developer.android.google.cn/reference/com/android/billingclient/api/Purchase#getQuantity()) api.
- [ ] Include `getQuantityAndroid` function to add [getQuantity](<https://developer.android.google.cn/reference/com/android/billingclient/api/Purchase#getQuantity()>) api.

Removed setInstallSource and updated docs [#1401](https://github.com/dooboolab/react-native-iap/pull/1401).

Expand All @@ -52,62 +63,77 @@ Removed setInstallSource and updated docs [#1401](https://github.com/dooboolab/r
- Update type to match new `iOS` receipt style [#1402](https://github.com/dooboolab/react-native-iap/pull/1402)

## 6.3.0

Refactors Google Play Java code limiting to a single billingClient. This can be considered a breaking change as it will fail when attempting to initialize the library more than once. It also adds documentation on the proper handling of the lifecycle [docs](docs/usage_instructions/connection_lifecyle.md)

## 6.2.4

[Feature]
* Implement deeplinking to subscriptins for Android (#1394)
* Implement requested client-side validation for amazon purchases (#1392)

- Implement deeplinking to subscriptins for Android (#1394)
- Implement requested client-side validation for amazon purchases (#1392)

[Regression]
* Fix regression on return type (#1393)
* Fix promise resolving logic #1390

- Fix regression on return type (#1393)
- Fix promise resolving logic #1390

[Documentation]
* Adds documentation to Android deferred proration (#1387)
* Update URL in package.json (#1386)

- Adds documentation to Android deferred proration (#1387)
- Update URL in package.json (#1386)

## 6.2.3

Fix an unnecessary error when canceling a purchase [#1385](https://github.com/dooboolab/react-native-iap/pull/1385).

## 6.2.2

Fix java lint errors and add CI [#1380](https://github.com/dooboolab/react-native-iap/pull/1380)

## 6.2.1

Clean up internal code that detects GooglePlay vs Amazon modules[#1374](https://github.com/dooboolab/react-native-iap/pull/1374)

Fix wrong `package.json` setup [#1377](https://github.com/dooboolab/react-native-iap/pull/1377)

- Removed docs from built `package`.

## 6.2.0

Spliting Android app stores into Google Play and Amazon. They can now be accessed through different flavors [#1358](https://github.com/dooboolab/react-native-iap/pull/1358)

Creates two variants: `play` and `amazon` and only uses the required code.

NOTE: This would be a breaking change with a very simple fix described in the documentation. To add: `missingDimensionStrategy 'store', 'play'` `in build.gradle`

## 6.0.8

- [Android] Handle deffered proration in `purchaseUpdated` listener [#1357](https://github.com/dooboolab/react-native-iap/pull/1357)

## 6.0.7

- [Amazon] Fire tv detection [#1356](https://github.com/dooboolab/react-native-iap/pull/1356)

## 6.0.6

- Strict type error [Enhance] Strict type error [#1324](https://github.com/dooboolab/react-native-iap/pull/1324)

## 6.0.5

- HotFix - Android build [#1328](https://github.com/dooboolab/react-native-iap/pull/1328)

## 6.0.4

- [Android] Update deps, fix permissions on graddle wrapper [#1323](https://github.com/dooboolab/react-native-iap/pull/1323)
- [Amazon] Add promise handling for Amazon purchases instead of resolving immediately [1302](https://github.com/dooboolab/react-native-iap/pull/1302)

## 6.0.3

- Add force refresh receipt for ios [#1303](https://github.com/dooboolab/react-native-iap/pull/1303)

## 6.0.2

- Fix require cycle warning [#1271](https://github.com/dooboolab/react-native-iap/issues/1271) in [#1294](https://github.com/dooboolab/react-native-iap/pull/1294)

## 6.0.1
Expand All @@ -127,6 +153,7 @@ NOTE: This would be a breaking change with a very simple fix described in the do
- Fixed android receipt validation url [#1262](https://github.com/dooboolab/react-native-iap/issues/1262).

## 5.2.12

- Rebuild again incase of missing pre-build.

## 5.2.11
Expand Down Expand Up @@ -154,42 +181,53 @@ NOTE: This would be a breaking change with a very simple fix described in the do
- Fixes regression issue in iOS not getting all params [#1245](https://github.com/dooboolab/react-native-iap/pull/1245). Related [#1203](https://github.com/dooboolab/react-native-iap/pull/1245).

## 5.2.5

- Fixes build issue [#1238](https://github.com/dooboolab/react-native-iap/issues/1238)

## 5.2.4

- Add sandbox agnostic receipt verification [#1228](https://github.com/dooboolab/react-native-iap/pull/1228)
- Fix tvos presentCodeRedemptionSheet not available [#1237](https://github.com/dooboolab/react-native-iap/pull/1237)

## 5.2.3

- Fixed posible problem clearTransactionsIOS [#1227](https://github.com/dooboolab/react-native-iap/pull/1227)

## 5.2.2

- Improving typescript types for iOS subscription [#1219](https://github.com/dooboolab/react-native-iap/pull/1219)
- Fix(presentCodeRedemptionSheet): Xcode 11 compatibility [#1218](https://github.com/dooboolab/react-native-iap/pull/1218)

## 5.2.1

- Patch clear transaction [#1215](https://github.com/dooboolab/react-native-iap/pull/1215)

## 5.2.0

- Added presentCodeRedemptionSheetIOS [#1201](https://github.com/dooboolab/react-native-iap/pull/1201)
* By [@Bang9](https://github.com/Bang9)
- By [@Bang9](https://github.com/Bang9)
- Fix that getPendingPurchasesIOS() may returns undefined [#1199](https://github.com/dooboolab/react-native-iap/pull/1199)
* By [@gki](https://github.com/gki)
- By [@gki](https://github.com/gki)

## 5.1.3

- Fixed Amazon products prices parsing [#1191](https://github.com/dooboolab/react-native-iap/pull/1191)

## 5.1.2

- Add introductory price as string without formating and currency [#1182](https://github.com/dooboolab/react-native-iap/pull/1182)
- Add iOS store country code [#1186](https://github.com/dooboolab/react-native-iap/pull/1186)

## 5.1.1

- Add type definition on `ProductPurchase`.

## 5.1.0

- Expose more variables in `android` [#1171](https://github.com/dooboolab/react-native-iap/pull/1171).

## 5.0.1

- Fix amazon buyItemByType missing parameters dooboolab/react-native-iap/pull/1149

## 5.0.0
Expand All @@ -213,6 +251,7 @@ NOTE: This would be a breaking change with a very simple fix described in the do
- Prevent unsupported ops crashing in android [#1116](https://github.com/dooboolab/react-native-iap/pull/1116)

## 4.6.0

- Upgrade android billing sdk to 3 [#1112](https://github.com/dooboolab/react-native-iap/pull/1112)
- `developerIdAndroid` and `accountIdAndroid` params are removed.

Expand Down Expand Up @@ -253,9 +292,11 @@ NOTE: This would be a breaking change with a very simple fix described in the do
- Fixes [#989](https://github.com/dooboolab/react-native-iap/issues/989).

## 4.4.7

- Fix regression. Revert `andDangerouslyFinishTransactionAutomaticallyIOS` to false. This should actually be false in default.

## 4.4.6

- `andDangerouslyFinishTransactionAutomaticallyIOS` was set to true for default. I should be false.

## 4.4.5
Expand All @@ -266,6 +307,7 @@ NOTE: This would be a breaking change with a very simple fix described in the do
- Deprecate `endConnectionAndroid`.

## 4.4.4

Add guide add `IAPPromotionObserver` in ios

- Resolve [#950](https://github.com/dooboolab/react-native-iap/issues/950)
Expand All @@ -291,4 +333,4 @@ Add guide add `IAPPromotionObserver` in ios
- Fixes [#888](https://github.com/dooboolab/react-native-iap/issues/888)
- PR [#893](https://github.com/dooboolab/react-native-iap/pull/893)

<!-- Changes under 4.4.0 are removed. Please see older commits. -->
<!-- Changes under 4.4.0 are removed. Please see older commits. -->
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-iap",
"version": "7.1.0",
"version": "7.2.0",
"description": "React Native In App Purchase Module.",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -70,4 +70,4 @@
"ts-jest": "27.0.4",
"typescript": "4.3.5"
}
}
}

0 comments on commit cc0a5fa

Please sign in to comment.