Skip to content

Commit b094f9d

Browse files
committed
chore: bump version to 6.1.0
- Add CHANGELOG for 6.1.0 with breaking changes documentation - Update version in pubspec.yaml - Document migration guide for deprecated method removal
1 parent 713c820 commit b094f9d

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# CHANGELOG
22

3+
## 6.1.0
4+
5+
### Breaking Changes
6+
7+
- **API Cleanup**: Removed all deprecated methods that were marked for removal in 6.0.0
8+
- Removed `initialize()` - use `initConnection()` instead
9+
- Removed `checkSubscribed()` - implement custom logic with `getAvailablePurchases()`
10+
- Removed `showInAppMessageAndroid()` - no longer supported
11+
- Removed `manageSubscription()` - use `deepLinkToSubscriptionsAndroid()` instead
12+
- Removed `openPlayStoreSubscriptions()` - use `deepLinkToSubscriptionsAndroid()` instead
13+
- Removed `clearTransactionIOS()` - no longer needed
14+
- Removed `showPromoCodesIOS()` - use `presentCodeRedemptionSheetIOS()` instead
15+
- Removed `getPromotedProductIOS()` and `requestPromotedProductIOS()` - use standard purchase flow
16+
- Removed `requestProductWithOfferIOS()` and `requestPurchaseWithQuantityIOS()` - use `requestPurchase()` with RequestPurchase object
17+
- Removed `consumePurchaseAndroidLegacy()` and `validateReceiptAndroidLegacy()` - use modern equivalents
18+
- Removed `deepLinkToSubscriptionsAndroidLegacy()` - use `deepLinkToSubscriptionsAndroid()`
19+
- Removed `acknowledgePurchaseAndroid()` - use `finishTransaction()` instead
20+
21+
### Improvements
22+
23+
- **Code Quality**: Removed internal legacy methods and cleaned up codebase
24+
- Removed `_requestPurchaseOld()` internal method
25+
- Consolidated duplicate functionality
26+
- Improved type safety and consistency
27+
28+
### Migration Guide
29+
30+
If you're upgrading from 6.0.x and were using any deprecated methods:
31+
- Replace `initialize()` with `initConnection()`
32+
- Replace `acknowledgePurchaseAndroid()` with `finishTransaction()`
33+
- Use `requestPurchase()` with proper RequestPurchase objects instead of platform-specific methods
34+
- Use `presentCodeRedemptionSheetIOS()` for promo codes on iOS
35+
336
## 6.0.2
437

538
### Bug Fixes

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: flutter_inapp_purchase
22
description: In App Purchase plugin for flutter. This project has been forked by
33
react-native-iap and we are willing to share same experience with that on
44
react-native.
5-
version: 6.0.2
5+
version: 6.1.0
66
homepage: https://github.com/hyochan/flutter_inapp_purchase/blob/main/pubspec.yaml
77
environment:
88
sdk: ">=3.0.0 <4.0.0"

0 commit comments

Comments
 (0)